The following section is a summary of the major points you should be aware of in this chapter.
Catalyst Switched VLAN Interfaces Overview
- In a switched network, VLANs separate devices into different collision domains
- VLANs are also used to separate devices into different subnets
- Multilayer switches support the configuration of Switched Virtual Interfaces (SVIs)
- SVIs represent VLANs and allow the switch to serve as the default gateway for the VLAN
- An SVI is not automatically created when a VLAN is created
- By default, however, an SVI for VLAN 1 is automatically created by the software
- A Switched Virtual Interface is a very resilient interface
- In order for an SVI to be placed into the up/up state, the following conditions must be met:
- The VLAN exists and is active in the VLAN database of the switch
- The VLAN interface is not administratively down
- At least one Layer 2 (access port or trunk) port exists, has a link up on this VLAN
- At least one Layer 2 (access port or trunk) is in the STP forwarding state
Catalyst Switch MLS Overview
- Multilayer Switching (MLS) combines Layer 2, Layer 3, and Layer 4 switching technologies
- MLS allows switches to forward packets at wire speed using hardware
- Cisco supports MLS for both Unicast and Multicast traffic flows
- In MLS switching, an MLS cache, is maintained for the Layer 3-switched flows
- The MLS cache maintains flow information for all active flows
- The MLS cache includes entries for traffic statistics
- After the MLS cache is created, packets for an existing flow can be Layer 3-switched
- MLS integrates both data plane and control plane functions
- The control plane is where routing and other control information, is stored and exchanged
- The control plane is responsible for updating the routing table
- The data plane is responsible for the actual forwarding of data
- The data plane is typically populated using information derived from the control plane
- MLS is enabled by configuring Cisco Express Forwarding (CEF) on the switch
- CEF uses a FIB to make IP destination prefix-based switching decisions
- The FIB is conceptually similar to a routing table or information base (RIB)
- The adjacency table is created to contain all connected next hops
- An adjacent node is a node that is one hop away, i.e. directly connected
Troubleshooting Multilayer Switching
- MLS troubleshooting requires troubleshooting at both the control and data planes
- The following steps should be taken when troubleshooting Unicast MLS issues:
- Verify that IP routing information for the address is correct
- Verify that the next hop has a valid MAC address
- Verify that the FIB next hop is the same as the RIB next hop
- Verify the CEF adjacency table rewrite information
- Verify FIB and adjacency table population in TCAM
Understanding and Troubleshooting HSRP
- Hot Standby Router Protocol is a Cisco-proprietary First Hop Redundancy Protocol
- Cisco IOS software supports two versions of HSRP: version 1 and version 2
- By default, when HSRP is enabled in Cisco IOS software, HSRP version 1 is enabled
- HSRPv1 supports up to 255 groups; HSRPv2 supports up to 4096 groups
- HSRPv1 uses Multicast group address 224.0.0.2 and UDP port 1985
- HSRPv2 uses Multicast group address 224.0.0.102 and UDP port 1985
- The version 2 packet format uses a Type/Length/Value (TLV) format
- HSRPv1 does not support millisecond timer values; HSRPv2 supports millisecond timers
- HSRPv2 includes a 6-byte Identifier field
- HSRPv1 uses virtual MAC addresses in the range 0000.0c07.acxx
- HSRPv2 uses virtual MAC addresses in the range 0000.0C9F.F000 to 0000.0C9F.FFFF
- The majority of HSRP issues are due to router and switch misconfigurations
- Common HSRP problem scenarios include the following:
- Gateway Logging Continuous HSRP State Changes
- HSRP Gateways Not Reflecting the Correct State
- HSRP Does Not Detect Peer Router
- HSRP Causes MAC Violation on a Secure Switch Port
Understanding and Troubleshooting VRRP
- VRRP operates in a similar manner to HSRP; however VRRP is an open standard
- VRRP is defined in RFC 2338
- VRRP sends advertisements to Multicast address 224.0.0.18, using IP protocol number 112
- At the Data Link layer, VRRP uses MAC addresses in the range 01-00-5e-00-01xx
- Both HSRP and VRRP use a default priority value of 100
- By default, VRRP version 2 is enabled when VRRP is configured on a gateway
- Configurable VRRP priorities range from 1-254; for HSRP the range is 1-255
- VRRP priority 255 is automatically configured when an interface IP is used for a group
- When the IP Address Owner is up, it responds to all packets that are sent to the IP address
Understanding and Troubleshooting GLBP
- Gateway Load Balancing Protocol is a Cisco-proprietary FHRP, like HSRP
- GLBP allows multiple gateways to actively forward packets using a single GLBP group
- GLBP gateways communicate through Hello messages that are sent every 3 seconds
- GLBP sends updates to the Multicast address 224.0.0.102, using UDP port 3222
- GLBP group members elect one gateway to be the AVG for that group
- The AVG is the gateway that has the highest priority value
- The other gateways in the GLBP group provide backup for the AVG
- The AVG answers all ARP requests for the virtual router address
- The AVG assigns a virtual MAC address to each member of the GLBP group
- Each gateway is responsible for forwarding packets that are sent to its virtual MAC address
- These gateways are referred to as active virtual forwarders (AVFs)
- A GLBP group allows up to four virtual MAC addresses per group
- By default, the GLBP gateway preemptive scheme is disabled
- A backup virtual gateway can become the AVG only if the current AVG fails
- By default, each gateway is assigned a weight of 100
Troubleshooting Switch Supervisor Redundancy
- Catalyst 4500 and 6500 series switches support two supervisor engines for high availability
- The standby supervisor engine assumes primary supervisor if the following happens:
- The primary supervisor engine fails or crashes
- The primary supervisor engine is rebooted
- The administrator forces a manual failover from active to standby
- The primary supervisor engine is physically removed
- Clock synchronization between the supervisor engines fails
- Cisco IOS software supports three modes for redundant supervisor implementations:
- Route Processor Redundancy (RPR)
- Route Processor Redundancy Plus (RPR+)
- Stateful Switchover (SSO)
- When using RPR, the standby supervisor engine is only partially booted and initialized
- RPR switchover generally takes between 2 and 4 minutes
- RPR+ improves on RPR and provides failover generally within 30 to 60 seconds
- With RPR+, the standby is initialized but not fully operational
- RPR+ synchronizes user-entered CLI commands incrementally line-by-line
- Following RPR+ switchover, the following events occur:
- Traffic is disrupted until the Redundant Supervisor Engine completes the takes over
- The switch maintains any static routes across the switchover
- The switch does not maintain any dynamic routing protocol information
- The switch clears the FIB Tables on switchover
- The switch clears the CAM Tables on switchover
- State information, such as active TCP sessions, is not maintained on switchover
- SSO is the preferred redundancy mode for supervisor engines
- With SSO, the redundant supervisor is fully booted and initialized
- With SSO, supervisor engines must be synchronized
- With SSO, configuration information and data structures are synchronized
- SSO maintains state information between the redundant supervisor engines
- When using SSO, the following events cause a switchover:
- A hardware failure on the active supervisor engine
- Clock synchronization failure between supervisor engines
- A manual switchover
Troubleshooting Switch Performance Issues
- One of the most telling signs of performance issues on devices is high CPU utilization
- Cisco software-based routers use software in order to process and route packets
- High CPU utilization typically indicates capacity issues on software-based routers
- Catalyst 4500 and 6500 series switches are hardware-based platforms
- High CPU utilization does not indicate capacity issues on hardware-based platforms
- The Supervisor 720 module is comprised of three integrated core components, which are:
- The Multilayer Switch Feature Card 3
- The Policy Feature Card 3
- The Switch or Switching Fabric
- Even in hardware-based platforms, packets must be punted and processed in software
- The reasons packets may be punted include:
- Packets destined to the switch, such as a Telnet session that is destined for the switch
- Packets requiring special processing, such as packets with IP options or expired TTL
- ACL-based features, such as ACL logging
- Hardware resources full conditions, such as when the CAM or TCAM are full
- Multicast traffic, such as IGMP packets
- Other features, such as NBAR and DHCP Snooping
- IP version 6 packet processing