- •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
show system
Using the show system command, you can obtain a component status summary regarding the switch components. This information includes the system status, current traffic percentage, peak percentage, status of the fans, power supplies, and modem; uptime, and system identification configuration. There is no comparable command on the 1900EN series switches.
show test
The show test command can be used to obtain the status of the switch, interface cards, power supplies, Enhanced Address Recognition Logic (EARL) tests, or active loopback. It also displays the memory status of the read−only memory (ROM), flash electrically erasable programmable ROM (EEPROM), serial EEPROM, and non−volatile RAM. There is no comparable command on the 1900EN series switches.
show version
The show version command provides hardware and software version numbers, in addition to memory and the system uptime statistical information. This command can be used on both the Set/Clear IOS and the CLI−based IOS.
show vtp domain controller
The VLAN Trunking Protocol (VTP) maintains a consistent VLAN configuration throughout the network. In a VTP management domain, a configuration change is done only once on a VTP server−configured switch. The new configuration is propagated throughout the network. The show vtp domain controller command provides the status and configuration information for VTP.
Related solutions: |
Found on page: |
Configuring the VTP Version on a Catalyst 5000 |
162 |
Switch |
|
Configuring VTP on a Set/Clear CLI Switch |
164 |
Configuring VTP on a 1900 Cisco IOS CLI Switch |
165 |
Verifying the VTP Configuration on a Set/Clear CLI |
166 |
Displaying VTP Statistics |
166 |
Viewing the Set/Clear IOS Configuration
To view the Set/Clear IOS configuration, use the show config command. Let’s take a look at an example of the output from this command:
Catalyst5002> (enable) show config
.....
begin
!
set password $22$hgjhru^jf#sdc set enablepass $22$hgjhru$fhkn set prompt Catlayst5002
set length 24 default set logout 0
set banner motd ÔUnauthorized Use Prohibited!’
!
#system
set system baud 9600
set system modem disable
set system name Catalyst5002
set system location Sacramento, CA
316
set system contact Sean Odom/Gina Galbraith
! |
|
#snmp |
|
set snmp community read−only |
public |
set snmp community read−write |
private |
set snmp community read−write−all all set snmp rmon disable
set snmp trap enable module set snmp trap enable chassis set snmp trap enable bridge set snmp trap enable repeater set snmp trap enable vtp
set snmp trap enable auth
set snmp trap enable ippermit set snmp trap enable vmps
!
#ip
set interface sc0 2 68.127.186.100 255.255.255.0 68.127.186.255 set interface sl0 0.0.0.0 0.0.0.0
set arp agingtime 1200 set ip redirect enable set ip unreachable enable
set ip fragmentation enable
set ip route 0.0.0.0 68.127.186.254 0 set ip alias default 0.0.0.0
!
#Command alias
!
#vmps
set vmps server retry 3
set vmps server reconfirminterval 60
set vmps tftpserver 0.0.0.0 vmps−config−database.1 set vmps state disable
!
#dns
set ip dns disable
!
#tacacs+
set tacacs attempts 3
set tacacs directedrequest disable set tacacs timeout 5
set authentication login tacacs disable set authentication login local enable set authentication enable tacacs disable set authentication enable local enable
!
#bridge
set bridge ipx snaptoether 8023raw set bridge ipx 8022toether 8023 set bridge ipx 8023rawtofddi snap
!
#vtp
set vtp domain Coriolis set vtp mode server
set vtp v2 enable
set vtp pruneeligible 9−1005 clear vtp pruneeligible 1001−1005
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 1002 name fddi−default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet−default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp ieee
set vlan 1005 name trnet−default type trbrf mtu 1500 said 101005 state active bridge 0x0 stp ieee
317
set vlan 1003 name Token−Ring−default type trcrf mtu 1500 said 101003 state active parent 0 ring 0x0 mode srb aremaxhop 7 stemaxhop 7
!
#spantree
!
#uplinkfast groups
set spantree uplinkfast disable
!
#vlan 1
set spantree enable 1
set spantree fwddelay 15 1 set spantree hello 2 1
set spantree maxage 20 1
set spantree priority 32768 1
!
#vlan 2
set spantree enable 1
set spantree fwddelay 15 1 set spantree hello 2 1
set spantree maxage 20 1
set spantree priority 32768 1
!
#vlan 10
set spantree enable 1
set spantree fwddelay 15 1 set spantree hello 2 1
set spantree maxage 20 1
set spantree priority 32768 1
#vlan 1003
set spantree enable 1003
set spantree fwddelay 4 1003 set spantree hello 2 1003 set spantree maxage 10 1003
set spantree priority 32768 1003 set spantree portstate 1003 auto 0 set spantree portcost 1003 80
set spantree portpri 1003 4
set spantree portfast 1003 disable
#vlan 1005
set spantree enable 1005
set spantree fwddelay 15 1005 set spantree hello 2 1005
set spantree maxage 20 1005
set spantree priority 32768 1005
set spantree multicast−address 1005 ieee
!
#cgmp
set cgmp disable
set cgmp leave disable
!
#syslog
set logging console enable set logging server disable
set logging level cdp 2 default set logging level cgmp 2 default set logging level disl 5 default set logging level dvlan 2 default set logging level earl 2 default set logging level fddi 2 default set logging level ip 2 default
set logging level pruning 2 default
318
set logging level snmp 2 default
set logging level spantree 2 default set logging level sys 5 default
set logging level tac 2 default set logging level tcp 2 default set logging level telnet 2 default set logging level tftp 2 default set logging level vtp 2 default set logging level vmps 2 default set logging level kernel 2 default
set logging level filesys 2 default set logging level drip 2 default set logging level pagp 5 default
!
#ntp
set ntp broadcastclient disable set ntp broadcastdelay 3000
set ntp client disable set timezone PST 0 0 set summertime disable
!
#permit list
set ip permit disable
!
#drip
set tokenring reduction enable set tokenring distrib−crf disable
!
#module 1 : 2−port 100BaseFX MM Supervisor set module name 1
set vlan 1 1/1−2
set port channel 1/1−2 off set port channel 1/1−2 auto set port enable 1/1−2
set port level 1/1−2 normal set port duplex 1/1−2 half set port trap 1/1−2 enable set port name 1/1−2
set port security 1/1−2 disable set port broadcast 1/1−2 100% set port membership 1/1−2 static set cdp enable 1/1−2
set cdp interval 1/1−2 60 set trunk 1/1 auto 1−1005 set trunk 1/2 auto 1−1005
set spantree portfast 1/1−2 disable set spantree portcost 1/1−2 19
set spantree portpri 1/1−2 32 set spantree portvlanpri 1/1 10 set spantree portvlanpri 1/2 10
set spantree portvlancost 1/1 cost 18 set spantree portvlancost 1/2 cost 18
!
#module 2 : 24−port 10/100BaseTX Ethernet set module name 2
set module enable 2 set vlan 1 2/1−24
set port enable 2/1−24
set port level 2/1−24 normal set port speed 2/11−24 auto set port speed 2/19 10
set port duplex 2/1−2 full set port trap 2/1−24 enable set port name 2/1−24
set port security 2/1−24 disable set port broadcast 2/1−24 0
319
set port membership 2/1−24 static set cdp enable 2/1−24
set cdp interval 2/1−24 60
set spantree portfast |
2/1−24 disable |
set spantree portcost |
2/11 10 |
set spantree portcost |
2/12 10 |
set spantree portcost |
2/17 10 |
set spantree portcost |
2/18 10 |
set spantree portcost |
2/19 100 |
set spantree portcost |
2/21 10 |
set spantree portcost |
2/1−10,2/13−16,2/20,2/22−24 19 |
set spantree portpri |
2/1−24 32 |
!
#switch port analyzer set span enable
!
#cam
set cam agingtime 1−2,10,1003,1005 300
end
Viewing the CLI−Based IOS Configuration
To view the CLI−based IOS configuration, use the show running−config command. Let’s take a look at an example of the output from this command:
1912EN#show running−config Building configuration… Current configuration:
!
!
vtp domain "coriolis"
!
mac−address−table permanent 0030.194C.80A6 Ethernet 0/1 mac−address−table permanent 0000.0C00.4BD0 Ethernet 0/1 mac−address−table permanent 00A0.2457.2877 Ethernet 0/1 mac−address−table permanent 0000.0C33.4283 Ethernet 0/5 mac−address−table permanent 0000.0C33.4283 Ethernet 0/10 mac−address−table permanent 0000.0C33.4286 Ethernet 0/10 tftp server "68.127.186.39"
!
hostname "1912EN"
!
monitor−port monitored 0/1 monitor−port
!
network−port 0/8
!
address−violation ignore
!
multicast−store−and−forward
!
ip default−gateway 63.78.39.254 ip domain−name "rcsis.com"
ip name−server 208.45.228.3 ip name−server 208.45.228.4
!
snmp−server location "Sean’s Lab 1900EN" snmp−server contact "Sean Odom"
!
enable password level 15 "book1"
!
interface Ethernet 0/1
320
1912EN#
Viewing the Software Version on a Set/Clear Command−Based IOS Module
To view the software version of a module on a Set/Clear command−based IOS, use the show version command. This command will not work on internal route processor modules, however. Let’s look at the command and an example of its output:
show version <slot number> |
|
|||
Catalyst5002> (enable) show version 1 |
|
|||
Mod |
Port |
Model |
Serial # |
Versions |
—— |
———— |
—————————— |
——————————— |
———————————————————— |
1 |
2 |
WS−X5530 |
006851332 |
Hw : 1.3 |
|
|
|
|
Fw : 3.1.2 |
|
|
|
|
Fw1: 4.2(1) |
|
|
|
|
Sw : 4.2(1) |
Console> (enable) |
|
|
Viewing the IOS Version Information on a CLI−Based IOS
To view the IOS version information on a CLI−based IOS, use the show version command. Let’s take a look at the command and its output:
1912EN#show version
Cisco Catalyst 1900/2820 Enterprise Edition Software Version V8.01.02
Copyright (c) Cisco Systems, Inc. 1993−1998
1912EN uptime is 0day(s) 01hour(s) 33minute(s) 17second(s)
cisco Catalyst 1900 (486sxl) processor with 2048K/1024K bytes of memory Hardware board revision is 5
Upgrade Status: No upgrade currently in progress.
Config File Status: No configuration upload/download is in progress 15 Fixed Ethernet/IEEE 802.3 interface(s)
Base Ethernet Address: 00−30−80−54−6C−00
1912EN#
Using the show flash Command on a Set/Clear
Command−Based IOS
You can use the show flash command on a Set/Clear command−based IOS switch. You can view use optional syntaxes to view the individal chip or file system information. Let’s take a look at the command and its output:
show flash [[m/]device:] [all|chips|filesys] |
|
|||
Catalyst5002> show flash |
|
|
|
|
File |
Version |
Sector |
Size |
Built |
—————————————— |
———————————— |
———————————— |
—————— ———————————————— |
|
c5000 nmp |
3.1(213−Eng) |
02−11 |
1316809 |
06/16/00 00:26:21 |
321
epld |
3.1 |
30 |
72920 |
06/14/99 19:33:06 |
lcp atm |
3.1 |
12−15 |
23747 |
06/14/99 11:16:06 |
lcp tr |
3.1 |
12−15 |
28737 |
06/14/99 11:17:19 |
lcp c5ip |
3.1 |
12−15 |
23723 |
06/14/99 11:26:40 |
lcp 64k |
3.1 |
12−15 |
57100 |
06/14/99 11:28:15 |
atm/fddi |
3.1 |
12−15 |
24502 |
06/14/99 11:47:07 |
lcp 360 |
3.1(212) |
12−15 |
120648 |
06/14/99 01:32:33 |
mcp |
3.1 |
12−15 |
26278 |
06/14/99 11:50:41 |
Catalyst5002>
Note There is no comparable command on the 1900EN series switches.
Testing the Supervisor Engine Hardware on a Set/Clear Command−Based Switch
To test the Supervisor Engine module on a Set/Clear command−based switch, use the show test command. Let’s take a look at the command, its optional syntax, and an example of its output:
show test [module number]
Catalyst5002> (enable) show test
Environmental Status |
(. = Pass, F = Fail, U = Unknown) |
|
||||
PS (3.3V): . |
PS |
(12V): . |
PS (24V): . |
PS1: . |
PS2: . |
|
Temperature: . |
Fan: |
. |
Clock(A/B): A |
Chassis−Ser− EEPROM: . |
Module 1 : 2−port 100BaseFX MM Supervisor Network Management Processor (NMP) Status: (. = Pass, F = Fail, U = Unknown)
ROM: . Flash−EEPROM: . Ser−EEPROM: . NVRAM: . MCP Comm: .
EARL Status :
NewLearnTest: .
IndexLearnTest: .
DontForwardTest: .
MonitorTest .
DontLearn: .
FlushPacket: .
ConditionalLearn: .
EarlLearnDiscard: .
EarlTrapTest: .
LCP Diag Status for Module 1 |
(. |
= Pass, F = Fail, N = N/A) |
||||||
CPU |
: . |
Sprom |
: . |
Bootcsum : . |
Archsum |
: N |
||
RAM |
: . |
LTL |
: . |
CBL |
: . |
DPRAM |
: |
. SAMBA : . |
Saints |
: . |
Pkt Bufs : . |
Repeater : N |
FLASH |
: |
N |
MII Status: Ports 1 2
——————————
N N
SAINT/SAGE Status : Ports 1 2 3
——————————————
. . .
Packet Buffer Status : Ports 1 2 3
——————————————
. . .
Loopback Status [Reported by Module 1] :
Ports 1 2 3
322
——————————————
. . .
Channel Status : Ports 1 2
——————————————
. .
Note There is no comparable command on the 1900EN series switches.
Testing External Module Hardware on a Set/Clear Command−Based Switch
The Catalyst 5002 I am using has a Supervisor Engine in Slot 1. Slot 2 has a 10/100 Ethernet Interface Card with 24 ports. Let’s look at the show test command, its optional syntax, and an example of a test on this module:
show test [module number]
Catalyst5002> (enable) show test 2
Module 2 : 24−port 10/100 Ethernet
LCP Diag Status for Module |
2 |
(. |
= Pass, F = Fail, N = N/A) |
|
|
|
|||||||||||
CPU |
|
|
|
: . |
|
Sprom |
: . |
Bootcsum : . |
Archsum |
: . |
|
|
|
||||
RAM |
|
|
|
: . |
|
LTL |
|
: . |
CBL |
: N |
DPRAM |
|
: N SAMBA : . |
||||
Saints |
|
|
: . |
|
Pkt Bufs : . |
Repeater : N |
FLASH |
|
: . |
|
|
|
|||||
SAINT/SAGE Status |
: |
|
|
|
|
|
|
|
|
|
|
|
|||||
Ports |
1 |
2 3 |
4 |
5 |
6 |
7 8 |
9 10 |
11 |
12 |
13 14 15 16 17 18 19 |
20 |
21 |
22 |
23 |
24 |
————————————————————————————————————————————————————————————————————
Packet Buffer Status :
Ports 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
————————————————————————————————————————————————————————————————————
Loopback Status [Reported by Module 1] :
Ports 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
————————————————————————————————————————————————————————————————————
Note There is no comparable command on the 1900EN series switches.
Viewing the System Configuration on a Set/Clear Command−Based Switch
To view the system configuration on a Set/Clear command−based IOS switch, use the show system command. Let’s take a look at the command and an example of its output:
Catalyst5002> (enable) show system
PS1Status PS2Status Fan−Status Temp−Alarm Sys−Status Uptime d,h:m:s Logout
———————— ———————— —————————— —————————— —————————— —————————————— ——————
ok |
off |
ok |
off |
|
ok |
93,3:21:60 |
none |
PS1−Type |
PS2−Type |
Modem |
Baud |
Traffic |
Peak Peak−Time |
|
|
—————————— |
—————————— |
—————— ———— —————— ———— ————————————————————————— |
|||||
WS−C5008B |
WS−C5008B |
disable |
9600 |
0% |
0% |
Sat Sep 09 2000, 8:16:58 |
|
System Name |
System Location |
|
System Contact |
|
|||
———————————— ———————————————————————— ———————————————————— |
|
||||||
Catalyst5002 Sacramento, CA |
|
Sean |
Odom |
|
|
Note There is no comparable command on the 1900EN series switches.
323