Cisco Nexus 3548 Command Reference Manual page 64

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

System Management Commands
filter
The following example shows how to configure a MAC-based SPAN filter for a local session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 4
switch(config-monitor)# source interface Ethernet 1/6 rx
switch(config-monitor)# filter mac abcd.ef12.3456 1111.2222.3333 1234.5678.9012
111.2222.3333
switch(config-monitor)# destination interface Ethernet 1/48
switch(config-monitor)#
The following example shows how to configure an MAC-based filter for an ERSPAN-source session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 2 type erspan-source
switch(config-erspan-src)# filter mac abcd.ef12.3456 1111.2222.3333 1234.5678.9012
1111.2222.3333
switch(config-erspan-src)# erspan-id 20
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface Ethernet 1/47 rx
switch(config-erspan-src)# no shut
switch(config-erspan-src)#
The following example shows how to configure a VLAN-based filter for an ERSPAN-source session:
switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# monitor session 2 type erspan-source
switch(config-erspan-src)# filter mac abcd.ef12.3456 1111.2222.3333 1234.5678.9012
1111.2222.3333
switch(config-erspan-src)# erspan-id 21
switch(config-erspan-src)# vrf default
switch(config-erspan-src)# destination ip 200.1.1.1
switch(config-erspan-src)# source interface Ethernet 1/47 rx
switch(config-erspan-src)# source vlan 315
switch(config-erspan-src)# mtu 200
switch(config-erspan-src)# no shut
switch(config-erspan-src)#
Cisco Nexus 3548 Switch NX-OS System Management Command Reference
54
OL-27851-02

Advertisement

Table of Contents
loading

Table of Contents