The following example configures the SPAN session mirroring only the traffic permitted by the access
list.
Ruijie(config)# monitor session 3 source interface gigabitEthernet 0/3 rx acl
90
The following example configures a remote SPAN session.
Ruijie(config)# monitor session 10 remote-source
The following example configures the destination port of the remote SPAN session.
Ruijie(config)# monitor session 4 destination remote vlan 10 interface
gigabitEthernet 0/5
The following example configures the source VLAN of the SPAN session.
Ruijie(config)# monitor session 1 source vlan 1
The following example removes the SPAN session.
Ruijie(config)# no monitor session 1
The following example removes the source port and destination port of the SPAN session.
Ruijie(config)# no monitor session 1 source interface gigabitEthernet 0/18
Ruijie(config)# no monitor session 1 destination interface gigabitEthernet
0/18
The following example configures the SPAN session monitoring only the traffic sent from CPU.
Ruijie(config)# monitor session 3 source interface gigabitEthernet 0/3 tx cpu
The following example configures the SPAN session monitoring traffic, including the traffic sent from
CPU.
Ruijie(config)# monitor session 3 source interface gigabitEthernet 0/3 tx cpu
Ruijie(config)# monitor session 3 source interface gigabitEthernet 0/3 tx