
management VRF to send the samples to the collector. See the section
Management VRFs
on page 21
for information on management VRFs. If no management VRF is configured, sFlow uses the default
VRF, and this default VRF ID will be assigned to any configured collector that does not have a user-
included VRF.
Collectors can be added and per VRF so that collectors can be spread out across different VRFs. The
sFlow forwarding port can belong to a non-default VRF, and captured sFlow packets will have correct
sample routing next hop information.
sFlow forwarding ports can come from ports belonging to any VRF. The port does not have to be in the
same VRF as the collector. sFlow collects packets from all sFlow forwarding ports, even if they do not
belong to a VRF, compiles the packets into the sFlow samples, and sends the samples to the particular
collector with no filtering for VRF membership. For counter samples, sample statistics from each port
are sent to each collector specified, even if the port and collector do not belong to a VRF instance.
To distinguish collected packets from different VRFs, refer to the
in vlan
and
out vlan
data fields for
each captured ingress packet. For example, when two collected packets are from different VRFs but
have the same source/destination IP and the same incoming/outgoing port, the VLAN field differs in the
two samples. A VLAN/VE can only belong to one VRF. The collector does not have any VRF
knowledge, but, based on the VLAN fields, the collector can distinguish which packet came from which
VLAN/VRF.
To configure an sFlow collector and specify a VRF, enter the following command.
device(config)# sflow destination 10.10.10.vrf customer1
device(config)#
Syntax:
[no] sflow destination
[
ipaddress
|
ipv6
ipv6-address
] [
udp-port-number
] [
vrf
vrf-name
]
To disable the management VRF in sFlow, enter the following command.
device(config)# sflow management-vrf disable
device(config)#
Syntax: [no] sflow management-vrf-disable
To display sFlow configuration and statistics, enter the following command.
device(config)# show sflow
sFlow version: 5
sFlow services are enabled.
sFlow management VRF is disabled.
sFlow agent IP address: 10.37.230.21
Collector IP 10.37.224.233, UDP 6343, Configured VRF: green
UDP source port: 8888 (Default)
Polling interval is 20 seconds.
Configured default sampling rate: 1 per 500 packets.
Actual default sampling rate: 1 per 500 packets.
The maximum sFlow sample size: 128.
sFlow exporting cpu-traffic is disabled.
100 UDP packets exported
80 sFlow flow samples collected.
sFlow ports: ethe 4/1/5
Module Sampling Rates
---------------------
Port Sampling Rates
-------------------
Port=4/1/5, configured rate=500, actual rate=500
Syntax:
show sflow
Network Monitoring
FastIron Ethernet Switch Administration Guide
259
53-1003625-01
Содержание FastIron
Страница 28: ...Displaying management VRF information 28 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 146: ...Displaying interface level IPv6 settings 146 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 162: ...Example 2 162 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 172: ...Clearing CDP information 172 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 216: ...Clearing cached LLDP neighbor information 216 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 228: ...FastIron Fiber optic Transceivers 228 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 284: ...show sysmon system sfm 284 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 296: ...Syslog messages for hardware errors 296 FastIron Ethernet Switch Administration Guide 53 1003625 01...
Страница 384: ...Displaying information for breakout ports 384 FastIron Ethernet Switch Administration Guide 53 1003625 01...