Cisco ME 3400 Ethernet Access Switch
Software Configuration G uide
Cisco IOS Release 12.2(25)EX
November 2005
Corporate Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
Customer Order Number: DOC-7817058=
Text Part Number: 78-17058-01
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS M ANUAL ARE SUBJECT TO CHA NGE WITHOUT NO TICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSI BILITY FOR THEIR APPLICA TION OF ANY PRODUCT S.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORT H IN THE INFORMATION PACKET T HAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THE SE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAI M ALL WARRANTIE S, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NO NINFRINGEM ENT OR ARISING FROM A COURS E OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING ,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE S.
CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn,
and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the
Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering th e Internet
Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Ex pe rti se,
the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX,
Post-Routing, Pre-Routing, ProConnect, RateMUX, ScriptShare, SlideCast, SMARTnet, StrataView Plus, TeleRouter, The Fastest Way to Increase Your Internet Quotient,
and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or Website are the property of their respective owners. The use of the word partner does not imply a partnership relationship
between Cisco and any other company. (0502 R)
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
iii
Contents
Default Settings After Initial Switch Configuration1-8
Network Configuration Examples1-11
Multidwelling or Ethernet-to-the-Subscriber Network1-11
Layer 2 VPN Application1-13
Multi-VRF CE Applicatio n1-14
Where to Go Next1-15
CHAPTER
2Using the Command-Line Interface2-1
Understanding Command Modes2-1
Understanding the Help System2-3
Understanding Abbreviated Commands2-3
Understanding no and default Forms of Commands2-4
Understanding CLI Error Messages2-4
Using Command History2-4
Changing the Command Hi story Buffer Size2-5
Recalling Commands2-5
Disabling the Command History Feature2-5
Using Editing Features2-6
Enabling and Disa bling Editing Features2-6
Editing Commands through Keystrokes2-6
Editing Command Lines that Wrap2-8
Searching and Filtering Output of sho w an d m or e Com ma nds2-8
Accessing the CLI2-9
Accessing the CLI through a Console Connection or through Telnet2-9
CHAPTER
iv
3Assigning the Switch IP Address and Default Gateway3-1
Understanding the Boot Process3-1
Assigning Switch Information3-2
Default Switch Information3-3
Understanding DHCP-Based Autoconfiguration3-3
DHCP Client Request Process3-3
Configuring DHCP-Based Autoconfiguration3-5
DHCP Server Configuration Guidelines3-5
Configuring the TFTP Server3-5
Configuring the DNS3-6
Configuring the Relay Device3-6
Obtaining Configuration Files3-7
Example Configuration3-8
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Manually Assigning IP Information3-9
Checking and Saving the Running Configuration3-10
Modifying the S ta rtup Configurat ion3-12
Default Boot Configuration3-13
Automatically Downloading a Configuration File3-13
Specifying the Filename to Read and Write the System Configu ration3-13
Booting Manually3-14
Booting a Specific Software Image3-14
Controlling Environment Variables3-15
Scheduling a Reload of the Software Image3-16
What You Should Know About th e C N S ID s an d De vice Hostname s4-3
ConfigID4-3
DeviceID4-4
Hostname and De viceID4-4
Using Hostname, DeviceID, and ConfigID4-4
Understanding Cisco IOS Agents4-5
Initial Configuration4-5
Incremental (P ar tia l ) Co nf ig ur ation4-6
Synchronized Configuration4-6
Configuring Ci sco IOS Agents4-6
Enabling Automate d CNS Configuration4-6
Enabling the C NS Ev e nt Agent4-8
Enabling the Cisco IOS CNS Agent4-9
Enabling an Initial Configuration4-9
Enabling a Partial Configuration4-11
CHAPTER
78-17058-01
Displaying CNS Configuration4-12
5Administering the Switch5-1
Managing the System Time and Date5-1
Understanding the System Clock 5-2
Understanding Network Time Protocol5-2
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
v
Contents
Configuring NTP5-4
Default NTP Config uration5-4
Configuring NTP Authentication5-5
Configuring NTP Associations5-6
Configuring NTP Broadcast Service5-7
Configuring NTP Ac cess Restrictions5-8
Configuring the Source IP Address for NTP Packets5-10
Displaying the NTP C onfiguration5-11
Configuring Ti me and Date Manually5-11
Setting the System Clock5-11
Displaying the Time and Date Configuration5-12
Configuring the Time Zone 5-12
Configuring Summer Time (Daylight Saving Time)5-13
Configuring a System Name and Prompt5-14
Default System Name and Prompt Configuration5-15
Configuring a System Name5-15
Understanding DNS5-15
Default DNS Configuration5-16
Setting Up DNS5-16
Displaying the DNS Configuration5-17
Creating a Banner5-17
Default Banner Con figuration5-17
Configuring a Message-of-the-Day Login Banner5-18
Configuring a Login Banner5-19
Managing the MAC Address Table5-19
Building the Address Table5-20
MAC Addresses and VLANs5-20
Default MAC Address Tab le Configuration5-21
Changing the Addres s Aging Time5-21
Removing Dynamic Address Entries5-22
Configuring MAC Address Notification Traps5-22
Adding and Removing Static Address Entries5-24
Configuring Unicast MAC Address Filtering5-25
Disabling MAC Address Learning on a VLAN5-26
Displaying Addre ss Table Entries5-28
Managing the ARP Table5-28
vi
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Contents
CHAPTER
CHAPTER
6Configuring SDM Templates6-1
Understanding the SDM Templates6-1
Configuring the Switch SDM Template6-2
Default SDM Template6-2
SDM Template Configuration Guidelines6-2
Setting the SDM Template6-3
Displaying the SDM Temp lates6-4
7Configuring Switch-Based Authentication7-1
Preventing Unauthorized Access to Your Switch7-1
Protecting Access to Privileged EXEC Commands7-2
Default Password and Privilege Level Configuration7-2
Setting or Changing a Static Enable Password7-3
Protecting Enable and Enable Secret Passwords with Encryption7-4
Disabling Password Recovery7-5
Setting a Telnet Password for a Terminal Line7-6
Configuring User name and Password Pairs7-7
Configuring Multiple Privilege Levels7-8
Setting the Priv ilege Level for a Command7-8
Changing the Default Privilege Level for Lines7-9
Logging into and Exiting a Privilege Level7-10
Controlling Switch Access with TACACS+7-10
Understanding TACACS+7-10
TACACS+ Operation7-12
Configuring TACACS+7-13
Default TACACS+ Confi guration7-13
Identifying the TACACS+ Server Host and Setting the Authentication Key7-13
Configuring TACACS+ Login Authentication7-14
Configuring TACACS+ Authorization for Privileged EXEC Access and Network Services7-16
Starting TACACS+ Accounting7-17
Displaying the TA CACS+ Configuration7-17
Controlling Switch Access with RADIUS7-18
Understanding RADIUS7-18
RADIUS Operation7-19
78-17058-01
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
vii
Contents
Configuring RADIUS7-20
Default RADIUS Configu ration7-20
Identifying the RADIUS Server Host 7-20
Configuring RADI US Login Authentication7-23
Defining AAA Server Groups7-25
Configuring RADIUS Authorization for User Privilege d Access and Network Services7-27
Starting RADIUS Accounting7-28
Configuring Set tings for All RADIUS Servers7-29
Configuring the Switch to Use Vendor-Specific RADIUS Attributes7-29
Configuring the Switch for Vendor-Proprietary RADIUS Server Communication7-31
Displaying the RADIUS Configuration7-31
Controlling Switch Access with Kerberos7-32
Understanding Kerberos7-32
Kerberos Operation7-34
Authenticating to a Boundary Switch7-35
Obtaining a TGT from a KDC7-35
Authenticating to Network Services7-35
Configuring Kerberos7-36
CHAPTER
Configuring the Switch for Local Authentication and Authorization7-36
Configuring the Switch for Secure Shell7-37
Understanding SSH7-38
SSH Servers, Integrated Clients, and Supported Versions7-38
Limitations7-38
Configuring SSH7-39
Configuration Guidelines7-39
Setting Up the Switch to Run SSH7-39
Configuring the SSH Server7-40
Device Roles8-2
Authentication Initiation and Message Exchange8-3
Ports in Authorized and Unauthorized States8-4
IEEE 802.1x Accounting8-5
IEEE 802.1x Accounting Attribute-Value Pairs8-5
IEEE 802.1x Host Mode8-6
Using IEEE 802.1x with Port Security8-7
Using IEEE 802.1x with VLAN Assignment8-8
viii
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Configuring IEEE 802.1x Authentication8-9
Default IEEE 802.1x Configuration8-9
IEEE 802.1x Confi guration Guidelines8-10
Configuring IEEE 802.1x Authentication8-11
Configuring th e Switch-to-RADIUS-Server Communicat ion8-12
Configuring Periodic Re-Authentication8-13
Manually Re-Authenticating a Client Connected to a Port8-14
Changing the Quiet Period8-14
Changing the Switch-to-Client Retransmission Time8-15
Setting the Switch-to-Client Frame-Retransmission Number8-15
Setting the Re-Aut hentication Number8-16
Configuring the Host Mode8-17
Resetting the IE EE 802.1x Configuration to the Default Values8-17
Configuring IEEE 802.1x Accounting8-18
Displaying IEEE 802.1x Statistics and Status8-19
Contents
CHAPTER
9Configuring Interface Characteristics9-1
Understanding Interface Types9-1
Port-Based VLANs9-2
Switch Ports9-2
UNI and NNI Ports9-3
Access Ports9-3
Trunk Ports9-4
Tunnel Ports9-4
Routed Ports9-4
Switch Virtual Interfaces9-5
EtherChannel Por t Groups9-6
Connecting Interfaces9-6
Using Interface Configuration Mode9-7
Procedures for Configuring Interfaces9-7
Configuring a Range of Interfaces9-8
Configuring and Using Interface Range Macros9-10
Configuring Ethernet Interfaces9-11
Default Etherne t Interface Configuration9-12
Configuring User Network and Network Node Interfaces9-13
Configuring Interface Speed and Duplex Mode9-14
Speed and Duplex Configuration Guidelines9-15
Setting the Interface Speed and Duplex Parameters9-15
Configuring IEEE 802.3x Flow Control9-17
78-17058-01
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
ix
Contents
Configuring Auto-MDIX on an Interface9-18
Adding a Descripti on for an Interface9-19
Configuring Layer 3 Interfaces9-20
Configuring the System MTU9-21
Monitoring and Maintaining the Interfaces9-22
Monitoring Interface Status9-23
Clearing and Reset ting Interfaces and Counters9-24
Shutting Down and Restarting the Interface9-24
CHAPTER
CHAPTER
10Configuring Command Macros10-1
Understanding Command Macros10-1
Configuring Comman d Macros10-2
Creating an Extended-Range VLAN with an Internal VLAN ID11-11
Configuring UNI VL ANs11-12
Configuration Guidelines11-12
Configuring UNI VL ANs11-13
Displaying VLANs11-14
Configuring VLAN Tr unks11-14
Trunking Overview11-14
IEEE 802.1Q Confi guration Considerations11-15
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
x
78-17058-01
Default Layer 2 Ethernet Inte rfa c e VL A N Co nf ig ur ation11-16
Configuring an Ethernet Interface as a Trunk Port11-16
Interaction with Other Features11-16
Configuring a Trunk Port11-17
Defining the Allo w e d V LA N s on a Tr un k11-17
Configuring the Native VLAN for Untagged Traffic11-19
Configuring Trunk Ports for Load Sharing11-19
Load Sharing Using STP Port Priorities11-20
Load Sharing Using STP Path Cost11-21
Configuring VMPS11-23
Understanding VMPS11-23
Dynamic-Access Port VLAN Membership11-24
Default VMPS Client Configuration11-24
VMPS Configuration Guidelines11-25
Configuring the VMPS Client11-25
Entering the IP Address of the VMPS11-25
Configuring Dynamic-Access Ports on VMPS Clients11-26
Reconfirming VLAN Memberships11-26
Changing the Reconfirmation Interval11-27
Changing the Retry Count11-27
Monitoring the VMPS11-27
Troubleshooting Dynamic-Access Port VLAN Membership11-28
VMPS Configuration Example11-28
Contents
CHAPTER
78-17058-01
12Configuring Private VLANs12-1
Understanding Private VLANs12-1
Types of Private VLANs and Private-VLAN Ports12-2
IP Addressing Scheme with Private VLANs12-4
Private VLANs across Multiple Switches12-4
Private VLANs and Unicast, Broadcast, and Multicast Traffic12-5
Private VLANs and SVIs12-5
Limitations with Other Features12-9
Configuring and Associating VLANs in a Private VLAN12-10
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xi
Contents
Configuring a Lay er 2 Interface as a Private-VLAN Host Port12-12
Configuring a Lay er 2 Interface as a Private-VLAN Promi scuous Port12-13
Mapping Secondary VLANs to a Primary VLAN Layer 3 VLAN Interface12-14
Monitoring Private VLANs12-15
CHAPTER
13Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling13-1
STP Overview14-2
Spanning-Tree To pology and BPDUs14-3
Bridge ID, Switch Priority, and Extended System ID14-4
Spanning-Tree I nterface States14-4
Blocking State14-6
Listening State14-6
Learning State14-6
Forwarding State14-7
Disabled State14-7
How a Switch or Port Becomes the Root Switch or Root Port14-7
Spanning Tree and Redundant Connectivity14-8
Spanning-Tree Add ress Management14-8
Accelerated Aging to Retain Connectivity14-9
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Spanning-Tree Mode s and Protocols14-9
Supported Spanning-Tree Instances14-10
Spanning-Tree Interoperability and Backward Compat ibility14-10
STP and IEEE 802.1Q Tr unks14-10
Configuring Spanning-Tree Features14-11
Default Spanning -Tree Configuration14-11
Spanning-Tree Configuration Guidelines14-12
Changing the Spanning-Tree Mode.14-13
Disabling Spanning Tree14-14
Configuring the Root Switch14-14
Configuring a Secondary Root Switch14-16
Configuring Port Priority14-16
Configuring Path Cost14-18
Configuring the Switch Priority of a VLAN14-19
Configuring Spanning-Tree Timers14-20
Configuring the Hello Time14-20
Configuring the Forwarding-Delay Time for a VLAN14-21
Configuring th e Maximum-Aging Time for a VLAN14-21
Contents
CHAPTER
Displaying the Spanning-Tree Status14-22
15Configuring MSTP15-1
Understanding MSTP15-2
Multiple Spanning-Tree Regions15-2
IST, CIST, and CST15-2
Operations Within an MST Region15-3
Operations Betwee n MST Regions15-3
Hop Count15-4
Boundary Ports15-5
Interoperabi lity with IEEE 802.1D STP15-5
Understanding RSTP15-6
Port Roles and the Active Topology15-6
Rapid Convergence15-7
Synchronization of Port Roles15-8
Bridge Protocol Data Unit Format and Processing15-9
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xiii
Contents
Configuring MSTP Features15-11
Default MSTP Config uration15-12
MSTP Configuration Gui delines15-12
Specifying the MST Region Configuration and Enabling MSTP15-13
Configuring the Root Switch15-14
Configuring a Sec ondary Root Switch15-16
Configuring Port Priority 15-17
Configuring Path Cost15-18
Configuring the Switch Priority15-19
Configuring the Hello Time15-19
Configuring th e Forwarding-Delay Time15-20
Configuring th e Maximum-Aging Time15-21
Configuring the Maximum-Hop Count15-21
Specifying the Link Type to Ensure Rapid Transitions15-22
Restarting the Protocol Migration Process15-22
CHAPTER
Displaying the MST Configuration and Status15-23
16Configuring Optional Spanning-Tree Features16-1
Understanding Optional Spanning-Tree Features16-1
Understanding Port Fast16-2
Understanding BPD U Guard16-2
Understanding BPDU Filtering16-3
Understanding EtherChannel Guard16-3
Understanding Root Guard16-3
Understanding Loop Guard16-4
Default DHCP Config uration18-7
DHCP Snooping Configuration Guidelines18-7
Configuring the DHCP Relay Agent 18-8
Specifying the Packet Forwarding Address18-9
Enabling DHCP Snoopi ng and Option 8218-10
Enabling DHCP Snoopi ng on Private VLANs18-11
Enabling the DHCP Snooping Binding Database Agent18-12
78-17058-01
Displaying DHCP Sno oping Information18-13
Understanding IP Source Guard18-13
Source IP Address Filtering18-14
Source IP and MAC Address Filtering18-14
Configuring IP Source Guard18-14
Default IP Source Guard Configuration18-14
IP Source Guard Configuration Guidelines18-15
Enabling IP Source Guard18-15
Displaying IP Source Guard Information18-16
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xv
Contents
CHAPTER
CHAPTER
19Configuring Dynamic ARP Inspection19-1
Understanding Dynamic ARP Inspection19-1
Interface Trust States and Network Security19-3
Rate Limiting of ARP Packets19-4
Relative Priority of ARP ACLs and DHCP Snooping Entries19-4
Logging of Dropped Packets19-4
Configuring Dynamic ARP Inspection19-5
Default Dynamic ARP Inspection Configuration19-5
Dynamic ARP Inspection Configuration Guidelines19-6
Configuring Dynamic ARP Inspection in DHCP Environments19-7
Configuring ARP ACL s for Non-DHCP Environments19-8
Limiting the Rate of Incoming ARP Packets19-10
Performing Validation Checks19-12
Configuring the Log Buffer19-13
IGMP Versions20-2
Joining a Multicast Group20-3
Leaving a Multicast Group20-5
Immediate Leave20-5
IGMP Configurable-Leave Timer20-5
IGMP Report Suppression20-6
xvi
Configuring IGMP Snooping20-6
Default IGMP Snoo ping Configuration20-6
Enabling or Dis a bl in g IG M P Sno o pi ng20-7
Configuring a Multicast Router Port20-8
Configuring a Host Statically to Join a Group20-8
Enabling IGMP Immediate Leave20-9
Configuring the IGMP Leave Timer20-10
Configuring TCN-Related Commands20-11
Controlling the Multicast Flooding Time After a TCN Event20-11
Recovering from Flood Mode20-11
Disabling Multicast Flooding During a TCN Event20-12
Configuring the IGMP Snooping Querier20-13
Disabling IGMP Report Suppression20-14
Displaying IGMP Sno oping Information20-15
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Understanding Multicast VLAN Registration20-16
Using MVR in a Multicast Television Application20-16
Configuring MV R20-18
Default MVR Configuration20-18
MVR Configuration Guidelines and Limitations20-19
Configuring MVR Global Parameters20-19
Configuring MVR Interfaces20-20
Displaying MVR Information20-22
Configuring IG M P Fi lt ering and Throttling20-22
Default IGMP Filtering and Throttling Configuration20-23
Configuring IGMP Profiles20-23
Applying IGMP Profil es20-25
Setting the Maximum Number of IGMP Groups20-25
Configuring the IGMP Throttling Action20-26
Displaying IGMP Filtering and Throttling Configuration20-28
Contents
CHAPTER
21Configuring Port-Based Traffic Control21-1
Configuring Sto rm Control21-1
Understanding Storm Control21-1
Default Storm Control Configuration21-3
Configuring Storm Control and Threshold Levels21-3
Configuring Protected Ports21-5
Default Protected Port Configuration21-5
Protected Port Configuration Guidelines21-6
Configuring a Protected Port21-6
Configuring Port Blocking21-7
Default Port Blocking Configuration21-7
Blocking Flooded Traffic on an Interface21-7
Configuring Port Security21-8
Understanding Po rt Security21-8
Secure MAC Addresses21-8
Security Viol at ions21-9
Default Port Security Configuration21-10
Port Security Configuration Guidelines21-10
Enabling and Configuring Port Security21-11
Enabling and Confi guring Port Security Aging21-15
78-17058-01
Displaying Port -Based Traffic Control Settings21-17
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xvii
Contents
CHAPTER
CHAPTER
22Configuring CDP22-1
Understanding CDP22-1
Configuring CDP22-2
Default CDP Config uration22-2
Configuring the CDP Characteristics22-2
Disabling and Enabling CDP22-3
Disabling and Enabling CDP on an Interface22-4
Monitoring and Maintaining CDP22-5
23Configuring UDLD23-1
Understanding UDLD23-1
Modes of Operation23-1
Methods to Detect Unidirectional Links23-2
Configuring UDLD23-4
Default UDLD Configuration23-4
Configuratio n Guidelines23-4
Enabling UDLD Globally23-5
Enabling UDLD on an Interface23-5
Resetting an Interf ace Disabled by UDLD23-6
CHAPTER
Displaying UDLD Status23-6
24Configuring SPAN and RSPAN24-1
Understanding SPAN and RSPAN24-1
Local SPAN24-2
Remote SPAN24-2
SPAN and RSPAN Concepts and Terminology24-3
SPAN and RSPAN Interaction with Other Features24-8
Configuring SPAN an d RSPAN24-9
Default SPAN and RSPAN Conf iguration24-10
xviii
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Configuring Local SPAN24-10
SPAN Configuration Guidelines24-10
Creating a Local SPAN Session24-11
Creating a Local SP AN S ession and Configuring Ingress Traffic24-13
Specifying VLANs to Filter24-15
Configuring RSPAN24-16
RSPAN Configuration Guidelines24-16
Configuring a VLAN as an RSPAN VLAN24-17
Creating an RSPAN Source Session24-17
Creating an RSPAN Destination Session24-19
Creating an RSPAN Destination Session and Configuring Ingress Traffic24-20
Specifying VLANs to Filter24-21
Displaying SPAN and RSPAN Status24-22
Contents
CHAPTER
CHAPTER
25Configuring RMON25-1
Understanding RMON25-1
Configuring RMON25-2
Default RMON Configuration25-3
Configuring RMON Alarms and Events25-3
Collecting Group History Statistics on an Interface25-5
Collecting Group Ethernet Statistics on an Interface25-6
Displaying RMON Status25-6
26Configuring System Message Logging26-1
Understanding System Message Logging26-1
Configuring System Message Logging26-2
System Log Message Format26-2
Default System Message Logging Configuration26-3
Disabling Message Logging26-3
Setting the Message D isplay Destination Device26-4
Synchronizing Log Messages26-5
Enabling and Disa bling Time Stamps on Log Messages26-7
Enabling and Disabling Sequence Numbers in Log Messages26-7
Defining the Message Severity Level26-8
Limiting Syslog Messages Sent to the History Table and to SNMP26-9
Configuring UNIX Syslog Servers26-10
Logging Messages to a UNIX Syslog Daemon26-10
Configuring the UNIX System Logging Facility26-11
78-17058-01
Displaying the Lo gging Configuration26-12
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xix
Contents
CHAPTER
27Configuring SNMP27-1
Understanding SNMP27-1
SNMP Versions27-2
SNMP Manager Functions27-3
SNMP Agent Fu nc ti on s27-4
SNMP Community Strings27-4
Using SNMP to Access MIB Variables 27-4
SNMP Notifications27-5
SNMP ifIndex MIB Objec t Va lu es27-5
Configuring SNMP27-6
Default SNMP Configuration27-6
SNMP Configuration Guidelines27-6
Disabling the SNMP Agent27-7
Configuring Commun ity Strings27-8
Configuring SNMP Gro ups and Users27-9
Configuring SNMP Not ifications27-11
Setting the Agent Co ntact and Location Information27-14
Limiting TFTP Servers Used Through SNMP27-15
SNMP Exampl es27-15
CHAPTER
Displaying SNMP Status27-16
28Configuring Network Security with ACLs28-1
Understanding ACLs28-1
Supported ACLs28-2
Port ACLs28-3
Router ACLs28-4
VLAN Maps28-5
Handling Fragmented and Unfragmented Traffic28-5
Configuring IPv4 ACLs28-6
Creating Standard and Extended IPv4 ACLs28-7
IPv4 Access List Number s28-8
ACL Logging28-8
Creating a Numbered Standard ACL28-9
Creating a Numbered Extended ACL28-10
Resequencing ACEs in an ACL28-14
Creating Named Standard and Extended ACLs28-14
Using Time Ranges with ACLs28-16
Including Comments in ACLs28-18
Applying an IPv4 ACL to a Terminal Line28-18
xx
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Applying an IPv4 ACL to an Interface28-19
Hardware and Software Treatment of IP ACLs28-21
IPv4 ACL Configuration Examples28-21
Numbered ACLs28-23
Extended ACLs28-23
Named ACLs28-23
Time Range Applied to an IP ACL28-24
Commented IP AC L En tr ie s28-24
ACL Logging28-25
Creating Named MAC Extended ACLs28-26
Applying a MAC ACL to a Layer 2 Interface28-28
Configuring VLAN Map s28-29
VLAN Map Configuration Guidelines28-30
Creating a VLAN Map28-31
Examples of ACLs and VLAN Maps28-31
Applying a VLAN Map to a VLAN28-33
Using VLAN Maps in Your Netwo rk28-34
Wiring Closet Configuration28-34
Denying Access to a Server on Another VLAN28-35
Contents
CHAPTER
CHAPTER
Using VLAN Maps with Router ACLs28-36
VLAN Maps and Router ACL Configuration Guidelines28-36
Examples of Router ACLs an d VLAN Maps Applied to VLANs28-37
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xxi
Contents
Classification30-5
Class Maps30-6
The match Command30-7
Classification Based on Layer 2 CoS30-7
Classification Based on IP Precedence30-8
Classification Based on IP DSCP30-8
Classification Comparisons30-9
Classification Based on QoS ACLs30-10
Classification Based on QoS Groups30-10
Table Maps30-11
Policing30-12
Individual Policing30-13
Aggregate Policing30-14
Unconditiona l Pr iority Policing30-15
Marking30-16
Congestion Management and Scheduling30-18
Traffic Shapi ng30-19
Class-Based Weighted Fair Queuing30-21
Priority Queuing30-22
Congestion Avoidance and Queuing30-24
Configuring QoS30-26
Default QoS Config uration30-27
QoS Configuration Guidelines30-27
Using ACLs to Classify Traffic30-27
Creating IP Standard ACLs30-28
Creating IP Extended ACLs30-29
Creating Layer 2 MAC ACLs30-30
Using Class Maps to Define a Traffic Class30-31
Configuring Table Maps30-33
Attaching a Traffic Policy to an Interface30-35
Configuring Input Policy Maps30-35
Configuring Input Policy Maps with Individual P olicing30-36
Configuring Input Policy Maps with Aggregate Policing30-39
Configuring Input Policy Maps with Marking30-41
Configuring Out put Policy Maps30-43
Configuring Out put Policy Maps with Class-Based-Weighted-Queuing30-44
Configuring Out put Policy Maps with Class-Based Shaping30-46
Configuring Out put Policy Maps with Port Shaping30-47
Configuring Output Policy Maps with Class-Based Priority Queuing30-48
Configuring Output Policy Maps with Weighted Tail Drop30-53
xxii
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Displaying QoS Information30-55
QoS Statistics30-55
Configuration Examples for Policy Maps30-56
QoS Configuration for Customer A30-56
QoS Configuration for Customer B30-58
Modifying Out pu t Po licies and Adding or Deleting Cla ss if ic ation Criteria30-59
Modifying Output Policies and Changing Queuing or Scheduling Parameters30-60
Modifying Out pu t Policies and Ad d in g or De le tin g Configured Ac ti ons30-60
Modifying Output Policies and Adding or Deleting a Class30-61
Contents
CHAPTER
31Configuring EtherChannels31-1
Understanding EtherChannels31-1
EtherChannel Over view31-2
Port-Channel I n terfaces31-3
Port Aggregation Protocol31-4
PAgP Modes31-5
PAgP Interaction with Other Features31-5
Link Aggregatio n Control Protocol31-6
LACP Modes31-6
LACP Interaction with Other Features31-6
EtherChannel On Mode31-7
Load Balancing and Forwarding Methods31-7
Enabling Directed Broadcast-to-Physical Broadcast Translation32-13
Forwarding UDP Broadcast Packets and Protocols32-14
Establishing an IP Broadcast Address32-15
Flooding IP Broadcasts32-15
Configuring Summary Addresses and Split Horizon32-21
Configuring Spl it Horizon32-23
Configuring OSPF32-23
Default OSPF Configuration32-24
Configuring Basic OSPF Parameters32-26
Configuring OSPF Interfaces32-26
Configuring OSPF Area Parameters32-27
Configuring Other OSPF Parameters32-29
Changing LSA Group Pacing32-30
Configuring a Loopback Interface32-31
Monitoring OSPF32-31
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Configuring EI GRP32-32
Default EIGRP Configuration32-34
Configuring Bas ic EIGRP Parameters32-35
Configuring EI GRP Interfaces32-36
Configuring EI GRP Route Authentication32-37
Monitoring and Maintaining EIGRP32-38
Configuring BGP32-38
Default BGP Config uration32-40
Enabling BGP Routing32-42
Managing Routing Policy Changes32-45
Configuring BGP Decision Attributes32-46
Configuring BGP Filtering with Route Maps32-48
Configuring BGP Fi ltering by Neighbor32-49
Configuring Prefix Lists for BGP Filtering32-50
Configuring BGP Community Filtering32-51
Configuring BGP Neighbors and Peer Groups32-52
Configuring Aggr egate Addresses32-54
Configuring Routing Domain Confederations32-55
Configuring BGP Route Reflectors32-56
Configuring Route Dampening32-57
Monitoring and Maintaining BGP32-58
Contents
Configuring Multi-VRF CE32-59
Understanding Multi -VRF CE32-59
Default Multi-VRF CE Configuration32-61
Multi-VRF CE Configuration Guidelines32-61
Configuring VRFs32-62
Configuring a VPN Routing Session32-63
Configuring BGP PE to CE Routing Sessions32-64
Multi-VRF CE Configuration Example32-64
Displaying Multi-VRF CE Status32-68
Configuring Protocol-Independent Features32-69
Configuring Ci sco Express Forwarding32-69
Configuring the Number of Equal-Cost Routing Paths32-70
Configuring Static Unicast Routes32-71
Specifying Default Routes and Networks32-72
Using Route Maps to Redistribute Routing Information32-73
Configuring Policy-Based Routing32-76
PIMv1 and PIMv 2 In te roperability34-8
Auto-RP and BSR Configuration Guidelines34-8
Configuring Basic Multicast Routing34-9
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Configuring a Rendezvous Point34-10
Manually Assigning an RP to Multicast Groups34-11
Configuring Auto-RP34-12
Configuring PI Mv2 BSR34-16
Using Auto-RP and a BSR34-20
Monitoring the RP Mapping Information34-21
Troubleshooting PIMv1 and PIMv2 Interoperability Problems34-21
Configuring Adva nced PIM Features34-21
Understanding PIM Shared Tree and Source Tree34-21
Delaying the Use of PIM Shortest-Path Tree34-23
Modifying the PIM Router-Query Message Interval34-24
Configuring Opt ional IGMP Features34-25
Default IGMP Configuration34-25
Configuring the Switch as a Member of a Group34-25
Controlling Access to IP Multicast Groups34-26
Changing the IGMP Version34-27
Modifying the IGMP Host-Query Message Interval34-28
Changing the IGMP Query Timeout for IGMPv234-29
Changing the Maximum Que ry Response Time for IGMPv234-29
Configuring the Switch as a Statically Connected Member34-30
Limiting How Long an sdr Cache Entry Exists34-32
Configuring an IP Multicast Boundary34-32
Monitoring and Maintaining IP Multicast Routing34-34
Clearing Caches, Tables, and Databases34-34
Displaying System and Network Statistics34-34
Monitoring IP Multicast Routing34-35
35Configuring MSDP35-1
Understanding MSDP35-1
MSDP Operation35-2
MSDP Benefits35-3
Configuring MSDP35-4
Default MSDP Configuration35-4
Configuring a Def ault MSDP Peer35-4
Caching Source-Active State35-6
Requesting Sourc e Information from an MSDP Peer35-8
78-17058-01
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xxvii
Contents
Controlling Source Information that Your Switch Originates35-8
Redistributing Sources35-9
Filtering Sou rc e- A ctive Request Mes sages35-11
Controlling Source Information that Your Switch Forwards35-12
Using a Filter35-12
Using TTL to Limit the Multicast Data Sent in SA Messages35-14
Controlling Source Information that Your Switch Receives35-14
Configuring an MSDP Mes h Group35-16
Shutting Down an MSDP Peer35-16
Including a Borderi ng PIM Dense-Mode Region in MSDP35-17
Configuring an Originating Address other than the RP Address35-18
Monitoring and Maintaining MSDP35-19
CHAPTER
36Troubleshooting36-1
Recovering from Corrupted Software By Using the XmodemProtocol36-2
Recovering from a Lost or Forgotten Password36-3
Procedure with Password Recovery Enabled36-5
Procedure with Password Recovery Disabled36-7
Preventing Autoneg otiation Mismatches36-8
SFP Module Sec urity and Ident ifi cation36-9
Monitoring SFP Module Status36-9
Monitoring Temperature36-9
Using Ping36-10
Understanding Ping 36-10
Using Ping36-10
All Software Ve rs io ns36-11
Metro IP Access Image36-11
Ping Responses36-12
Summary36-13
Using Layer 2 Tr ac e r o ut e36-13
Understanding Layer 2 Traceroute36-13
Layer 2 Tracerout e Usage Guidelines36-14
Displaying the Ph ysical Path36-15
xxviii
Using IP Traceroute36-15
Understanding IP Traceroute 36-15
Executing IP Traceroute36-16
Cisco ME 3400 EthernetAccess Switch Software Configuration Guide
78-17058-01
Using TDR36-17
Understanding TDR36-17
Running TDR and Displaying the Results36-17
Using Debug Commands36-18
Enabling Debuggi ng on a Specific Feature36-18
Enabling All-System Diagnostics36-19
Redirecting Debu g and Error Message Output36-19
Using the show platform forward Command36-19
Using the crashinfo File36-22
Contents
APPENDIX
APPENDIX
ASupported MIBsA-1
MIB ListA-1
Using FTP to Access th e MI B FilesA-3
BWorking with the Cisco IOS File System, Configuration Files, and Software ImagesB-1
Working with th e Fl ash File SystemB-1
Displaying Available File SystemsB-2
Setting the Default File SystemB-3
Displaying Information about Files on a File SystemB-3
Changing Directo ries and Displaying the Working DirectoryB-3
Creating and Removing DirectoriesB-4
Copying FilesB-4
Deleting FilesB-5
Creating, Displaying, and Extracting tar FilesB-5
Creating a tar Fi leB-6
Displaying the Co ntents of a tar FileB-6
Extracting a ta r Fil eB-7
Displaying the Contents of a FileB-7
78-17058-01
Working with Configuration FilesB-8
Guidelines for Creating and Using Configuration FilesB-8
Configuration File Types and LocationB-9
Creating a Configuration File By Using a Text EditorB-9
Copying Configuration Files By Using TFTPB-10
Preparing to Download or Upload a Configuration File By Using TFTPB-10
Downloading the Configuration File By Using TFTPB-10
Uploading the Configuration File By Using TFTPB-11
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
xxix
Contents
Copying Configuration Files By Using FTPB-11
Preparing to Download or Upload a Configuration File By Using FTPB-12
Downloading a Configuration File By Using FTPB-13
Uploading a Configuration File By Using FTPB-14
Copying Configuration Files By Using RCPB-15
Preparing to Download or Upload a Configuration File By Using RCPB-15
Downloading a Configuration File By Using RCPB-16
Uploading a Configuration File By Using RCPB-17
Clearing Configuration InformationB-18
Clearing the St a rtu p Co nfiguration Fi leB-18
Deleting a Stored Configuration FileB-18
Working with So ft w a re Ima g esB-18
Image Location on the SwitchB-19
tar File Format of Images on a Server or Cisco.comB-19
Copying Image Files By Using TFTPB-20
Preparing to Downl oad or Upload an Image File By Using TFTPB-21
Downloading an Image File By Using TFTPB-21
Uploading an Image File By Using TFTPB-23
Copying Image Files By Using FTPB-23
Preparing to Downl oad or Upload an Image File By Using FTPB-24
Downloading an Image File By Using FTPB-25
Uploading an Image File By Using FTPB-27
Copying Image Files By Using RCPB-28
Preparing to Downl oad or Upload an Image File By Using RCPB-28
Downloading an Image File By Using RCPB-29
Uploading an Image File By Using RCPB-31
APPENDIX
xxx
CUnsupported Commands in CiscoIOS Release 12.2(25)EXC-1
Access Control ListsC-1
Unsupported Privileged EXEC CommandsC-1
Unsupported Global Configuration CommandsC-1