Cisco Systems 8540 CSR, 8510 CSR appendix Direction receive transmit both, Source-port

Page 40

Chapter 4 Configuring Interfaces

Configuring Snooping

 

Command

Purpose

Step 1

 

 

Router(config)# interface destination-port

Defines the interface configuration for the

 

Router(config-if)#

destination (test) port.

 

 

Step 2

 

 

Router(config-if)# shutdown

Shuts down the destination port.

Step 3

 

 

Router(config-if)# snoop interface source-port

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

 

 

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

Returns to privileged EXEC mode.

 

Router#

 

Step 6

 

 

Router# copy system:running-config

Saves your configuration changes to NVRAM.

 

nvram:startup-config

 

 

 

 

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:

 

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

 

 

Router(config-if)#

 

Step 2

 

 

Router(config-if)# shutdown

Shuts down the destination port.

Step 3

 

 

Router(config-if)# no snoop interface

Disables port snooping by the destination port

 

source-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

Returns to privileged EXEC mode.

 

Router#

 

Step 6

 

 

Router# copy system:running-config

Saves your configuration changes to NVRAM.

 

nvram:startup-config

 

 

 

 

 

 

 

Note

For additional information on port snooping commands, refer to the “Port Snooping

 

 

 

 

Commands” section on page A-1.

 

 

 

 

 

 

 

 

 

Layer 3 Switching Software Feature and Configuration Guide

 

 

 

 

4-40

 

 

78-6235-04, Cisco IOS Release 12.0(10)W5(18)

 

 

 

 

 

Image 40
Contents Configuring Interfaces Media Access Control Address Overview of Interface ConfigurationInterface Port Identifier Router# configure terminal General Instructions for Configuring InterfacesRouterconfig# interface gigabitethernet 1/0/1 About Layer 3 Switching Interfaces Initially Configuring Gigabit Ethernet Interfaces Command PurposeAbout the Enhanced Gigabit Ethernet Interfaces Catalyst ExampleVerifying the Ethernet Interface Configuration Initially Configuring Fast Ethernet InterfacesCommand Description Router# show interface gigabitethernet 0/0/0 ExamplesRouter# show interface fastethernet 1/0/0 Configuring ISL Vlan Encapsulation About Virtual LANsEnters subinterface configuration mode Routerconfig-subif#Configure the Fast Ethernet main interface Routerconfig-if# Routerconfig# bridge bridge-group protocol ieeeConfiguring 802.1Q Vlan Encapsulation Routerconfig# interface fastethernet 1/0/1.1Routerconfig-subif#interface fastethernet 1/0/0 Routerconfig-subif#interface fastethernet 3/0/1Bridge-group IeeeMonitoring Vlan Operation About Packet over Sonet CatalystAbout the POS OC-12c Uplink Interface POSConfiguring the POS OC-12c Uplink Interface Catalyst Initially Configuring the POS Interface Default ConfigurationParameter Configuration Command Default Value Automatic Reverting of Clock Source Ip-address subnet-maskHdlc ppp Line internalAdditional Configurations Customizing the ConfigurationSetting the MTU Size Configuring Framing Configuring Sonet OverheadSdh sonet Value j0 value sls0 valueScrambling is on by default Configuring POS SPE ScramblingScramble-atm Configuring Sonet Alarms Alarm Configuring Sonet Delay TriggersAlarm Description Verifying the POS Configuration Lais pais plop prdi slofSlos Triggers line path millisecondRouter# show protocols pos 1/0/0 Router# show controllers pos 2/0/0 LOP = PLM-PRouter# show controller pos 2/0/0 detail Smdr About ATM Uplinks Catalyst About the ATM Uplink InterfaceConfiguring the ATM Uplink Interface Catalyst Configuration OverviewNo loopback No atm sonet stm-1 for OC-3Initially Configuring the ATM Uplink Interface No atm clock internalAtm vc-per-vp Parameter ValueConfiguring the Clock Source Configuring Sonet Framing Routerconfig-if# atm sonetStm-1 ATM interface or to STM-4 for the OC-12c interfaceOverhead c2 byte j0 bytes Msg line j1 16byte exp-msgSls0 is part of the payload pointer byte Line msg line 64byte exp-msgConfiguring Loopback Configuring Virtual Circuits Configuring CDPConfiguring the Maximum VCs per VP Creating a PVCMapping a Protocol Address to a PVC Vpi vci aal-encapIp-address atm-vc vcd NameSwitch Router a Verifying the ATM ConfigurationSwitch Router B 5CB Configuring Interfaces About Port Snooping About Port SnoopingConfiguring Snooping Restrictions on Port SnoopingAbout the Snooping Destination Port About the Snooping Source PortDirection receive transmit both Source-portMonitoring Snooping Show snoop interfaceDestination-port Show snoop78-6235-04, Cisco IOS Release 12.010W518