Summary of Contents for Cisco Catalyst 3850 Series
Page 1
Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) First Published: January 29, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...
Page 2
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. http:// Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks .
Accessing the CLI on a Switch Stack Accessing the CLI through a Console Connection or through Telnet Configuring Flexible NetFlow C H A P T E R 2 Finding Feature Information Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 4
Example: Configuring IPv6 and Transport Flag Flexible NetFlow in WLAN (Egress Direction) Example: Configuring IPv6 Flexible NetFlow in WLAN (Both Ingress and Egress Directions) Additional References Feature Information for Flexible NetFlow Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
A vertical line, called a pipe, indicates a choice within a set of keywords or arguments. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 6
Means the described action saves time. You can save time by performing the action described in the Timesaver paragraph. Warning Means reader be warned. In this situation, you might perform an action that could result in bodily injury. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
Page 8
Preface Obtaining Documentation and Submitting a Service Request Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) viii OL-28354-01...
How to Use the CLI to Configure Features, page 5 Information About Using the Command-Line Interface This section describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Command Modes The Cisco IOS user interface is divided into many different modes. The commands available to you depend on which mode you are currently in.
Page 10
(with a Ethernet ports. To return to specific interface). privileged EXEC mode, press Ctrl-Z or enter end. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Obtains a list of commands that begin with a particular character string. Example: Switch# di? dir disable disconnect Step 3 abbreviated-command-entry <Tab> Completes a partial command name. Example: Switch# sh conf<tab> Switch# show configuration Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
CLI Error Messages This table lists some error messages that you might encounter while using the CLI to configure your switch. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
The software provides a history or record of commands that you have entered. The command history feature is particularly useful for recalling long or complex commands or entries, including access lists. You can customize this feature to suit your needs. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Ctrl-P or use the up arrow key Recalls commands in the history buffer, beginning with the most recent command. Repeat the key sequence to recall successively older commands. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Although enhanced editing mode is automatically enabled, you can disable it, reenable it, or configure a specific line to have enhanced editing. These procedures are optional. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Editing Commands through Keystrokes The keystrokes help you to edit the command lines. These keystrokes are optional. Note The arrow keys function only on ANSI-compatible terminals such as VT100s. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 17
Transposes the character to the left of the cursor with the character located at the cursor. Step 8 Ctrl-Y Recalls the most recent entry in the buffer. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
To scroll back to the beginning of the command entry, press Ctrl-B or the left arrow key repeatedly. You can also press Ctrl-A to immediately move to the beginning of the line. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
You can search and filter the output for show and more commands. This is useful when you need to sort through large amounts of output or if you want to exclude output that you do not need to see. Using these commands is optional. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
If your switch is already configured, you can access the CLI through a local console connection or through a remote Telnet session, but your switch must first be configured for this type of access. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 21
After you connect through the console port, through the Ethernet management port, through a Telnet session or through an SSH session, the user EXEC prompt appears on the management station. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 22
Using the Command-Line Interface Accessing the CLI on a Switch Stack Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Wireless Flexible NetFlow The following are the prerequisites for wireless Flexible NetFlow: • Ensure that the networking device is running a Cisco release that supports wireless Flexible NetFlow. • Ensure that the target is connected to a WLAN.
Supported Flexible NetFlow Fields, on page Information About Flexible NetFlow NetFlow is a Cisco technology that provides statistics on packets flowing through the switch. NetFlow is the standard for acquiring IP operational data from IP networks. NetFlow provides data to enable network and security monitoring, network planning, traffic analysis, and IP accounting.
To narrow this window, an idle timeout period can be defined. However, in the case of TCP, if two FIN bits or an RST is detected, the ACL entry can be removed. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Flexible NetFlow Match Parameters The following table describes Flexible NetFlow match parameters. You must configure at least one of the following match parameters for the flow records. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 28
• tos—Matches to the IPv4 Type of Service fields. • ttl—Matches to the IPv4 Time To Live fields. • version—Matches to the IP version from the IPv4 header. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
{first | last} Collects the fields for the absolute time the first packet was seen or the absolute time the most recent packet was last seen (in milliseconds). Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Exits from the flow exporter configuration mode. export-protocol Export protocol version. Negates the command or its default. option Selects option for exporting. source Originating interface for the net flow. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
0. • If you apply a flow monitor in the output direction: ◦ Use the match keyword and use the output interface as a key field. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
• Use the collect keyword and use the output interface as a collect field. This field will be present in the exported records but with a value of 0. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 33
— — — Supported VLAN only for a output switch port. dot1q Supported priority only for a switch port. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Enters the global configuration mode. Example: Switch# configure terminal Step 2 flow record name Creates a flow record and enters flow record configuration mode. Example: Switch(config)# flow record test Switch(config-flow-record)# Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 38
Example: Switch# copy running-config startup-config What to Do Next Define an optional flow exporter by specifying the export format, protocol, destination, and other parameters. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
You can create a sampler to define the NetFlow sampling rate for a flow. SUMMARY STEPS 1. configure terminal 2. sampler name 3. description string 4. mode {random} 5. end 6. show sampler [name] 7. copy running-config startup-config Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 44
(Optional) Saves your entries in the configuration file. Example: Switch# copy running-config startup-config What to Do Next Apply the flow monitor to a source interface, subinterface, VLAN interface, or a VLAN. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
(Optional) Saves your entries in the configuration file. Example: Switch# copy running-config startup-config Configuring a Bridged NetFlow on a VLAN You can apply a flow monitor and an optional sampler to a VLAN. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Configuring Layer 2 NetFlow You can define Layer 2 keys in Flexible NetFlow records that you can use to capture flows in Layer 2 interfaces. Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
Page 48
Example: Switch# show flow record Step 6 copy running-config startup-config (Optional) Saves your entries in the configuration file. Example: Switch# copy running-config startup-config Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
This example shows how to create a flow and apply it to an interface: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# flow export export1 Switch(config-flow-exporter)# destination 10.0.101.254 Switch(config-flow-exporter)# transport udp 2055 Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...
All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Cisco Flexible NetFlow Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches) OL-28354-01...