Cisco Systems 8540 CSR Network Router User Manual


 
4-40
Layer 3 Switching Software Feature and Configuration Guide
78-6235-04, Cisco IOS Release 12.0(10)W5(18)
Chapter 4 Configuring Interfaces
Configuring Snooping
For a complete configuration example that includes port snooping, see the “Catalyst 8540 CSR with
ISL, VLAN, and BVI with GEC” section on page C-1.
To disable port-based snooping on an interface, perform the following steps:
Note For additional information on port snooping commands, refer to the “Port Snooping
Commands” section on page A-1.
Command Purpose
Step 1
Router(config)# interface destination-port
Router(config-if)#
Defines the interface configuration for the
destination (test) port.
Step 2
Router(config-if)# shutdown Shuts down the destination port.
Step 3
Router(config-if)# snoop interface source-port
direction {receive | transmit | both}
Defines a snoop source port and its snoop
direction. You must issue separate snoop
interface commands for each source port.
Step 4
Router(config-if)# no shutdown Reenables the interface. When you bring the
destination port back up, snooping mode is fully
functional.
Step 5
Router(config-if)# end
Router#
Returns to privileged EXEC mode.
Step 6
Router# copy system:running-config
nvram:startup-config
Saves your configuration changes to NVRAM.
Command Purpose
Step 1
Router(config)# interface fastethernet
slot/subslot/interface
or
Router(config)# interface gigabitethernet
slot/subslot/interface
Router(config-if)#
Enters interface configuration mode for the
previously configured destination port.
Step 2
Router(config-if)# shutdown Shuts down the destination port.
Step 3
Router(config-if)# no snoop interface
source-port
Disables port snooping by the destination port
defined in Step 1 on the indicated source port.
Step 4
Router(config-if)# no shutdown Reenables the interface. When you bring the
destination port back up, snooping mode is
disabled and any existing configuration and
connections are reestablished.
Step 5
Router(config-if)# end
Router#
Returns to privileged EXEC mode.
Step 6
Router# copy system:running-config
nvram:startup-config
Saves your configuration changes to NVRAM.