![]() |
Interface and Hardware Component Configuration Guide, Cisco IOS Release 12.4T
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EtherSwitch Network Module
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
EtherSwitch Network ModuleLast Updated: December 12, 2011
This document explains how to configure the EtherSwitch Network Module. This network module is supported on Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers. The EtherSwitch Network Module is a modular, high-density voice network module that provides Layer 2 switching across Ethernet ports. The EtherSwitch Network Module has sixteen 10/100 switched Ethernet ports with integrated inline power and QoS features that are designed to extend Cisco AVVID-based voice-over-IP (VoIP) networks to small branch offices.
Finding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for the EtherSwitch Network ModuleThe following are the prerequisites for the EtherSwitch Network Module:
In addition, complete the following tasks before configuring this feature:
For more information on IP routing, see the the "Configuring IP Routing Protocol-Independent Features" module in the Cisco IOS IP Routing: Protocol-Independent Configuration Guide.
For more information on setting up call agents, refer to the documentation that accompanies the call agents used in your network configuration. Restrictions for the EtherSwitch Network ModuleThe following functions are not supported by the EtherSwitch Network Module:
Information About the EtherSwitch Network Module
EtherSwitch Network Module BenefitsThe EtherSwitch Network Module provides the following benefits:
The Interface Range Specification feature makes configuration easier for these reasons:
Ethernet Switching in Cisco AVVID ArchitectureThe EtherSwitch Network Module is designed to work as part of the Cisco Architecture for Voice, Video, and Integrated Data (AVVID) solution. The EtherSwitch Network Module has sixteen 10/100 switched Ethernet ports with integrated inline power and QoS features that allow for extending Cisco AVVID-based voice-over-IP (VoIP) networks to small branch offices. The 16-port EtherSwitch Network Module has sixteen 10/100BASE-TX ports and an optional 10/100/1000BASE-T Gigabit Ethernet port. The 36-port EtherSwitch Network Module has thirty six 10/100BASE-TX ports and two optional 10/100/1000BASE-T Gigabit Ethernet ports. The gigabit Ethernet can be used as an uplink port to a server or as a stacking link to another 16- or 36-port EtherSwitch Network Module in the same system. The 36-port EtherSwitch Network Module requires a double-wide slot. An optional power module can also be added to provide inline power for IP telephones. As an access gateway switch, the EtherSwitch Network Module can be deployed as a component of a centralized call-processing network using a centrally deployed Cisco CallManager (CCM). Instead of deploying and managing key systems or PBXs in small branch offices, applications are centrally located at the corporate headquarters or data center and are accessed via the IP WAN. By default, the EtherSwitch Network Module provides the following settings with respect to Cisco AVVID:
VLANsVirtual local-area networks (VLANs) are a group of end stations with a common set of requirements, independent of physical location. VLANs have the same attributes as a physical LAN but allow you to group end stations even if they are not located physically on the same LAN segment. VLAN Trunk ProtocolVLAN Trunk Protocol (VTP) is a Layer 2 messaging protocol that maintains VLAN configuration consistency by managing the addition, deletion, and renaming of VLANs within a VTP domain. A VTP domain (also called a VLAN management domain) is made up of one or more switches that share the same VTP domain name and that are interconnected with trunks. VTP minimizes misconfigurations and configuration inconsistencies that can result in a number of problems, such as duplicate VLAN names, incorrect VLAN-type specifications, and security violations. Before you create VLANs, you must decide whether to use VTP in your network. With VTP, you can make configuration changes centrally on one or more switches and have those changes automatically communicated to all the other switches in the network. VTP DomainA VTP domain (also called a VLAN management domain) is made up of one or more interconnected switches that share the same VTP domain name. A switch can be configured to be in only one VTP domain. You make global VLAN configuration changes for the domain using either the command-line interface (CLI) or Simple Network Management Protocol (SNMP). By default, the switch is in VTP server mode and is in an un-named domain state until the switch receives an advertisement for a domain over a trunk link or until you configure a management domain. You cannot create or modify VLANs on a VTP server until the management domain name is specified or learned. If the switch receives a VTP advertisement over a trunk link, it inherits the management domain name and the VTP configuration revision number. The switch ignores advertisements with a different management domain name or an earlier configuration revision number. If you configure the switch as VTP transparent, you can create and modify VLANs, but the changes affect only the individual switch. When you make a change to the VLAN configuration on a VTP server, the change is propagated to all switches in the VTP domain. VTP advertisements are transmitted out all trunk connections using IEEE 802.1Q encapsulation. VTP maps VLANs dynamically across multiple LAN types with unique names and internal index associations. Mapping eliminates excessive device administration required from network administrators. VTP ModesYou can configure a switch to operate in any one of these VTP modes:
VTP AdvertisementsEach switch in the VTP domain sends periodic advertisements out each trunk interface to a reserved multicast address. VTP advertisements are received by neighboring switches, which update their VTP and VLAN configurations as necessary. The following global configuration information is distributed in VTP advertisements:
VTP Version 2If you use VTP in your network, you must decide whether to use VTP version 1 or version 2. VTP version 2 supports the following features not supported in version 1: Unrecognized Type-Length-Value (TLV) Support--A VTP server or client propagates configuration changes to its other trunks, even for TLVs it is not able to parse. The unrecognized TLV is saved in NVRAM. Version-Dependent Transparent Mode--In VTP version 1, a VTP transparent switch inspects VTP messages for the domain name and version, and forwards a message only if the version and domain name match. Since only one domain is supported in the NM-16ESW software, VTP version 2 forwards VTP messages in transparent mode, without checking the version. Consistency Checks--In VTP version 2, VLAN consistency checks (such as VLAN names and values) are performed only when you enter new information through the CLI or SNMP. Consistency checks are not performed when new information is obtained from a VTP message, or when information is read from NVRAM. If the digest on a received VTP message is correct, its information is accepted without consistency checks. VTP Configuration Guidelines and RestrictionsFollow these guidelines and restrictions when implementing VTP in your network:
Inline Power for Cisco IP PhonesThe EtherSwitch Network Module can supply inline power to a Cisco 7960 IP phone, if required. The Cisco 7960 IP phone can also be connected to an AC power source and supply its own power to the voice circuit. When the Cisco 7960 IP phone is supplying its own power, a EtherSwitch Network Module can forward IP voice traffic to and from the phone. A detection mechanism on the EtherSwitch Network Module determines whether it is connected to a Cisco 7960 IP phone. If the switch senses that there is no power on the circuit, the switch supplies the power. If there is power on the circuit, the switch does not supply it. You can configure the switch to never supply power to the Cisco 7960 IP phone and to disable the detection mechanism. Using the Spanning Tree Protocol with the EtherSwitch Network ModuleSpanning Tree Protocol (STP) is a Layer 2 link management protocol that provides path redundancy while preventing undesirable loops in the network. For a Layer 2 Ethernet network to function properly, only one active path can exist between any two stations. Spanning tree operation is transparent to end stations, which cannot detect whether they are connected to a single LAN segment or to a switched LAN of multiple segments. The EtherSwitch Network Module uses STP (the IEEE 802.1D bridge protocol) on all VLANs. By default, a single instance of STP runs on each configured VLAN (provided that you do not manually disable STP). You can enable and disable STP on a per-VLAN basis. When you create fault-tolerant internetworks, you must have a loop-free path between all nodes in a network. The spanning tree algorithm calculates the best loop-free path throughout a switched Layer 2 network. Switches send and receive spanning tree frames at regular intervals. The switches do not forward these frames but use the frames to construct a loop-free path. Multiple active paths between end stations cause loops in the network. If a loop exists in the network, end stations might receive duplicate messages and switches might learn endstation MAC addresses on multiple Layer 2 interfaces. These conditions result in an unstable network. Spanning Tree Protocol (STP) defines a tree with a root switch and a loop-free path from the root to all switches in the Layer 2 network. STP forces redundant data paths into a standby (blocked) state. If a network segment in the spanning tree fails and a redundant path exists, the spanning tree algorithm recalculates the spanning tree topology and activates the standby path. When two ports on a switch are part of a loop, the spanning tree port priority and port path cost setting determine which port is put in the forwarding state and which port is put in the blocking state. The spanning tree port priority value represents the location of an interface in the network topology and how well located it is to pass traffic. The spanning tree port path cost value represents media speed. Bridge Protocol Data UnitsThe stable active spanning tree topology of a switched network is determined by the following:
The Bridge Protocol Data Units (BPDU) are transmitted in one direction from the root switch, and each switch sends configuration BPDUs to communicate and compute the spanning tree topology. Each configuration BPDU contains the following minimal information:
When a switch transmits a BPDU frame, all switches connected to the LAN on which the frame is transmitted receive the BPDU. When a switch receives a BPDU, it does not forward the frame but instead uses the information in the frame to calculate a BPDU, and, if the topology changes, initiate a BPDU transmission. A BPDU exchange results in the following:
For each VLAN, the switch with the highest bridge priority (the lowest numerical priority value) is elected as the root switch. If all switches are configured with the default priority (32768), the switch with the lowest MAC address in the VLAN becomes the root switch. The spanning tree root switch is the logical center of the spanning tree topology in a switched network. All paths that are not needed to reach the root switch from anywhere in the switched network are placed in spanning tree blocking mode. BPDUs contain information about the transmitting bridge and its ports, including bridge and MAC addresses, bridge priority, port priority, and path cost. Spanning tree uses this information to elect the root bridge and root port for the switched network, as well as the root port and designated port for each switched segment. STP TimersThe table below describes the STP timers that affect the entire spanning tree performance.
Spanning Tree Port StatesPropagation delays can occur when protocol information passes through a switched LAN. As a result, topology changes can take place at different times and at different places in a switched network. When a Layer 2 interface changes directly from nonparticipation in the spanning tree topology to the forwarding state, it can create temporary data loops. Ports must wait for new topology information to propagate through the switched LAN before starting to forward frames. They must allow the frame lifetime to expire for frames that have been forwarded using the old topology. Each Layer 2 interface on a switch using spanning tree exists in one of the following five states:
A Layer 2 interface moves through these five states as follows:
The figure below illustrates how a port moves through the five stages. Boot-up InitializationWhen you enable spanning tree, every port in the switch, VLAN, or network goes through the blocking state and the transitory states of listening and learning at power up. If properly configured, each Layer 2 interface stabilizes to the forwarding or blocking state. When the spanning tree algorithm places a Layer 2 interface in the forwarding state, the following process occurs:
Blocking StateA Layer 2 interface in the blocking state does not participate in frame forwarding, as shown in the figure below. After initialization, a BPDU is sent out to each Layer 2 interface in the switch. A switch initially assumes it is the root until it exchanges BPDUs with other switches. This exchange establishes which switch in the network is the root or root bridge. If only one switch is in the network, no exchange occurs, the forward delay timer expires, and the ports move to the listening state. A port always enters the blocking state following switch initialization. A Layer 2 interface in the blocking state performs as follows:
Listening StateThe listening state is the first transitional state a Layer 2 interface enters after the blocking state. The Layer 2 interface enters this state when STP determines that the Layer 2 interface should participate in frame forwarding. The figure below shows a Layer 2 interface in the listening state. A Layer 2 interface in the listening state performs as follows:
Learning StateA Layer 2 interface in the learning state prepares to participate in frame forwarding. The Layer 2 interface enters the learning state from the listening state. The figure below shows a Layer 2 interface in the learning state. A Layer 2 interface in the learning state performs as follows:
Forwarding StateA Layer 2 interface in the forwarding state forwards frames, as shown in the figure below. The Layer 2 interface enters the forwarding state from the learning state. A Layer 2 interface in the forwarding state performs as follows:
Disabled StateA Layer 2 interface in the disabled state does not participate in frame forwarding or spanning tree, as shown in the figure below. A Layer 2 interface in the disabled state is virtually nonoperational. A disabled Layer 2 interface performs as follows:
MAC Address AllocationThe MAC address allocation manager has a pool of MAC addresses that are used as the bridge IDs for the VLAN spanning trees. In the table below, you can view the number of VLANs allowed for each platform.
MAC addresses are allocated sequentially, with the first MAC address in the range assigned to VLAN 1, the second MAC address in the range assigned to VLAN 2, and so forth. For example, if the MAC address range is 00-e0-1e-9b-2e-00 to 00-e0-1e-9b-31-ff, the VLAN 1 bridge ID is 00-e0-1e-9b-2e-00, the VLAN 2 bridge ID is 00-e0-1e-9b-2e-01, the VLAN 3 bridge ID is 00-e0-1e-9b-2e-02, and so forth. Default Spanning Tree ConfigurationThe table below shows the default Spanning Tree configuration values.
Spanning Tree Port PriorityIn the event of a loop, spanning tree considers port priority when selecting an interface to put into the forwarding state. You can assign higher priority values to interfaces that you want spanning tree to select first, and lower priority values to interfaces that you want spanning tree to select last. If all interfaces have the same priority value, spanning tree puts the interface with the lowest interface number in the forwarding state and blocks other interfaces. The possible priority range is 0 to 255, configurable in increments of 4 (the default is 128). Cisco IOS software uses the port priority value when the interface is configured as an access port and uses VLAN port priority values when the interface is configured as a trunk port. Spanning Tree Port CostThe spanning tree port path cost default value is derived from the media speed of an interface. In the event of a loop, spanning tree considers port cost when selecting an interface to put into the forwarding state. You can assign lower cost values to interfaces that you want spanning tree to select first and higher cost values to interfaces that you want spanning tree to select last. If all interfaces have the same cost value, spanning tree puts the interface with the lowest interface number in the forwarding state and blocks other interfaces. The possible cost range is 0 to 65535 (the default is media-specific). Spanning tree uses the port cost value when the interface is configured as an access port and uses VLAN port cost values when the interface is configured as a trunk port. BackboneFastBackboneFast is initiated when a root port or blocked port on a switch receives inferior BPDUs from its designated bridge. An inferior BPDU identifies one switch as both the root bridge and the designated bridge. When a switch receives an inferior BPDU, it means that a link to which the switch is not directly connected (an >indirect link) has failed (that is, the designated bridge has lost its connection to the root switch). Under STP rules, the switch ignores inferior BPDUs for the configured maximum aging time specified by the spanning-tree max-age global configuration command. The switch tries to determine if it has an alternate path to the root switch. If the inferior BPDU arrives on a blocked port, the root port and other blocked ports on the switch become alternate paths to the root switch. (Self-looped ports are not considered alternate paths to the root switch.) If the inferior BPDU arrives on the root port, all blocked ports become alternate paths to the root switch. If the inferior BPDU arrives on the root port and there are no blocked ports, the switch assumes that it has lost connectivity to the root switch, causes the maximum aging time on the root to expire, and becomes the root switch according to normal STP rules. If the switch has alternate paths to the root switch, it uses these alternate paths to transmit a new kind of Protocol Data Unit (PDU) called the Root Link Query PDU. The switch sends the Root Link Query PDU on all alternate paths to the root switch. If the switch determines that it still has an alternate path to the root, it causes the maximum aging time on the ports on which it received the inferior BPDU to expire. If all the alternate paths to the root switch indicate that the switch has lost connectivity to the root switch, the switch causes the maximum aging times on the ports on which it received an inferior BPDU to expire. If one or more alternate paths can still connect to the root switch, the switch makes all ports on which it received an inferior BPDU its designated ports and moves them out of the blocking state (if they were in the blocking state), through the listening and learning states, and into the forwarding state. The figure below shows an example topology with no link failures. Switch A, the root switch, connects directly to Switch B over link L1 and to Switch C over link L2. The interface on Switch C that connects directly to Switch B is in the blocking state. If link L1 fails, Switch C cannot detect this failure because it is not connected directly to link L1. However, because Switch B is directly connected to the root switch over L1, it detects the failure, elects itself the root, and begins sending BPDUs to Switch C, identifying itself as the root. When Switch C receives the inferior BPDUs from Switch B, Switch C assumes that an indirect failure has occurred. At that point, BackboneFast allows the blocked port on Switch C to move immediately to the listening state without waiting for the maximum aging time for the port to expire. BackboneFast then changes the interface on Switch C to the forwarding state, providing a path from Switch B to Switch A. This switchover takes approximately 30 seconds, twice the Forward Delay time if the default Forward Delay time of 15 seconds is set. The figure below shows how BackboneFast reconfigures the topology to account for the failure of link L1. If a new switch is introduced into a shared-medium topology as shown in the figure below, BackboneFast is not activated because the inferior BPDUs did not come from the recognized designated bridge (Switch B). The new switch begins sending inferior BPDUs that say it is the root switch. However, the other switches ignore these inferior BPDUs, and the new switch learns that Switch B is the designated bridge to Switch A, the root switch. Layer 2 Ethernet SwitchingEtherSwitch Network Modules support simultaneous, parallel connections between Layer 2 Ethernet segments. Switched connections between Ethernet segments last only for the duration of the packet. New connections can be made between different segments for the next packet. The EtherSwitch Network Module solves congestion problems caused by high-bandwidth devices and a large number of users by assigning each device (for example, a server) to its own 10-, 100-, or 1000-Mbps segment. Because each Ethernet interface on the switch represents a separate Ethernet segment, servers in a properly configured switched environment achieve full access to the bandwidth. Because collisions are a major bottleneck in Ethernet networks, an effective solution is full-duplex communication. Normally, Ethernet operates in half-duplex mode, which means that stations can either receive or transmit. In full-duplex mode, two stations can transmit and receive at the same time. When packets can flow in both directions simultaneously, effective Ethernet bandwidth doubles to 20 Mbps for 10-Mbps interfaces and to 200 Mbps for Fast Ethernet interfaces. Switching Frames Between SegmentsEach Ethernet interface on an EtherSwitch Network Module can connect to a single workstation or server, or to a hub through which workstations or servers connect to the network. On a typical Ethernet hub, all ports connect to a common backplane within the hub, and the bandwidth of the network is shared by all devices attached to the hub. If two stations establish a session that uses a significant level of bandwidth, the network performance of all other stations attached to the hub is degraded. To reduce degradation, the switch treats each interface as an individual segment. When stations on different interfaces need to communicate, the switch forwards frames from one interface to the other at wire speed to ensure that each session receives full bandwidth. To switch frames between interfaces efficiently, the switch maintains an address table. When a frame enters the switch, it associates the MAC address of the sending station with the interface on which it was received. Building the Address TableThe EtherSwitch Network Module builds the address table by using the source address of the frames received. When the switch receives a frame for a destination address not listed in its address table, it floods the frame to all interfaces of the same virtual local-area network (VLAN) except the interface that received the frame. When the destination station replies, the switch adds its relevant source address and interface ID to the address table. The switch then forwards subsequent frames to a single interface without flooding to all interfaces. The address table can store at least 8,191 address entries without flooding any entries. The switch uses an aging mechanism, defined by a configurable aging timer; so if an address remains inactive for a specified number of seconds, it is removed from the address table.
VLAN TrunksA trunk is a point-to-point link between one or more Ethernet switch interfaces and another networking device such as a router or a switch. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across an entire network and supports only one encapsulation on all Ethernet interfaces: 802.1Q-802.1Q is an industry-standard trunking encapsulation. You can configure a trunk on a single Ethernet interface or on an EtherChannel bundle. Layer 2 Interface ModesTwo Ethernet interface modes can be configured. Using the switchport command with the mode access keywords puts the interface into nontrunking mode. The interface will stay in access mode regardless of what the connected port mode is. Only access VLAN traffic will travel on the access port and untagged (802.3). Using the switchport command with the mode trunk keywords puts the interface into permanent trunking mode.
When you connect a Cisco switch to a device other than a Cisco device through an 802.1Q trunk, the Cisco switch combines the spanning tree instance of the VLAN trunk with the spanning tree instance of the other 802.1Q switch. However, spanning tree information for each VLAN is maintained by Cisco switches separated by a cloud of 802.1Q switches that are not Cisco switches. The 802.1Q cloud separating the Cisco switches that is not Cisco devised, is treated as a single trunk link between the switches. Make sure that the native VLAN for an 802.1Q trunk is the same on both ends of the trunk link. If the VLAN on one end of the trunk is different from the VLAN on the other end, spanning tree loops might result. Inconsistencies detected by a Cisco switch mark the line as broken and block traffic for the specific VLAN. Disabling spanning tree on the VLAN of an 802.1Q trunk without disabling spanning tree on every VLAN in the network can potentially cause spanning tree loops. Cisco recommends that you leave spanning tree enabled on the VLAN of an 802.1Q trunk or that you disable spanning tree on every VLAN in the network. Make sure that your network is loop-free before disabling spanning tree. Layer 2 Interface Configuration Guidelines and RestrictionsFollow these guidelines and restrictions when configuring Layer 2 interfaces: In a network of Cisco switches connected through 802.1Q trunks, the switches maintain one instance of spanning tree for each VLAN allowed on the trunks. 802.1Q switches that are not Cisco switches, maintain only one instance of spanning tree for all VLANs allowed on the trunks. Cisco Discovery ProtocolCisco Discovery Protocol (CDP) is a protocol that runs over Layer 2 (the data link layer) on all Cisco routers, bridges, access servers, and switches. CDP allows network management applications to discover Cisco devices that are neighbors of already known devices, in particular, neighbors running lower-layer, transparent protocols. With CDP, network management applications can learn the device type and the SNMP agent address of neighboring devices. This feature enables applications to send SNMP queries to neighboring devices. CDP runs on all LAN and WAN media that support Subnetwork Access Protocol (SNAP). Each CDP-configured device sends periodic messages to a multicast address. Each device advertises at least one address at which it can receive SNMP messages. The advertisements also contain the time-to-live, or hold-time information, which indicates the length of time a receiving device should hold CDP information before discarding it. Port SecurityYou can use port security to block input to an Ethernet, Fast Ethernet, or Gigabit Ethernet port when the MAC address of the station attempting to access the port is different from any of the MAC addresses specified for that port. Alternatively, you can use port security to filter traffic destined to or received from a specific host based on the host MAC address. 802.1x AuthenticationThis section describes how to configure IEEE 802.1x port-based authentication to prevent unauthorized devices (clients) from gaining access to the network. As LANs extend to hotels, airports, and corporate lobbies, insecure environments could be created. Understanding 802.1x Port-Based AuthenticationThe IEEE 802.1x standard defines a client/server-based access control and authentication protocol that restricts unauthorized devices from connecting to a LAN through publicly accessible ports. The authentication server authenticates each client connected to a switch port before making available any services offered by the switch or the LAN. Until the client is authenticated, 802.1x access control allows only Extensible Authentication Protocol over LAN (EAPOL) traffic through the port to which the client is connected. After authentication is successful, normal traffic can pass through the port. Device RolesWith 802.1x port-based authentication, the devices in the network have specific roles as shown in the figure below.
When the switch receives EAPOL frames and relays them to the authentication server, the Ethernet header is stripped and the remaining EAP frame is reencapsulated in the RADIUS format. The EAP frames are not modified or examined during encapsulation, and the authentication server must support EAP within the native frame format. When the switch receives frames from the authentication server, the server's frame header is removed, leaving the EAP frame, which is then encapsulated for Ethernet and sent to the client. The devices that can act as intermediaries include the Catalyst 3550 multilayer switch, Catalyst 2950 switch, or a wireless access point. These devices must be running software that supports the RADIUS client and 802.1x. Authentication Initiation and Message ExchangeThe switch or the client can initiate authentication. If you enable authentication on a port by using the dot1x port-control auto interface configuration command, the switch must initiate authentication when it determines that the port link state changes from down to up. It then sends an EAP-request/identity frame to the client to request its identity (typically, the switch sends an initial identity/request frame followed by one or more requests for authentication information). Upon receipt of the frame, the client responds with an EAP-response/identity frame. However, if during bootup, the client does not receive an EAP-request/identity frame from the switch, the client can initiate authentication by sending an EAPOL-start frame, which prompts the switch to request the client's identity. When the client supplies its identity, the switch begins its role as the intermediary, passing EAP frames between the client and the authentication server until authentication succeeds or fails. If the authentication succeeds, the switch port becomes authorized. The specific exchange of EAP frames depends on the authentication method being used. The figure below shows a message exchange initiated by the client using the One-Time-Password (OTP) authentication method with a RADIUS server. Ports in Authorized and Unauthorized StatesThe switch port state determines whether or not the client is granted access to the network. The port starts in the unauthorized state. While in this state, the port disallows all ingress and egress traffic except for 802.1x packets. When a client is successfully authenticated, the port changes to the authorized state, allowing all traffic for the client to flow normally. If a client that does not support 802.1x is connected to an unauthorized 802.1x port, the switch requests the client's identity. In this situation, the client does not respond to the request, the port remains in the unauthorized state, and the client is not granted access to the network. In contrast, when an 802.1x-enabled client connects to a port that is not running 802.1x, the client initiates the authentication process by sending the EAPOL-start frame. When no response is received, the client sends the request for a fixed number of times. Because no response is received, the client begins sending frames as if the port is in the authorized state. If the client is successfully authenticated (receives an Accept frame from the authentication server), the port state changes to authorized, and all frames from the authenticated client are allowed through the port. If the authentication fails, the port remains in the unauthorized state, but authentication can be retried. If the authentication server cannot be reached, the switch can retransmit the request. If no response is received from the server after the specified number of attempts, authentication fails, and network access is not granted. When a client logs off, it sends an EAPOL-logoff message, causing the switch port to change to the unauthorized state. If the link state of a port changes from up to down, or if an EAPOL-logoff frame is received, the port returns to the unauthorized state. Supported TopologiesThe 802.1x port-based authentication is supported in two topologies: In a point-to-point configuration, only one client can be connected to the 802.1x-enabled switch port. The switch detects the client when the port link state changes to the up state. If a client leaves or is replaced with another client, the switch changes the port link state to down, and the port returns to the unauthorized state. The figure below shows 802.1x-port-based authentication in a wireless LAN. The 802.1x port is configured as a multiple-host port that becomes authorized as soon as one client is authenticated. When the port is authorized, all other hosts indirectly attached to the port are granted access to the network. If the port becomes unauthorized (reauthentication fails or an EAPOL-logoff message is received), the switch denies access to the network to all of the attached clients. In this topology, the wireless access point is responsible for authenticating the clients attached to it, and the wireless access point acts as a client to the switch. Storm ControlA traffic storm occurs when packets flood the LAN, creating excessive traffic and degrading network performance. Errors in the protocol-stack implementation or in the network configuration can cause a storm. Storm control can be implemented globally or on a per-port basis. Global storm control and per-port storm control cannot be enabled at the same time. Global Storm ControlGlobal storm control prevents switchports on a LAN from being disrupted by a broadcast, multicast, or unicast storm on one of the interfaces. Global storm control monitors incoming traffic statistics over a time period and compares the measurement with a predefined suppression level threshold. The threshold represents the percentage of the total available bandwidth of the port. If the threshold of a traffic type is reached, further traffic of that type is suppressed until the incoming traffic falls below the threshold level. Global storm control is disabled by default. The switch supports global storm control for broadcast, multicast, and unicast traffic. This example of broadcast suppression can also be applied to multicast and unicast traffic. The graph in the figure below shows broadcast traffic patterns on an interface over a given period of time. In this example, the broadcast traffic exceeded the configured threshold between time intervals T1 and T2 and between T4 and T5. When the amount of specified traffic exceeds the threshold, all traffic of that kind is dropped. Therefore, broadcast traffic is blocked during those intervals. At the next time interval, if broadcast traffic does not exceed the threshold, it is again forwarded. When global storm control is enabled, the switch monitors packets passing from an interface to the switching bus and determines if the packet is unicast, multicast, or broadcast. The switch monitors the number of broadcast, multicast, or unicast packets received within the 1-second time interval, and when a threshold for one type of traffic is reached, that type of traffic is dropped. This threshold is specified as a percentage of total available bandwidth that can be used by broadcast (multicast or unicast) traffic. The combination of broadcast suppression threshold numbers and the 1-second time interval control the way the suppression algorithm works. A higher threshold allows more packets to pass through. A threshold value of 100 percent means that no limit is placed on the traffic.
The switch continues to monitor traffic on the port, and when the utilization level is below the threshold level, the type of traffic that was dropped is forwarded again. Per-Port Storm ControlA packet storm occurs when a large number of broadcast, unicast, or multicast packets are received on a port. Forwarding these packets can cause the network to slow down or to time out. By default, per-port storm control is disabled. Per-port storm control uses rising and falling thresholds to block and then restore the forwarding of broadcast, unicast, or multicast packets. You can also set the switch to shut down the port when the rising threshold is reached. Per-port storm control uses a bandwidth-based method to measure traffic activity. The thresholds are expressed as a percentage of the total available bandwidth that can be used by the broadcast, multicast, or unicast traffic. The rising threshold is the percentage of total available bandwidth associated with multicast, broadcast, or unicast traffic before forwarding is blocked. The falling threshold is the percentage of total available bandwidth below which the switch resumes normal forwarding. In general, the higher the level, the less effective the protection against broadcast storms. EtherChannelEtherChannel bundles up to eight individual Ethernet links into a single logical link that provides bandwidth of up to 1600 Mbps (Fast EtherChannel full duplex) between the network module and another switch or host. An EtherSwitch Network Module system supports a maximum of six EtherChannels. All interfaces in each EtherChannel must have the same speed duplex and mode. Load BalancingEtherChannel balances traffic load across the links in a channel by reducing part of the binary pattern formed from the addresses in the frame to a numerical value that selects one of the links in the channel. EtherChannel load balancing can use MAC addresses or IP addresses; either source or destination or both source and destination. The selected mode applies to all EtherChannels configured on the switch. Use the option that provides the greatest variety in your configuration. For example, if the traffic on a channel is going only to a single MAC address, using the destination MAC address always chooses the same link in the channel; using source addresses or IP addresses may result in better load balancing. EtherChannel Configuration Guidelines and RestrictionsIf improperly configured, some EtherChannel interfaces are disabled automatically to avoid network loops and other problems. Follow these guidelines and restrictions to avoid configuration problems:
For Layer 2 EtherChannels:
An EtherChannel supports the same allowed range of VLANs on all interfaces in a trunking Layer 2 EtherChannel. If the allowed range of VLANs is not the same, the interfaces do not form an EtherChannel. Interfaces with different Spanning Tree Protocol (STP) port path costs can form an EtherChannel as long they are otherwise compatibly configured. Setting different STP port path costs does not, by itself, make interfaces incompatible for the formation of an EtherChannel. After you configure an EtherChannel, configuration that you apply to the port-channel interface affects the EtherChannel. Flow Control on Gigabit Ethernet PortsFlow control is a feature that Gigabit Ethernet ports use to inhibit the transmission of incoming packets. If a buffer on a Gigabit Ethernet port runs out of space, the port transmits a special packet that requests remote ports to delay sending packets for a period of time. This special packet is called a pause frame . The send and receive keywords of the set port flowcontrol command are used to specify the behavior of the pause frames. Intrachassis StackingMultiple switch modules may be installed simultaneously by connecting the Gigabit Ethernet (GE) ports of the EtherSwitch Network Module. This connection sustains a line-rate traffic similar to the switch fabric found in Cisco Catalyst switches and forms a single VLAN consisting of all ports in multiple EtherSwitch Network Modules. The stacking port must be configured for multiple switch modules to operate correctly in the same chassis.
Switched Port AnalyzerSwitched Port Analyzer SessionA Switched Port Analyzer (SPAN) session is an association of a destination interface with a set of source interfaces. You configure SPAN sessions using parameters that specify the type of network traffic to monitor. SPAN sessions allow you to monitor traffic on one or more interfaces and to send either ingress traffic, egress traffic, or both to one destination interface. You can configure one SPAN session with separate or overlapping sets of SPAN source interfaces or VLANs. Only switched interfaces can be configured as SPAN sources or destinations on the same network module. SPAN sessions do not interfere with the normal operation of the switch. You can enable or disable SPAN sessions with command-line interface (CLI) or SNMP commands. When enabled, a SPAN session might become active or inactive based on various events or actions, and this would be indicated by a syslog message. The show monitor sessioncommand displays the operational status of a SPAN session. A SPAN session remains inactive after system power-up until the destination interface is operational. Destination InterfaceA destination interface (also called a monitor interface) is a switched interface to which SPAN sends packets for analysis. You can have one SPAN destination interface. Once an interface becomes an active destination interface, incoming traffic is disabled. You cannot configure a SPAN destination interface to receive ingress traffic. The interface does not forward any traffic except that required for the SPAN session. An interface configured as a destination interface cannot be configured as a source interface. EtherChannel interfaces cannot be SPAN destination interfaces. Specifying a trunk interface as a SPAN destination interface stops trunking on the interface. Source InterfaceA source interface is an interface monitored for network traffic analysis. One or more source interfaces can be monitored in a single SPAN session with user-specified traffic types (ingress, egress, or both) applicable for all the source interfaces. You can configure source interfaces in any VLAN. You can configure EtherChannel as source interfaces, which means that all interfaces in the specified VLANs are source interfaces for the SPAN session. Trunk interfaces can be configured as source interfaces and mixed with nontrunk source interfaces; however, the destination interface never encapsulates. Traffic TypesIngress SPAN (Rx) copies network traffic received by the source interfaces for analysis at the destination interface. Egress SPAN (Tx) copies network traffic transmitted from the source interfaces. Specifying the configuration option both copies network traffic received and transmitted by the source interfaces to the destination interface. SPAN TrafficNetwork traffic, including multicast, can be monitored using SPAN. Multicast packet monitoring is enabled by default. In some SPAN configurations, multiple copies of the same source packet are sent to the SPAN destination interface. For example, a bidirectional (both ingress and egress) SPAN session is configured for sources a1 and a2 to a destination interface d1. If a packet enters the switch through a1 and gets switched to a2, both incoming and outgoing packets are sent to destination interface d1; both packets would be the same (unless a Layer-3 rewrite had occurred, in which case the packets would be different).
SPAN Configuration Guidelines and RestrictionsFollow these guidelines and restrictions when configuring SPAN:
Switched Virtual InterfaceA switch virtual interface (SVI) represents a VLAN of switch ports as one interface to the routing or bridging function in the system. Only one SVI can be associated with a VLAN, but it is necessary to configure an SVI for a VLAN only when you wish to route between VLANs, fallback-bridge nonroutable protocols between VLANs, or to provide IP host connectivity to the switch. By default, an SVI is created for the default VLAN (VLAN 1) to permit remote switch administration. Additional SVIs must be explicitly configured. You can configure routing across SVIs. SVIs are created the first time that you enter the vlan interface configuration command for a VLAN interface. The VLAN corresponds to the VLAN tag associated with data frames on an ISL or 802.1Q encapsulated trunk or the VLAN ID configured for an access port. Configure a VLAN interface for each VLAN for which you want to route traffic, and assign it an IP address. SVIs support routing protocol and bridging configurations. For more information about configuring IP routing across SVIs, see the Enabling and Verifying IP Multicast Layer 3 Switching. Routed PortsA routed port is a physical port that acts like a port on a router; it does not have to be connected to a router. A routed port is not associated with a particular VLAN, as is an access port. A routed port behaves like a regular router interface, except that it does not support subinterfaces. Routed ports can be configured with a Layer 3 routing protocol. Configure routed ports by putting the interface into Layer 3 mode with the no switchport interface configuration command. Then assign an IP address to the port, enable routing, and assign routing protocol characteristics by using the ip routing and router protocol global configuration commands. The number of routed ports and SVIs that you can configure is not limited by software; however, the interrelationship between this number and the number of other features being configured might have an impact on CPU utilization because of hardware limitations. Routed ports support only Cisco Express Forwarding (CEF) switching (IP fast switching is not supported). IP Multicast Layer 3 SwitchingThe maximum number of configured VLANs must be less than or equal to 242. The maximum number of multicast groups is related to the maximum number of VLANs. The number of VLANs is determined by multiplying the number of VLANs by the number of multicast groups. For example, the maximum number for 10 VLANs and 20 groups would be 200, under the 242 limit. This feature also provides support for Protocol Independent Multicast (PIM) sparse mode/dense mode/sparse-dense mode. IGMP SnoopingInternet Group Management Protocol (IGMP) snooping constrains the flooding of multicast traffic by dynamically configuring the interfaces so that multicast traffic is forwarded only to those interfaces associated with IP multicast devices. The LAN switch snoops on the IGMP traffic between the host and the router and keeps track of multicast groups and member ports. When the switch receives an IGMP join report from a host for a particular multicast group, the switch adds the host port number to the associated multicast forwarding table entry. When it receives an IGMP Leave Group message from a host, it removes the host port from the table entry. After it relays the IGMP queries from the multicast router, it deletes entries periodically if it does not receive any IGMP membership reports from the multicast clients. When IGMP snooping is enabled, the multicast router sends out periodic IGMP general queries to all VLANs. The switch responds to the router queries with only one join request per MAC multicast group, and the switch creates one entry per VLAN in the Layer 2 forwarding table for each MAC group from which it receives an IGMP join request. All hosts interested in this multicast traffic send join requests and are added to the forwarding table entry. Layer 2 multicast groups learned through IGMP snooping are dynamic. However, you can statically configure MAC multicast groups by using the ip igmp snooping vlan staticcommand. If you specify group membership for a multicast group address statically, your setting supersedes any automatic manipulation by IGMP snooping. Multicast group membership lists can consist of both user-defined and IGMP snooping-learned settings. EtherSwitch Network Modules support a maximum of 255 IP multicast groups and support both IGMP version 1 and IGMP version 2. If a port spanning-tree, a port group, or a VLAN ID change occurs, the IGMP snooping-learned multicast groups from this port on the VLAN are deleted. In the IP multicast-source-only environment, the switch learns the IP multicast group from the IP multicast data stream and only forwards traffic to the multicast router ports. Immediate-Leave ProcessingIGMP snooping Immediate-Leave processing allows the switch to remove an interface that sends a leave message from the forwarding table without first sending out MAC-based general queries to the interface. The VLAN interface is pruned from the multicast tree for the multicast group specified in the original leave message. Immediate-Leave processing ensures optimal bandwidth management for all hosts on a switched network, even when multiple multicast groups are in use simultaneously. Setting the Snooping MethodMulticast-capable router ports are added to the forwarding table for every IP multicast entry. The switch learns of such ports through one of these methods:
You can configure the switch to snoop on PIM/Distance Vector Multicast Routing Protocol (PIM/DVMRP) packets. By default, the switch snoops on PIM/DVMRP packets on all VLANs. To learn of multicast router ports through PIM-DVMRP packets, use the ip igmp snooping vlan vlan-id mrouter learn pim-dvmrp interface configuration command. Joining a Multicast GroupWhen a host connected to the switch wants to join an IP multicast group, it sends an IGMP join message, specifying the IP multicast group it wants to join. When the switch receives this message, it adds the port to the IP multicast group port address entry in the forwarding table. See the figure below. Host 1 wants to join multicast group 224.1.2.3 and send a multicast message of an unsolicited IGMP membership report (IGMP join message) to the group with the equivalent MAC destination address of 0100.5E01.0203. The switch recognizes IGMP packets and forwards them to the CPU. When the CPU receives the IGMP multicast report by Host 1, the CPU uses the information to set up a multicast forwarding table entry as shown in the table below that includes the port numbers of Host 1 and the router.
Note that the switch architecture allows the CPU to distinguish IGMP information packets from other packets for the multicast group. The switch recognizes the IGMP packets through its filter engine. This prevents the CPU from becoming overloaded with multicast frames. The entry in the multicast forwarding table tells the switching engine to send frames addressed to the 0100.5E01.0203 multicast MAC address that are not IGMP packets (!IGMP) to the router and to the host that has joined the group. If another host (for example, Host 4) sends an IGMP join message for the same group (shown in the figure below), the CPU receives that message and adds the port number of Host 4 to the multicast forwarding table as shown in table below. Leaving a Multicast GroupThe router sends periodic IP multicast general queries, and the switch responds to these queries with one join response per MAC multicast group. As long as at least one host in the VLAN needs multicast traffic, the switch responds to the router queries, and the router continues forwarding the multicast traffic to the VLAN. The switch only forwards IP multicast group traffic to those hosts listed in the forwarding table for that IP multicast group. When hosts need to leave a multicast group, they can either ignore the periodic general-query requests sent by the router, or they can send a leave message. When the switch receives a leave message from a host, it sends out a group-specific query to determine if any devices behind that interface are interested in traffic for the specific multicast group. If, after a number of queries, the router processor receives no reports from a VLAN, it removes the group for the VLAN from its multicast forwarding table. Fallback BridgingWith fallback bridging, the switch bridges together two or more VLANs or routed ports, essentially connecting multiple VLANs within one bridge domain. Fallback bridging forwards traffic that the multilayer switch does not route and forwards traffic belonging to a nonroutable protocol such as DECnet. Fallback bridging does not allow the spanning trees from the VLANs being bridged to collapse; each VLAN has its own Spanning Tree Protocol (STP) instance and a separate spanning tree, called the VLAN-bridge spanning tree, which runs on top of the bridge group to prevent loops. A VLAN bridge domain is represented using the switch virtual interface (SVI). A set of SVIs and routed ports (which do not have any VLANs associated with them) can be configured to form a bridge group. Recall that an SVI represents a VLAN of switch ports as one interface to the routing or bridging function in the system. Only one SVI can be associated with a VLAN, and it is only necessary to configure an SVI for a VLAN when you want to route between VLANs, to fallback-bridge nonroutable protocols between VLANs, or to provide IP host connectivity to the switch. A routed port is a physical port that acts like a port on a router, but it is not connected to a router. A routed port is not associated with a particular VLAN, does not support subinterfaces, but behaves like a normal routed interface. A bridge group is an internal organization of network interfaces on a switch. Bridge groups cannot be used to identify traffic switched within the bridge group outside the switch on which they are defined. Bridge groups on the same switch function as distinct bridges; that is, bridged traffic and bridge protocol data units (BPDUs) cannot be exchanged between different bridge groups on a switch. An interface can be a member of only one bridge group. Use a bridge group for each separately bridged (topologically distinct) network connected to the switch. The purpose of placing network interfaces into a bridge group is twofold:
The figure below shows a fallback bridging network example. The multilayer switch has two interfaces configured as SVIs with different assigned IP addresses and attached to two different VLANs. Another interface is configured as a routed port with its own IP address. If all three of these ports are assigned to the same bridge group, non-IP protocol frames can be forwarded among the end stations connected to the switch. Network Security with ACLs at Layer 2Network security on your EtherSwitch Network Module can be implemented using access control lists (ACLs), which are also referred to in commands and tables as access lists. Understanding ACLsPacket filtering can limit network traffic and restrict network use by certain users or devices. ACLs can filter traffic as it passes through a switch and permit or deny packets from crossing specified interfaces. An ACL is a sequential collection of permit and deny conditions that apply to packets. When a packet is received on an interface, the switch compares the fields in the packet against any applied ACLs to verify that the packet has the required permissions to be forwarded, based on the criteria specified in the access lists. The switch tests the packet against the conditions in an access list one by one. The first match determines whether the switch accepts or rejects the packet. Because the switch stops testing conditions after the first match, the order of conditions in the list is critical. If no conditions match, the switch rejects the packet. If there are no restrictions, the switch forwards the packet; otherwise, the switch drops the packet. You configure access lists on a Layer 2 switch to provide basic security for your network. If you do not configure ACLs, all packets passing through the switch could be allowed onto all parts of the network. You can use ACLs to control which hosts can access different parts of a network or to decide which types of traffic are forwarded or blocked at switch interfaces. For example, you can allow e-mail traffic to be forwarded but not Telnet traffic. ACLs can be configured to block inbound traffic. An ACL contains an ordered list of access control entries (ACEs). Each ACE specifies permit or deny and a set of conditions the packet must satisfy in order to match the ACE. The meaning of permit or deny depends on the context in which the ACL is used. The EtherSwitch Network Module supports IP ACLs to filter IP traffic, including TCP or User Datagram Protocol (UDP) traffic (but not both traffic types in the same ACL). ACLsYou can apply ACLs on physical Layer 2 interfaces. ACLs are applied on interfaces only on the inbound direction.
The switch examines access lists associated with features configured on a given interface and a direction. As packets enter the switch on an interface, ACLs associated with all inbound features configured on that interface are examined. ACLs permit or deny packet forwarding based on how the packet matches the entries in the ACL. For example, you can use ACLs to allow one host to access a part of a network, but to prevent another host from accessing the same part. In the figure below, ACLs applied at the switch input allow Host A to access the Human Resources network, but prevent Host B from accessing the same network. Handling Fragmented and Unfragmented TrafficIP packets can be fragmented as they cross the network. When this happens, only the fragment containing the beginning of the packet contains the Layer 4 information, such as TCP or UDP port numbers, ICMP type and code, and so on. All other fragments are missing this information. Some ACEs do not check Layer 4 information and therefore can be applied to all packet fragments. ACEs that do test Layer 4 information cannot be applied in the standard manner to most of the fragments in a fragmented IP packet. When the fragment contains no Layer 4 information and the ACE tests some Layer 4 information, the matching rules are modified:
Consider access list 102, configured with these commands, applied to three fragmented packets: Router(config)# access-list 102 permit tcp any host 10.1.1.1 eq smtp Router(config)# access-list 102 deny tcp any host 10.1.1.2 eq telnet Router(config)# access-list 102 deny tcp any any
Understanding Access Control ParametersBefore configuring ACLs on the EtherSwitch Network Module, you must have a thorough understanding of the Access Control Parameters (ACPs). ACPs are referred to as masks in the switch CLI commands, and output. Each ACE has a mask and a rule. The Classification Field or mask is the field of interest on which you want to perform an action. The specific values associated with a given mask are called rules. Packets can be classified on these Layer 3 and Layer 4 fields.
You can use any combination or all of these fields simultaneously to define a flow.
There are two types of masks:
Router(config-ext-nacl)# permit tcp any any Router(config-ext-nacl)# deny tcp any any Router(config-ext-nacl)# permit udp any any Router(config-ext-nacl)# deny udp any any Router(config-ext-nacl)# permit ip any any Router(config-ext-nacl)# deny ip any any Router(config-ext-nacl)# deny any any Router(config-ext-nacl)# permit any any The EtherSwitch Network Module ACL configuration is consistent with Cisco Catalyst switches. However, there are significant restrictions as well as differences for ACL configurations on the EtherSwitch Network Module. Guidelines for Configuring ACLs on the EtherSwitch Network ModuleThese configuration guidelines apply to ACL filters:
The following example shows the same mask in an ACL: Router(config)# ip access-list extended acl2 Router(config-ext-nacl)# permit tcp 10.1.1.1 0.0.0.0 any eq 80 Router(config-ext-nacl)# permit tcp 20.1.1.1 0.0.0.0 any eq 23 In this example, the first ACE permits all the TCP packets coming from the host 10.1.1.1 with a destination TCP port number of 80. The second ACE permits all TCP packets coming from the host 20.1.1.1 with a destination TCP port number of 23. Both the ACEs use the same mask; therefore, a EtherSwitch Network Module supports this ACL.
The table below lists a summary of the ACL restrictions on EtherSwitch Network Modules. Quality of Service for the EtherSwitch Network ModuleQuality of service (QoS) can be implemented on your EtherSwitch Network Module. With this feature, you can provide preferential treatment to certain types of traffic. Without QoS, the switch offers best-effort service to each packet, regardless of the packet contents or size. It transmits the packets without any assurance of reliability, delay bounds, or throughput. Understanding Quality of ServiceTypically, networks operate on a best-effort delivery basis, which means that all traffic has equal priority and an equal chance of being delivered in a timely manner. When congestion occurs, all traffic has an equal chance of being dropped. With the QoS feature configured on your EtherSwitch Network Module, you can select specific network traffic, prioritize it according to its relative importance, and use congestion-management and congestion-avoidance techniques to provide preferential treatment. Implementing QoS in your network makes network performance more predictable and bandwidth utilization more effective. The QoS implementation for this release is based on the DiffServ architecture, an emerging standard from the Internet Engineering Task Force (IETF). This architecture specifies that each packet is classified upon entry into the network. The classification is carried in the IP packet header, using six bits from the deprecated IP type of service (ToS) field to carry the classification (class ) information. Classification can also be carried in the Layer 2 frame. These special bits in the Layer 2 frame or a Layer 3 packet are described here and shown in the figure below: Layer 2 802.1Q frame headers have a 2-byte Tag Control Information field that carries the CoS value in the three most-significant bits, which are called the User Priority bits. On interfaces configured as Layer 2 802.1Q trunks, all traffic is in 802.1Q frames except for traffic in the native VLAN. Other frame types cannot carry Layer 2 CoS values. Layer 2 CoS values range from 0 for low priority to 7 for high priority. Layer 3 IP packets can carry a Differentiated Services Code Point (DSCP) value. The supported DSCP values are 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56.
All switches and routers across the Internet rely on the class information to provide the same forwarding treatment to packets with the same class information and different treatment to packets with different class information. The class information in the packet can be assigned by end hosts or by switches or routers along the way, based on a configured policy, detailed examination of the packet, or both. Detailed examination of the packet is expected to happen closer to the edge of the network so that the core switches and routers are not overloaded. Switches and routers along the path can use the class information to limit the amount of resources allocated per traffic class. The behavior of an individual device when handling traffic in the DiffServ architecture is called per-hop behavior. If all devices along a path provide a consistent per-hop behavior, you can construct an end-to-end QoS solution. Implementing QoS in your network can be a simple or complex task and depends on the QoS features offered by your internetworking devices, the traffic types and patterns in your network, and the granularity of control you need over incoming and outgoing traffic. The EtherSwitch Network Module can function as a Layer 2 switch connected to a Layer 3 router. When a packet enters the Layer 2 engine directly from a switch port, it is placed into one of four queues in the dynamic, 32-MB shared memory buffer. The queue assignment is based on the dot1p value in the packet. Any voice bearer packets that come in from the Cisco IP phones on the voice VLAN are automatically placed in the highest priority (Queue 3) based on the 802.1p value generated by the IP phone. The queues are then serviced on a weighted round robin (WRR) basis. The control traffic, which uses a CoS or ToS of 3, is placed in Queue 2. The table below summarizes the queues, CoS values, and weights for Layer 2 QoS on the EtherSwitch Network Module.
The weights specify the number of packets that are serviced in the queue before moving on to the next queue. Voice Realtime Transport Protocol (RTP) bearer traffic marked with a CoS or ToS of 5 and Voice Control plane traffic marked with a CoS/ToS of 3 are placed into the highest priority queues. If the queue has no packets to be serviced, it is skipped. Weighted Random Early Detection (WRED) is not supported on the Fast Ethernet ports. You cannot configure port-based QoS on the Layer 2 switch ports. Basic QoS ModelThe figure below shows the basic QoS model. Actions at the ingress interface include classifying traffic, policing, and marking: Actions at the egress interface include queueing and scheduling: ClassificationClassification is the process of distinguishing one kind of traffic from another by examining the fields in the packet. Classification occurs only on a physical interface basis. No support exists for classifying packets at the VLAN or the switched virtual interface level. You specify which fields in the frame or packet that you want to use to classify incoming traffic. Classification Based on QoS ACLsYou can use IP standard or IP extended ACLs to define a group of packets with the same characteristics (class). In the QoS context, the permit and deny actions in the access control entries (ACEs) have different meanings than with security ACLs:
After a traffic class has been defined with the ACL, you can attach a policy to it. A policy might contain multiple classes with actions specified for each one of them. A policy might include commands to rate-limit the class. This policy is then attached to a particular port on which it becomes effective. You implement IP ACLs to classify IP traffic by using the access-list global configuration command. Classification Based on Class Maps and Policy MapsA class map is a mechanism that you use to isolate and name a specific traffic flow (or class) from all other traffic. The class map defines the criteria used to match against a specific traffic flow to further classify it; the criteria can include matching the access group defined by the ACL. If you have more than one type of traffic that you want to classify, you can create another class map and use a different name. After a packet is matched against the class-map criteria, you further classify it through the use of a policy map. A policy map specifies which traffic class to act on. Actions can include setting a specific DSCP value in the traffic class or specifying the traffic bandwidth limitations and the action to take when the traffic is out of profile. Before a policy map can be effective, you must attach it to an interface. The policy map can also contain commands that define the policer, the bandwidth limitations of the traffic, and the action to take if the limits are exceeded. For more information, see the Quality of Service for the EtherSwitch Network Module. A policy map also has these characteristics:
For configuration information, see the Configuring a QoS Policy. Policing and MarkingPolicing involves creating a policer that specifies the bandwidth limits for the traffic. Packets that exceed the limits are out of profile or nonconforming . Each policer specifies the action to take for packets that are in or out of profile. These actions, carried out by the marker, include dropping the packet, or marking down the packet with a new value that is user-defined. You can create this type of policer: Individual--QoS applies the bandwidth limits specified in the policer separately to each matched traffic class. You configure this type of policer within a policy map by using the policy-map configuration command. For non-IP traffic, you have these marking options:
The trust DSCP configuration is meaningless for non-IP traffic. If you configure a port with this option and non-IP traffic is received, the switch assigns the default port CoS value and classifies traffic based on the CoS value. For IP traffic, you have these classification options:
When configuring policing and policers, keep these items in mind:
Mapping TablesThe EtherSwitch Network Modules support these types of marking to apply to the switch:
Before the traffic reaches the scheduling stage, QoS uses the configurable DSCP-to-CoS map to derive a CoS value from the internal DSCP value. The CoS-to-DSCP and DSCP-to-CoS map have default values that might or might not be appropriate for your network. Separate Voice and Data VLANsFor ease of network administration and increased scalability, network managers can configure the EtherSwitch Network Module to support Cisco IP phones such that the voice and data traffic reside on separate VLANs. We recommend configuring separate VLANs when you are able to segment the existing IP address space of your branch office. User priority bits in the 802.1p portion of the 802.1Q standard header are used to provide prioritization in Ethernet switches. This is a vital component in designing Cisco AVVID networks. The EtherSwitch Network Module provides the performance and intelligent services of Cisco IOS software for branch office applications. The EtherSwitch Network Module can identify user applications--such as voice or multicast video--and classify traffic with the appropriate priority levels. QoS policies are enforced using Layer 2 and 3 information such as 802.1p, IP precedence, and DSCP.
Voice Traffic and Voice VLAN ID (VVID) Using the EtherSwitch Network ModuleThe EtherSwitch Network Module can automatically configure voice VLAN. This capability overcomes the management complexity of overlaying a voice topology onto a data network while maintaining the quality of voice traffic. With the automatically configured voice VLAN feature, network administrators can segment phones into separate logical networks, even though the data and voice infrastructure is physically the same. The voice VLAN feature places the phones into their own VLANs without the need for end-user intervention. A user can plug the phone into the switch, and the switch provides the phone with the necessary VLAN information. IP Information Assigned to the SwitchYou can use a BOOTP server to automatically assign IP information to the switch; however, the BOOTP server must be set up in advance with a database of physical MAC addresses and corresponding IP addresses, subnet masks, and default gateway addresses. In addition, the switch must be able to access the BOOTP server through one of its ports. At startup, a switch without an IP address requests the information from the BOOTP server; the requested information is saved in the switch running the configuration file. To ensure that the IP information is saved when the switch is restarted, save the configuration by entering the write memory command in privileged EXEC mode. You can change the information in these fields. The mask identifies the bits that denote the network number in the IP address. When you use the mask to subnet a network, the mask is then referred to as a subnet mask. The broadcast address is reserved for sending messages to all hosts. The CPU sends traffic to an unknown IP address through the default gateway. Use of Ethernet Ports to Support Cisco IP Phones with Multiple PortsYou might want to use multiple ports to connect the Cisco IP phones if any of the following conditions apply to your Cisco IP telephony network:
You want to limit the number of switches that need Uninterruptible Power Supply (UPS) power. Domain Name Mapping and DNS ConfigurationEach unique IP address can have a host name associated with it. IP defines a hierarchical naming scheme that allows a device to be identified by its location or domain. Domain names are pieced together with periods (.) as the delimiting characters. For example, Cisco Systems is a commercial organization that IP identifies by a com domain name, so its domain name is cisco.com. A specific device in this domain, the FTP system, for example, is identified as ftp.cisco.com. To track domain names, IP has defined the concept of a domain name server (DNS), the purpose of which is to hold a cache (or database) of names mapped to IP addresses. To map domain names to IP addresses, you must first identify the host names and then specify a name server and enable the DNS, the Internet's global naming scheme that uniquely identifies network devices. You can specify a default domain name that the software uses to complete domain name requests. You can specify either a single domain name or a list of domain names. When you specify a domain name, any IP host name without a domain name has that domain name appended to it before being added to the host table. You can specify up to six hosts that can function as a name server to supply name information for the DNS. If your network devices require connectivity with devices in networks for which you do not control name assignment, you can assign device names that uniquely identify your devices within the entire internetwork. The Internet's global naming scheme, the DNS, accomplishes this task. This service is enabled by default. ARP Table ManagementTo communicate with a device (on Ethernet, for example), the software first must determine the 48-bit MAC or local data link address of that device. The process of determining the local data link address from an IP address is called address resolution. The Address Resolution Protocol (ARP) associates a host IP address with the corresponding media or MAC addresses and VLAN ID. Taking an IP address as input, ARP determines the associated MAC address. Once a MAC address is determined, the IP-MAC address association is stored in an ARP cache for rapid retrieval. Then the IP datagram is encapsulated in a link-layer frame and sent over the network. Encapsulation of IP datagrams and ARP requests and replies on IEEE 802 networks other than Ethernet is specified by the Subnetwork Access Protocol (SNAP). By default, standard Ethernet-style ARP encapsulation (represented by the arpa keyword) is enabled on the IP interface. When you manually add entries to the ARP Table by using the CLI, you must be aware that these entries do not age and must be manually removed. MAC Addresses and VLANsThe EtherSwitch Network Module uses the MAC address tables to forward traffic between ports. All MAC addresses in the address tables are associated with one or more ports. These MAC tables include the following types of addresses:
The address tables list the destination MAC address and the associated VLAN ID, module, and port number associated with the address. All addresses are associated with a VLAN. An address can exist in more than one VLAN and have different destinations in each. Multicast addresses, for example, could be forwarded to port 1 in VLAN 1 and ports 9, 10, and 11 in VLAN 5. Each VLAN maintains its own logical address table. A known address in one VLAN is unknown in another until it is learned or statically associated with a port in the other VLAN. An address can be secure in one VLAN and dynamic in another. Addresses that are statically entered in one VLAN must be static addresses in all other VLANs. Address Aging TimeDynamic addresses are source MAC addresses that the switch learns and then drops when they are not in use. Use the Aging Time field to define how long the switch retains unseen addresses in the table. This parameter applies to all VLANs. Setting too short an aging time can cause addresses to be prematurely removed from the table. Then when the switch receives a packet for an unknown destination, it floods the packet to all ports in the same VLAN as the receiving port. This unnecessary flooding can impact performance. Setting too long an aging time can cause the address table to be filled with unused addresses; it can cause delays in establishing connectivity when a workstation is moved to a new port.
Secure AddressesThe secure address table contains secure MAC addresses and their associated ports and VLANs. A secure address is a manually entered unicast address that is forwarded to only one port per VLAN. If you enter an address that is already assigned to another port, the switch reassigns the secure address to the new port. You can enter a secure port address even when the port does not yet belong to a VLAN. When the port is later assigned to a VLAN, packets destined for that address are forwarded to the port. Static AddressesA static address has the following characteristics:
Because all ports are associated with at least one VLAN, the switch acquires the VLAN ID for the address from the ports that you select on the forwarding map. A static address in one VLAN must be a static address in other VLANs. A packet with a static address that arrives on a VLAN where it has not been statically entered is flooded to all ports and not learned. IGMP Snooping on the EtherSwitch Network ModuleBy default, IGMP snooping is globally enabled on the EtherSwitch Network Module. When globally enabled or disabled, it is also enabled or disabled in all existing VLAN interfaces. By default, IGMP snooping is enabled on all VLANs, but it can be enabled and disabled on a per-VLAN basis. Global IGMP snooping overrides the per-VLAN IGMP snooping capability. If global snooping is disabled, you cannot enable VLAN snooping. If global snooping is enabled, you can enable or disable snooping on a VLAN basis. IGMP Immediate-Leave ProcessingWhen you enable IGMP Immediate-Leave processing, the EtherSwitch Network Module immediately removes a port from the IP multicast group when it detects an IGMP version 2 leave message on that port. Immediate-Leave processing allows the switch to remove an interface that sends a leave message from the forwarding table without first sending out group-specific queries to the interface. You should use the Immediate-Leave feature only when there is only a single receiver present on every port in the VLAN. Creating Standard and Extended IP ACLsThis section describes how to create switch IP ACLs. An ACL is a sequential collection of permit and deny conditions. The switch tests packets against the conditions in an access list one by one. The first match determines whether the switch accepts or rejects the packet. Because the switch stops testing conditions after the first match, the order of the conditions is critical. If no conditions match, the switch denies the packet. An ACL must first be created by specifying an access list number or name and access conditions. The ACL can then be applied to interfaces or terminal lines. The software supports these styles of ACLs or IP access lists:
ACL NumbersThe number you use to denote your ACL shows the type of access list that you are creating. The table below lists the access list number and corresponding type and shows whether or not they are supported by the switch. The EtherSwitch Network Module supports IP standard and IP extended access lists, numbers 1 to 199 and 1300 to 2699.
Including Comments About Entries in ACLsYou can use the remark command to include comments (remarks) about entries in any IP standard or extended ACL. The remarks make the ACL easier for you to understand and scan. Each remark line is limited to 100 characters. The remark can go before or after a permit or deny statement. You should be consistent about where you put the remark so that it is clear which remark describes which permit or deny statement. For example, it would be confusing to have some remarks before the associated permit or deny statements and some remarks after the associated statements. For IP numbered standard or extended ACLs, use the access-list access-list number remark remarkglobal configuration command to include a comment about an access list. To remove the remark, use the no form of this command. For an entry in a named IP ACL, use the remark access-list global configuration command. To remove the remark, use the no form of this command. Trust State on Ports and SVIs Within the QoS DomainPackets entering a QoS domain are classified at the edge of the QoS domain. When the packets are classified at the edge, the switch port within the QoS domain can be configured to one of the trusted states because there is no need to classify the packets at every switch within the QoS domain. The figure below shows a sample network topology. How to Configure the EtherSwitch Network Module
Configuring VLANsWhen you delete a VLAN from a router with an EtherSwitch Network Module installed that is in VTP server mode, the VLAN is removed from all EtherSwitch routers and switches in the VTP domain. When you delete a VLAN from an EtherSwitch router or switch that is in VTP transparent mode, the VLAN is deleted only on that specific device. You cannot delete the default VLANs for the different media types: Ethernet VLAN 1 and FDDI or Token Ring VLANs 1002 to 1005. Perform this task to configure the VLANs on an EtherSwitch Network Module. DETAILED STEPS ExamplesSample Output for the show vlan-switch CommandIn the following example, output information is displayed to verify the VLAN configuration:
Router# show vlan-switch name vlan0003
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa1/0, Fa1/1, Fa1/2, Fa1/3
Fa1/4, Fa1/5, Fa1/6, Fa1/7
Fa1/8, Fa1/9, Fa1/10, Fa1/11
Fa1/12, Fa1/13, Fa1/14, Fa1/15
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 1002 1003
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
In the following example, the brief keyword is used to verify that VLAN 2 has been deleted:
Router# show vlan-switch brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/9, Fa0/14, Gi0/0
3 VLAN0003 active Fa0/4, Fa0/5, Fa0/10, Fa0/11
4 VLAN0004 active Fa0/6, Fa0/7, Fa0/12, Fa0/13
5 VLAN0005 active
40 VLAN0040 active Fa0/15
50 VLAN0050 active
1000 VLAN1000 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Configuring VLAN Trunking ProtocolWhen a router with an EtherSwitch Network Module installed is in VTP server mode, you can change the VLAN configuration and have it propagate throughout the network. When the router is in VTP client mode, you cannot change the VLAN configuration on the device. The client device receives VTP updates from a VTP server in the management domain and modifies its configuration accordingly. When you configure the router as VTP transparent, you disable VTP on the device. A VTP transparent device does not send VTP updates and does not act on VTP updates received from other devices. However, a VTP transparent device running VTP version 2 does forward received VTP advertisements out all of its trunk links. Perform this task to configure the VLAN Trunking Protocol (VTP) on an EtherSwitch Network Module. DETAILED STEPS ExamplesSample Output for the show vtp CommandIn the following example, output information about the VTP management domain is displayed:
Router# show vtp status
VTP Version : 2
Configuration Revision : 247
Maximum VLANs supported locally : 1005
Number of existing VLANs : 33
VTP Operating Mode : Client
VTP Domain Name : Lab_Network
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80
Configuration last modified by 0.0.0.0 at 8-12-99 15:04:49
Configuring Spanning Tree on a VLANPerform this task to enable spanning tree on a per-VLAN basis and configure various spanning tree features. The EtherSwitch Network Module maintains a separate instance of spanning tree for each VLAN (except on VLANs on which you disable spanning tree). The EtherSwitch Network Module maintains a separate instance of spanning tree for each active VLAN configured on the device. A bridge ID, consisting of the bridge priority and the bridge MAC address, is associated with each instance. For each VLAN, the switch with the lowest bridge ID will become the root bridge for that VLAN. To configure a VLAN instance to become the root bridge, the bridge priority can be modified from the default value (32768) to a significantly lower value so that the bridge becomes the root bridge for the specified VLAN. Use the spanning-tree vlan vlan-id root command to alter the bridge priority. The switch checks the bridge priority of the current root bridges for each VLAN. The bridge priority for the specified VLANs is set to 8192 if this value will cause the switch to become the root for the specified VLANs. If any root switch for the specified VLANs has a bridge priority lower than 8192, the switch sets the bridge priority for the specified VLANs to 1 less than the lowest bridge priority. For example, if all switches in the network have the bridge priority for VLAN 100 set to the default value of 32768, entering the spanning-tree vlan 100 root primary command on a switch will set the bridge priority for VLAN 100 to 8192, causing the switch to become the root bridge for VLAN 100. Use the diameter keyword to specify the Layer 2 network diameter (that is, the maximum number of bridge hops between any two end stations in the Layer 2 network). When you specify the network diameter, the switch automatically picks an optimal hello time, forward delay time, and maximum age time for a network of that diameter, which can significantly reduce the spanning tree convergence time. You can use the hello-time keyword to override the automatically calculated hello time.
DETAILED STEPS
Verifying Spanning Tree on a VLAN
SUMMARY STEPS
DETAILED STEPS
Configuring Layer 2 InterfacesWhen configuring an interface speed and duplex mode, note these guidelines:
Perform this task to configure a range of interfaces, define a range macro, set the interface speed, set the duplex mode, and add a description for the interface. DETAILED STEPS
ExamplesSample Output for the show interfaces fastethernet CommandIn the following example, output information is displayed to verify the speed and duplex mode of a Fast Ethernet interface:
Router# show interfaces fastethernet 1/4
FastEthernet1/4 is up, line protocol is down
Hardware is Fast Ethernet, address is 0000.0000.0c89 (bia 0000.0000.0c89)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
3 packets output, 1074 bytes, 0 underruns(0/0/0)
0 output errors, 0 collisions, 5 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Configuring an Ethernet Interface as a Layer 2 TrunkPerform this task to configure an Ethernet interface as a Layer 2 trunk.
DETAILED STEPS
ExamplesSample Output for the show interfaces fastethernet CommandIn the following two examples, output information is displayed to verify the configuration of Fast Ethernet interface as a Layer 2 trunk: Router# show interfaces fastethernet 5/8 switchport Name: Fa5/8 Switchport: Enabled Administrative Mode: static access Operational Mode: static access Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: native Negotiation of Trunking: Disabled Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Protected: false Unknown unicast blocked: false Unknown multicast blocked: false Broadcast Suppression Level: 100 Multicast Suppression Level: 100 Unicast Suppression Level: 100 Voice VLAN: none Appliance trust: none Router# show interfaces fastethernet 5/8 trunk Port Mode Encapsulation Status Native vlan Fa1/15 off 802.1q not-trunking 1 Port Vlans allowed on trunk Fa1/15 1 Port Vlans allowed and active in management domain Fa1/15 1 Port Vlans in spanning tree forwarding state and not pruned Fa1/15 1 Configuring an Ethernet Interface as a Layer 2 Access
SUMMARY STEPS
DETAILED STEPS
Configuring Separate Voice and Data VLANs
SUMMARY STEPS
DETAILED STEPS
Configuring a Single Voice and Data VLANPerform this task to configure a Cisco IP phone to send voice and data traffic on the same VLAN on the EtherSwitch Network Module. For network designs with incremental IP telephony deployment, network managers can configure the EtherSwitch Network Module so that the voice and data traffic coexist on the same subnet. This might be necessary when it is impractical either to allocate an additional IP subnet for IP phones or to divide the existing IP address space into an additional subnet at the remote branch, it might be necessary to use a single IP address space for branch offices. (This is one of the simpler ways to deploy IP telephony.) When this is the case, you must still prioritize voice above data at both Layer 2 and Layer 3. Layer 3 classification is already handled because the phone sets the type of service (ToS) bits in all media streams to an IP Precedence value of 5. (With Cisco CallManager Release 3.0(5), this marking changed to a Differentiated Services Code Point ([DSCP]) value of EF.) However, to ensure that there is Layer 2 classification for admission to the multiple queues in the branch office switches, the phone must also use the User Priority bits in the Layer 2 802.1p header to provide class of service (CoS) marking. Setting the bits to provide marking can be done by having the switch look for 802.1p headers on the native VLAN. This configuration approach must address two key considerations:
DETAILED STEPS
Managing the EtherSwitch Network ModuleUse this task to perform basic management tasks such as adding a trap manager and assigning IP information on the EtherSwitch Network Module with the Cisco IOS CLI. You might find this information useful when you configure the EtherSwitch Network Module for the previous scenarios. A trap manager is a management station that receives and processes traps. When you configure a trap manager, community strings for each member switch must be unique. If a member switch has an IP address assigned to it, the management station accesses the switch by using its assigned IP address. By default, no trap manager is defined, and no traps are issued. The recommended configuration for using multiple cables to connect IP phones to the Cisco AVVID network is to use a separate IP subnet and separate VLANs for IP telephony. DETAILED STEPS
Configuring Voice PortsPerform this task to instruct the Cisco 7960 IP phone to give voice traffic a higher priority and to forward all traffic through the 802.1Q native VLAN on the EtherSwitch Network Module. This task also disables inline power to a Cisco 7960 IP phone to allow voice traffic to be forwarded to and from the phone. The EtherSwitch Network Module can connect to a Cisco 7960 IP phone and carry IP voice traffic. If necessary, the EtherSwitch Network Module can supply electrical power to the circuit connecting it to the Cisco 7960 IP phone. Because the sound quality of an IP telephone call can deteriorate if the data is unevenly transmitted, the current release of the Cisco IOS software supports QoS based on IEEE 802.1p CoS. QoS uses classification and scheduling to transmit network traffic from the switch in a predictable manner. The Cisco 7960 IP phone contains an integrated three-port 10/100 switch. The ports are dedicated to connect to the following devices:
Because a Cisco 7960 IP phone also supports connection to a PC or other device, a port connecting a EtherSwitch Network Module to a Cisco 7960 IP phone can carry a mix of traffic. There are three ways to configure a port connected to a Cisco 7960 IP phone:
The EtherSwitch Network Module can supply inline power to a Cisco 7960 IP phone, if necessary. The Cisco 7960 IP phone can also be connected to an AC power source and supply its own power to the voice circuit. When the Cisco 7960 IP phone is supplying its own power, an EtherSwitch Network Module can forward IP voice traffic to and from the phone. A detection mechanism on the EtherSwitch Network Module determines whether it is connected to a Cisco 7960 IP phone. If the switch senses that there is no power on the circuit, the switch supplies the power. If there is power on the circuit, the switch does not supply it. You can configure the switch to never supply power to the Cisco 7960 IP phone and to disable the detection mechanism. DETAILED STEPS
Verifying Cisco Discovery ProtocolPerform this optional task to verify that Cisco Discovery Protocol (CDP) is enabled globally, is enabled on an interface, and to display information about neighboring equipment. CDP is enabled by default. For more details on CDP commands, see the Cisco IOS Network Management Command Reference . DETAILED STEPS
Configuring the MAC Table to Provide Port SecurityPerform this task to enable the MAC address secure option, create a static or dynamic entry in the MAC address table, and configure the aging timer. Port security is implemented by providing the user with the option to make a port secure by allowing only well-known MAC addresses to send in data traffic. DETAILED STEPS
ExamplesSample Output for the show mac-address-table CommandIn the following example, output information is displayed to verify the configuration of the secure port: Router# show mac - address - table secure Secure Address Table: Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 0003.0003.0003 Secure 1 FastEthernet 2/8 In the following example, information about static and dynamic addresses in the MAC address table is displayed: Router# show mac-address-table Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 0001.6443.6440 Static 1 Vlan1 0004.c16d.9be1 Dynamic 1 FastEthernet2/13 0004.ddf0.0282 Dynamic 1 FastEthernet2/13 0006.0006.0006 Dynamic 1 FastEthernet2/13 001b.001b.ad45 Dynamic 1 FastEthernet2/13 In the following example, information about the MAC address aging timer is displayed: Router# show mac-address-table aging-timer Mac address aging time 23 Configuring 802.1x AuthenticationPerform the following tasks to configure 802.1x port-based authentication on the EtherSwitch Network Module:
802.1x Authentication Guidelines for the EtherSwitch Network ModuleThese are the 802.1x authentication configuration guidelines:
Switch Port Analyzer (SPAN) destination port--You can enable 802.1x on a port that is a SPAN destination port; however, 802.1x is disabled until the port is removed as a SPAN destination. You can enable 802.1x on a SPAN source port. The table below shows the default 802.1x configuration.
Enabling 802.1x AuthenticationTo enable 802.1x port-based authentication, you must enable AAA and specify the authentication method list. A method list describes the sequence and authentication methods to be queried to authenticate a user. The software uses the first method listed to authenticate users; if that method fails to respond, the software selects the next authentication method in the method list. This process continues until there is successful communication with a listed authentication method or until all defined methods are exhausted. If authentication fails at any point in this cycle, the authentication process stops, and no other authentication methods are attempted. You control the port authorization state by using the dot1x port-control interface configuration command and these keywords:
To disable AAA, use the no aaa new-model global configuration command. To disable 802.1x AAA authentication, use the noform of the aaa authenticationdot1x global configuration command. To disable 802.1x, use the dot1x port-controlcommand with the force-authorized keyword or the no form of the dot1x port-control interface configuration command. DETAILED STEPS
Configuring the Switch-to-RADIUS-Server CommunicationPerform this task to configure RADIUS server parameters. RADIUS security servers are identified by their host name or IP address, host name and specific UDP port numbers, or IP address and specific UDP port numbers. The combination of the IP address and UDP port number creates a unique identifier, which enables RADIUS requests to be sent to multiple UDP ports on a server at the same IP address. If two different host entries on the same RADIUS server are configured for the same service--for example, authentication--the second host entry configured acts as the fail-over backup to the first one. The RADIUS host entries are tried in the order that they were configured. DETAILED STEPS
Configuring 802.1x Parameters (Retransmissions and Timeouts)Perform this task to configure various 802.1x retransmission and timeout parameters. Because all of these parameters have default values, configuring them is optional.
DETAILED STEPS
ExamplesSample Output for the show dot1x CommandIn the following example, statistics appear for all the physical ports for the specified interface:
Router# show dot1x statistics fastethernet 0/1
FastEthernet0/1
Rx: EAPOL EAPOL EAPOL EAPOL EAP EAP EAP
Start Logoff Invalid Total Resp/Id Resp/Oth LenError
0 0 0 21 0 0 0
Last Last
EAPOLVer EAPOLSrc
1 0002.4b29.2a03
Tx: EAPOL EAP EAP
Total Req/Id Req/Oth
622 445 0
In the following example, global 802.1x parameters and a summary are displayed:
Router# show dot1x
Global 802.1X Parameters
reauth-enabled no
reauth-period 3600
quiet-period 60
tx-period 30
supp-timeout 30
server-timeout 30
reauth-max 2
max-req 2
802.1X Port Summary
Port Name Status Mode Authorized
Gi0/1 disabled n/a n/a
Gi0/2 enabled Auto (negotiate) no
802.1X Port Details
802.1X is disabled on GigabitEthernet0/1
802.1X is enabled on GigabitEthernet0/2
Status Unauthorized
Port-control Auto
Supplicant 0060.b0f8.fbfb
Multiple Hosts Disallowed
Current Identifier 2
Authenticator State Machine
State AUTHENTICATING
Reauth Count 1
Backend State Machine
State RESPONSE
Request Count 0
Identifier (Server) 2
Reauthentication State Machine
State INITIALIZE
Configuring Power Management on the Interfaces
SUMMARY STEPS
DETAILED STEPS
ExamplesSample Output for the show power inline CommandIn the following example, output information is displayed to verify the power configuration on the ports:
Router# show power inline
PowerSupply SlotNum. Maximum Allocated Status
----------- -------- ------- --------- ------
EXT-PS 1 165.000 20.000 PS1 GOOD PS2 ABSENT
Interface Config Phone Powered PowerAllocated
--------- ------ ----- ------- --------------
FastEthernet1/0 auto no off 0.000 Watts
FastEthernet1/1 auto no off 0.000 Watts
FastEthernet1/2 auto no off 0.000 Watts
FastEthernet1/3 auto no off 0.000 Watts
FastEthernet1/4 auto unknown off 0.000 Watts
FastEthernet1/5 auto unknown off 0.000 Watts
FastEthernet1/6 auto unknown off 0.000 Watts
FastEthernet1/7 auto unknown off 0.000 Watts
FastEthernet1/8 auto unknown off 0.000 Watts
FastEthernet1/9 auto unknown off 0.000 Watts
FastEthernet1/10 auto unknown off 0.000 Watts
FastEthernet1/11 auto yes on 6.400 Watts
FastEthernet1/12 auto yes on 6.400 Watts
FastEthernet1/13 auto no off 0.000 Watts
FastEthernet1/14 auto unknown off 0.000 Watts
FastEthernet1/15 auto unknown off 0.000 Watts
Configuring Storm ControlThis section consists of two tasks. The first task enables global storm control, and the second task configures storm control on a per-port basis. Enabling Global Storm Control
SUMMARY STEPS
DETAILED STEPS
Enabling Per-Port Storm Control
SUMMARY STEPS
DETAILED STEPS
ExamplesSample Output for the show storm-control CommandIn the following example, output information is displayed to verify the number of packets discarded for the specified storm control suppression:
Router# show storm-control broadcast
Interface Filter State Upper Lower Current
--------- ------------- ------- ------- -------
Fa0/1 <inactive> 100.00% 100.00% 0.00%
Fa0/2 <inactive> 100.00% 100.00% 0.00%
Fa0/3 <inactive> 100.00% 100.00% 0.00%
Fa0/4 Forwarding 30.00% 20.00% 20.32%
Configuring Layer 2 EtherChannels (Port-Channel Logical Interfaces)Perform this task to configure Layer 2 Ethernet interfaces as a Layer 2 EtherChannel, configure EtherChannel load balancing, and remove an Ethernet interface from an EtherChannel. To configure Layer 2 EtherChannels, configure the Ethernet interfaces with the channel-group command, which creates the port-channel logical interface. You do not have to create a port-channel interface before assigning a physical interface to a channel group. A port-channel interface is created automatically when the channel group gets its first physical interface, if it is not already created.
DETAILED STEPS
ExamplesSample Output for the show interfaces fastethernet CommandIn the following example, output information is displayed to verify the configuration of Fast Ethernet interface as a Layer 2 EtherChannel:
Router# show interfaces fastethernet 5/6 etherchannel
Port state = EC-Enbld Up In-Bndl Usr-Config
Channel group = 2 Mode = Desirable Gcchange = 0
Port-channel = Po2 GC = 0x00020001
Port indx = 1 Load = 0x55
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/6 SC U6/S7 30s 1 128 Any 56
Partner's information:
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Fa5/6 JAB031301 0050.0f10.230c 2/47 18s SAC 2F
Age of the port in the current state: 00h:10m:57s
Sample Output for the show etherchannel CommandIn the following example, output information about port channels for EtherChannel group 2 is displayed:
Router# show etherchannel 2 port-channel
Port-channels in the group:
----------------------
Port-channel: Po2
------------
Age of the Port-channel = 00h:23m:33s
Logical slot/port = 10/2 Number of ports in agport = 2
GC = 0x00020001 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Ports in the Port-channel:
Index Load Port
-------------------
1 55 Fa5/6
0 AA Fa5/7
Time since last port bundled: 00h:23m:33s Fa5/6
Configuring Flow Control on Gigabit Ethernet Ports
SUMMARY STEPS
DETAILED STEPS
ExamplesSample Output for the show port flowcontrol CommandIn the following example, output information is displayed to verify the flow control configuration on Gigabit Ethernet ports:
Router# show interfaces fastethernet 5/6 etherchannel
Port Send-Flowcontrol Receive-Flowcntl RxPause TxPause
Admin Oper Admin Oper
----- ---------------- ---------------- ------- ------
5/1 off off on disagree 0 0
5/2 off off off off 0 0
5/3 desired on desired off 10 10
Configuring Intrachassis StackingPerform this task to extend Layer 2 switching in the router by connecting the Gigabit Ethernet ports of the EtherSwitch Network Module. DETAILED STEPS
Configuring Switched Port Analyzer (SPAN)
SUMMARY STEPS
DETAILED STEPS
Configuring Layer 3 InterfacesPerform this task to configure a Layer 3 interface on the EtherSwitch Network Module. A physical interface on the EtherSwitch Network Module is configured as a Layer 3 interface and an IP address is assigned to the interface. The EtherSwitch Network Module supports two types of Layer 3 interfaces for routing and bridging:
All Layer 3 interfaces require an IP address to route traffic (a routed port cannot obtain an IP address from a DHCP server, but the router can act as a DHCP server and serve IP addresses through a routed port). Routed ports support only CEF switching (IP fast switching is not supported).
DETAILED STEPS
Enabling and Verifying IP Multicast Layer 3 SwitchingPerform this task to enable IP multicast routing globally, enable IP Protocol Independent Multicast (PIM) on a Layer 3 interface, and verify the IP multicast Layer 3 switching information. You must enable IP multicast routing globally before enabling IP multicast Layer 3 switching on Layer 3 interfaces. Enable PIM on Layer 3 interfaces before adding IP multicast Layer 3 switching functions on those interfaces. For complete IP multicast command reference information and configuration details, refer to the following documents:
DETAILED STEPS
ExamplesSample Output for the show ip pim CommandIn the following example, output information is displayed to verify the IP multicast Layer 3 switching information for an IP PIM Layer 3 interface:
Router# show ip pim interface count
State:* - Fast Switched, D - Distributed Fast Switched
H - Hardware Switching Enabled
Address Interface FS Mpackets In/Out
10.15.1.20 GigabitEthernet4/8 * H 952/4237130770
10.20.1.7 GigabitEthernet4/9 * H 1385673757/34
10.25.1.7 GigabitEthernet4/10* H 0/34
10.11.1.30 FastEthernet6/26 * H 0/0
10.37.1.1 FastEthernet6/37 * H 0/0
1.22.33.44 FastEthernet6/47 * H 514/68
Sample Output for the show ip mroute CommandIn the following example, output information is displayed for the IP multicast routing table:
Router# show ip mroute count
IP Multicast Statistics
56 routes using 28552 bytes of memory
13 groups, 3.30 average sources per group
Forwarding Counts:Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second
Other counts:Total/RPF failed/Other drops(OIF-null, rate-limit etc)
Group:224.2.136.89, Source count:1, Group pkt count:29051
Source:132.206.72.28/32, Forwarding:29051/-278/1186/0, Other:85724/8/56665
Configuring IGMP SnoopingPerform this task to enable IGMP snooping on a router with the Ethernet switching network module installed. Ports normally join multicast groups through the IGMP report message, but you can also statically configure a host on an interface. DETAILED STEPS
Configuring Fallback BridgingThis section contains the following tasks to help you configure fallback bridging.
Understanding the Default Fallback Bridging ConfigurationThe table below shows the default fallback bridging configuration.
Configuring a Bridge GroupPerform this task to create a bridge group, filter frames using a specific MAC address, prevent the forwarding of frames for stations that the switching device has dynamically learned, and remove dynamic entries from the bridge table. To configure fallback bridging for a set of SVIs or routed ports, these interfaces must be assigned to bridge groups. All interfaces in the same group belong to the same bridge domain. Each SVI or routed port can be assigned to only one bridge group. A maximum of 31 bridge groups can be configured on the switch.
By default, the switch forwards any frames for stations that it has dynamically learned. By disabling this activity, the switch only forwards frames whose addresses have been statically configured into the forwarding cache. A switch forwards, floods, or drops packets based on the bridge table. The bridge table maintains both static and dynamic entries. Static entries are entered by you or learned by the switch. Dynamic entries are entered by the bridge learning process. A dynamic entry is automatically removed after a specified length of time, known as aging time, from the time the entry was created or last updated. If you are likely to move hosts on a switched network, decrease the aging-time to enable the switch to quickly adapt to the change. If hosts on a switched network do not continuously send packets, increase the aging time to keep the dynamic entries for a longer time and thus reduce the possibility of flooding when the hosts send again. DETAILED STEPS
Adjusting Spanning-Tree ParametersPerform this task to adjust spanning tree parameters such as the switch priority or interface priority. You might need to adjust certain spanning-tree parameters if the default values are not suitable for your switch configuration. Parameters affecting the entire spanning tree are configured with variations of the bridge global configuration command. Interface-specific parameters are configured with variations of the bridge-group interface configuration command.
You can globally configure the priority of an individual switch when two switches tie for position as the root switch, or you can configure the likelihood that a switch will be selected as the root switch. This priority is determined by default; however, you can change it. You can change the priority for an interface. When two switches tie for position as the root switch, you configure an interface priority to break the tie. The switch with the lowest interface value is elected. Each interface has a path cost associated with it. By convention, the path cost is 1000/data rate of the attached LAN, in Mbps. You can adjust three different BPDU intervals. The interval between hello BPDUs can be set. The forward-delay interval is the amount of time spent listening for topology change information after an interface has been activated for switching and before forwarding actually begins. The maximum-idle interval specifies the amount of time the switch waits to hear BPDUs from the root switch. If a switch does not hear BPDUs from the root switch within the specified interval, it recomputes the spanning-tree topology.
DETAILED STEPS
Disabling the Spanning Tree on an InterfacePerform this task to disable spanning tree on an interface. When a loop-free path exists between any two switched subnetworks, you can prevent BPDUs generated in one switching subnetwork from impacting devices in the other switching subnetwork, yet still permit switching throughout the network as a whole. For example, when switched LAN subnetworks are separated by a WAN, BPDUs can be prevented from traveling across the WAN link. DETAILED STEPS
Configuring Network Security with ACLs at Layer 2Configuring ACLs on Layer 2 interfaces is the same as configuring ACLs on Cisco routers. The process is briefly described here. For more detailed information on configuring router ACLs, refer to the " IP Access List Features Roadmap." For detailed information about ACL commands, see the Cisco IOS Security Command Reference. For a list of Cisco IOS features not supported on the EtherSwitch Network Module, see the following section.
RestrictionsThe EtherSwitch Network Module does not support these Cisco IOS router ACL-related features:
Configuring a Numbered Standard ACLPerform this task to create a numbered standard ACL.
DETAILED STEPS
Configuring a Numbered Extended ACLPerform this task to create a numbered extended ACL. Although standard ACLs use only source addresses for matching, you can use an xtended ACL source and destination addresses for matching operations and optional protocol type information for finer granularity of control. Some protocols also have specific parameters and keywords that apply to that protocol. These IP protocols are supported (protocol keywords are in parentheses in bold): Internet Protocol (ip), Transmission Control Protocol (tcp), or User Datagram Protocol (udp). Supported parameters can be grouped into these categories: The table below lists the possible filtering parameters for ACEs for each protocol type.
1 No support for type of service (TOS) minimize
monetary cost bit.
When creating ACEs in numbered extended access lists, remember that after you create the list, any additions are placed at the end of the list. You cannot reorder the list or selectively add or remove ACEs from a numbered list. Use the no access-list access-list-number global configuration command to delete the entire access list. You cannot delete individual ACEs from numbered access lists. After an ACL is created, any additions (possibly entered from the terminal) are placed at the end of the list. You can add ACEs to an ACL, but deleting any ACE deletes the entire ACL.
DETAILED STEPS
What to Do NextAfter creating an ACL, you must apply it to an interface, as described in the Applying the ACL to an Interface. Configuring a Named Standard ACLPerform this task to create a named standard ACL. You can identify IP ACLs with an alphanumeric string (a name) rather than a number. You can use named ACLs to configure more IP access lists on a switch than if you use numbered access lists. If you identify your access list with a name rather than a number, the mode and command syntax are slightly different. However, not all commands that use IP access lists accept a named ACL.
Consider these guidelines and limitations before configuring named ACLs:
DETAILED STEPS
Configuring a Named Extended ACLYou can identify IP ACLs with an alphanumeric string (a name) rather than a number. You can use named ACLs to configure more IP access lists on a switch than if you use numbered access lists. If you identify your access list with a name rather than a number, the mode and command syntax are slightly different. However, not all commands that use IP access lists accept a named ACL.
Consider these guidelines and limitations before configuring named ACLs:
DETAILED STEPS
Applying the ACL to an InterfacePerform this task to control access to a Layer 2 or Layer 3 interface. After you create an ACL, you can apply it to one or more interfaces. ACLs can be applied on inbound interfaces. This section describes how to accomplish this task for network interfaces. Note these guidelines:
For inbound ACLs, after receiving a packet, the switch checks the packet against the ACL. If the ACL permits the packet, the switch continues to process the packet. If the ACL rejects the packet, the switch discards the packet. When you apply an undefined ACL to an interface, the switch acts as if the ACL has not been applied to the interface and permits all packets. Remember this behavior if you use undefined ACLs for network security. DETAILED STEPS
Configuring Quality of Service (QoS) on the EtherSwitch Network ModuleThis section consists of the following tasks that must be performed to configure QoS on your EtherSwitch Network Module: The default settings for QoS on switching devices are as follows: PrerequisitesBefore configuring QoS, you must have a thorough understanding of the following items:
Restrictions
For more information on guidelines for configuring ACLs, see the Restrictions. Configuring Classification Using Port Trust StatesPerform this task to configure the port to trust the classification of the traffic that it receives, and then define the default CoS value of a port or to assign the default Cos to all incoming packets on the port.
DETAILED STEPS
Configuring a QoS PolicyThis section contains the following tasks:
Configuring a QoS policy typically requires classifying traffic into classes, configuring policies applied to those traffic classes, and attaching policies to interfaces. For background information, see the Configuring a QoS Policy and the Configuring a QoS Policy. You can classify IP traffic by using IP standard or IP extended ACLs. To create an IP standard ACL for IP traffic, see the Configuring a Numbered Standard ACL and to create an IP extended ACL for IP traffic see the Configuring a Numbered Extended ACL. Perform this task to create a class map and to define the match criteria for classifying traffic. You use the class-map global configuration command to isolate a specific traffic flow (or class) from all other traffic and to name it. The class map defines the criteria to use to match against a specific traffic flow to further classify it. Match statements can include criteria such as an ACL. The match criterion is defined with one match statement entered within the class-map configuration mode.
DETAILED STEPS
Classifying Policing and Marking Traffic Using Policy MapsPerform this task to create a policy map. A policy map specifies which traffic class to act on. Actions can include trusting the CoS or DSCP values in the traffic class; setting a specific DSCP value in the traffic class; and specifying the traffic bandwidth limitations for each matched traffic class (policer) and the action to take when the traffic is out of profile (marking). A separate policy-map class can exist for each type of traffic received through an interface. You can attach only one policy map per interface in the input direction.
DETAILED STEPS
Configuring the CoS-to-DSCP MapPerform this task to modify the CoS-to-DSCP map. You use the CoS-to-DSCP map to map CoS values in incoming packets to a DSCP value that QoS uses internally to represent the priority of the traffic. The figure below shows the default CoS-to-DSCP map. If these values are not appropriate for your network, you need to modify them. These CoS-to-DSCP mapping numbers follow the numbers used in deploying Cisco AVVID and may be different from the mapping numbers used by the EtherSwitch Network Module, Cisco Catalyst 2950, Cisco Catalyst 3550, and other switches. DETAILED STEPS
Configuring the DSCP-to-CoS MapPerform this task to modify the DSCP-to-CoS map. You use the DSCP-to-CoS map to map DSCP values in incoming packets to a CoS value, which is used to select one of the four egress queues. The EtherSwitch Network Modules support these DSCP values: 0, 8, 10, 16, 18, 24, 26, 32, 34, 40, 46, 48, and 56. The table below shows the default DSCP-to-CoS map.
If these values are not appropriate for your network, you need to modify them. These DSCP-to-CoS mapping numbers follow the numbers used in deploying Cisco AVVID and may be different from the mapping numbers used by the EtherSwitch Network Module, Cisco Catalyst 2950, Cisco Catalyst 3550, and other switches. DETAILED STEPS
Configuration Examples for the EtherSwitch Network Module
Configuring VTP ExampleThe following example shows how to configure a VTP server, configure a VTP client, configure VTP version 2, and disable VTP mode on the router: Router# vlan database Router(vlan)# vtp server Setting device to VTP SERVER mode. Router(vlan)# vtp domain Lab _Network Setting VTP domain name to Lab_Network Router(vlan)# vtp password WATER Setting device VLAN database password to WATER. Router(vlan)# vtp client Setting device to VTP CLIENT mode. Router(vlan)# vtp v2-mode V2 mode enabled. Router(vlan)# vtp transparent Setting device to VTP TRANSPARENT mode. Router(vlan)# exit APPLY completed. Exiting.... Configuring Spanning Tree ExamplesThe following example shows spanning tree being enabled on VLAN 200 and the bridge priority set to 33792. The hello time for VLAN 200 is set at 7 seconds, the forward delay time set at 21 seconds, and the maximum aging time at 36 seconds. BackboneFast is enable, the VLAN port priority of an interface is configured to be 64 and the spanning tree port cost of the Fast Ethernet interface 5/8 is set at 18. Router# configure terminal Router(config)# spanning -tree vlan 200 Router(config)# spanning -tree vlan 200 priority 33792 Router(config)# spanning -tree vlan 200 hello-time 7 Router(config)# spanning -tree vlan 200 forward-time 21 Router(config)# spanning -tree vlan 200 max -age 36 Router(config)# spanning-tree backbonefast Router(config-if)# exit Router(config)# interface fastethernet 5 /8 Router(config-if)# spanning -tree vlan 200 port -priority 64 Router(config-if)# spanning -tree cost 18 Router(config-if)# exit Router(config)# exit The following example shows how to verify the configuration of VLAN 200 on the interface when it is configured as a trunk port: Router# show spanning -tree vlan 200 Port 264 (FastEthernet5/8) of VLAN200 is forwarding Port path cost 19, Port priority 64, Port Identifier 129.8. Designated root has priority 32768, address 0010.0d40.34c7 Designated bridge has priority 32768, address 0010.0d40.34c7 Designated port id is 128.1, designated path cost 0 Timers: message age 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 0, received 13513 The following example shows how to verify the configuration of the interface when it is configured as an access port: Router# show spanning -tree interface fastethernet 5 /8 Port 264 (FastEthernet5/8) of VLAN200 is forwarding Port path cost 18, Port priority 100, Port Identifier 129.8. Designated root has priority 32768, address 0010.0d40.34c7 Designated bridge has priority 32768, address 0010.0d40.34c7 Designated port id is 128.1, designated path cost 0 Timers: message age 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 0, received 13513 The following example shows spanning tree being enabled on VLAN 150: Router# configure terminal Router(config)# spanning -tree vlan 150 Router(config)# end Router#
The following example shows spanning tree being disabled on VLAN 200: Router# configure terminal Router(config)# no spanning -tree vlan 200 Router(config)# end The following example shows the switch device being configured as the root bridge for VLAN 10, with a network diameter of 4: Router# configure terminal Router(config)# spanning tree vlan 10 root primary diameter 4 Router(config)# exit Configuring Layer 2 Interfaces Examples
Single Range Configuration ExampleThe following example shows all Fast Ethernet interfaces 5/1 to 5/5 being reenabled: Router(config)# interface range fastethernet 5/1 - 5 Router(config-if)# no shutdown Router(config-if)# *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up *Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/5, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/3, changed state to up *Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/4, changed state to up Router(config-if)# Multiple Range Configuration ExampleThe following example shows how to use a comma to add different interface type strings to the range to reenable all Fast Ethernet interfaces in the range 5/1 to 5/5 and both Gigabit Ethernet interfaces 1/1 and 1/2: Router(config-if)# interface range fastethernet 5/1 - 5, gigabitethernet 1/1 - 2 Router(config-if)# no shutdown Router(config-if)# *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/1, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/2, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/3, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/4, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet5/5, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/1, changed state to up *Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet1/2, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/5, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/3, changed state to up *Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet5/4, changed state to up Router(config-if)# Range Macro Definition ExampleThe following example shows an interface-range macro named enet_list being defined to select Fast Ethernet interfaces 5/1 through 5/4:
Router(config)# define interface-range enet_list fastethernet 5/1 - 4
Router(config)#
The following example shows how to change to the interface-range configuration mode using the interface-range macro enet_list: Router(config)# interface range macro enet _list Router(config-if)# Optional Interface Features ExampleThe following example shows the interface speed being set to 100 Mbps on the Fast Ethernet interface 5/4, the interface duplex mode set to full, and a description being added for the interface: Router(config)# interface fastethernet 5 /4 Router(config-if)# speed 100 Router(config-if)# duplex full Router(config-if)# description Channel -group to "Marketing " Configuring an Ethernet Interface as a Layer 2 Trunk ExampleThe following example shows how to configure the Fast Ethernet interface 5/8 as an 802.1Q trunk. This example assumes that the neighbor interface is configured to support 802.1Q trunking: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface fastethernet 5 /8 Router(config-if)# shutdown Router(config-if)# switchport trunk encapsulation dot1q Router(config-if)# switchport mode trunk Router(config-if)# no shutdown Router(config-if)# end Router# exit Configuring Voice and Data VLANs Examples
Separate Voice and Data VLANs ExampleThe following example shows separate VLANs being configured for voice and data on the EtherSwitch Network Module: interface fastethernet5/1 description DOT1Q port to IP Phone switchport native vlan 50 switchport mode trunk switchport voice vlan 150 interface vlan 150 description voice vlan ip address 10.150.1.1 255.255.255.0 ip helper-address 172.20.73.14 (See Note below) interface vlan 50 description data vlan ip address 10.50.1.1 255.255.255.0 This configuration instructs the IP phone to generate a packet with an 802.1Q VLAN ID of 150 with an 802.1p value of 5 (default for voice bearer traffic).
Inter-VLAN Routing ExampleConfiguring inter-VLAN routing is identical to the configuration on an EtherSwitch Network Module with an MSFC. Configuring an interface for WAN routing is consistent with other Cisco IOS platforms. The following example provides a sample configuration: interface vlan 160 description voice vlan ip address 10.6.1.1 255.255.255.0 interface vlan 60 description data vlan ip address 10.60.1.1 255.255.255.0 interface serial1/0 ip address 172.16.1.2 255.255.255.0
Single Subnet Configuration ExampleThe EtherSwitch Network Module supports the use of an 802.1p-only option when configuring the voice VLAN. Using this option allows the IP phone to tag VoIP packets with a CoS of 5 on the native VLAN, while all PC data traffic is sent untagged. The following example shows a single subnet configuration for the EtherSwitch Network Module switch: interface fastethernet 5/2 description Port to IP Phone in single subnet switchport access vlan 40 switchport voice vlan dot1p spanning-tree portfast The EtherSwitch Network Module instructs the IP phone to generate an 802.1Q frame with a null VLAN ID value but with an 802.1p value (default is COS of 5 for bearer traffic). The voice and data VLANs are both 40 in this example. Ethernet Ports on IP Phones with Multiple Ports ExampleThe following example illustrates the configuration on the IP phone: interface fastethernet 2/2 switchport voice vlan 5 switchport mode trunk The following example illustrates the configuration on the PC: interface fastethernet 2/3 switchport access vlan 10
Configuring 802.1x Authentication Examples
Enabling 802.1x Authentication ExampleThe following example shows how to enable AAA and 802.1x on Fast Ethernet port 0/1: Router# configure terminal Router(config)# aaa new-model Router(config)# aaa authentication dot1x default group radius Router(config)# interface fastethernet0/1 Router(config-if)# dot1x port-control auto Router(config-if)# end Configuring the Switch-to-RADIUS-Server Communication ExampleThe following example shows how to specify the server with IP address 172.20.39.46 as the RADIUS server, to use port 1612 as the authorization port, and to set the encryption key to rad123, matching the key on the RADIUS server:
Router(config)# radius-server host 172.20.39.46 auth-port 1612 key rad123
Configuring 802.1x Parameters ExampleThe following example shows how to enable periodic reauthentication, set the number of seconds between reauthentication attempts to 4000, and set the quiet time to 30 seconds on the EtherSwitch Network Module. The number of seconds to wait for an EAP-request/identity frame before transmitting is set to 60 seconds and the number of times the switch device will send the EAP-request/identity frames before restarting the authentication process is set to 5. 802.1x is enabled on Fast Ethernet interface 0/1 and multiple hosts are permitted. Router(config)# dot1x re-authentication Router(config)# dot1x timeout re-authperiod 4000 Router(config)# dot1x timeout quiet-period 30 Router(config)# dot1x timeout tx-period 60 Router(config)# dot1x max-req 5 Router(config)# interface fastethernet0/1 Router(config-if)# dot1x port-control auto Router(config-if)# dot1x multiple-hosts Configuring Storm-Control ExampleThe following example shows global multicast suppression being enabled at 70 percent on Gigabit Ethernet interface 1 and the configuration being verified: Router# configure terminal Router(config)# interface gigabitethernet0/2 Router(config-if)# storm control multicast level 70 Router(config-if)# end Router# show storm control Name: Gi0/2 Switchport: Enabled Administrative Mode: dynamic desirable Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Port Protected: Off Unknown Unicast Traffic: Allowed Unknown Multicast Traffic: Not Allowed Broadcast Suppression Level: 100 Multicast Suppression Level: 70 Unicast Suppression Level: 100 Configuring Layer 2 EtherChannels ExampleLayer 2 EtherChannels ExampleThe following example shows Fast Ethernet interfaces 5/6 and 5/7 being configured into port-channel 2 and forces the port to channel without Port Aggregation Protocol (PAgP). The EtherChannel is configured to use source and destination IP addresses. Router# configure terminal Router(config)# interface range fastethernet 5 /6 - 7 Router(config-if)# channel -group 2 mode on Router(config-if)# exit Router(config)# port -channel load -balance src -dst -ip Configuring Flow Control on Gigabit Ethernet Ports ExampleThe following examples show how to turn transmit and receive flow control on and how to verify the flow-control configuration. Port 4/0 flow control send administration status is set to on (port will send flowcontrol to far end): Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface gigabitethernet4/0 Router(config-if)# flowcontrol send on Router(config-if)# end Port 4/0 flow control receive administration status is set to on (port will require far end to send flowcontrol): Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface gigabitethernet4/0 Router(config-if)# flowcontrol receive on Router(config-if)# end The following example shows flow control configuration being verified: Router# show interface gigabitethernet4/0 GigabitEthernet4/0 is up, line protocol is up Hardware is Gigabit Ethernet, address is 0087.c08b.4824 (bia 0087.c08b.4824) MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) output flow-control is off, input flow-control is on 0 pause input, 0 pause output Full-duplex, 1000Mb/s ARP type:ARPA, ARP Timeout 04:00:00 Last input 00:00:01, output never, output hang never Last clearing of "show interface" counters never Input queue:0/75/0/0 (size/max/drops/flushes); Total output drops:0 Queueing strategy:fifo Output queue:0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 1 packets/sec 398301 packets input, 29528679 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 790904 packets output, 54653461 bytes, 0 underruns 0 output errors, 0 collisions, 5 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out The following example shows how to configure Gigabit Ethernet interface 0/10 as a routed port and to assign it an IP address: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface gigabitethernet0/10 Router(config-if)# no switchport Router(config-if)# ip address 10.1.2.3 255.255.0.0 Router(config-if)# no shutdown Router(config-if)# end The following is sample output from the show interfaces privileged EXEC command for Gigabit Ethernet interface 0/2: Router# show interfaces gigabitethernet0/2 GigabitEthernet0/2 is up, line protocol is up Hardware is Gigabit Ethernet, address is 0002.4b29.4400 (bia 0002.4b29.4400) Internet address is 192.168.135.21/24 MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:08, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 89604 packets input, 8480109 bytes, 0 no buffer Received 81848 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 60665 packets output, 6029820 bytes, 0 underruns 0 output errors, 0 collisions, 16 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out The following is sample output from the show ip interface privileged EXEC command for Gigabit Ethernet interface 0/2:
Router# show ip interface gigabitethernet0/2
GigabitEthernet0/2 is up, line protocol is up
Internet address is 192.168.135.21/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.5 224.0.0.6
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
The following is sample output from the show running-config privileged EXEC command for Gigabit Ethernet interface 0/2:
Router# show running-config interface gigabitethernet0/2
Building configuration...
Current configuration : 122 bytes
!
interface GigabitEthernet0/2
no switchport
ip address 192.168.135.21 255.255.255.0
speed 100
mls qos trust dscp
end
Intrachassis Stacking ExampleThe following example shows how to stack GE port 2/0 to GE port 3/0 to form an extended VLAN within one chassis: Router# config terminal Router(config)# interface Gigabit 2 /0 Router(config-if)# switchport stacking-link interface Gigabit3 /0 The following example shows interchassis stacking being verified between GE port 2/0 and GE port 3/0: Router# show interface gigabit 2 0
GigabitEthernet2/0 is up, line protocol is down
Internal Stacking Link Active : Gi2/0 is stacked with Gi3/0
Hardware is Gigabit Ethernet, address is 001b.3f2b.2c24 (bia 001b.3f2b.2c24)
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex mode, link type is force-up, media type is unknown 0
output flow-control is off, input flow-control is off
Full-duplex, 1000Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 1d22h, output never, output hang never
Last clearing of "show interface" counters 1d22h
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
250707 packets input, 19562597 bytes, 0 no buffer
Received 7 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
7469804 packets output, 582910831 bytes, 0 underruns(0/0/0)
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Configuring Switched Port Analyzer (SPAN) ExampleThe following example shows SPAN session 1 being configured to monitor bidirectional traffic from source interface Fast Ethernet 5/1. Fast Ethernet interface 5/48 is configured as the destination for SPAN session 1 and Fast Ethernet interface 5/2 is removed as a SPAN source for SPAN session 1. Router(config)# monitor session 1 source interface fastethernet 5 /1 Router(config)# monitor session 1 destination interface fastethernet 5 /48 Router(config)# no monitor session 1 source interface fastethernet 5/2 Configuring Layer 3 Interfaces ExampleThe following example shows how to configure Gigabit Ethernet interface 0/10 as a routed port and to assign it an IP address: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface gigabitethernet0/10 Router(config-if)# no switchport Router(config-if)# ip address 10.1.2.3 255.255.0.0 Router(config-if)# no shutdown Router(config-if)# end The following is sample output from the show interfaces privileged EXEC command for Gigabit Ethernet interface 0/2: Router# show interfaces gigabitethernet0/2 GigabitEthernet0/2 is up, line protocol is up Hardware is Gigabit Ethernet, address is 0002.4b29.4400 (bia 0002.4b29.4400) Internet address is 192.168.135.21/24 MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:02, output 00:00:08, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 89604 packets input, 8480109 bytes, 0 no buffer Received 81848 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 0 input packets with dribble condition detected 60665 packets output, 6029820 bytes, 0 underruns 0 output errors, 0 collisions, 16 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out The following is sample output from the show ip interface privileged EXEC command for Gigabit Ethernet interface 0/2:
Router# show ip interface gigabitethernet0/2
GigabitEthernet0/2 is up, line protocol is up
Internet address is 192.168.135.21/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Multicast reserved groups joined: 224.0.0.5 224.0.0.6
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is enabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP CEF switching is enabled
IP CEF Fast switching turbo vector
IP multicast fast switching is enabled
IP multicast distributed fast switching is disabled
IP route-cache flags are Fast, CEF
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
WCCP Redirect outbound is disabled
WCCP Redirect exclude is disabled
BGP Policy Mapping is disabled
The following is sample output from the show running-config privileged EXEC command for Gigabit Ethernet interface 0/2:
Router# show running-config interface gigabitethernet0/2
Building configuration...
Current configuration : 122 bytes
!
interface GigabitEthernet0/2
no switchport
ip address 192.168.135.21 255.255.255.0
speed 100
mls qos trust dscp
end
IGMP Snooping ExampleDefault IGMP Snooping ConfigurationIGMP snooping is enabled by default on a VLAN or subnet basis. Multicast routing has to be enabled on the router first and then PIM (Multicast routing protocol) has to be enabled on the VLAN interface so that the EtherSwitch Network Module acknowledges the IGMP join and leave messages that are sent from the hosts connected to the EtherSwitch Network Module. Router(config)# ip multicast-routing Router(config-if)# interface VLAN1 Router(config-if)# ip-address 192.168.10.1 255.255.255.0 Router(config-if)# ip pim sparse-mode The following example shows the output from configuring IGMP snooping:
Router# show mac-address-table multicast igmp-snooping
Slot # :3
--------------
MACADDR VLANID INTERFACES
0100.5e00.0001 1
0100.5e00.0002 1
0100.5e00.000d 1
0100.5e00.0016 1
0100.5e05.0505 1 Fa3/12
0100.5e06.0606 1 Fa3/13
0100.5e7f.ffff 1 Fa3/13
0100.5e00.0001 2
0100.5e00.0002 2
0100.5e00.000d 2
0100.5e00.0016 2
0100.5e00.0128 2
0100.5e05.0505 2 Fa3/10
0100.5e06.0606 2 Fa3/11
The following example shows output from the show running-config interface privileged EXEC command for VLAN 1:
Router#
show running-config interface vlan 1
Building configuration...
Current configuration :82 bytes
!
interface Vlan1
ip address 192.168.4.90 255.255.255.0
ip pim sparse-mode
end
The following example shows output from the show running-config interface privileged EXEC command for VLAN 2: Router# show running-config interface vlan 2 Building configuration... Current configuration :82 bytes ! interface Vlan2 ip address 192.168.5.90 255.255.255.0 ip pim sparse-mode end The following example shows output verifying multicasting support:
Router#
show ip igmp group
IGMP Connected Group Membership
Group Address Interface Uptime Expires Last Reporter
239.255.255.255 Vlan1 01:06:40 00:02:20 192.168.41.101
224.0.1.40 Vlan2 01:07:50 00:02:17 192.168.5.90
224.5.5.5 Vlan1 01:06:37 00:02:25 192.168.41.100
224.5.5.5 Vlan2 01:07:40 00:02:21 192.168.31.100
224.6.6.6 Vlan1 01:06:36 00:02:22 192.168.41.101
224.6.6.6 Vlan2 01:06:39 00:02:20 192.168.31.101
The following example shows output from the multicast routing table:
Router# show ip mroute
IP Multicast Routing Table
Flags:D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C -
Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report
Outgoing interface flags:H - Hardware switched
Timers:Uptime/Expires
Interface state:Interface, Next-Hop or VCD, State/Mode
(*, 239.255.255.255), 01:06:43/00:02:17, RP 0.0.0.0, flags:DC
Incoming interface:Null, RPF nbr 0.0.0.0
Outgoing interface list:
Vlan1, Forward/Sparse, 01:06:43/00:02:17
(*, 224.0.1.40), 01:12:42/00:00:00, RP 0.0.0.0, flags:DCL
Incoming interface:Null, RPF nbr 0.0.0.0
Outgoing interface list:
Vlan2, Forward/Sparse, 01:07:53/00:02:14
(*, 224.5.5.5), 01:07:43/00:02:22, RP 0.0.0.0, flags:DC
Incoming interface:Null, RPF nbr 0.0.0.0
Outgoing interface list:
Vlan1, Forward/Sparse, 01:06:40/00:02:22
Vlan2, Forward/Sparse, 01:07:44/00:02:17
(*, 224.6.6.6), 01:06:43/00:02:18, RP 0.0.0.0, flags:DC
Incoming interface:Null, RPF nbr 0.0.0.0
Outgoing interface list:
Vlan1, Forward/Sparse, 01:06:40/00:02:18
Vlan2, Forward/Sparse, 01:06:43/00:02:16
Configuring Fallback Bridging Examples
Creating a Bridge Group ExampleThe following example shows how to create bridge group 10, specify the VLAN-bridge STP to run in the bridge group, and assign an interface to the bridge group. The switch device is prevented from forwarding frames for stations that it has dynamically learned in bridge group 10, and the bridge table aging time is set to 200 seconds. Frames with a MAC address of 0800.cb00.45e9 are forwarded through an interface in bridge group 1. Router(config)# bridge 10 protocol vlan-bridge Router(config)# interface gigabitethernet0/1 Router(config-if)# no switchport Router(config-if)# bridge-group 10 Router(config-if)# exit Router(config)# no bridge 10 acquire Router(config)# bridge 10 aging-time 200 Router(config)# bridge 1 address 0800.cb00.45e9 forward gigabitethernet0/1 Adjusting Spanning Tree Parameters ExampleThe following example shows how to set the switch priority to 100 for bridge group 10, how to change the priority of an interface to 20 in bridge group 10, and how to change the path cost on an interface to 20 in bridge group 10. In bridge group 10 the hello interval is changed to 5 seconds, the forward-delay interval is changed to 10 seconds, and the maximum-idle interval to 30 seconds. Router(config)# bridge 10 priority 100 Router(config)# interface gigabitethernet0/1 Router(config-if)# bridge-group 10 priority 20 Router(config-if)# bridge-group 10 path-cost 20 Router(config)# bridge 10 hello-time 5 Router(config)# bridge 10 forward-time 10 Router(config)# bridge 10 max-age 30 Fallback Bridging with DLSW ExampleThe following example shows how to configure fallback bridging with DLSW on the EtherSwitch Network Module. Using the network in the figure below, this example shows how to bridge VLANs over routers. Normally VLANs terminate at a router. Note that both PCs are on the same subnet although they are actually separated by two routers. The fallback bridging creates a virtual bridge between the two PCs. The following are partial configurations for Router A and Router B: Router Ano spanning-tree vlan 1 no spanning-tree vlan 100 ! bridge irb ! dlsw local-peer peer-id 192.168.65.1 dlsw remote-peer 0 tcp 192.168.66.1 dlsw bridge-group 1 ! interface FastEthernet1/8 switchport access vlan 100 no ip address ! interface Vlan1 ip address 192.168.65.1 255.255.255.0 ! interface Vlan100 no ip address bridge-group 1 bridge-group 1 spanning-disabled ! bridge 1 protocol ieee call rsvp-sync Router Bno spanning-tree vlan 1 no spanning-tree vlan 100 ! bridge irb ! dlsw local-peer peer-id 192.168.66.1 dlsw remote-peer 0 tcp 192.168.65.1 dlsw bridge-group 1 ! interface FastEthernet1/8 switchport access vlan 100 no ip address interface Vlan1 ip address 192.168.65.2 255.255.255.0 ! interface Vlan100 no ip address bridge-group 1 bridge-group 1 spanning-disabled ! bridge 1 protocol ieee call rsvp-sync Configuring Network Security with ACLs at Layer 2 Examples
Creating Numbered Standard and Extended ACLs ExampleThe following example shows how to create a standard ACL to deny access to IP host 172.16.198.102, permit access to any others, and display the results: Switch (config)# access-list 2 deny host 172.16.198.102 Switch (config)# access-list 2 permit any Router(config)# end Router# show access-lists Standard IP access list 2 deny 171.69.198.102 permit any The following example shows that the switch accepts addresses on network 10.0.0.0 subnets and denies all packets coming from 10.1.0.0 subnets. The ACL is then applied to packets entering Gigabit Ethernet interface 0/1: Router(config)# access-list 2 permit 10.0.0.0 0.255.255.255 Router(config)# access-list 2 deny 10.1.0.0 0.255.255.255 Router(config)# interface gigabitethernet0/1 Router(config-if)# ip access-group 2 in The following example shows how to create and display an extended access list to deny Telnet access from any host in network 172.16.198.0 to any host in network 172.16.52.0 and permit any others (the eq keyword after the destination address means to test for the TCP destination port number equaling Telnet): Router(config)# access-list 102 deny tcp 172.16.198.0 0.0.0.255 172.16.52.0 0.0.0.255 eq telnet Router(config)# access-list 102 permit tcp any any Router(config)# end Router# show access-lists Extended IP access list 102 deny tcp 172.16.198.0 0.0.0.255 172.16.52.0 0.0.0.255 eq telnet permit tcp any any The following example shows an extended ACL with a network connected to the Internet and any host on the network being able to form TCP Telnet and SMTP connections to any host on the Internet: Router(config)# access-list 102 permit tcp any 172.16.0.0 0.0.255.255 eq 23 Router(config)# access-list 102 permit tcp any 172.17.0.0 0.0.255.255 eq 25 Router(config)# interface gigabitethernet0/1 Router(config-if)# ip access-group 102 in SMTP uses TCP port 25 on one end of the connection and a random port number on the other end. The same port numbers are used throughout the life of the connection. Mail packets coming in from the Internet have a destination port of 25. Because the secure system behind the switch always accepts mail connections on port 25, the incoming services are controlled. Creating Named Standard and Extended ACLs ExampleThe following example shows how you can delete individual ACEs from a named ACL: Router(config)# ip access-list extended border-list Router(config-ext-nacl)# no permit ip host 10.1.1.3 any The following example shows the marketing_group ACL allowing any TCP Telnet traffic to the destination address and wildcard 172.16.0.0 0.0.255.255 and denying any other TCP traffic. It permits any other IP traffic: Router(config)# ip access-list extended marketing_group Router(config-ext-nacl)# permit tcp any 172.16.0.0 0.0.255.255 eq telnet Router(config-ext-nacl)# deny tcp any any Router(config-ext-nacl)# permit ip any any The ACLs are applied to permit Gigabit Ethernet port 0/1, which is configured as a Layer 2 port, with the marketing_group ACL applied to incoming traffic. Router(config)# interface gigabitethernet0/1 Router(config-if)# ip access-group marketing_group in Including Comments About Entries in ACLs ExampleThe following example shows an IP numbered standard ACL using the access-list access-list number remark remarkglobal configuration command to include a comment about an access list. In this example, the workstation belonging to Jones is allowed access, and the workstation belonging to Smith is not allowed access: Router(config)# access-list 1 remark Permit only Jones workstation through Router(config)# access-list 1 permit 172.16.2.88 Router(config)# access-list 1 remark Do not allow Smith workstation through Router(config)# access-list 1 deny 172.17.3.13 The following example shows an entry in a named IP ACL using the remark access-list global configuration command to include a comment about an access list. In this example, the Jones subnet is not allowed to use outbound Telnet: Router(config)# ip access-list extended telnetting Router(config-ext-nacl)# remark Do not allow Jones subnet to telnet out Router(config-ext-nacl)# deny tcp host 172.16.2.88 any eq telnet In this example of a numbered ACL, the workstation belonging to Jones is allowed access, and the workstation belonging to Smith is not allowed access: Router(config)# access-list 1 remark Permit only Jones workstation through Router(config)# access-list 1 permit 172.16.2.88 Router(config)# access-list 1 remark Do not allow Smith workstation through Router(config)# access-list 1 deny 172.16.3.13 In this example of a numbered ACL, the Winter and Smith workstations are not allowed to browse the web: Router(config)# access-list 100 remark Do not allow Winter to browse the web Router(config)# access-list 100 deny host 172.16.3.85 any eq www Router(config)# access-list 100 remark Do not allow Smith to browse the web Router(config)# access-list 100 deny host 172.16.3.13 any eq www Displaying Standard and Extended ACLs ExampleThe following example displays all standard and extended ACLs:
Router# show access-lists
Standard IP access list 1
permit 172.20.10.10
Standard IP ACL 10
permit 10.12.12.12
Standard IP access list 12
deny 10.3.3.2
Standard IP access list 32
permit 172.20.20.20
Standard IP access list 34
permit 10.24.35.56
permit 10.45.56.34
Extended IP access list 120
The following example displays only IP standard and extended ACLs:
Router# show ip access-lists
Standard IP access list 1
permit 172.16.10.10
Standard IP access list 10
permit 10.12.12.12
Standard IP access list 12
deny 10.3.3.2
Standard IP access list 32
permit 172.20.20.20
Standard IP access list 34
permit 10.24.35.56
permit 10.45.56.34
Extended IP access list 120
Displaying Access Groups ExampleYou use the ip access-group interface configuration command to apply ACLs to a Layer 3 interface. When IP is enabled on an interface, you can use the show ip interface interface-id privileged EXEC command to view the input and output access lists on the interface, as well as other interface characteristics. If IP is not enabled on the interface, the access lists are not shown. The following example shows how to view all access groups configured for VLAN 1 and for Gigabit Ethernet interface 0/2: Router# show ip interface vlan 1 GigabitEthernet0/2 is up, line protocol is down Internet address is 10.20.30.1/16 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is permit Any Inbound access list is 13 . . . Router# show ip interface fastethernet 0/9 FastEthernet0/9 is down, line protocol is down Inbound access list is ip1 The only way to ensure that you can view all configured access groups under all circumstances is to use the show running-config privileged EXEC command. To display the ACL configuration of a single interface, use the show running-config interface interface-idcommand. The following example shows how to display the ACL configuration of Gigabit Ethernet interface 0/1:
Router# show running-config interface gigabitethernet0/1
Building configuration...
Current configuration :112 bytes
!
interface GigabitEthernet0/1
ip access-group 11 in
snmp trap link-status
no cdp enable
end
Compiling ACLs ExampleFor more information about ACLs, see the " IP Access List Features Roadmap" module. The figure below shows a small networked office with a stack of Catalyst 2950 switches that are connected to a Cisco router with an EtherSwitch Network Module installed. A host is connected to the network through the Internet using a WAN link. Use switch ACLs to do these tasks:
The following example uses a standard ACL to allow access to a specific Internet host with the address 172.16.128.64: Router(config)# access-list 6 permit 172.16.128.64 0.0.0.0 Router(config)# end Router(config)# interface gigabitethernet0/1 Router(config-if)# ip access-group 6 in The following example uses an extended ACL to deny traffic from port 80 (HTTP). It permits all other types of traffic: Router(config)# access-list 106 deny tcp any any eq 80 Router(config)# access-list 106 permit ip any any Router(config)# interface gigabitethernet0/2 Router(config-if)# ip access-group 106 in Configuring QoS on the EtherSwitch Network Module Examples
Classifying Traffic by Using ACLs ExampleThe following example shows how to allow access for only those hosts on the two specified networks. The wildcard bits apply to the host portions of the network addresses. Any host with a source address that does not match the ACL statements is rejected. Router(config)# access-list 1 permit 192.168.255.0 0.0.0.255 Router(config)# access-list 1 permit 10.0.0.0 0.0.0.255 Classifying Policing and Marking Traffic by Using Policy Maps ExampleThe following example shows how to create a policy map and attach it to an ingress interface. In the configuration, the IP standard ACL permits traffic from network 10.1.0.0. For traffic matching this classification, the DSCP value in the incoming packet is trusted. If the matched traffic exceeds an average traffic rate of 48000 bps and a normal burst size of 8000 bytes, its DSCP is marked down to a value of 10 and transmitted. Router(config)# access-list 1 permit 10.1.0.0 0.0.255.255 Router(config)# class-map ipclass1 Router(config-cmap)# match access-group 1 Router(config-cmap)# exit Router(config)# policy-map flow1t Router(config-pmap)# class ipclass1 Router(config-pmap-c)# police 5000000 8192 exceed-action dscp 10 Router(config-pmap-c)# exit Router(config-pmap)# exit Router(config)# interface gigabitethernet0/1 Router(config-if)# switchport mode access Router(config-if)# service-policy input flow1t Configuring the CoS-to-DSCP Map ExampleThe following example shows how to modify and display the CoS-to-DSCP map: Router# configure terminal Router(config)# mls qos map cos-dscp 8 8 8 8 24 32 56 56 Router(config)# end Router# show mls qos maps cos-dscp Cos-dscp map: cos: 0 1 2 3 4 5 6 7 -------------------------------- dscp: 8 8 8 8 24 32 56 56 Configuring the DSCP-to-CoS Map ExampleThe following example shows how the DSCP values 26 and 48 are mapped to CoS value 7. For the remaining DSCP values, the DSCP-to-CoS mapping is the default. Router(config)# mls qos map dscp-cos 26 48 to 7 Router(config)# exit Router# show mls qos maps dscp-cos Dscp-cos map: dscp: 0 8 10 16 18 24 26 32 34 40 46 48 56 ----------------------------------------------- cos: 0 1 1 2 2 3 7 4 4 5 5 7 7 Additional ReferencesRelated Documents
MIBs
RFCs
Technical Assistance
Feature Information for EtherSwitch Network ModuleThe following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Glossary802.1d --IEEE standard for MAC bridges. 802.1p --IEEE standard for queuing and multicast support. 802.1q--IEEE standard for VLAN frame tagging. 802.1x--IEEE standard for port-based network access control. ACE --access control entry. Entry in an access control list. ACL--access control list. Used for security or as a general means to classify traffic. AgPort --aggregate port (another name for EtherChannel). ATM--Asynchronous Transfer Mode. The international standard for cell relay in which multiple service types (such as voice, video, or data) are conveyed in fixed-length (53-byte) cells. Fixed-length cells allow cell processing to occur in hardware, thereby reducing transit delays. ATM is designed to take advantage of high-speed transmission media such as E3, SONET, and T3. authentication server --Entity that validates the credentials of a host trying to obtain access to the network. authenticator --Entity that enforces authentication rules for hosts connecting to a LAN via one of its ports. authorization state --The state of a controlled port. It can be authorized (access allowed) or unauthorized (access denied). AVVID--Architecture for voice, video, and integrated data. BRI--Basic Rate Interface. ISDN interface comprising two B channels and one D channel for circuit-switched communication of voice, video, and data. CAC--connection admission control. Set of actions taken by each ATM switch during connection setup to determine whether a connection's requested QoS will violate the QoS guarantees for established connections. CAC is also used when routing a connection request through an ATM network. candidate --Switch that is not part of a cluster, but is eligible to join a cluster because it meets the qualification criteria of the cluster. CBWFQ--class-based weighted fair queuing. Extends the standard WFQ functionality to provide support for user-defined traffic classes. CCN--Cisco Communications Network (Cisco IP phones and IP PBX). classification --Process of sorting incoming packets by examining fields of interest in the packet header. Fields can be addresses, ports, DSCP value, and so on. cluster --Group of switches that are managed as a single device. A cluster comprises one commander and multiple members. cluster commander --Switch that provides the primary management interface to a cluster. cluster member --Member switch that is managed through the cluster commander. CoS --class of service. An indication of how an upper-layer protocol requires a lower-layer protocol to treat its messages. In SNA subarea routing, CoS definitions are used by subarea nodes to determine the optimal route to establish a session. A CoS definition comprises a virtual route number and a transmission priority field. Also called ToS. DSCP --differentiated services code point. In QoS, a modification of the type of service byte. Six bits of this byte are being reallocated for use as the DSCP field, where each DSCP specifies a particular per-hop behavior that is applied to a packet. DSL--digital subscriber line. Public network technology that delivers high bandwidth over conventional copper wiring at limited distances. There are four types of DSL: ADSL, HDSL, SDSL, and VDSL. All are provisioned via modem pairs, with one modem at a central office and the other at the customer site. Because most DSL technologies do not use the whole bandwidth of the twisted pair, there is room remaining for a voice channel. EAP--Extensible Authentication Protocol. A mechanism (originally designed for PPP in RFC 2284) that provides authentication of hosts requesting access to a network. EAPOL --EAP over LAN. Frame Relay --The capability to carry normal telephony-style voice over an IP-based network with POTS-like functionality, reliability, and voice quality. VoIP lets a router carry voice traffic (such as telephone calls and faxes) over an IP network. In VoIP, the DSP segments the voice signal into frames, which then are coupled in groups of two and stored in voice packets. These voice packets are transported using IP in compliance with ITU-T specification H.323. FXO--Foreign Exchange Office. An FXO interface connects to the Public Switched Telephone Network (PSTN) central office and is the interface offered on a standard telephone. Cisco's FX interface is an RJ-11 connector that allows an analog connection at the PSTN's central office or to a station interface on a PBX. FXS--Foreign Exchange Station. An FXS interface connects directly to a standard telephone and supplies ring, voltage, and dial tone. Cisco's FXS interface is an RJ-11 connector that allows connections to basic telephone service equipment, keysets, and PBXs. HSRP --Hot Standby Router Protocol. Provides high network availability and transparent network topology changes. HSRP creates a hot standby router group with a lead router that services all packets sent to the hot standby address. The lead router is monitored by other routers in the group, and if it fails, one of these standby routers inherits the lead position and the hot standby group address. IGMP --Internet Group Management Protocol. Used by IP hosts to report their multicast group memberships to an adjacent multicast router. ISL --InterSwitch Link, which is used to carry traffic for multiple VLANs. A method of encapsulating tagged LAN frames and transporting them over a full-duplex, point-to-point Ethernet link. The encapsulated frames can be Token Ring or Fast Ethernet and are carried unchanged from transmitter to receiver. MIB --Management Information Base. Database of network management information that is used and maintained by a network management protocol, such as SNMP or Common Management Information Protocol (CMIP). The value of a MIB object can be changed or retrieved using SNMP or CMIP commands, usually through a graphical user interface (GUI) network management system. MIB objects are organized in a tree structure that includes public (standard) and private (proprietary) branches. policing --Process of ensuring whether a stream of classified incoming packets conforms to a particular traffic profile. An action (drop or remark) is taken based on the rate of arrival of packets. PRI--primary rate interface. ISDN interface to primary rate access. Primary rate access consists of one 64-kbps D channel and 23 (T1) or 30 (E1) B channels for voice or data. Compare with BRI. PSTN--public switched telephone network. General term referring to the variety of telephone networks and services in place worldwide. Also called POTS. PVC--permanent virtual circuit. Virtual circuit that is permanently established. PVCs save bandwidth associated with circuit establishment and tear down in situations where certain virtual circuits must exist all the time. In ATM terminology, called a permanent virtual connection. PVST --Per-VLAN spanning tree. Support for dot1q trunks to map multiple spanning trees to a single spanning tree. QoS--quality of service. Measure of performance for a transmission system that reflects its transmission quality and service availability. RADIUS --Remote Access Dial-In User Service. A service used to authenticate and authorize clients. RMON --remote monitoring. MIB agent specification described in RFC 1271 that defines functions for the remote monitoring of networked devices. The RMON specification provides numerous monitoring, problem detection, and reporting capabilities. RSVP--Resource Reservation Protocol. Protocol that supports the reservation of resources across an IP network. Applications running on IP end systems can use RSVP to indicate to other nodes the nature (bandwidth, jitter, maximum burst, and so on) of the packet streams they want to receive. RSVP depends on IPv6. Also known as Resource Reservation Setup Protocol. SIP--Session Initiation Protocol. Protocol developed by the IETF MMUSIC Working Group as an alternative to H.323. SIP features are compliant with IETF RFC 2543, which was published in March 1999. SIP equips platforms to signal the setup of voice and multimedia calls over IP networks. SNMP --Simple Network Management Protocol. Network management protocol used almost exclusively in TCP/IP networks. SNMP provides a means to monitor and control network devices and to manage configurations, statistics collection, performance, and security. stacking --Connecting two switches so they behave as one entity for management purposes. Regarding an EtherSwitch Network Module, stacking means connecting two EtherSwitch Network Modules inside a chassis so that they behave as one switch. STP --Spanning Tree Protocol. Bridge protocol that uses the spanning-tree algorithm, which enables a learning bridge to dynamically work around loops in a network topology by creating a spanning tree. Bridges exchange Bridge Protocol Data Unit (BPDU) messages with other bridges to detect loops and then remove the loops by shutting down selected bridge interfaces. Refers to both the IEEE 802.1 Spanning-Tree Protocol standard and the earlier Digital Equipment Corporation Spanning-Tree Protocol upon which it is based. The IEEE version supports bridge domains and allows the bridge to construct a loop-free topology across an extended LAN. The IEEE version generally is preferred over the Digital version. supplicant --Entity requesting access to the network via the authenticator. SVI --Switch Virtual Interface. Represents a VLAN of switch ports as one interface to the routing or bridging function in a system. VBR--variable bit rate. QoS class defined by the ATM Forum for ATM networks. VBR is subdivided into a real time (RT) class and non-real time (NRT) class. VBR (RT) is used for connections in which there is a fixed timing relationship between samples. VBR (NRT) is used for connections in which there is no fixed timing relationship between samples but that still need a guaranteed QoS. VLAN --virtual LAN. Group of devices on one or more LANs that are configured (using management software) so that they can communicate as if they were attached to the same wire, when in fact they are on separate LAN segments. Because VLANs are based on logical instead of physical connections, they are extremely flexible. VoIP--Voice over IP. Ability to carry normal telephony-style voice over an IP-based internet with POTS-like functionality, reliability, and voice quality. VoIP enables a router to carry voice traffic (such as telephone calls and faxes) over an IP network. In VoIP, the digital signal processor (DSP) segments the voice signal into frames, which then are coupled in groups of two and stored in voice packets. These voice packets are transported using IP in compliance with ITU-T specification H.323. VoIPoFR--Voice-over-IP over Frame-Relay. VPN--virtual private network. Enables IP traffic to travel securely over a public TCP/IP network by encrypting all traffic from one network to another. A VPN uses "tunneling" to encrypt all information at the IP level. VQP --VLAN Query Protocol. VTP --VLAN Trunking Protocol. WAN--wide area network. A communications network that covers a wide geographic area such as state or country. A LAN (local-area network) is within a building or complex, and a MAN (metropolitan-area network) generally covers a city or suburb. WFQ--weighted fair queuing. In QoS, a flow-based queuing algorithm that schedules low-volume traffic first while letting high-volume traffic share the remaining bandwidth. This is handled by assigning a weight to each flow, where lower weights are the first to be serviced. WRR --Weighted Round-Robin. Type of round-robin scheduling that prevents low-priority queues from being completely neglected during periods of high-priority traffic. The WRR scheduler transmits some packets from each queue in turn. The number of packets it transmits corresponds to the relative importance of the queue. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. 1 No support for type of service (TOS) minimize
monetary cost bit. © 2011 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|