3.2.50. mirror-traffic¶
Note
requires a specific license: Mirror Traffic.
Mirror traffic filtered on source, destination and/or protocol.
vsr running config# vrf <vrf> mirror-traffic
filter¶
List of filters to be applied for the mirroring. Each interface/direction pair can be associated with one filter.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255}
|
Name of the filter. |
rule¶
List of filtering rules. All the rules will be applied to the same interface/direction pair.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32>
|
Id of the rule. |
ipv4¶
Configure an IPv4 rule.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
source-address¶
Source IPv4 address.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# source-address SOURCE-ADDRESS
|
An IPv4 address. |
source-prefix¶
Source IPv4 prefix.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# source-prefix SOURCE-PREFIX
|
An IPv4 prefix: address and CIDR mask. |
destination-address¶
Destination IPv4 address.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# destination-address DESTINATION-ADDRESS
|
An IPv4 address. |
destination-prefix¶
Destination IPv4 prefix.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# destination-prefix DESTINATION-PREFIX
|
An IPv4 prefix: address and CIDR mask. |
source-port¶
Source port.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# source-port SOURCE-PORT
|
A 16-bit port number used by a transport protocol such as TCP or UDP. |
destination-port¶
Destination port.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# destination-port DESTINATION-PORT
|
A 16-bit port number used by a transport protocol such as TCP or UDP. |
protocol¶
The protocol to filter, allows protocol number or name.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv4
vsr running ipv4# protocol PROTOCOL
|
Description |
|---|---|
|
No description. |
|
ICMP protocol. |
|
TCP protocol. |
|
UDP protocol. |
ipv6¶
Configure an IPv6 rule.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
source-address¶
Source IPv6 address.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# source-address SOURCE-ADDRESS
|
An IPv6 address. |
source-prefix¶
Source IPv6 prefix.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# source-prefix SOURCE-PREFIX
|
An IPv6 prefix: address and CIDR mask. |
destination-address¶
Destination IPv6 address.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# destination-address DESTINATION-ADDRESS
|
An IPv6 address. |
destination-prefix¶
Destination IPv6 prefix.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# destination-prefix DESTINATION-PREFIX
|
An IPv6 prefix: address and CIDR mask. |
source-port¶
Source port.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# source-port SOURCE-PORT
|
A 16-bit port number used by a transport protocol such as TCP or UDP. |
destination-port¶
Destination port.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# destination-port DESTINATION-PORT
|
A 16-bit port number used by a transport protocol such as TCP or UDP. |
protocol¶
The protocol to filter, allows protocol number or name.
vsr running config# vrf <vrf> mirror-traffic filter <string>{1,255} rule <uint32> ipv6
vsr running ipv6# protocol PROTOCOL
|
Description |
|---|---|
|
No description. |
|
ICMPv6 protocol. |
|
TCP protocol. |
|
UDP protocol. |
rule¶
The source of mirroring.
vsr running config# vrf <vrf> mirror-traffic
vsr running mirror-traffic# rule from <from> direction <direction> to <to> \
... filter <leafref>
|
An interface name. |
|
Description |
|---|---|
|
Mirror only incoming traffic. |
|
Mirror only outgoing traffic. |
|
An interface name. |