To delete the SPAN session, use the no monitor session session_number global
configuration command. To delete the SPAN session, use the no monitor session all global
configuration command. You can use the no monitor session session_number source
interface interface-id global configuration command or the no monitor session
session_number destination interface interface-id command to delete the source port or
destination port.
The following example shows how to create one SPAN session: session 1. First, clear the
configuration of the currently session 1, and then set to mirror the frames of port 1 to port 8.
The Show monitor session privileged command allows you to verify your configuration.
DGS-3610(config)# no monitor session 1
DGS-3610(config)# monitor session 1 source interface gigabitEthernet 3/1 both
DGS-3610(config)# monitor session 1 destination interface gigabitEthernet 3/8
DGS-3610(config)# end
DGS-3610# show monitor session 1
sess-num: 1
src-intf:
GigabitEthernet 3/1 frame-type Both
dest-intf:
GigabitEthernet 3/8
18.2.10 Deleting a Port from the SPAN
Session
Delete a port from a SPAN session:
DGS-3610(config)# no monitor
session session_number source
interface interface-id [,| -]
[both | rx | tx]
Specify the deleted source port to . For
session_number 1-128, specify the session
number. For interface-id, specify the appropriate
interface ID.
You can use the no monitor session session_number source interface interface-id global
configuration command to delete the source port from a SPAN session. The following
example shows how to delete port 1 from session 1 and verify your configuration.
DGS-3610(config)# no monitor session 1 source interface gigabitethernet 1/1 both
DGS-3610(config)# end
DGS-3610# show monitor session 1
sess-num: 1
dest-intf:
GigabitEthernet 3/8