Excluding Specific Ports from Fast Port Span

To exclude a port from Fast Port Span while leaving Fast Port Span enabled globally, enter commands such as the following.

device(config)# fast port-span exclude ethernet 1/1/7
device(config)# write memory 

To exclude a set of ports from Fast Port Span, enter commands such as the following.

device(config)# fast port-span exclude ethernet 1/1/1 ethernet 1/2/2 ethernet 1/2/3
device(config)# write memory 

To exclude a contiguous (unbroken) range of ports from Fast Span, enter commands such as the following.

device(config)# fast port-span exclude ethernet 1/1/1 to 1/1/24
device(config)# write memory 

To re-enable Fast Port Span on a port, enter a command such as the following.

device(config)# no fast port-span exclude ethernet 1/1/1 
device(config)# write memory 

This command re-enables Fast Port Span on port 1 only and does not re-enable Fast Port Span on other excluded ports. You also can re-enable Fast Port Span on a list or range of ports using the syntax shown above this example.

To re-enable Fast Port Span on all excluded ports, disable and then re-enable Fast Port Span by entering the following commands.

device(config)# no fast port-span 
device(config)# fast port-span
device(config)# write memory 

Disabling and then re-enabling Fast Port Span clears the exclude settings and thus enables Fast Port Span on all eligible ports. To make sure Fast Port Span remains enabled on the ports following a system reset, save the configuration changes to the startup-config file after you re-enable Fast Port Span. Otherwise, when the system resets, those ports will again be excluded from Fast Port Span.