Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
flow
record
name
Device(config)# flow record ipv6-bridged-traffic
|
Configures a flow record to monitor IPv6 bridged Layer 2 traffic and enters Flexible NetFlow flow record configuration mode.
|
Step 4 |
match
datalink
source-vlan-id
Device(config-flow-record)# match datalink source-vlan-id
|
Configures the source VLAN ID as a key field.
|
Step 5 |
match
flow
cts
destination
group
Device(config-flow-record)# match flow cts destination group
|
Configures the flow CTS destination group as a key field.
|
Step 6 |
match
flow
cts
source
group
Device(config-flow-record)# match flow cts source group
|
Configures the flow CTS source group as a key field.
|
Step 7 |
match
flow
direction
Device(config-flow-record)# match flow direction
|
Configures the flow direction as a key field.
|
Step 8 |
match
interface
input
Device(config-flow-record)# match interface input
|
Configures the input interface as a key field.
|
Step 9 |
match
interface
input
physical
Device(config-flow-record)# match interface input physical
|
Configures the physical input interface as a key field.
|
Step 10 |
match
interface
output
Device(config-flow-record)# match interface input
|
Configures the output interface as a key field.
|
Step 11 |
match
ipv4
destination
address
Device(config-flow-record)# match ipv4 destination address
|
Configures the IPv4 destination address as a key field.
|
Step 12 |
match
ipv4
dscp
Device(config-flow-record)# match ipv4 dscp
|
Configures the IPv4 DSCP as a key field.
|
Step 13 |
match
ipv4
precedence
Device(config-flow-record)# match ipv4 precedence
|
Configures the IPv4 precedence as a key field.
|
Step 14 |
match
ipv4
protocol
Device(config-flow-record)# match ipv4 protocol
|
Configures the IPv4 protocol as a key field.
|
Step 15 |
match
ipv4
source
address
Device(config-flow-record)# match ipv4 source address
|
Configures the IPv4 source address as a key field.
|
Step 16 |
match
ipv4
tos
Device(config-flow-record)# match ipv4 tos
|
Configures the IPv4 TOS as a key field.
|
Step 17 |
match
transport
destination-port
Device(config-flow-record)# match transport destination-port
|
Configures the transport destination port as a key field.
|
Step 18 |
match
transport
source-port
Device(config-flow-record)# match transport source-port
|
Configures the transport source port as a key field.
|
Step 19 |
collect
counter
bytes
Device(config-flow-record)# collect counter bytes
|
Collects the total number of bytes.
|
Step 20 |
collect
counter
packets
Device(config-flow-record)# collect counter packets
|
Collects the total number of packets.
|
Step 21 |
collect
interface
output
Device(config-flow-record)# collect interface output
|
Collects the output interface.
|
Step 22 |
collect
interface
input
Device(config-flow-record)# collect interface input
|
Collects the input interface.
|
Step 23 |
collect
ipv4
destination
mask
Device(config-flow-record)# collect ipv4 destination mask
|
Collects the Ipv4 destination mask.
|
Step 24 |
collect
ipv4
destination
prefix
Device(config-flow-record)# collect ipv4 destination prefix
|
Collects the Ipv4 destination prefix.
|
Step 25 |
collect
ipv4
source
mask
Device(config-flow-record)# collect ipv4 source mask
|
Collects the Ipv4 source mask.
|
Step 26 |
collect
ipv4
source
prefix
Device(config-flow-record)# collect ipv4 source prefix
|
Collects the Ipv4 source prefix.
|
Step 27 |
collect
timestamp
sys-uptime
first
Device(config-flow-record)# collect timestamp sys-uptime first
|
Collects the first timestamp of the system uptime.
|
Step 28 |
collect
timestamp
sys-uptime
last
Device(config-flow-record)# collect timestamp sys-uptime last
|
Collects the last timestamp of the system uptime.
|
Step 29 |
collect
transport
tcp
flags
Device(config-flow-record)# collect transport tcp flags
|
Collects the TCP transport flags.
|
Step 30 |
exit
Device(config-flow-record)# exit
|
Exits Flexible NetFlow flow record configuration mode.
|
Step 31 |
flow
exporter
exporter-name
Device(config)# flow exporter my-flow-exporter
|
Creates an FNF flow exporter and enters Flexible NetFlow flow exporter configuration mode.
|
Step 32 |
export-protocol
netflow-v9
Device(config-flow-exporter)# export-protocol netflow-v9
|
Configures NetFlow Version 9 export as the export protocol.
|
Step 33 |
destination
ip-address
Device(config-flow-exporter)# destination 209.165.201.1
|
Configures the IP address of the workstation to which you want to send the NetFlow information.
|
Step 34 |
exit
Device(config-flow-exporter)# exit
|
Exits Flexible NetFlow flow exporter configuration mode.
|
Step 35 |
flow
monitor
name
Device(config)# flow monitor ipv6-bridged-traffic
|
Configures a flow monitor for IPv6 bridged traffic and enters Flexible NetFlow flow monitor configuration mode.
|
Step 36 |
record
record-name
Device(config-flow-monitor)# record ipv6-bridged-traffic
|
Specifies the name of a user-defined flow record that was previously configured.
|
Step 37 |
exporter
exporter-name
Device(config-flow-monitor)# exporter my-flow-exporter
|
Specifies the name of a flow exporter that was previously configured.
|
Step 38 |
end
Device(config-flow-monitor)# end
|
Exits Flexible NetFlow flow monitor configuration mode and returns to privileged EXEC mode.
|