Configuring Flow based RSPAN

The following example shows the configuration of Flow Based Mirroring.

Example

The following example shows the configuration of Flow Based Mirroring of an ethernet port to a RSPAN VLAN.

SLX # configure terminal
SLX (config)# interface ethernet 0/3
SLX (conf-if-eth-0/3)# lldp disable
SLX (conf-if-eth-0/3)# exit
SLX (config)#ip access-list extended mirror-my-port
SLX (config-ipacl-std)#
SLX (config-ipacl-std)#seq 5 permit ip host 10.10.10.1 any count mirror 
SLX (config-ipacl-std)# exit
SLX (config)# interface ethernet 0/1
SLX (config-eth-0/1)# ip access-group mirror-my-port in 
SLX (config-eth-0/1)# ip access-group mirror-my-port out 
SLX (config-eth-0/1)# exit
SLX (config)# monitor session 25
SLX (config-session-25)# source ethernet 0/1 destination rspan-vlan 120 ethernet 0/3 direction both flow-based
SLX (config-session-25)# exit
            

The following example shows the configuration of Flow Based Mirroring of a VLAN to a RSPAN VLAN accessible on a port channel.

SLX # configure terminal
SLX (config)#mac access-list extended mirror-my-port
SLX (config-ipacl-std)#
SLX (config-ipacl-std)#seq 5 permit ip host 10.10.10.1 any count mirror 
SLX (config-ipacl-std)# exit
SLX (config)# vlan 100 
SLX (config-vlan-100)# ip mac access-group mirror-my-port in 
SLX (config-vlan-100)# ip mac access-group mirror-my-port out 
SLX (config-vlan-100)# exit
SLX (config)# monitor session 31
SLX (config-session-31)# source vlan 100 destination rspan-vlan 120 port-channel 2 direction both flow-based
SLX (config-session-31)# exit