![]() |
"Building and Securing Networks for over 18 years." | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Phone - Call Direct: 805-681-5071 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
| Home | Products | Specials | News! - Reviews | Support | Contact | | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cisco > Switch > Catalyst 6500 Series > Compare Cisco Catalyst and Cisco IOS | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Compare Cisco Catalyst and Cisco IOS Operating Systems in the Cisco Catalyst 6500 Series SwitchCompare Cisco Cat OS and IOS in 6500 Series SwitchPURPOSE This white paper compares the two software Operating Systems available for the Cisco Catalyst® 6500 Series switches: the Catalyst Operating System (CatOS) software and Cisco IOS® Software. It discusses the software architecture, operation, and configuration for CatOS and Cisco IOS Software (also known as "Native" model) on Cisco Catalyst 6500 Series switches.
This paper is not intended to cover all features available in the Cisco Catalyst 6500 software, but provides a review of the more frequently used features of both software models*. Additionally, this paper is a migration guide for readers familiar with CatOS and considering migration to Cisco IOS Software on the Supervisor Engine. This is the third version of this document.
* All features and support references are to Cisco CatOS Version 8.5.1 release and Cisco IOS Software Release 12.2(18)SXF; there may have been caveats or general lack of support in previous releases that this document does not account for; refer to the release notes for specific details.
INTRODUCTION The proliferation of intranet and Internet-based applications is driving new business models such as e-commerce and e-learning. Delivered via intelligent Internet Protocol (IP) services, these applications are transforming corporate-intranet and service provider infrastructures into competitive tools which offer lower business costs, faster information flow, and scalable services. In its market leadership position, Cisco Systems offers various software options that enable services throughout a network infrastructure and give customers a choice of software to fulfill their specific networking needs and requirements. The Cisco Catalyst 6500 Series Switches provide two software operating system models:
• Cisco CatOS on the Cisco Catalyst 6500 Series with optional Cisco IOS Software on the Multilayer Switching Feature Card (MSFC) provides Layer 2/3/4 functionality for the Cisco Catalyst 6500 by integrating two operating systems. A switch running CatOS only on the Supervisor Engine is a Layer 2 forwarding device with Layer 2/3/4 functionality for QoS, security, multicast, and network management of the Policy Feature Card (PFC), but does not have any routing capabilities. Layer 3 routing functionality is provided via a Cisco IOS Software image on the MSFC routing engine (optional in Supervisor 1A and 2, and integrated within Supervisor 32 and 720.) In this paper, the combination of CatOS on the Supervisor Engine and Cisco IOS Software on the MSFC is referred to as the "hybrid" OS; two operating systems work together to provide complete Layer 2/3/4 system functionality. The hybrid model operates based on two operating images, two configurations, and two command lines; one each for CatOS and Cisco IOS Software. The default operation of CatOS is as a switch (all ports bridging in VLAN 1). Additionally, the switch running Hybrid OS can be configured to operate as a router.
This operating model, as a Layer 2 forwarding device, targets wiring closets or access layer services with protocols such as IEEE 802.1x, inline power, and voice virtual LAN (VLAN) identification. With the MSFC daughter module installed, the chassis is suitable for distribution layers of a network. Because the Supervisor Engine 720, which ships by default with an MSFC3, and the Supervisor Engine 32, which ships by default with the MSFC2A, are supported under the Hybrid operating model, CatOS with Cisco IOS on the MSFC is suitable for Enterprise Cores. Combined with 10-Gigabit Ethernet modules, Hybrid operating system model serve as powerful solutions to bandwidth intensive, high throughput networks.
• Cisco IOS Software for the Supervisor Engine on the Catalyst 6500 Series provides a single Cisco IOS image, configuration, and command line to support all Layer 2, 3, and 4 functionality on the switch. Cisco IOS has historically been a Layer 3 operating system on routing platforms, and when installed on the Supervisor Engine of a Catalyst 6500 has expanded these capabilities to include true Layer 2 functionality as well. Cisco IOS requires an MSFC daughter card be present on the Supervisor Engine (default on the Supervisor Engine 32 and 720). In this paper, the term "Cisco IOS" refers to the Cisco IOS Software on the Supervisor Engine of the Catalyst 6500 Series switches. The default operation of the Cisco IOS Software is as a router (all ports are Layer 3 and in the shutdown state), but the interfaces can also be configured to operate as a switch.
The Cisco IOS operating model targets service provider and enterprise data center backbones and distribution layer services. When combined with services modules, the software model is powerful for Integrated Data Centers. Cisco IOS Software combines the switching features of the Catalyst 6500 Series Switch with routing features of Cisco IOS Software to create a single, integrated operating system that performs all switching and routing functionality, providing operational ease of use. A Cisco IOS system has the capability to scale the throughput and bandwidth of a Catalyst 6500 Series to 400+ Mpps and 720 Gbps, respectively.
The software operating models described above can coexist in network environments to satisfy varying requirements. One model is recommended over another based solely on feature support, as both models are not at 100 percent feature parity. Figure 1 illustrates where both Hybrid and Cisco IOS operating models should be deployed in network architectures.
ARCHITECTURE COMPARISON The Cisco Catalyst 6500 offers a high-performance blend of Layer 2/3/4+ technology. Independent of the software model chosen, the forwarding intelligence of the system is handled in the following hardware: the Supervisor Engine (with switch processor) baseboard, the PFC daughter card, and the MSFC (route processor) daughter card (Figure 2).
Figure 2. Cisco Catalyst 6500 Intelligence Components ![]() Switch Processor Functions The Switch Processor, which controls all chassis operations, runs a 250-Mhz R7000 CPU on Supervisor 2, 400-Mhz R7000 CPU on the Supervisor 32 and a 600-Mhz R7000 CPU on Supervisor 720. Chassis operations include the detection of Online Insertion and Removal (OIR) events, power management, environmental management and redundancy management. The Switch Processor also handles the download of the appropriate line card firmware to each line card, basic port management (setting of port configuration, detection of link state, etc.) and other Layer 2 functionality such as Spanning Tree, VLAN Trunking Protocol (VTP), Internet Group Management Protocol (IGMP) snooping, and Dynamic Trunking Protocol (DTP). Finally, the Switch Processor provides console connection for CatOS or Cisco IOS during initial system boot.
Route Processor Functions The Route Processor (RP) runs a 300-Mhz R7000 CPU (MSFC2 and MSFC2A) or a 600-Mhz R7000 CPU (MSFC3) and provides Layer 3 functionality such as routing and Cisco Express Forwarding table creation. Cisco Express Forwarding is the default Layer 3 forwarding mechanism. The RP is responsible for creating and maintaining Cisco Express Forwarding and adjacency tables while pushing this information down to the PFC for hardware forwarding, QoS and security functionality. Other functions residing on the RP include IP address resolution (ARP) and routing table maintenance.
Policy Feature Card (PFC) The PFC is the application-specific integrated circuit (ASIC) forwarding complex for the system. The PFC performs the hardware-based features and services at a high performance level (tens of millions of packets per second). Features such as Layer 2 bridging, Layer 3 routing, access control, Quality of Service (QoS) marking and policing, NetFlow statistics, and multicast are implemented within the PFC.
Software Implementation Cisco IOS mode mandates that both CPUs (SP and RP) run the full Cisco IOS Software operating system. There is no hidden Catalyst software running in the switch and the executable images used by both CPUs run the complete IOS kernel. With both processors running Cisco IOS Software, overall system performance is enhanced. However, should the MSFC fail, all Layer 2/3/4 functionality is lost.
In contrast, CatOS operates on the SP and the PFC to provide Layer 2 forwarding and Layer 3/4 services. Should the user require Layer 3 forwarding/routing capabilities, the MSFC daughter card must be present and runs Cisco IOS Software (as part of the hybrid OS) on the RP. Thus, should the MSFC fail in hybrid configurations, Layer 2 and PFC functionality are not affected and remain operational.
Software Feature Support The two software models, CatOS and Cisco IOS, on the Cisco Catalyst 6500 Series are not at feature parity. The following table presents the CatOS and Cisco IOS Software support for some of the more commonly used protocols. Note that many features in Cisco IOS Software are not platform specific (for example, the OSPF, BGP, or PIM protocols). In these cases, the Cisco IOS features in hybrid OS are identical to those in Cisco IOS Software.
Table 1 lists commonly used software features available in Cisco CatOS Version 8.3.1 and Cisco IOS Software Release 12.2(18)SXF (this includes all features available through 12.1(26)E3). Feature support is hardware dependent where noted.
Table 1. Software Comparison
Hardware and Line Card Support Table 2 is a matrix of Cisco Catalyst 6500 Series line cards with operating system support.
Table 2. Hardware Modules
** IOS cannot be supported without an MSFC
Memory Requirements The default memory requirements are the same for both the Cisco IOS Software and the CatOS software. The Supervisor Engine 2 ships with a default of 128 MB DRAM (upgradable to 512 MB) and 32 MB bootflash. The MSFC2 ships with 128 MB DRAM and can be upgraded to 512 MB, and has a 16 or 32 MB bootflash. The WS-X6K-S2U-MSFC2 is an orderable part number for 256 MB of DRAM on the Supervisor Engine 2 as well as 256 MB DRAM on the MSFC2. The Supervisor Engine 32 ships with 256 MB DRAM (upgradeable to 1Gb) and 512MB internal flash card on both the SP and the RP. Finally, the Supervisor Engine 720 ships with a default of 512 MB DRAM and 64 MB bootflash on both the SP and the RP.
Because the Cisco IOS Software images are combined Layer 2 and 3 images, they are larger than CatOS images. Some 12.1E Cisco IOS images are greater than 20 MB and require MEM-C6K-ATA-1-64M flash card to store more than one image per system equipped with Supervisor Engine 2.
For additional memory on the Supervisor Engine 720 and Supervisor 32, MEM-C6K-CPTFL64M/128M/256M/512M compact flash cards equipped with 64 MB, 128 MB and 256 MB, respectively, are available.
The Cisco IOS Software has specific memory guidelines for routing table capacity, which are documented in the release notes. Refer to the Cisco Catalyst 6500 Series release notes for these recommendations.
OPERATIONAL COMPARISON Image Management There are different image naming conventions for systems with hybrid operating systems and with Cisco IOS operating systems on the Supervisor Engines. Ensure the correct image is chosen for given hardware. The following sections describe the different image filenames for CatOS and Cisco IOS Software.
Operating System Files for the Hybrid OS In the hybrid model, two separate image files are managed by the two different operating systems. The CatOS images are stored on the Supervisor bootflash or flash cards (PCMCIA for Supervisor 1A and Supervisor 2, and Compact Flash for both the Supervisor Engine 32 and Supervisor Engine 720). The Cisco IOS image for the MSFC is stored on the MSFC bootflash. The images can be moved between the active and standby supervisors using the copy command and uploaded to the switch via the TFTP application. Cisco Catalyst 6500 systems that run hybrid use the image names listed in Table 3.
Table 3. Hybrid OS Image Names
The same MSFC boot helper image (c6msfc-boot) is used for the hybrid OS and Cisco IOS Software. It is stored as the first file on the MSFC bootflash. The boot helper image is a limited function system image that has network interface code and end-host protocol code.
Note: The boot helper must never be erased on the MSFC(1) and should be the first image on the MSFC bootflash. The MSFC2, MSFC2A and MSFC3 hardware does not require the boot image as it has more sophisticated ROMMON*** functionality; however, keeping a boot image in the MSFC bootflash is still a good practice for last resort scenarios. Boot images are not available for the MSFC2A or MSFC3. *** ROMMON is the low-level software used for fundamental hardware operation before CatOS or Cisco IOS Software take control of the system.
Operating System Files for Cisco IOS Software Cisco IOS Software requires the single image be present on a device local to the Supervisor because it is a bundled image for two processors and the SP boots first. The image can reside either on the Supervisor bootflash (sup-bootflash:) or the flash card (slot0 or disk0); it cannot reside on the MSFC bootflash. Cisco IOS system files start with `c6supxy' where x is the supervisor model number and y is the MSFC model number or with the Supervisor Engine 32 and Supervisor Engine 720, s(SUP)vw where SUP is the Supervisor Engine, v is the MSFC version and w is the PFC version.
Table 4. Cisco IOS Image Names
Note: Flash card formats vary between CatOS and Cisco IOS Software thus flash cards must be formatted when switching between operating system models. Storage Devices In Cisco IOS Software, the storage devices on the active Supervisor are as follows:
New images can be copied into the standby supervisor: flash card, RP bootflash: or SP bootflash:/bootdisk: from the active supervisor. The standby storage devices are as follows:
The following is an example of the command you use to copy from active supervisor flash card to standby supervisor flash:
Determining the Current Operating System on a Cisco Catalyst 6500 The Cisco IOS command line for both the Cisco IOS portion of hybrid and Cisco IOS systems look identical. To determine what operating system is running on the switch, you can use the show version command from the Cisco IOS command line. To access the IOS (Layer 3) functionality in hybrid OS, enter session 15 (or 16) or switch console from the command line. The console is then turned over to the MSFC, and this is where both Cisco IOS and hybrid OS systems look identical.
Cisco IOS and Hybrid OS Boot Process The boot process in both the Cisco IOS and the hybrid operating system models is automatic and transparent to the user. In the hybrid model, the boot processes are separate for both the switch and the route processors, as they each boot independent operating systems.
In Cisco IOS Software, both processors (the SP and RP) load the Cisco IOS Software. Two processors working together yield two ROMMONs and two bootflash devices. First, the SP boots to ROMMON and loads its portion of the Cisco IOS Software. When the SP is booted, the software control is passed to the RP so that the second processor can successfully boot. From a console perspective, the RJ-45 console port on the Supervisor Engine initially shows information from the SP. During the boot cycle for the Cisco Catalyst 6500 with the Cisco IOS Software, control is passed to RP CPU as shown in the following statement on the console:
After this point the Route Processor controls the system. From the software perspective, the RP acts as the primary CPU and the SP acts as the secondary CPU. This is transparent to the user, all configuration commands are entered directly through the Route Processor CPU in Cisco IOS Software. Commands entered that affect the SP functionality are passed internally from the RP to the SP.
Unlike CatOS, net booting a Cisco IOS image from a TFTP server is not supported because the Supervisor image is a bundled image for two processors. The runtime image location (c6sup<xy>-is-mz-<version>) must be stored on a device local to the SP (sup-bootflash) or the flash card (slot0, disk0, disk1:).
Logging into the Switch Processor in Cisco IOS Software While the command line perspective is from the RP, you can log into the Switch Processor for any Layer 2-specific debugging. You can use the following commands to debug and to check the Switch Processor status during runtime. Note that all Layer 2 thru Layer 4 configurations are done from the main Cisco IOS command line:
• Remote Login-The remote login command (or remote login switch for the sup 2, Sup32 and Sup720) is equivalent to the session command in CatOS. The hostname becomes the `hostname-sp'. Use the exit command rather than Control-C to exit the SP. • Remote Command-If only one command's output is needed from the SP, use a remote command <command> (or remote command switch <command> for the Supervisor Engine 2, 32 and 720) as seen below. Note: There is no help facility (i.e., remote command show ?) when using the remote command.
Switch Management While the direct console cable connection is a useful way for managing a Cisco Catalyst 6500, other methods of network-based management (such as telnet or SNMP) require a management interface with which to access the switch. In CatOS, two management interfaces, sc0 and sc1, are available for the system. An IP address and VLAN must be assigned to these interfaces, should both be in use. Any IP-based management of a CatOS system is then directed to the sc0 or sc1 interface address. With the hybrid OS, the sc0/sc1 interface is used in conjunction with any Layer 3 VLAN interfaces created for routing functionality.
In the Cisco IOS Software, the concept of sc0/sc1 interface does not exist; network-based switch management is now accomplished with the use of Switch Virtual Interfaces (SVI, which is discussed further in the following section.) For every Layer 2 VLAN that is created, there can also be a corresponding SVI. Each SVI can have one or more IP addresses which are used for accessing the device on the particular VLAN via an SNMP or telnet client. The following command displays the VLAN SVIs and the associated IP addressing for managing the system.
Switch Configuration-Making Changes Configuration changes in the Cat OS software are written to NVRAM immediately after a change is made-no intervention by the user is required. All configurations in Cat OS are done via a "set" command sequence, executed from the enabled-mode prompt. The clear command from the same prompt will erase a particular command.
In contrast, Cisco IOS Software does not save configuration changes to NVRAM unless the copy run start (or write memory) command is executed. If the configuration is not explicitly saved, any changes to the configuration will be lost should the system be reloaded. All command line configuration in Cisco IOS (whether on the Supervisor or the MSFC) is done from the configuration mode, commonly known as "config-t". Commands can be removed with the no form of the original command.
Port Behavior The following section details the differences in port behavior between Cat OS and Cisco IOS software.
Hybrid Behavior: CatOS with Cisco IOS Software on the MSFC The hybrid model offers a very tight integration of the Layer 2/4 CatOS features with the Layer 3 Cisco IOS on the MSFC feature set. Layer 2 ports (such as access and trunk ports) and VLANs are configured with the CatOS command set and Layer 3 SVIs are configured with the MSFC Cisco IOS command set. Ports are configured in Layer 2 VLANs with CatOS (set vlan x <slot/port>), thus corresponding Layer 3 SVIs must be created to enable inter-VLAN routing for the particular VLANs. You create SVIs using the interface vlan command. In the hybrid model, the MSFC operates on these logical interfaces (interface vlan 10) rather than on physical interfaces (interface gig 1/1). Figure 3 illustrates these concepts and the associated commands to use Layer 2 and/or Layer 3 functionality.
Figure 3. Port Concepts in the Hybrid Model ![]() Cisco IOS Software The port concepts in the Cisco IOS Software model are similar to the hybrid software model. In the Cisco IOS model, all system configurations are done from a single command line interface; there is no separation between the Layer 2 and Layer 3 configuration tasks. The Layer 2 port concepts, such as access and trunk ports and Layer 3 VLAN interfaces (SVIs), still apply, although with different syntax. Additionally, Cisco IOS Software offers the concept of a Layer 3 routed interface. Table 6 provides an overview of the different Cisco IOS port and interface types. More detailed descriptions follow.
Table 5. Cisco IOS Port Concepts
Note: Although the terms interface and port are used interchangeably in this document, the Cisco IOS command line refers to ports as interfaces, while the CatOS command line refers to them strictly as ports. Figure 4 illustrates the different Cisco IOS interface types and the commands to use the Layer 2 or Layer 3 functionality.
Figure 4. Port Concepts in the Cisco IOS Model ![]() Cisco IOS numbers for interfaces start from 1, not 0, for a module; that is, the first interface on the line card in slot 2 is 2/1. This is the same port numbering convention that is used with CatOS.
More detailed descriptions of the three primary port types found in Cisco IOS Software are included below.
Routed Interfaces Cisco IOS Software provides two means for creating Layer 3 interfaces: either at the physical port level (routed interfaces, described here) or at the virtual port level (SVIs, described in the following section). With Cisco IOS, each physical port is a routed interface (just like any Cisco router) by default. Every Ethernet port on the switch (Fast Ethernet, Gigabit Ethernet, or 10 Gigabit Ethernet) is shown as interface <interfacetype> <slot/port> and is shutdown by default. This operation differs from CatOS, which has all ports enabled, Layer 2 aware, and in VLAN 1 by default and does not support routed interfaces. The routed interface in Cisco IOS must be configured on a unique IP subnet or IPX network. No Layer 2 protocols such as the Spanning Tree Protocol (STP) and DTP are enabled on these interfaces.
For traditional LAN-based Ethernet ports, the routed interface does not support subinterface creation for separating dot1q encapsulations. Similar functionality to IEEE 802.1q subinterfaces is provided with trunk ports, described in the following sections.
Layer 2 VLAN To place several interfaces in the same IP or IPX subnet, the port needs to be converted from a routed interface to a layer 2 port so that the port can be part of the Layer 2 domain or VLAN. The first step in this conversion of the routed interface is to create the Layer 2 VLAN entity.
The VLAN ID configuration creates an instance of a Layer 2 broadcast domain or VLAN. The configuration is done from global configuration mode via a vlan <vlan #> command. VLAN IDs from 1 through 4094 are supported, where VLAN IDs 1002 to 1005 are VTP default VLANs in both CatOS and Cisco IOS and are not user configurable.
The following example demonstrates the creation of vlan 8 in CatOS and Cisco IOS:
Because CatOS and Cisco IOS Software support the creation of 4094 Layer 2 VLANs, a MAC-address reduction feature must be enabled so that the system can allocate a limited number of system MAC addresses more efficiently. The following commands enable this feature:
Routed SVI When multiple ports on the same device belong to a single subnet, a VLAN is created to group these ports at Layer 2 (see Layer 2 VLAN, above). Generally, these ports need to send traffic to other subnets or VLANs. This requirement is accomplished by creating an SVI to provide the inter-VLAN routing functionality. Just as in the hybrid software model, SVIs in Cisco IOS are identified as interface VLAN 1, interface VLAN 2, etc. These interfaces are associated with Layer 3 information such as an IP subnet or IPX network number. If a particular Layer 2 VLAN does not have an associated SVI created, then traffic will be bridged in that VLAN but is not routable to or from that VLAN. As switch ports are added and removed from various VLANs, they automatically participate in the Layer 3 environment created by the appropriate SVI. For managing a device in Cisco IOS Software, the SVI requires an IP address for network reachability.
Access Switchport An access switchport is a Layer 2 port that belongs to only one VLAN. For configuration, the switchport command is used to convert an interface from the default routed interface to a Layer 2 interface. In converting the port from a Layer 3 port to a Layer 2 port, Layer 2 features, such as DTP and STP, are enabled. This single switchport command must be enabled before any other switch port-related configuration is allowed. Like port operation in CatOS, Cisco IOS switchports automatically default to VLAN 1. To statically create an access port (one that will not attempt to negotiate a trunk), enter the switchport mode access command from the interface configuration. Then use the switchport access vlan <vlan-id> command to assign the access port to a particular VLAN. The following example defines port 5/1 as an access port in VLAN2:
Trunk Switchport Trunk switchports in Cisco IOS Software are Layer 2 ports that carry multiple VLANs using ISL or IEEE 802.1q encapsulations. They are fully compatible with any other device supporting the ISL or IEEE 802.1q protocols.
After converting a routed interface to a Layer 2 switchport, the switchport will default to switchport mode dynamic desirable. The port is capable of forming a trunk with a neighboring Layer 2 device by using DTP for negotiating a trunk. If the neighboring interface supports trunking and is configured to allow trunking, the link becomes a Layer 2 trunk when you enter the switchport command (due to the dynamic/desirable default). By default, trunks negotiate encapsulation. If the neighboring interface supports both ISL and IEEE 802.1q encapsulation and both interfaces are set to negotiate the encapsulation type, the trunk will use ISL encapsulation. This is the same operation as in CatOS. The following example shows how to configure a trunk for IEEE 802.1q encapsulation:
Note: The recommended configuration for a dynamic trunk port would be desirable/auto between neighboring devices. The switchport trunk native vlan <vlan-id> command sets the native VLAN for an IEEE 802.1q trunk port. The allowed parameter can be used to control the VLANs that are forwarded out that interface. In addition, the pruning parameter can be used to control VTP pruning on the link. VLAN1 cannot be pruned, either in CatOS or Cisco IOS Software. However, both the Cisco IOS Software and CatOS allow VLAN1 to be disabled from carrying traffic on trunks.
If a no switchport command is offered, all the commands related to that switchport will no longer show in configuration and the interface type will revert to a routed interface. However, if the switchport is re-enabled, then all the previous switchport-related commands will still be reinstated.****
**** This applies to a system that has not been rebooted since doing the "no switchport" command.
Cisco IOS Interface Configuration-Range Command All interface types-whether routed interfaces, SVIs, or switchports-can be configured in groups. This means you can apply configuration parameters to a group of ports at once. The Cisco IOS range command allows you to configure multiple interfaces simultaneously by specifying interface range and then the range of ports. The ports in the range can be discontinuous across the same or different line cards. The following is a sample range configuration:
Note: For IOS images before 12.2(18)SXE, the space before the dash is required, up to five comma-separated ranges are supported, and spaces are not required before or after the comma. The range command works for Fast Ethernet, Gigabit Ethernet, and 10 Gigabit Ethernet interfaces as seen above. It also works with VLAN interfaces if the SVIs are created:
Interface Range Macros can be used to identify frequently grouped ports. A specific range of ports is defined in a macro and given a name. Once created, the macro name can be used to refer to the port grouping rather than explicitly typing in each port. This is useful when configuration changes frequently apply to the same group of ports (i.e., all 10/100 server ports). This feature is not available in CatOS. The following example defines an interface-range macro named "servers" that corresponds to ports 3/1 through 3/8.
Monitoring Interfaces in CatOS and Cisco IOS The following commands are commonly used for monitoring interfaces:
FEATURE COMPARISON The following sections describe some general feature differences between CatOS and Cisco IOS Software. This is not an exhaustive or detailed list of features and their operation, but simply a comparison between the implementation and CLI syntax of some commonly used features on the Cisco Catalyst 6500. For a more detailed feature description of all CatOS and Cisco IOS features, refer to the user documentation at: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/index.htm
VLAN Trunking Protocol (VTP) VTP is used to manage VLAN information among switches in a Layer 2 domain. VTP administration is handled between switches configured as VTP Servers and VTP clients to learn a common VLAN topology throughout the network. A device can alternatively be configured as a VTP transparent device, which does not participate in the VTP protocol but can forward VTP advertisements. The only difference in VTP functionality between CatOS and Cisco IOS Software is that CatOS allows VTP to be disabled completely (i.e., the device does not forward VTP advertisements in the "off" mode).
For Cisco IOS Software, VTP/VLAN configurations are executed in global configuration mode for VTP Transparent, VTP Client, and VTP Server systems.***** This example compares how to define the VTP domain, mode, and VLANs and then apply them to ports:
***** VLAN or VTP configuration does not have to be completed in VLAN database submode.
VTP Operation in Cisco IOS Software Configuration changes in CatOS are written to NVRAM immediately after a change is made. In contrast, the Cisco IOS Software does not save configuration changes to NVRAM unless you issue the copy run start command. VTP Client and Server systems require that VTP updates from other VTP servers be immediately saved in NVRAM without user intervention. Thus, the VTP update requirements are met by the default CatOS operation; while the Cisco IOS update model requires an alternative update operation.
For this alteration, a VLAN database was introduced into Cisco IOS for the Catalyst 6500 as a method for immediately saving VTP updates for VTP Clients and Servers. This VLAN database is in the form of a separate file in NVRAM, called the vlan.dat file. Viewed with sh vtp status, the vlan.dat files stores VTP/VLAN information for VTP Client or VTP Server systems. The entire VTP/VLAN configuration is not backed up to the Startup Config file in NVRAM when a copy run start command is issued on these systems.
This does not apply to systems running as VTP transparent. VTP transparent systems back up the entire VTP/VLAN configuration to the Startup Config file in NVRAM when you issue a copy run start command.
VTPv3 for CatOS CatOS supports a new version of VTP-VTP Version 3 (VTPv3). VTPv3 supports the advertisement of the extended range of VLANs (4094). Configuration changes for the entire 4K VLAN range can be made centrally on one switch and automatically communicated to all other switches in the network.
Additionally, VTPv3 removes the risk of losing or overwriting the domain configuration when introducing a misconfigured or unauthorized server. It does this by introducing the concept of both primary and secondary servers, and by allowing the partitioning of domains. Users must statically define what server will become a primary server. Below is a description of the VTP devices available for a domain:
• A VTPv3 Primary Server can create, modify, and delete VLANs and specify other configuration parameters for the domain. The primary servers advertise their VLAN configuration to the switches in the same VTP domain and synchronize their VLAN configuration with other switches based on advertisements received over trunk links (similar to existing VTP versions). • A VTPv3 secondary server is a hybrid between the original client and server; it is able to store the configuration of the domain but cannot modify it. • A VTPv3 client only receives the configuration from the network and cannot save or modify it (unchanged from existing VTP versions). Figure 5. ![]() Spanning Tree Protocol (STP)****** Spanning-Tree Protocol (STP) prevents loops from being formed when switches or bridges are interconnected via multiple paths. Spanning-Tree Protocol implements the 802.1D IEEE algorithm by exchanging BPDU messages with other switches to detect loops, and then removes the loop by shutting down selected bridge interfaces. This algorithm guarantees that there is one and only one active path between two network devices.
Common Spanning-Tree (CST) assumes one spanning-tree instance for the entire bridged network, regardless of the number of VLANs. This implementation reduces CPU load since only one Spanning Tree instance is maintained for the entire network. This implementation can be used when only one Layer 2 topology is needed in the network.
Multiple Instance STP (MISTP) (802.1s) is an IEEE standard which allows several VLANs to be mapped to a reduced number of spanning-tree instances. This is possible since most networks do not need more than a few logical topologies. Each instance handles multiple VLANs that have the same Layer 2 topology.
Per-VLAN Spanning Tree (PVST) maintains a spanning tree instance for each VLAN configured in the network. It uses ISL Trunking and allows a VLAN trunk to be forwarding for some VLANs while blocking for other VLANs. Since PVST treats each VLAN as a separate network, it has the ability to load balance traffic (at layer-2) by forwarding some VLANs on one trunk and other VLANs on another trunk without causing a Spanning Tree loop. PVST+ (additional advantages are described later) provides the same functionality with 802.1Q trunking technology and is only supported on Cisco Switches.
Rapid Spanning Tree Protocol (RSTP) is an evolution of the Spanning Tree Protocol (802.1D standard) and provides for faster spanning tree convergence after a topology change. The standard also includes features equivalent to Cisco PortFast, UplinkFast and BackboneFast for faster network reconvergence.
This section presents the configuration differences between CatOS and Cisco IOS for basic STP configuration, PVST+ (802.1d), IEEE 802.1s (MST), IEEE 802.1w (RSTP), and Rapid PVST+.
Basic STP Configuration
PVST+ Enhancements PVST+ enhances basic spanning tree algorithms by allowing for faster convergence times via the implementation and integration of Cisco proprietary protocols, including UplinkFast, BackboneFast, and PortFast, into the PVST+ protocol itself.
Spanning Tree UplinkFast allows for faster convergence in a Layer 2 network after a direct root link failure. If a link from one bridge to the root bridge goes down, then the bridge will move one blocking port to forwarding immediately rather than waiting for the normal spanning tree timers to expire. This brings the convergence time from 50 seconds to three to five seconds or even subsecond.
In the case of an indirect failure in a Layer 2 network, Spanning Tree BackboneFast reduces the convergence time by the "maximum age" timer value (which defaults to 20 seconds).
Finally, Spanning Tree PortFast causes an access port to enter the forwarding state immediately, bypassing the listening and learning states. The feature is used on switch ports connected to a single workstation, IP Phone, server, etc., and allows these devices to connect to the network immediately, rather than waiting for spanning tree to converge. Because access ports do not typically transmit or receive bridge protocol data units (BPDUs) from attached devices, PortFast mode is supported on both nontrunking access ports and trunk ports in both CatOS and Cisco IOS.
Below are the configuration tasks associated with the aforementioned enhancements to PVST+.
Rapid PVST+ Rapid PVST+ is based on the IEEE 802.1w standard and uses the existing configuration for PVST+ to provide for faster STP convergence times. With Rapid PVST+, entries are flushed immediately on a per-port basis on topology changes. UplinkFast and BackboneFast configurations are ignored in this mode, as both features are included in the Rapid Spanning Tree Protocol (IEEE 802.1w).
IEEE 802.1S (MST) Multiple Spanning Tree (MST) is based on the IEEE 802.1s standard, and extends the IEEE 802.1w rapid spanning tree (RST) algorithm to multiple spanning trees. This provides both rapid convergence and load balancing in a VLAN environment while converging even faster than PVST+.
MST allows the formation of spanning trees over trunks, to provide multiple forwarding paths for data traffic. This improves fault tolerance, as a single failure does not directly affect other instances of spanning tree. Additionally, by grouping multiple VLANs into single instances of spanning trees, the overall CPU of the system decreases significantly.
One major difference between the configuration of MST on the operating systems is the MST configuration submode in Cisco IOS. This mode is used to both enter and to display the MST configuration:
IEEE 802.1W (Rapid PVST+) RSTP reduces the reconvergence time of a network by selecting a single switch to act as the root of a spanning tree. It is based on the IEEE standard 802.1w rather than IEEE 802.1D. Rapid PVST+ is configured in the same manner as PVST+, but with the additional syntax:
Note: The command syntax in CatOS uses rapid-pvst+ and Cisco IOS uses rapid-pvst. Root and BPDU Guard Configuration Port-based BPDU Guard monitors BPDUs on ports. If BPDUs are detected on access ports, the configured interfaces are shut down. Reception of a BPDU by a PortFast-configured interface signals an invalid configuration, such as the connection of an unauthorized device. The BPDU guard feature provides a secure response to invalid configurations since the interface is re-enabled manually by the administrator or automatically via the error-disable feature.
The spanning-tree root guard feature forces an interface to become a designated port, and if any device accessible through the interface tries to become the root bridge, the root guard feature puts the interface into the root-inconsistent (blocked) state.
Cisco IOS Software supports BPDU Guard and Root Guard feature on switchports only. The configuration dialog below shows highlights configuration differences.
EtherChannel EtherChannels in CatOS and Cisco IOS Software bundle individual Ethernet links into a single logical link to provide bandwidth aggregation and link resilience in a network. Catalyst 6500 Ethernet interfaces support up to eight interfaces per EtherChannel with all interfaces at the same speed: 10,100, 1000 or 10,000 Mbps. EtherChannel groups can include ports on any combination of line cards.
EtherChannel Operation Configuring EtherChannels in the Cisco IOS Software is a two-step process: first the ports are assigned to a channel-group and then the virtual interface port-channels are configured. The virtual interface port-channel behaves like a physical interface. In both CatOS and Cisco IOS, all configurations on the port channel interfaces are propagated to the physical interfaces of the port channel. For example, shutting the port channel interface will shut all physical ports on that port channel. To change parameters of all ports in an EtherChannel, the configuration should be applied to the port channel interface. Although the Cisco IOS Software allows configuration on physical interfaces, the configuration will not be propagated to the port channel bundle. If the interfaces within the bundle are not identical, the channel will not form.
CatOS supports a maximum of 128 EtherChannel groups and the Cisco IOS Software supports a maximum of 64 EtherChannel groups (128 Etherchannel groups are supported in Cisco IOS 12.2(18)SXE and later).
EtherChannel Negotiation Cisco IOS and CatOS EtherChannels support both PAgP and LACP, which allows for automatic creation of port channels with other devices. PAgP is a Cisco proprietary protocol for channel negotiation and LACP is a standard for channel negotiation (IEEE 802.3ad). The negotiation modes of both protocols are nearly identical. Note that the negotiation keywords are the same for both CatOS and Cisco IOS Software. For more detail on PAgP and LACP configuration, refer to the following configuration guides:
• http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/12_1e/swconfig/channel.htm • http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_7_3/confg_gd/channel.htm PAgP Configuration Example:
LACP Configuration Example:
In CatOS, the channel protocol is configured on a per-module basis. That is, all channel ports on a module must use the same negotiation protocol. In the Cisco IOS Software, the channel protocol can be configured on a per-port basis.
EtherChannel Load Sharing Several load-balancing algorithms are available for distributing traffic across the ports in an EtherChannel. This is regardless of the whether an EtherChannel contains Layer 2 or Layer 3 ports and interfaces. The options are the same in both CatOS and Cisco IOS Software and are shown below.
EtherChannel Types The Cisco IOS Software can do both Layer 2 and Layer 3 EtherChannels. In the context of the Cisco IOS Software, a Layer 2 EtherChannel includes ports that are configured as switch ports; a Layer 3 EtherChannel can include only switchport in combination with SVIs or it could include only routed interfaces. CatOS has only one type of Layer 3 EtherChannel because it does not support true routed ports, only SVIs.
Layer 2 EtherChannels All interfaces are grouped together in a common channel-group and the subsequent interface port-channel is configured as a switchport. The channel protocol (PAgP or LACP) automatically creates the Port-Channel 1 interface when the channel-group command is enabled on the physical interface.
Note: Defaults to PAgP for negotiation Layer 3 EtherChannels with SVIs Layer 3 EtherChannels with SVIs are formed like the Layer 2 EtherChannels with the addition of a Layer 3 SVI for routing functionality. This is the method for configuring Layer 3 EtherChannels with Layer 2 VLANs providing the transport and SVIs providing the VLAN termination and routing.
Layer 3 EtherChannels True Layer 3 EtherChannels are only specific to an IP subnet, not to a Layer 2 VLAN. As with the previously described routed interface, this is a concept only available in Cisco IOS Software. The following is an example of the command line syntax for configuring a Layer 3 EtherChannel.
The following are some helpful show commands for EtherChannels on a Cisco IOS system:
• show etherchannel summary to view all EtherChannels states and ports on a Cisco IOS system:
• show interfaces etherchannel displays all the interfaces that have been a channel-group associated with it, regardless of their channel status. If only one interface status is needed, show interfaces <mod>/<port> etherchannel states the channel status of a specific interface without having to scroll through multiple screens of output.
Identity Based Networking Services (IBNS)-IEEE 802.1x Authentication IEEE 802.1x is a client-server-based access control and authentication protocol that restricts unauthorized devices from connecting to a LAN via publicly accessible ports. 802.1x authenticates users connected to switch ports prior to making services available offered by the switch or LAN. Until the device is authenticated, 802.1x only permits Extensible Authentication Protocol over LAN (EAPOL) traffic through the port to which the device is connected. Following successful authentication, all traffic can pass through the port.
Both CatOS and Cisco IOS support IEEE 802.1x port-based authentication, 802.1x multiple host mode as defined in the specification, and IEEE 802.1x VLAN Assignment using a RADIUS Server. Additionally, CatOS only supports the following 802.1x extensions:
• 802.1x Authentication on Ports Configured for Auxiliary VLAN Traffic • 802.1x Authentication for Guest VLANs-this enables non-802.1x capable hosts to access networks that use 802.1x authentication. • 802.1x Authentication with Port Security-802.1x is compatible with the port security feature to define the number of MAC addresses to authenticate on a specific port. Users connected through all other MAC addresses are denied access. • 802.1x Multi-Authentication Mode-administrators can specify multiple authentications to ensure that more than one host can gain access to an 802.1x port; every host is authenticated separately. Example: Set port dot1x mod/port multiple-authentication enable
• 802.1x Unidirectional Controlled Port-administrators have the capability to perform Wake-on LAN functionality on 802.1x-enabled ports for scheduled system backups or software upgrades of hosts. This 802.1x enhancement allows traffic to only flow outbound on an 802.1x port. • 802.1x with ACL Assignment-This extension allows an ACL policy to be dynamically applied to a port based on the user and his successful authentication to the RADIUS server. • 802.1x User Distribution-This allows the even distribution of authenticated users within the same `group name' to be assigned into different VLANs for load-balancing. • 802.1x RADIUS Accounting and Tracking-Allows the transfer of accounting information from the switch to the RADIUS server. Also, from the RADIUS Server, the administrator can set knobs to control user access, such as the time of day users have access to the network, and the maximum number of users authenticated at any time within a given user group. • 802.1x Authenticated Identity-to-Port Description Mapping-By enabling this feature, the administrator can assign a port description to the port that a user is authenticated to. The description is seen once `sh port' is executed. This is configured on the RADIUS server. • DNS Resolution for RADIUS-Allows the administrator to configure a server DNS name in addition to or instead of an IP address. In the event of a RADIUS server moving subnets, there is no reconfiguration required for the switches-they'll re-resolve immediately. A RADIUS server must be specified prior to enabling 802.1x on the switch. 802.1x is then enabled globally, and finally enabled from the console for individual ports, as seen below. Also described below is the syntax for multiple host configurations:
For more information relating to the configuration of IEEE 802.1x on the Catalyst 6500, see: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/122sx/swcg/dot1x.htm
Cisco Security Toolkit Features Supported in CatOS IOS since 12.2(18)SXE, the Cisco Security toolkit features assist in mitigating Denial-of-Service (DoS) and Man-in-the-Middle (MiM) attacks. The Security Toolkit consists of three features: DHCP Snooping, and Dynamic ARP Inspection.
DHCP Snooping provides security against certain DoS attacks, namely, DHCP rogue server attacks. In such attacks, rogue servers are able to insert themselves into the network and respond to DHCP discovers and requests for IP addresses. DHCP Snooping prevents this kind of attack by setting ports as trusted or untrusted. All untrusted ports can only send discovers and requests for DHCP. On the other hand, trusted ports allow all DHCP traffic to traverse the port, including requests and offers for IP addresses.
For ports attached to all hosts, or all ports connected to unknown devices, the port should be set to DHCP untrusted. In this case, should a server attach itself to an untrusted port, it cannot issue an IP address to requesting hosts.
DHCP Snooping also maintains a DHCP Snooping Table which contains the MAC address, IP Address, lease time of the client and the VLAN of the untrusted host on the port. This table is used for other features, including Dynamic ARP Inspection, to ensure users attaching to ports are not attempting to attack the network. It does this by validating the IP address and MAC address binding of all hosts. The example below enables dhcp-snooping on VLAN 20, and all ports on that VLAN are by default, untrusted:
Dynamic ARP Inspection (DAI) validates ARP packets in a network. It allows a network administrator to intercept, log, and discard ARP packets with invalid MAC address to IP bindings (set forth in the DHCP Snooping binding tables). It prevents certain MIM attacks from occurring. The example below enables DAI on all ARP traffic from port 4/2 (because 4/2 is set to untrusted) on VLAN 20
A CatOS feature only (and supported only on the Sup720 and Sup32), IP Source Guard prevents IP spoofing by allowing only the IP addresses that are logged in the DHCP Snooping binding table on a particular port. Initially, all traffic on the port is blocked except for DHCP packets that are captured by DHCP snooping. When the client receives a DHCP IP address, a Port-based Access Control List is installed on the port which permits traffic from the IP address. Any IP address with a source IP address other than that in the PACL permit list will be filtered out. This prevents the possibility of users attempting to spoof their neighbor's IP address.
Configuring IP Source Guard requires the port security-acl be placed in port-based mode, and requires DHCP Snooping be enabled. The example below enables IP Source Guard on port 4/2, and enables the security-acl "dhcpsnoop", which enables dhcp-snooping, on the VLAN 10
Secure Copy Protocol (SCP) Currently supported in CatOS and IOS, The Secure Copy Protocol provides a secure method for copying crypto image files. SCP relies on Secure Shell (SSH) and allows the network administrator to copy a SCP to and from the system through an encrypted channel.
Time Domain Reflectometer (TDR) Time Domain Reflectometer (TDR) enables the troubleshooting of cable plants, easing the operational support of the switch. Built into the port interfaces of 48-port 10/100/1000 RJ-45 and the 6148A 10/100 modules, TDR enables network managers to remotely identify the location of cable breaks and faults. The TDR test sends a signal along a cable. Using intelligent DSPs built into the port interfaces, it measures the time it takes for the echo to return, and computes the distance to the break.
TDR is an online test which, when completed, displays the port's connected wire pairs and distances to their breaks (if present). Execution commands are as follows:
Access Control Lists (ACLs) Catalyst 6500 Series running Hybrid OS support the following types of ACLs:
• IOS Routing ACLs (RACLs) provide access control for routed traffic between VLANs. Standard and extended IOS ACLs are configured on the input and output of router interfaces and, as such, are applied to routed packets. The use of IOS ACLs requires both a PFCx and a MSFCx on the Catalyst 6500 Series. • VLAN ACLs (VACLs) provide access control based on Layer 3 or Layer 4 information for IP or IPX protocols. A VACL is applied to all packets (bridged and routed) on a VLAN and can be configured on any VLAN interface. VACLs are used for security packet filtering and redirecting traffic to specific physical switch ports. They are not defined by direction (input or output). VACL functionality requires a PFCx. • QoS ACLs are used to identify ingress traffic which is should be marked or policed upon entering a port or VLAN. QoS ACL functionality requires a PFCx. • Port-based ACLs (PACL)******* are access lists mapped to a physical port (rather than to a VLAN, which is typically comprised of multiple ports). Like VACLs, PACLs are applied to both Layer 2 and Layer 3 forwarded packets. Only ingress PACLs are supported on the Catalyst 6500. IOS RACLs have the same implementation in Hybrid as in Cisco IOS (whether on the Catalyst 6500 or any other IOS router). QoS ACLs for both operating systems are covered in the QOS section of this white paper. This section describes the differences between the VACL implementation in CatOS and Cisco IOS Software and also covers PACL implementation in CatOS.
VLAN Access Control Lists (VACLs) For CatOS, configuring a security ACL statement creates a VACL. This statement is used to configure all match and action parameters for the security policy.
The VACL configuration in Cisco IOS is based on the traditional IOS ACL implementation. That is, it relies on the IOS access-list command to define the traffic matching parameters. From there, all configuration (including ACL reference and action) is done from the "vlan access-map" configuration mode. Although the Cisco IOS action is a CLI concept which is not present in CatOS, it provides similar capture, log, and redirect functionality. Refer to the user documentation for specifics on these options. The following provides a general comparison between VACL configuration between CatOS and Cisco IOS.
******* PACLs are supported only on Sup 720 with PFC3a and later with CatOS version 8.3 and later.
Note: When creating a VACL in IOS, an SVI for that VLAN interface is created automatically. While this interface is required, it is not necessary for the interface to be configured or even in an "up" state for the VACL to operate properly. In CatOS, when an ACL is created, modified, or deleted, the changes exist temporarily in an edit buffer in memory. CatOS requires that the ACL be committed for it to take effect. In contrast, Cisco IOS Software does not utilize the edit buffer concept. Once a policy has been built in IOS, it must then be mapped to a VLAN or interface for that ACL to take effect.
VACL Capture The VACL Capture feature is a useful extension to VACLs. This feature is essentially a port-mirroring function where packets that match the specified flows are captured and transmitted out of capture ports. You can create a VACL to identify traffic that you would like to make a copy of and send to a destination port for analysis (via a network analyzer or otherwise). This does not affect the performance of the captured traffic; the original data will move through the box as it is intended. It provides a very granular tool for network troubleshooting and analysis as well as a scalable alternative to the traditional Switch Port ANalyzer (SPAN) feature.
Port-Based Access Control Lists (PACLs) Supported only in CatOS on the Sup720 and Sup32, PACLs are access lists mapped to physical ports. PACLs have three modes of operation configurable on a per-port basis: port-based, VLAN-based, and merge modes. In port-based mode, the PACL overrides the existing VACL and Cisco IOS ACL. In VLAN-based mode, the VACL and IOS ACLs override the PACL. In merge mode, the ingress PACL, VACL and IOS ACL are merged together (VLAN-based mode is the default mode).
To configure PACLs, the mode must be specified. The example below sets a PACL on port 2/1 in port-based mode and maps the ACL "pacl_acl" to port 2/2:
Quality of Service (QoS) Quality of Service is the use of several different features which all work to differentiate and prioritize network traffic. These features include the classification, marking, policing, congestion avoidance, and scheduling of traffic. In the Catalyst 6500 Series, QoS functionality resides on the PFC (for Layer 3 marking, policing, and some classification functions) and on line cards (for congestion avoidance, scheduling, and other classification functions). With CatOS, a Supervisor without a PFC can be used for Layer 2-only QoS classification and marking. With the PFC and the MSFC installed, Cisco IOS and hybrid OS support full Layer 2/3/4 QoS capabilities.
This section is not intended to provide a general overview of QoS functionality. Rather, it discusses configuration differences between CatOS and Cisco IOS Software for the following scenarios:
• Configuring interface QoS • Configuring QoS policies By default, QoS is disabled on both operating systems. The first step to implement QoS functionality on the Catalyst 6500 is to enable QoS globally:
Configuring Interface QoS Trust State Ports can be set to trust certain fields such as COS, IP-precedence, or DSCP in the incoming frames. The following is a sample configuration:
Both CatOS and Cisco support the Extended Trust feature for differentiating IP Phone voice traffic and workstation data traffic.
Default Port CoS The switch offers the capability to set a CoS value for all traffic entering a particular port. This is supported in both operating systems:
CatOS Cisco IOS Software set port qos 3/1 cos 3
Router(config)# interface gigabitethernet 3/1
Router(config-if)# mls qos cos 3
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Port- and VLAN-Based QoS Mode
CatOS |
Cisco IOS Software |
set port qos 3/1 vlan-based
|
Router(config)#interface gigabitethernet 3/1
Router(config-if)# mls qos vlan-based
|
CoS-to-Queue Mapping
CatOS |
Cisco IOS Software |
set qos map 1p1q4t rx 2 1 cos 5
set qos map 1p2q2t tx 1 1 cos 0,1
set qos map 1p2q2t tx 3 1 cos 5
|
interface gigabitethernet 3/1
rcv-queue cos-map 2 1 5
wrr-queue cos-map 1 1 0 1
priority-queue cos-map 1 5
|
Queue Sizes
CatOS |
Cisco IOS Software |
set qos txq-ratio 1p2q2t 10 90
set qos rxq-ratio 1p1q0t 10 90
|
interface gigabitethernet 3/1
wrr-queue queue-limit 10 90
interface fastethernet 4/1
rcv-queue queue-limit 10 90
|
WRR Scheduling
CatOS |
Cisco IOS Software |
set qos wrr 1p2q2t 30 70
|
interface gigabitethernet 3/1
wrr-queue bandwidth 30 70
|
Configuring QoS Policies
Trust with an ACL
CatOS |
Cisco IOS Software |
set qos acl ip CatOS trust-cos any
commit qos acl CatOS
set qos acl map CatOS 3/1
|
access-list 101 permit ip any any
policy-map IOS
class IOS access-group 101
trust cos
interface gigabitethernet 3/1
service-policy input IOS
|
Policers
Aggregate Policers
CatOS |
Cisco IOS Software |
set qos policer aggregate ag1 rate
1000000 burst 32 drop
set qos acl ip ag_acl trust-dscp
aggregate ag1 any
set qos acl map ag_acl 3/5
|
access-list 101 permit ip any any
mls qos aggregate-policer ag1 10000000
4625 conform-action transmit exceed-
action drop
policy-map limit-named
class class-ag1 access-group 101
police aggregate ag1
interface fastethernet 3/5
service-policy input limit-named
|
Note: In CatOS, the rate is measured in Kbps and the burst is specified in Kb. In the Cisco IOS Software, the rate is measured in bps and the burst is specified in bytes. These differences are true for all policer types.
CatOS |
Cisco IOS Software |
No Catalyst OS equivalent
|
access-list 101 permit ip any any
policy-map limit-interface
class class-ag1 access-group 101
police 10000000 4625 conform-action
transmit exceed-action drop
interface fastethernet 3/5
service-policy input limit-interface
|
Microflow Policers
CatOS |
Cisco IOS Software |
set qos policer microflow mf1 rate
1000000 burst 32 drop
set qos acl ip mf_acl trust-dscp
microflow mf1 any
commit qos acl mf_acl
set qos acl map mf_acl 3/5
|
mls qos flow-policing
access-list 101 permit ip any any
Policy-map limit-flow
class limit-flow access-group 101
police flow 200 15 confirm-action
transmit exceed-action drop
interface fastethernet 3/5
service-policy input limit-flow
|
User-Based Rate Limiting (UBRL) on the Sup 32 and Sup 720 with Cisco IOS Only
CatOS |
Cisco IOS Software |
Not Supported
|
Access-list 101 permit ip any 192.168.0.0 0.0.255.255
Class-map 1Mbps-rate
Match access-group 101
Policy-map Outbound
Class 1Mbps-rate
Police flow mask src-only 1000000 ...
Int gig 3/1
Service-policy input Outbound
|
Marking with an ACL
CatOS |
Cisco IOS Software |
set qos acl ip CatOS dscp 24 any
commit qos acl CatOS
set qos acl map CatOS 3/1
|
access-list 101 permit ip any any
policy-map IOS
class IOS access-group 101
set ip dscp 24
interface gigabitethernet 3/1
service-policy input IOS
|
AutoQoS
• Global Automatic QoS Command (set qos auto)-deals with all switch-wide QoS-related settings, not specific to an interface.
• Port-Specific Automatic QoS Command (set port qos mod/port autoqos)-configures all inbound QoS parameters for a particular port to reflect desired traffic type.
CatOS |
set qos autoqos
set port qos 3/1 autoqos trust cos
set port qos 3/1 autoqos trust dscp
set port qos 3/1 autoqos voip ciscoipphone
|
Note: For further information on AutoQoS macro command inclusion, see: http://www.cisco.com/en/US/partner/products/hw/switches/ps708/products_configuration_guide_chapter09186a0080121d11.html - 22805
Switch Port Analyzer (SPAN)
CatOS |
Cisco IOS Software |
set span 5/1,5/2 5/3 rx create
|
monitor session 1 source int f5/1-2 rx
monitor session 1 dest int f5/3
|
Remote SPAN (RSPAN)
CatOS |
Cisco IOS Software |
Set vlan 10 rspan
Set rspan source 5 10 both
Set rspan destination 3/1 10
Show rspan
|
IOS(config)#vlan 10
IOS(config-vlan)#remote-span
IOS(config)#monitor session 1 source vlan 5 both
IOS(config)#monitor session 1 destination remote-vlan 10
IOS#sh monitor session 1
|
Encapsulated Remote SPAN (RSPAN)
Figure 6.

CatOS |
Cisco IOS Software |
Not Applicable
|
IOS(config)# monitor session 3 type erspan-source
IOS(config-mon-erspan-src)# source interface gigabitethernet 4/1
IOS(config-mon-erspan-src)# destination
IOS(config-mon-erspan-src-dst)# ip address 10.1.1.1
IOS(config-mon-erspan-src-dst)# origin ip address 10.10.1.1
IOS(config-mon-erspan-src-dst)# erspan-id 101
|
Jumbo Frames
CatOS |
Cisco IOS Software |
Set port jumbo gi1/1-2 enable
Show port jumbo (to show)
|
int range gi1/1-2
mtu 9216
show interface gi1/1 (to show)
|
High Availability
Generic Online Diagnostics
Figure 7. Boot-Up Diagnostics and Runtime Diagnostics

CatOS |
Cisco IOS Software |
set diagnostic bootup level ?
bypass Bypass level
complete Complete level
minimal Minimal level
|
diagnostic bootup level ?
complete Complete level
minimal Minimal level
|
set diagnostic ondemand iterations 2
|
diagnostic ondemand iterations 2
|
set diagnostic ondemand action-on-failure stop
|
diagnostic ondemand action-on-failure stop
|
diagnostic start module 2 test 2
|
diagnostic start module 2 test 12
|
CatOS |
|
Console> (enable) set diagnostic schedule module 2 test 1 weekly MON 03:00
|
|
Cisco IOS Software |
|
Router(config)#diagnostic schedule module 2 test 1 weekly MON 03:00
|
|
Supervisor Redundancy
Route Processor Redundancy (RPR)
Route Processor Redundancy Plus (RPR+)
Nonstop Forwarding with Stateful Switchover (NSF/SSO)
Hot Standby Router Protocol (HSRP)
Virtual Router Redundancy Protocol (VRRP)
Gateway Load Balancing Protocol (GLBP)
APPENDIX A: CISCO IOS SOFTWARE AND CATOS CONFIGURATION SAMPLE COMPARISON
Figure 8. Sample Network Topology for Configuration Example

Step 1. Assign a name to the switch/router, configure prompt, time, and password.
CatOS |
Cisco IOS Software |
enable
set system name cat6k-switch
set enablepass
set ip dns domain example.com
set ip dns server a.b.c.d
|
Enable
configure terminal
hostname cat6k-switch
enable password <>
ip domain-name example.com
ip name-server a.b.c.d
end
|
Step 2. Configure VTP as transparent and check the status.
CatOS |
Cisco IOS Software |
set vtp mode transparent
show vtp domain
|
configure terminal
vtp mode transparent
end
write memory
show vtp status
|
Step 3. Create VLANs and check the status.
CatOS |
Cisco IOS Software |
set vlan 2 name Marketing
set vlan 3 name Finance
show vlan
|
configure terminal
vlan 2
name Marketing
vlan 3
name Finance
end
write memory
show vlan
|
Step 4. Configure the Gigabit Ethernet uplinks as routed interfaces. The Gigabit Ethernet uplinks 1/1 and 1/2 are used to connect to the remainder of the network. Because these ports only require Layer 3 routing functionality, the Cisco IOS Software can use the straightforward routed interface command structure below:
CatOS |
Cisco IOS Software |
Catalyst OS config:
set vlan 89 1/1
set vlan 90 1/2
MSFC config:
int vlan 89
ip address 10.1.1.1 255.255.255.0
no shut
int vlan 90
ip address 10.1.2.1 255.255.255.0
no shut
end
write memory
|
configure terminal
interface gigabitethernet 1/1
ip address 10.1.1.1 255.255.255.0
no shut
interface gigabitethernet1/2
ip address 10.1.2.1 255.255.255.0
no shut
end
write memory
|
Note: VLANs 89 and 90 are randomly chosen for this example
Step 5. Configure ports 2/1-3 to be used as access ports for client connections in VLAN 2, ports 2/4-5 in VLAN 3, and configure all the ports for full-duplex mode and speed 100.
CatOS |
Cisco IOS Software |
set vlan 2 2/1 - 3
set vlan 3 2/4 - 5
set port speed 2/1 - 5 100
set port duplex 2/1 - 5 full
show port
|
Configure terminal
interface range fastethernet 2/1 - 3
switchport
switchport mode access
switchport access vlan 2
speed 100
duplex full
interface range fastethernet 2/4 - 5
switchport
switchport mode access
switchport access vlan 3
speed 100
duplex full
end
write memory
show interface status
|
Step 6. Configure trunk switchports: port 2/6 is used to carry all three VLANs to Catalyst B, a Layer 2 Catalyst. The trunk uses IEEE 802.1q encapsulation and defaults to VLAN 1.
CatOS |
Cisco IOS Software |
set trunk 2/6 dot1q
set trunk 2/6 desirable
|
interface fastethernet 2/6
switchport
switchport mode dynamic desirable
switchport trunk encapsulation dot1q
|
Step 7. Optional Configuration: By default, the Catalyst 6500 switch allows all VLANs on the trunk. Configure the list VLAN 50-100 to be pruned from trunk.
CatOS |
Cisco IOS Software |
clear trunk 2/6 50-100
|
switchport trunk allowed vlan remove 50-100
|
Step 8. Configure the Routed SVI: Step 4 configured the Gigabit Ethernet interfaces as routed uplinks. This step shows the configuration for two SVI interfaces which provide routing services for both VLANs (inter-VLAN routing). This configuration uses HSRP on VLAN 2 and 3 and also includes IPX network numbers.
CatOS |
Cisco IOS Software |
Routing is done on MSFC:
interface vlan2
ip address 10.10.2.2 255.255.255.0
standby 1 timers 1 3
standby 1 priority 200 preempt
standby 1 ip 10.10.2.6
ipx network 20
interface vlan3
ip address 10.10.3.2 255.255.255.0
standby 1 timers 1 3
standby 1 priority 200 preempt
standby 1 ip 10.10.3.6
ipx network 30
|
The Logical SVI interfaces are exactly the same as on MSFC. The configuration on the left can be copied.
|
APPENDIX B: CATOS AND CISCO IOS SOFTWARE COMMAND MATRIX
CatOS |
Cisco IOS Software |
reset system |
Reload |
session |
Remote login |
Set system name |
Hostname |
Set test diaglevel |
Diagnostic level |
Set boot config-register |
Config-register |
Set boot system flash |
Boot system flash |
Set module power down/up |
Power enable module |
Set port disable |
Shutdown (interface mode) |
set port duplex |
Duplex |
set port flowcontrol send [desired | off |on] |
flowcontrol send [desired | off | on] |
set port flowcontrol receive [desired | off |on] |
flowcontrol receive [desired | off | on] |
set port negotiation <mod/port> enable/disable |
speed nonegotiate |
set port speed |
speed |
set cam |
mac-address-table |
Set port jumbo |
Mtu 9216 |
set port channel |
channel-group <group> mode (interface mode) |
set trunk (default mode is auto) |
switchport mode trunk (vlan database command) |
set udld |
Udld |
set vlan <vlan id> port |
1) switchport 2) switchport mode access 3) switchport access vlan <> |
set vtp |
vtp |
Set spantree backbonefast |
Spanning-tree backbonefast |
Set spantree enable/disable |
Spanning-tree vlan |
Set spantree portfast |
Spanning-tree portfast |
set qos enable |
mls qos |
Set port dot1qtunnel |
Switchport mode dot1qtunnel |
show cam dynamic |
show mac-address-table dynamic |
show channel info or show port channel |
show etherchannel summary |
show mac |
show interface counters |
show port <slot/port> |
show interface <type slot/port> |
show mls cef |
show mls cef |
show port |
show interface status |
Show port capabilities |
Show interface capabilities |
show span |
show monitor |
show spantree |
show spanning-tree |
show qos |
show mls qos |
show trace |
show debugging |
show trunk or show port trunk |
show interfaces trunk |
show udld |
show udld |
show vlan |
show vlan |
show vtp domain |
show vtp status |
clear cam |
clear mac-address-table |
APPENDIX C: CONVERSION PROCEDURES
NetXG stocks, and specializes in Cisco Systems network equipment. All network equipment we sell is completely Tested, Cleaned, and Guaranteed. We make sure everything we sell works and you are 100% satisfied with the Network Equipment you purchase from us. NetXG buys and sells all Cisco routers, switches, firewall, and modules.
If you have any questions about the Cisco 6500 Series call us. Phone 805-681-5071. We have a knowledgeable support staff and complete documentation on the Cisco 6500 Series.
NetXG, Inc. Copyright © 2010 All rights reserved.