- •Table of Contents
- •Cisco Switching Black Book
- •Introduction
- •Overview
- •Is This Book for You?
- •How to Use This Book
- •The Black Book Philosophy
- •Chapter 1: Network Switching Fundamentals
- •In Depth
- •Physical Media and Switching Types
- •A Bit of History
- •Networking Architectures
- •The Pieces of Technology
- •Repeaters
- •Hubs
- •Bridges
- •Routers
- •Switches
- •Network Design
- •Collision Domains
- •Broadcast Domains
- •Why Upgrade to Switches?
- •Switched Forwarding
- •Switched Network Bottlenecks
- •The Rule of the Network Road
- •Switched Ethernet Innovations
- •Fast Ethernet
- •Gigabit Ethernet
- •The Cisco IOS
- •Connecting to the Switch
- •Powering Up the Switch
- •The Challenges
- •Entering and Exiting Privileged EXEC Mode
- •Entering and Exiting Global Configuration Mode
- •Entering and Exiting Interface Configuration Mode
- •Entering and Exiting Subinterface Configuration Mode
- •Saving Configuration Changes
- •Chapter 2: Basic Switch Configuration
- •In Depth
- •Campus Hierarchical Switching Model
- •Access Layer
- •Distribution Layer
- •Core Layer
- •Remote Network Monitoring
- •Connecting to the Console Port
- •Console Cable Pinouts
- •Console Connectors
- •Switch IOSs
- •The IOS Configuration Modes
- •Limiting Telnet Access
- •Implementing Privilege Levels
- •Setting the Login Passwords
- •Setting Privilege Levels
- •Assigning Allowable Commands
- •Configuring the Hostname
- •Configuring the Date and Time
- •Configuring an IP Address and Netmask
- •Configuring a Default Route and Gateway
- •Configuring Port Speed and Duplex
- •Enabling SNMP Contact
- •Logging On to a Switch
- •Setting the Login and Enable Passwords
- •Changing the Console Prompt
- •Entering a Contact Name and Location Information
- •Configuring System and Time Information
- •Configuring an IP Address and Netmask
- •Configuring a Default Route and Gateway
- •Viewing the Default Routes
- •Configuring Port Speed and Duplex
- •Enabling SNMP
- •Configuring Trap Message Targets
- •Configuring the Console Port
- •Configuring Telnet
- •Configuring the Password
- •Configuring an IP Address and Default Gateway
- •Configuring SNMP
- •Configuring ROM
- •Entering ROM Configuration Mode
- •Booting ROM Mode from a Flash Device
- •Configuring SNMP
- •Configuring RMON
- •Using Set/Clear Command Set Recall Key Sequences
- •Chapter 3: WAN Switching
- •In Depth
- •WAN Transmission Media
- •Synchronous Transport Signal (STS)
- •Cisco WAN Switches
- •MGX 8200 Series
- •IGX 8400 Series
- •WAN Switch Hardware Overview
- •Cisco WAN Switch Network Topologies
- •Network Management
- •WAN Manager
- •Accessing and Setting Up IGX and BPX Switches
- •Adding New Users
- •Using the History Command
- •Displaying a Summary of All Card Modules
- •Displaying Detailed Information for a Card Module
- •Displaying the Power and Temperature of a Switch
- •Displaying the ASM Statistics for BPX
- •Configuring the ASM Setting for BPX
- •Logging Out
- •Resetting the Switch
- •Displaying Other Switches
- •Setting the Switch Name
- •Setting the Time Zone
- •Configuring the Time and Date
- •Configuring the Control and Auxiliary Ports
- •Modifying the Functions of the Control and Auxiliary Ports
- •Configuring the Printing Function
- •Configuring the LAN Interface
- •Accessing the MGX 8850 and 8220
- •Adding New Users
- •Changing Passwords
- •Assigning a Switch Hostname
- •Displaying a Summary of All Modules
- •Displaying Detailed Information for the Current Card
- •Changing the Time and Date
- •Displaying the Configuration of the Maintenance and Control Ports
- •Displaying the IP Address
- •Configuring the IP Interface
- •Displaying the Alarm Level of the Switch
- •Chapter 4: LAN Switch Architectures
- •In Depth
- •The Catalyst Crescendo Architecture
- •ASICs
- •The Crescendo Processors
- •Crescendo Logic Units
- •Other Cisco Switch Processors, Buses, ASICs, and Logic Units
- •AXIS Bus
- •CEF ASIC
- •Phoenix ASIC
- •SAGE ASIC
- •QTP ASIC
- •QMAC
- •Bridging Types
- •Source Route Bridging
- •Source Route Transparent Bridging
- •Source Route Translational Bridging
- •Transparent Bridging
- •Source Route Switching
- •Switching Paths
- •Process Switching
- •Fast Switching
- •Autonomous Switching
- •Silicon Switching
- •Optimum Switching
- •Distributed Switching
- •NetFlow Switching
- •System Message Logging
- •Loading an Image on the Supervisor Engine III
- •Booting the Supervisor Engine III from Flash
- •Setting the Boot Configuration Register
- •Configuring Cisco Express Forwarding
- •Enabling CEF
- •Disabling CEF
- •Enabling dCEF
- •Disabling dCEF
- •Disabling CEF on an Individual Interface
- •Configuring CEF Load Balancing
- •Disabling CEF Load Balancing
- •Enabling Network Accounting for CEF
- •Setting Network Accounting for CEF to Collect Packet Numbers
- •Viewing Network Accounting for CEF Statistics
- •Viewing the Adjacency Table on the 8500 GSR
- •Clearing the Adjacency Table on the 8500 GSR
- •Clearing the Server Logging Table
- •Disabling Server Logging
- •Displaying the Logging Configuration
- •Displaying System Logging Messages
- •Chapter 5: Virtual Local Area Networks
- •In Depth
- •The Flat Network of Yesterday
- •Why Use VLANs?
- •VLAN Basics
- •A Properly Switched Network
- •Switched Internetwork Security
- •Scaling with VLANs
- •VLAN Boundaries
- •VLAN Membership Types
- •Traffic Patterns Flowing through the Network
- •VLAN Trunking
- •Trunk Types
- •LAN Emulation (LANE)
- •VLAN Trunking Protocol (VTP)
- •VTP Versions
- •VTP Advertisements
- •VTP Switch Modes
- •Methods for VLAN Identification
- •Dynamic Trunking Protocol
- •InterVLAN Routing
- •Internal Route Processors
- •How InterVLAN Routing Works
- •Configuring a Static VLAN on a Catalyst 5000 Series Switch
- •Configuring Multiple VLANs on a Catalyst 5000 Series Switch
- •Creating VLANs on a Catalyst 1900EN Series
- •Assigning a Static VLAN to an Interface on a 1900EN Series
- •Viewing the VLAN Configuration on a 1900 Series
- •Viewing an Individual VLAN Configuration on a 1900 Series
- •Configuring a Trunk Port on a Cisco 5000 Series
- •Mapping VLANs to a Trunk Port
- •Configuring a Trunk Port on a Cisco 1900EN Series
- •Clearing VLANs from Trunk Links on a Cisco 5000 Series
- •Clearing VLANs from Trunk Links on a Cisco 1900EN Series
- •Verifying a Trunk Link Configuration on a 5000 Series
- •Verifying a Trunk Link Configuration on a 1900EN Series
- •Configuring the VTP Version on a Catalyst 5000 Switch
- •Configuring a VTP Domain on a Catalyst 1900 Switch
- •Setting a VTP Domain Password on a Catalyst Switch
- •Configuring a Catalyst 1900 Switch as a VTP Server
- •Configuring a Catalyst 1900 Switch as a VTP Client
- •Configuring a Catalyst 1900 Switch for Transparent Mode
- •Configuring VTP Pruning on a Catalyst 1900 Switch
- •Configuring VTP on a Set/Clear CLI Switch
- •Configuring VTP on a 1900 Cisco IOS CLI Switch
- •Verifying the VTP Configuration on a Set/Clear CLI
- •Displaying VTP Statistics
- •Configuring VTP Pruning on a Set/Clear CLI Switch
- •Disabling Pruning for Unwanted VLANs
- •Configuring IP InterVLAN Routing on an External Cisco Router
- •Configuring IPX InterVLAN Routing on an External Router
- •In Depth
- •Internal Route Processors
- •Available Route Processors
- •Routing Protocol Assignment
- •Supervisor Engine Modules
- •Supervisor Engines I and II
- •Supervisor Engine III
- •Using the Supervisor Engine
- •Etherport Modules
- •Port Security
- •Manually Configured MAC Addresses
- •Determining the Slot Number in Which a Module Resides
- •Accessing the Internal Route Processor from the Switch
- •Configuring a Hostname on the RSM
- •Assigning an IP Address and Encapsulation Type to an Ethernet Interface
- •Setting the Port Speed and Port Name on an Ethernet Interface
- •Configuring a Default Gateway on a Catalyst 5000
- •Verifying the IP Configuration on a Catalyst 5000
- •Enabling RIP on an RSM
- •Configuring InterVLAN Routing on an RSM
- •Configuring IPX InterVLAN Routing on the RSM
- •Configuring AppleTalk InterVLAN Routing on an RSM
- •Viewing the RSM Configuration
- •Assigning a MAC Address to a VLAN
- •Viewing the MAC Addresses
- •Configuring Filtering on an Ethernet Interface
- •Configuring Port Security on an Ethernet Module
- •Clearing MAC Addresses
- •Configuring the Catalyst 5000 Supervisor Engine Module
- •Changing the Management VLAN on a Supervisor Engine
- •Viewing the Supervisor Engine Configuration
- •Configuring the Cisco 2621 External Router for ISL Trunking
- •Configuring Redundancy Using HSRP
- •Chapter 7: IP Multicast
- •In Depth
- •IP Multicasting Overview
- •Broadcast
- •Unicast
- •Multicast
- •IP Multicasting Addresses
- •The Multicast IP Structure
- •Delivery of Multicast Datagrams
- •Multicast Distribution Tree
- •Multicast Forwarding
- •IGMP Protocols
- •Internet Group Management Protocol (IGMP)
- •IGMPv1
- •IGMPv2
- •Time to Live
- •Multicast at Layer 2
- •IGMP Snooping
- •Cisco Group Management Protocol
- •Router Group Management Protocol
- •GARP Multicast Registration Protocol
- •Configuring IP Multicast Routing
- •Disabling IP Multicast Routing
- •Enabling PIM on an Interface
- •Disabling PIM on an Interface
- •Configuring the Rendezvous Point
- •Adding a Router to a Multicast Group
- •Configuring a Router to Be a Static Multicast Group Member
- •Restricting Access to a Multicast Group
- •Changing the IGMP Version
- •Configuring Multicast Groups
- •Removing Multicast Groups
- •Configuring Multicast Router Ports
- •Displaying Multicast Routers
- •Removing the Multicast Router
- •Configuring IGMP Snooping
- •Disabling IGMP Snooping
- •Displaying IGMP Statistics
- •Displaying Multicast Routers Learned from IGMP
- •Displaying IGMP Multicast Groups
- •Configuring CGMP
- •Disabling CGMP
- •Displaying CGMP Statistics
- •Configuring RGMP on the Switch
- •Disabling RGMP on the Switch
- •Configuring RGMP on the Router
- •Disabling RGMP on the Router
- •Displaying RGMP Groups
- •Displaying RGMP VLAN Statistics
- •Configuring GMRP
- •Disabling GMRP
- •Enabling GMRP on Individual Ports
- •Disabling GMRP on Individual Ports
- •Configuring GMRP Registration
- •Displaying the GMRP Configuration
- •Setting GMRP Timers
- •Displaying GMRP Timers
- •Disabling Multicast Suppression
- •Chapter 8: WAN Cell Switching
- •In Depth
- •ATM Overview
- •LANE
- •ATM Protocols
- •ATM Circuit Switching
- •ATM Cells
- •The ATM Switch and ATM Endpoints
- •The ATM Reference Model
- •Specifying ATM Connections
- •ATM Addressing
- •Local Area Network Emulation (LANE)
- •LANE Components
- •Integrated Local Management Interface (ILMI)
- •LANE Communication
- •LANE Configuration Guidelines
- •How LANE Works
- •Implementing LANE
- •Configuring ATM on the 5000 Switch
- •Connecting in an ATM Network
- •Monitoring and Maintaining LANE
- •Accessing the ATM LANE Module
- •Displaying the Selector Field
- •Configuring the LES/BUS
- •Verifying the LES/BUS Configuration
- •Configuring a LEC for an ELAN
- •Verifying a LEC Configuration on an ELAN
- •Configuring the LECS
- •Viewing the LANE Database
- •Binding the LECS Address to an Interface
- •Verifying the LECS Configuration
- •Chapter 9: LightStream Switches
- •In Depth
- •LightStream 100
- •LightStream 1010
- •LightStream 2020
- •Neighborhood Discovery Function
- •Virtual Path Connections
- •LightStream Troubleshooting Tools
- •LightStream Boot Process
- •Supported Troubleshooting Protocols
- •Snooping Mechanisms
- •Multiprotocol Over ATM
- •Configuring the Hostname
- •Configuring an Enable Password
- •Configuring the Processor Card Ethernet Interface
- •Configuring Virtual Private Tunnels
- •Verifying an ATM Interface Connection Status
- •Viewing the Configured Virtual Connections
- •Configuring the LECS ATM Address on a LightStream 1010 Switch
- •Configuring the Advertised LECS Address
- •Viewing the LANE Configuration
- •Viewing the Installed Modules
- •Configuring the MPC
- •Configuring the MPS
- •Changing the MPS Variables
- •Monitoring the MPS
- •Enabling ILMI Autoconfiguration
- •Configuring LANE on a LightStream 1010
- •Powering on the LightStream 100 ATM Switch
- •Configuring the LS100 Switch
- •Recovering a Lost Password
- •Chapter 10: Layer 2 Redundant Links
- •In Depth
- •Layer 2 Switching Overview
- •Frames
- •Broadcast and Multicast Frames
- •Unknown Unicasts
- •Layer 2 Network Loops
- •Danger! Data Loops!
- •STP Root Bridges
- •Bridge Protocol Data Units
- •Root Bridge Selection
- •Spanning Tree Convergence Time
- •STP Port States
- •EtherChannel
- •Link Failure
- •Port Aggregation Protocol
- •Fast Convergence Components of STP
- •PortFast
- •UplinkFast
- •BackboneFast
- •Viewing the STP Configuration on a Command Line Switch
- •Configuring the STP Root Switch
- •Configuring the STP Secondary Root Switch
- •Verifying the VLAN Priority Settings
- •Preparing to Enable EtherChannel
- •Verifying the EtherChannel Configuration
- •Defining an EtherChannel Administrative Group
- •Viewing an EtherChannel Administrative Group
- •Identifying the Template Port
- •Verifying the EtherChannel Configuration on a Command Line Interface IOS
- •Verifying the PortFast Configuration
- •Verifying the UplinkFast Configuration
- •Viewing the BackboneFast Configuration
- •Chapter 11: Multilayer Switching
- •In Depth
- •How MLS Works
- •MLS Components
- •MLS Flows
- •Access List Flow Masks
- •MLS Troubleshooting Notes
- •Configuring MLS
- •MLS Cache
- •Aging Timers
- •VLAN ID
- •VTP Domain
- •Management Interfaces
- •Configuring an External MLS Route Processor
- •Assigning a VLAN ID
- •Adding an MLS Interface to a VTP Domain
- •Enabling MLS on an Individual Interface
- •Disabling MLS on an External Router Interface
- •Configuring the MLS Switch Engine
- •Disabling MLS on a Catalyst 6000
- •Disabling MLS on a Catalyst 5000
- •Configuring the MLS Cache on the Catalyst 5000
- •Configuring Fast Aging on a Catalyst 5000
- •Configuring Fast Aging on a Catalyst 6000
- •Disabling Fast Aging on a Catalyst 6000
- •Configuring Long Aging on the Catalyst 6000
- •Disabling Long Aging on the Catalyst 6000
- •Configuring Normal Aging on the Catalyst 6000
- •Disabling Normal Aging on the Catalyst 6000
- •Assigning MLS Management to an Interface on the Catalyst 5000
- •Disabling MLS Management on an Interface on the Catalyst 5000
- •Monitoring and Viewing the MLS Configuration
- •Viewing the MLS Aging Configuration on a Catalyst 6000
- •Displaying the IP MLS Configuration
- •Displaying MLS VTP Domain Information
- •Viewing the MLS VLAN Interface Information
- •Viewing MLS Statistics on the Catalyst 5000
- •Viewing MLS Statistics on the Catalyst 6000
- •Viewing MLS Entries
- •Chapter 12: Hot Standby Routing Protocol
- •In Depth
- •Routing Problems
- •Routing Information Protocol
- •Proxy ARP
- •ICMP Router Discovery Protocol
- •The Solution
- •HSRP Message Format
- •The HSRP States
- •HSRP Configuration
- •HSRP Interface Tracking
- •Opening a Session on an Internal Route Processor
- •Entering Configuration Mode on an RSM
- •Enabling HSRP and Assigning an IP Address to a Standby Group
- •Assigning an HSRP Interface Priority
- •Assigning a Preempt Delay to a Standby Group
- •Removing a Preempt Delay from a Standby Group
- •Setting the HSRP Hello and Hold Timers
- •Removing the HSRP Hello and Hold Timers
- •Configuring Two RSFC Interfaces as One HSRP Group
- •Enabling Interface Tracking
- •Using the show standby Command
- •Using the debug Command
- •Chapter 13: Policy Networking
- •In Depth
- •Access Security Policies
- •Core Layer Policies
- •Distribution Layer Policies
- •Security at the Access Layer
- •Configuring Passwords
- •Limiting Telnet Access
- •Implementing Privilege Levels
- •Configuring Banner Messages
- •Physical Device Security
- •Port Security
- •VLAN Management
- •Creating a Standard Access List
- •Creating an Extended Access List
- •Implementing Privilege Levels on a 1900EN
- •Configuring Banner Messages
- •Enabling HTTP Access
- •Enabling Port Security
- •Displaying the MAC Address Table
- •Chapter 14: Web Management
- •In Depth
- •Standard and Enterprise Edition CVSM
- •CVSM Client Requirements
- •CVSM Access Levels
- •CVSM Default Home Page
- •The Switch Image
- •Configuring the Switch with an IP Address and Setting the Default Web Administration Port
- •Connecting to the Web Management Console
- •Configuring the Switch Port Analyzer
- •Chapter 15: The Standard Edition IOS
- •In Depth
- •The 1900 and 2820 Series Switches
- •Main Menu Choices
- •[C] Console Settings
- •[A] Port Addressing
- •[R] Multicast Registration
- •Configuring Network Settings on the 1900 and 2820 Series
- •Configuring Broadcast Storm Control on Switch Ports
- •Configuring SNMP on the 1900 Series
- •Configuring Port Monitoring on the Standard Edition IOS
- •Configuring VLANs on the Standard Edition IOS
- •Configuring Spanning Tree Protocol
- •Chapter 16: Switch Troubleshooting
- •In Depth
- •Hardware Troubleshooting
- •No Power
- •POST
- •Indicator Lights
- •Switch Cabling
- •Cable Problems
- •Switch Troubleshooting Tools
- •CiscoWorks for Switched Internetworks
- •IOS Software Troubleshooting Commands
- •Viewing the Set/Clear IOS Configuration
- •Viewing the VTP Domain Configuration on a Set/Clear IOS
- •Viewing Port Statistics on a Set/Clear IOS
- •Launching the Diagnostic Console on a Cisco 1900 or 2820 Series Switch
- •Using the Diagnostic Console to Upgrade the Firmware on a Cisco 1900 or 2820 Series Switch
- •Using the Diagnostic Console for Debugging the Firmware and Hardware
- •Appendix A: Study Resources
- •Books
- •Cisco Group Study and Users Groups
- •Online Resources
- •Asynchronous Transfer Mode
- •Cisco IOS
- •Hot Standby Router Protocol
- •IP Multicast
- •Multilayer Switching
- •Quality of Service
- •Spanning Tree Protocol
- •TACACS+
- •VLANs
- •Standards Organizations
- •Cisco Job Search Sites
- •Overview
- •Appendix C: The Cisco Consultant
- •Overview
- •Establishing Credibility
- •Come Off As an Expert
- •Designing a Solution
- •Estimating the Cost
- •Presenting the Final Proposal and Creating Expectations
- •Contracting
- •Document, Document, Document
- •The Way to Fail
- •Failing to Be There When Promised, or Rushing through the Job
- •Failing to Manage Your Time
- •Assuming You Know What the Customer Needs
- •Failing to Take Responsibility
- •Conclusion
- •Required Equipment
- •Lab Objectives
- •Possible Solution
- •The 1912 Basic Configuration
- •The Catalyst 5000 Basic Configuration
- •Configuring the Cisco 2621 Interface for ISL Trunking
- •Appendix E: Switch Features
- •Access Layer Switches
- •Cisco Catalyst 1900
- •Cisco Catalyst 2820
- •Cisco Catalyst 2900
- •Cisco Catalyst 3000
- •Cisco Catalyst 3500 Series XL
- •Cisco Catalyst 3900 Series
- •Distribution Layer Switches
- •Cisco Catalyst 4000 Series
- •Catalyst 5000 Series
- •Catalyst 6000 Series
- •Core Layer/WAN Switches
- •Cisco Catalyst 8400 Series
- •Cisco Catalyst 8500 Series
- •BPX 8600 Series
- •MGX 8800 Series
- •12000 Series Gigabit Switch Routers
1912EN#show cdp neighbors |
|
|
|
|
|
|
Capability Codes: R − Router, T − Trans Bridge, B − |
Source Route Bridge |
|||||
|
S − Switch, P − Repeater, |
H − |
Host, I − IGMP |
|||
DeviceID |
IP Addr |
Local Port |
Capability |
Platform |
Remote Port |
|
1005 |
68.127.187.254 |
Et0/1 |
R |
|
cisco 1000 |
Ethernet0 |
1912EN# |
|
|
|
|
|
|
Viewing Individual Port CAM Tables on a CLI−Based IOS
The show mac interface command allows you to view the MAC addresses associated with each individual port. Let’s take a look at an example of the command:
show mac interface <Ethernet|fastethernet> <module/port>
1912EN#show mac interface ethernet 0/1
Address Dest Interface Type Source Interface List
————————————————————————————————————————————————————————————————
0030.194C.80A6 |
Ethernet 0/1 |
Permanent |
All |
|
0000.0C00.4BD0 |
Ethernet |
0/1 |
Permanent |
All |
00A0.2457.2877 |
Ethernet |
0/1 |
Permanent |
All |
1912EN# |
|
|
|
|
Viewing Port Statistics on a Set/Clear IOS
To view the port statistics on a Set/Clear command−based IOS, use the show mac command. Let’s look at the command and its quite lengthy output:
Catalyst5002> (enable) |
show mac |
|
|
|
||
MAC Rcv−Frms Xmit−Frms |
Rcv−M Xmit−M Rcv−Broad Xmit−Broad |
|||||
1/1 |
0 |
0 |
0 |
0 |
0 |
0 |
1/2 |
0 |
0 |
0 |
0 |
0 |
0 |
2/1 |
41840 |
23431 |
53 |
323 |
2342 |
887 |
2/2 |
23941 |
21026 |
132 |
432 |
1284 |
95 |
2/3 |
9892 |
6489 |
134 |
455 |
1345 |
178 |
2/4 |
23376 |
23179 |
34 |
124 |
1 |
2248 |
2/5 |
344951 |
16135 |
138 |
142 |
12412 |
13123 |
2/6 |
0 |
0 |
0 |
0 |
0 |
0 |
2/7 |
0 |
0 |
0 |
0 |
0 |
0 |
2/8 |
0 |
0 |
0 |
0 |
0 |
0 |
2/9 |
0 |
0 |
0 |
0 |
0 |
0 |
2/10 |
0 |
0 |
0 |
0 |
0 |
0 |
2/11 |
0 |
0 |
0 |
0 |
0 |
0 |
2/12 |
0 |
0 |
0 |
0 |
0 |
0 |
2/13 |
0 |
0 |
0 |
0 |
0 |
0 |
2/14 |
0 |
0 |
0 |
0 |
0 |
0 |
2/15 |
0 |
0 |
0 |
0 |
0 |
0 |
2/16 |
0 |
0 |
0 |
0 |
0 |
0 |
2/17 |
0 |
0 |
0 |
0 |
0 |
0 |
2/18 |
0 |
0 |
0 |
0 |
0 |
0 |
2/19 |
0 |
0 |
0 |
0 |
0 |
0 |
2/20 |
0 |
0 |
0 |
0 |
0 |
0 |
2/21 |
0 |
0 |
0 |
0 |
0 |
0 |
2/22 |
0 |
0 |
0 |
0 |
0 |
0 |
2/23 |
0 |
0 |
0 |
0 |
0 |
0 |
2/24 |
0 |
0 |
0 |
0 |
0 |
0 |
330
MAC |
Dely−Exced MTU−Exced In−Dcrd Lrn−Dcrd In−Lost Out−Lost |
|||||
1/1 |
0 |
0 |
0 |
0 |
0 |
0 |
1/2 |
0 |
0 |
0 |
0 |
0 |
0 |
2/1 |
0 |
0 |
0 |
0 |
0 |
0 |
2/2 |
0 |
0 |
0 |
0 |
0 |
0 |
2/3 |
0 |
0 |
0 |
0 |
0 |
0 |
2/4 |
0 |
0 |
0 |
0 |
0 |
0 |
2/5 |
0 |
0 |
0 |
0 |
0 |
0 |
2/6 |
0 |
0 |
0 |
0 |
0 |
0 |
2/7 |
0 |
0 |
0 |
0 |
0 |
0 |
2/8 |
0 |
0 |
0 |
0 |
0 |
0 |
2/9 |
0 |
0 |
0 |
0 |
0 |
0 |
2/10 |
0 |
0 |
0 |
0 |
0 |
0 |
2/11 |
0 |
0 |
0 |
0 |
0 |
0 |
2/12 |
0 |
0 |
0 |
0 |
0 |
0 |
Port |
Rcv−Unicast |
Rcv−Multicast |
Rcv−Broadcast |
1/1 |
0 |
0 |
0 |
1/2 |
0 |
0 |
0 |
2/1 |
326653 |
3444 |
72348 |
2/2 |
2465834 |
1755 |
566432 |
2/3 |
99675 |
3467 |
66432 |
2/4 |
345562 |
453 |
77645 |
2/5 |
0 |
0 |
0 |
2/6 |
0 |
0 |
0 |
2/7 |
0 |
0 |
0 |
2/8 |
0 |
0 |
0 |
2/9 |
0 |
0 |
0 |
2/10 |
0 |
0 |
0 |
2/11 |
0 |
0 |
0 |
2/12 |
0 |
0 |
0 |
Port |
Xmit−Unicast |
Xmit−Multicast |
Xmit−Broadcast |
1/1 |
0 |
0 |
0 |
1/2 |
0 |
0 |
0 |
2/1 |
8809 |
431 |
227 |
2/2 |
5798 |
540 |
101 |
2/3 |
6260 |
895 |
83 |
2/4 |
7341 |
935 |
107 |
2/5 |
0 |
0 |
0 |
2/6 |
0 |
0 |
0 |
2/7 |
0 |
0 |
0 |
2/8 |
0 |
0 |
0 |
2/9 |
0 |
0 |
0 |
2/8 |
0 |
0 |
0 |
2/9 |
0 |
0 |
0 |
2/10 |
0 |
0 |
0 |
2/11 |
0 |
0 |
0 |
2/12 |
0 |
0 |
0 |
Port |
|
Rcv−Octet |
Xmit−Octet |
1/1 |
|
0 |
0 |
1/2 |
|
0 |
0 |
2/1 |
|
3346321 |
437519 |
2/2 |
|
3442573 |
465421 |
2/3 |
|
6738753 |
6345326 |
2/4 |
|
234434 |
563002 |
2/5 |
|
3455 |
3225 |
2/6 |
|
0 |
0 |
2/7 |
|
0 |
0 |
2/8 |
|
0 |
0 |
2/9 |
|
0 |
0 |
2/10 |
|
0 |
0 |
2/11 |
|
0 |
0 |
2/12 |
|
0 |
0 |
331
Last−Time−Cleared
——————————————————————————
Sat Sep 23 2000, 11:29:11
Viewing Port Statistics on a CLI−Based IOS
To view the port statistics on a CLI−based IOS, use the show usage command. Let’s take a look at the command, the options available, and an example of its output:
1912EN#show usage ? |
|
|||
|
exception |
Display exception statistics report |
||
|
utilization Display utilization statistics report |
|||
1912EN#show usage utilization |
||||
|
Receive |
Forward |
Transmit |
|
|
————————————————————————————— |
|||
1 |
: |
6301 |
5861 |
2252 |
2 |
: |
0 |
0 |
0 |
3 |
: |
1 |
0 |
4124 |
4 |
: |
0 |
0 |
0 |
5 |
: |
889 |
821 |
4124 |
6 |
: |
4217 |
4217 |
7857 |
7 |
: |
0 |
0 |
0 |
8 |
: |
0 |
0 |
6 |
9 |
: |
0 |
0 |
0 |
10 : |
0 |
0 |
693 |
|
11 : |
0 |
0 |
0 |
|
12 : |
0 |
0 |
0 |
|
AUI: |
0 |
0 |
4124 |
|
A : |
0 |
0 |
0 |
|
B : |
0 |
0 |
0 |
Here is the output using the exception syntax:
1912EN#show usage |
exception |
|
||
|
|
Receive |
Transmit |
Security |
|
|
Errors |
Errors |
Violations |
|
|
————————————————————————————————— |
||
1 |
: |
0 |
0 |
0 |
2 |
: |
0 |
0 |
0 |
3 |
: |
0 |
0 |
0 |
4 |
: |
0 |
0 |
0 |
5 |
: |
0 |
0 |
0 |
6 |
: |
0 |
0 |
0 |
7 |
: |
0 |
0 |
0 |
8 |
: |
0 |
0 |
0 |
9 |
: |
0 |
0 |
0 |
10 : |
0 |
0 |
0 |
|
11 : |
0 |
0 |
0 |
|
12 : |
0 |
0 |
0 |
|
AUI: |
0 |
0 |
0 |
|
A : |
0 |
0 |
0 |
|
B : |
0 |
0 |
0 |
1912EN#
332
Using the Port Configuration on a Set/Clear Command−Based IOS
The show port command can be used on a Set/Clear command−based IOS switch to view the port configuration. Let’s take a look at the command, its optional syntaxes, and an example of its output:
show port [module/port] show port [module]
Catalyst5002> (enable) show port 2/1
Port |
Name |
|
Status |
Vlan Level |
Duplex Speed |
Type |
|
|
||
———— |
———————— ———————— ———— —————— —————— —————— —————— |
|
|
|||||||
2/1 |
Port1 |
|
normal |
2 |
|
full |
100 100BaseT |
|
|
|
Port |
Security Secure−Src−Addr |
Last−Src−Addr |
Shutdown Trap |
|
|
|||||
———— |
———————— |
——————————————— —————————————— ———————— ———————— |
|
|||||||
2/1 |
enabled |
0090.80a3.32a0 |
0090.80a3.32a0 No |
− |
|
|
||||
Port |
Broadcast−Limit Broadcast−Drop |
|
|
|
|
|||||
———————— —————————————— —————————————— |
|
|
|
|
||||||
2/1 |
|
|
− |
|
|
0 |
|
|
|
|
Port |
Status |
|
Channel |
Channel |
Neighbor |
Neighbor |
|
|||
|
|
|
Mode |
status |
device |
|
port |
|
|
|
———— —————————— |
———————— —————————— —————————————— ———————— |
|
|
|||||||
2/1 |
connected |
on |
not channel |
|
|
|
|
|||
Port |
Align−Err |
FCS−Err |
Xmit−Err |
Rcv−Err |
|
UnderSize |
|
|
||
———— |
—————————— |
—————————— —————————— —————————— ———————— |
|
|
||||||
2/1 |
|
0 |
|
0 |
|
6 |
0 |
0 |
|
|
Port |
Single−Col |
Multi−Coll Late−Coll |
Excess−Col Carri−Sen Runts |
Giants |
||||||
———— |
—————————— |
—————————— —————————— —————————— ———————— |
———————— |
—————— |
||||||
2/1 |
3442 |
|
603 |
|
0 |
|
0 |
0 |
1 |
0 |
Using the show port Command on a CLI−Based IOS
The show port command can be used on a CLI−based IOS switch to view the port configuration. Let’s take a look at the command, its syntaxes, and an example of its output:
1912EN#show port ?
block Forwarding of unknown unicast/multicast addresses monitor Port monitoring
system System port configuration
1912EN#show port block ?
multicast Forwarding of unregisterd multicast addresses unicast Forwarding of unknown unicast addresses
1912EN#show port block multicast
Ports receiving unregistered multicast addresses: Ethernet 0/1, Ethernet 0/2, Ethernet 0/3, Ethernet 0/4 Ethernet 0/5, Ethernet 0/6, Ethernet 0/7, Ethernet 0/8 Ethernet 0/9, Ethernet 0/10, Ethernet 0/11, Ethernet 0/12 Ethernet 0/25, FastEthernet 0/26, FastEthernet 0/27
1912EN#show port block unicast
Ports receiving unmatched unicast addresses:
Ethernet 0/1, Ethernet 0/2, Ethernet 0/3, Ethernet 0/4 Ethernet 0/5, Ethernet 0/6, Ethernet 0/7, Ethernet 0/8
333
Ethernet 0/9, Ethernet 0/10, Ethernet 0/11, Ethernet 0/12
Ethernet 0/25, FastEthernet 0/26, FastEthernet 0/27
1912EN#show port monitor
Port monitoring state: Enabled Monitor port: None
Ports being monitored: Ethernet 0/1
1912EN#show port system Switching mode: FragmentFree
Use of store and forward for multicast: Enabled Network port: Ethernet 0/8
Half duplex backpressure (10 Mbps ports): Disabled Enhanced Congestion Control (10 Mbps ports): Disabled Default port LED display mode: Port Status
1912EN#
Using the show vlan Command on a Set/Clear Command−Based IOS
You can use the show vlan command on a Set/Clear command−based IOS switch to obtain configuration information and protocol statistics for each VLAN. Let’s look at the command, its optional syntaxes, and an example of its output:
show vlan [vlan] [trunk|notrunk]
Catalyst5002> show vlan
Virtual LAN ID: 1
vLAN |
Trunk Interface: |
FastEthernet1/0.1 |
|
|
Protocols Configured: |
Address: |
Received: |
Transmitted: |
|
|
IP |
68.127.187.10 |
95563219847 |
81294682 |
Virtual |
LAN ID: 2 (Inter Switch Link Encapsulation) |
|
||
vLAN |
Trunk Interface: |
FastEthernet1/0.2 |
|
|
Protocols Configured: |
Address: |
Received: |
Transmitted: |
|
IP |
|
68.127.186.1 |
855147 |
854281 |
Catalyst5002>
Using the show vlan Command on a CLI−Based IOS
You can use the show vlan command on a CLI−based IOS switch to obtain configuration information for each VLAN. Let’s look at the command, its optional syntaxes, and an example of its output:
show vlan <vlan>
1912EN#show vlan
VLAN Name Status Ports
————————————————————————————————————
334
1 |
default |
Enabled |
5−12, AUI, A, B |
2 |
Engineering |
Enabled |
1−2 |
3 |
Admins |
Enabled |
3−4 |
1002 |
fddi−default |
Suspended |
|
1003 |
token−ring−defau Suspended |
|
|
1004 |
fddinet−default |
Suspended |
|
1005 |
trnet−default |
Suspended |
|
———————————————————————————————————— |
|||
VLAN Type |
SAID MTU |
Parent RingNo BridgeNo Stp Trans1 Trans2 |
—————————————————————————————————————————————————————————————————————————
1 |
Ethernet |
100001 1500 |
0 |
0 |
0 |
Unkn 1002 |
1003 |
2 |
Ethernet |
100002 1500 |
0 |
0 |
0 |
Unkn 1002 |
1003 |
3 |
Ethernet |
100003 1500 |
0 |
0 |
0 |
Unkn 1002 |
1003 |
1002 |
FDDI |
101002 1500 |
0 |
0 |
0 |
Unkn 1 |
1003 |
1003 |
Token−Ring |
101003 1500 |
1005 |
1 |
0 |
Unkn 1 |
1002 |
1004 |
FDDI−Net |
101004 1500 |
0 |
0 |
1 |
IEEE 0 |
0 |
1005 |
Token−Ring−Net 101005 1500 |
0 |
0 |
1 |
IEEE 0 |
0 |
—————————————————————————————————————————————————————————————————————————
1912EN#
Using the show interface Command on a Set/Clear Command−Based IOS
You can view information about the switch network interfaces using the show interface command on a Set/Clear command−based IOS. Let’s take a look at the command, its available option, and an example of its output:
show interface [trap]
Catalyst5002> (enable) show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING> slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 1 inet 68.127.187.1 netmask 255.255.255.0 broadcast 68.127.187.255
Using the show interface Command on a CLI−Based IOS
You can view information about the switch network interfaces using the show interface command on a CLI−based IOS. Let’s take a look at the command, its available options, and an example of its output:
show interface [module|port]
1912EN#show interface e0/5
Ethernet |
0/5 is |
Enabled |
|
||
Hardware |
is Built−in 10Base−T |
|
|||
Address is |
0030.8054.6C05 |
|
|||
MTU 1500 |
bytes, |
BW |
10000 Kbits |
|
|
802.1d STP |
State: |
Forwarding |
Forward Transitions: 1 |
Port monitoring: Disabled
Unknown unicast flooding: Enabled
Unregistered multicast flooding: Enabled
Description: port5
Duplex setting: Half duplex
Back pressure: Disabled
335
Receive Statistics |
|
Transmit Statistics |
|
—————————————————————————————————— |
————————————————————————————————— |
||
Total good frames |
2504 |
Total frames |
11745 |
Total octets |
242467 |
Total octets |
875657 |
Broadcast/multicast frames |
359 |
Broadcast/multicast frames |
11745 |
Broadcast/multicast octets |
105187 |
Broadcast/multicast octets |
875657 |
Good frames forwarded |
360 |
Deferrals |
0 |
Frames filtered |
2144 |
Single collisions |
0 |
Runt frames |
0 |
Multiple collisions |
0 |
No buffer discards |
0 |
Excessive collisions |
0 |
|
|
Queue full discards |
0 |
Errors: |
|
Errors: |
|
FCS errors |
0 |
Late collisions |
0 |
Alignment errors |
0 |
Excessive deferrals |
0 |
Giant frames |
0 |
Jabber errors |
0 |
Address violations |
0 |
Other transmit errors |
0 |
1912EN# |
|
|
|
Using the show log Command on a Set/Clear Command−Based IOS
On the Set/Clear command−based IOS, you can view the stored logs by using the show log command. Let’s look at the command, its optional syntax, and an example of its output:
show log [module number]
Catalyst5002> (enable) show log
Network Management Processor (ACTIVE NMP) Log:
Reset count: 1 |
|
|
|
|
Re−boot History: |
Aug 04 |
2000 |
23:06:05 0 |
|
Bootrom Checksum |
Failures: |
|
0 |
|
UART Failures: |
|
|
0 |
|
Flash Checksum Failures: |
|
0 |
|
|
Flash Program Failures: |
|
0 |
|
|
Power Supply 1 Failures: |
|
1 |
|
|
Power Supply 2 Failures: |
|
0 |
|
|
Swapped to CLKA: |
|
|
0 |
|
Swapped to CLKB: |
|
|
0 |
|
Swapped to Processor 1: |
|
0 |
|
|
Swapped to Processor 2: |
|
0 |
|
|
DRAM Failures: |
|
|
0 |
|
Exceptions: |
1 |
|
|
|
Last Exception occurred on |
… |
|
||
Software version = 4.1 |
|
|
|
|
Error Msg: |
|
|
|
|
PID = 0 Kernel |
|
|
|
|
PC: 10000D0C, Status: 2704, |
Vector: 007C |
|||
sp+00: 14041000 |
0D0C007C |
2604101F 0D3A00AC |
||
sp+10: 00000000 |
101785A2 |
00000030 102FB12C |
||
sp+20: 10FFFF9C |
10179C06 |
10357A90 102FB12C |
||
sp+30: 10FFFFA8 |
101FB86E |
00000000 10FFFFE8 |
||
sp+40: 101FC0D4 |
00000000 |
10278814 00002000 |
||
sp+50: 00000080 |
0000101F |
B9862078 01000001 |
||
sp+60: 1CD80000 |
001E0000 |
00010000 00000000 |
||
sp+70: 00000000 |
00000000 |
00000007 68000000 |
||
sp+80: 00000000 |
00000000 |
00000000 00000000 |
||
sp+90: 00000000 |
103FFFEC |
10000420 100009C2 |
||
sp+A0: 10000940 |
10000A4E |
10001030 10001030 |
336