
Chapter 4 Configuring Interfaces
Configuring Snooping
| 
 | Command | Purpose | 
| Step 1 | 
 | 
 | 
| Router(config)# interface  | Defines the interface configuration for the | |
| 
 | destination (test) port. | |
| 
 | 
 | |
| Step 2 | 
 | 
 | 
| Shuts down the destination port. | ||
| Step 3 | 
 | 
 | 
| Defines a snoop source port and its snoop | ||
| 
 | direction {receive transmit both} | direction. You must issue separate snoop | 
| 
 | 
 | interface commands for each source port. | 
| Step 4 | 
 | 
 | 
| Reenables the interface. When you bring the | ||
| 
 | 
 | destination port back up, snooping mode is fully | 
| 
 | 
 | functional. | 
| Step 5 | 
 | 
 | 
| Returns to privileged EXEC mode. | ||
| 
 | Router# | 
 | 
| Step 6 | 
 | 
 | 
| Router# copy  | Saves your configuration changes to NVRAM. | |
| 
 | 
 | |
| 
 | 
 | 
 | 
For a complete configuration example that includes port snooping, see the “Catalyst 8540 CSR with ISL, VLAN, and BVI with GEC” section on page 
To disable 
| 
 | Command | Purpose | 
| Step 1 | 
 | 
 | 
| Router(config)# interface fastethernet | Enters interface configuration mode for the | |
| 
 | slot/subslot/interface | previously configured destination port. | 
| 
 | or | 
 | 
| 
 | Router(config)# interface gigabitethernet | 
 | 
| 
 | slot/subslot/interface | 
 | 
| 
 | 
 | |
| Step 2 | 
 | 
 | 
| Shuts down the destination port. | ||
| Step 3 | 
 | 
 | 
| Disables port snooping by the destination port | ||
| 
 | 
 | defined in Step 1 on the indicated source port. | 
| Step 4 | 
 | 
 | 
| 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 | 
 | 
 | 
| Returns to privileged EXEC mode. | ||
| 
 | Router# | 
 | 
| Step 6 | 
 | 
 | 
| Router# copy  | Saves your configuration changes to NVRAM. | |
| 
 | 
 | |
| 
 | 
 | 
 | 
| 
 | 
 | 
 | Note | For additional information on port snooping commands, refer to the “Port Snooping | ||
| 
 | 
 | 
 | 
 | Commands” section on page  | ||
| 
 | 
 | 
 | 
 | 
 | 
 | |
| 
 | 
 | 
 | Layer 3 Switching Software Feature and Configuration Guide | |||
| 
 | 
 | 
 | ||||
| 
 | 
 | 
 | 
 | |||
| 
 | 
 | 
 | 
 | |||
