Chapter 8 Switching Introduction ................................................................................................... 8-5 Switch Ports ................................................................................................... 8-6 Enabling and Disabling Switch Ports ........................................................ 8-6 Autonegotiation of Port Speed and Duplex Mode .................................... 8-7 Port Trunking ..........................................................
8-2 Rapier Switch Software Reference Configuring MSTP ................................................................................. 8-45 Common and Internal Spanning Tree (CIST) ........................................... 8-51 The Relationship between Spanning Trees and Trunks ............................ 8-55 Hardware Packet Filters ................................................................................ 8-55 Classifier-Based Packet Filters ....................................................
Switching 8-3 disable switch debug ........................................................................... 8-116 disable switch hwfilter ......................................................................... 8-117 disable switch l3filter ........................................................................... 8-117 disable switch learning ........................................................................ 8-118 disable switch mirror ..........................................................
8-4 Rapier Switch Software Reference show lacp trunk .................................................................................. 8-186 show mstp .......................................................................................... 8-187 show mstp cist .................................................................................... 8-189 show mstp cist port ............................................................................. 8-191 show mstp counter port ............................
Switching 8-5 Introduction This chapter gives an overview of Layer 1 (the physical layer), 2 (the data link layer), and 3 (the network layer) switching, and describes the support for switching and how to configure and operate the switching functions. The switch, also referred to as a MAC (media access control) bridge, a data link relay, or a Layer 2 switch, can connect multiple Local Area Network (LAN) segments together to form an extended LAN.
8-6 Rapier Switch Software Reference ■ Further improve LAN performance, as broadcast traffic is limited to LAN segments serving members of the VLAN to which the sender belongs. ■ Provide security, as frames are forwarded to those stations belonging to the sender’s VLAN, and not to stations in other VLANs on the same physical LAN. ■ Reduce the cost of moving or adding stations to function or security based LANs, as this generally requires only a change in the VLAN configuration.
Switching 8-7 Autonegotiation of Port Speed and Duplex Mode Each of the switch ports can operate at either 10 Mbps or 100 Mbps, in either full duplex or half duplex mode. In full duplex mode, a port transmits and receives data simultaneously. In half duplex mode, the port either transmits or receives, but not at the same time. This versatility makes it possible to connect devices with different speeds and duplex modes to different ports on the switch.
-8 Rapier Switch Software Reference Table 8-1: Port speed and duplex settings for switch ports Speed Rapier 24i Rapier 48i Rapier 24i Rapier 24i Rapier 16f Rapier 48i Rapier 48i Rapier G6x Rapier G6x AT-A40 Rapier 24i Rapier 16f Rapier G6x AT-A35 AT-A41 AT-A42 AT-A39 Rapier 48i Rapier 16f AT-A39 uplinks uplinks uplink 10/100 Rapier G6f Rapier G6 Rapier 16fi uplink 10MHALF Yes No Yes No No Yes No No 10MFULL Yes No Yes No No Yes No No 100MHALF Yes No Yes Yes No Yes No Yes 100M
Switching 8-9 All the ports in a trunk group must have the same VLAN configuration: they must belong to the same VLANs and have the same tagging status. All ports in a trunk group must be added to VLANs together, and can only be deleted from a VLAN as a group. Similarly, if the tagged or untagged status of the ports is changed, it must be changed for all ports in the trunk group at the same time.
8-10 Rapier Switch Software Reference ■ terminate on the same device ■ be members of the same VLANs ■ have the same data rate ■ share the same admin port key (assigned by using the command, add lacp port command on page 8-71). The hardware must also be capable and have the capacity to handle the number of links to be aggregated. Aggregated group identification In order to identify particular aggregated groups, each group is assigned a link aggregation identifier called a lag ID.
Switching 8-11 Port Mirroring Port mirroring allows traffic being received and transmitted on a switch port to be sent to another switch port, the mirror port, usually to capture data with a protocol analyser. The mirror port is the only switch port that belongs to no VLANs, and therefore does not participate in any other switching. Before the mirror port can be set, it must be removed from all VLANs except the default VLAN. The port cannot be part of a trunk group.
8-12 Rapier Switch Software Reference addresses on a locked port. To disable port security on a port, set the limit for learned MAC addresses to zero or none. Port security can be enabled or disabled on a port by using the command: set switch port={port-list|all} learn={none|0|1..
Switching 8-13 ■ Connect 802.1q-compatible switches together through one port on each switch Devices that are members of the same VLAN exchange data with each other through the switch’s switching capabilities. To exchange data between devices in separate VLANs, the switch’s routing capabilities are used. The switch passes VLAN status information, indicating whether a VLAN is up or down, to the Internet Protocol (IP) module. IP uses this information to determine route availability.
8-14 Rapier Switch Software Reference Single-host mode In single host mode, VLAN assignment is as follows: ■ If authentication fails, the supplicant is denied access to the port. The port is placed in its configured access VLAN, that is, the VLAN it was set up for in the add vlan command. ■ If the RADIUS server supplies valid VLAN information, the port is placed in the specified VLAN after configuration.
Switching 8-15 state. This effectively disables the guest VLAN on the port until the port’s link goes down. A guest VLAN can only be configured for a port that is running in singlesupplicant mode. VLAN Tagging An Ethernet packet can contain a VLAN tag with fields that specify VLAN membership and user priority. The VLAN tag is described in IEEE Standard 802.3ac, and is four octets that can be inserted between the Source Address and the Type/Length fields in the Ethernet packet (Figure 8-1 on page 8-16).
8-16 Rapier Switch Software Reference Figure 8-1: Format of user priority and VLAN data in an Ethernet frame Destination Address 64 bits 48 bits TPID 16 bits Source Type/ Address Length Frame Data 48 bits 16 bits User Priority CFI 3 bits 1 bit Preamble 368-12000 CRC 32 bits VID 12 bits 0x81-00 SWITCH6 Table 8-3: Reserved VID values VID value (hexadecimal) Meaning and use of reserved VID values 0 The null VLAN ID.
Switching 8-17 associated with the VID of the VLAN for which the incoming port is untagged. When the switch forwards a frame over a tagged port, it adds a VLAN tag to the frame. When the switch forwards the frame over an untagged port, it transmits the frame as a VLAN-untagged frame, not including the VID in the frame. The VLAN tag that the switch adds to a frame on egress depends on whether the frame is switched in Layer 2 or Layer 3.
8-18 Rapier Switch Software Reference Figure 8-2: VLANs with tagged ports Training VLAN VID=3 Port 3 Port 22 Port 21 Port 26 Switch A Switch B Port 25 Port 1 Port 4 Port 2 Port 23 Admin VLAN VID=2 Marketing VLAN VID=4 411 VLAN-aware server SWITCH3 Table 8-4: VLAN membership of example of a network using tagged ports VLAN Member ports Training 3, 26 on Switch A 21, 22, 25 on Switch B Marketing 2, 4, 26 on Switch A 23, 25 on Switch B Admin 1, 2 on Switch A VLAN Membership of Untagged
Switching 8-19 If the network includes VLANs that do not need to share network resources or span several switches, VLAN membership can usefully be based on untagged ports. Otherwise, VLAN membership should be determined by tagging (see “VLAN Tagging” on page 8-15). Figure 8-3 on page 8-19 shows two port-based VLANs with untagged ports. Ports 1-3 belong to the marketing VLAN, and ports 14-16 belong to the training VLAN.
8-20 Rapier Switch Software Reference To add tagged ports to a VLAN, use the command: add vlan={vlan-name|1..4094} port={port-list|all} frame=tagged A port can be tagged for any number of VLANs. To add untagged ports to a VLAN, use the command: add vlan={vlan-name|1..4094} port={port-list|all} [frame=untagged] A port can be untagged for zero or one VLAN. A port can be added only to the default VLAN as an untagged port when it is not untagged for another VLAN.
Switching 8-21 Summary of VLAN Tagging Rules When designing a VLAN and adding ports to VLANs, consider the following rules: • Except for the mirror port, each port must belong to at least one static VLAN. By default, a port is an untagged member of the default VLAN. • A port can be untagged for zero or one VLAN. A port that is untagged for a VLAN transmits frames destined for that VLAN without a VLAN tag in the Ethernet frame. • A port can be tagged for zero or more VLANs.
8-22 Rapier Switch Software Reference Protected VLANs If a VLAN is protected, Layer 2 traffic between ports that are members of a protected VLAN is blocked. Traffic can be Layer 3 switched to another VLAN. This feature prevents members of a protected VLAN from communicating with each other yet still allows members to access another network. Layer 3 Routing between ports in a protected VLAN can be prevented by adding a Layer 3 filter.
Switching 8-23 Figure 8-4: Example network configuration using private VLANs ISP 1 ISP 2 VLANs 2 and 3 VLANs 11 and 12 Uplink (trunk group) Uplink 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 private port private port private group (may be a trunk group) Customer 1 VLAN 12 ISP 2 25 Customer 3 Customer 2 VLANs 2 and 3 ISP 1 VLANs 2, 3 and 11 ISPs 1 and 2 private-vlan Membership Rules for Private VLANs Each private VLAN: • Must contain one uplink port or uplink trunk group • Ma
8-24 Rapier Switch Software Reference Private VLANs on Rapier 48i Switches The ports on Rapier 48i switches are divided into two instances: • ports 1-24 plus uplink port 49 • ports 25-48 plus uplink port 50 Private VLANs on a Rapier 48i switch can consist of only ports from one instance. Both the private ports and the uplink port must be in the same instance. Configuring Private VLANs To create a private VLAN and add ports to it: 1.
Switching 8-25 VLAN Relaying VLAN relaying allows the passage of traffic between the VLANs on one switch, for protocols that are not processed by the switch’s routing functions. Particular protocols or protocol groups can be specified, and filtering occurs on the basis of protocol identification number. VLAN relaying is similar to the bridging function of an Allied Telesyn router. Protocol names have been predefined for many protocol types.
8-26 Rapier Switch Software Reference Table 8-5: Predefined protocol types implemented by VLAN relay (Continued) Protocol Name Protocol Number Encapsulation IBM SNA 80D5 EthII SNMP 814C EthII AllSNAP all SNAP protocols SNAP VLAN relaying operates in the following stages: 1. The user creates one or more VLAN relay entities and adds the required VLANs and protocols to each entity. 2. The VLAN relay entity attaches to each specified VLAN and receives traffic.
Switching 8-27 Protocols are specified by protocol type and number, or by allowing all protocols of a certain type. A predefined list of common protocols is provided in Table 8-5 on page 8-25. VLANs and/or protocols can be removed from an existing VLAN relay entity by using the command: delete vlanrelay=name [protocol=protocoltype] vlan=[{vlanname|1..
8-28 Rapier Switch Software Reference The Ingress Rules When a frame first arrives at a port, ingress rules for the port check the VLAN tagging in the frame to determine whether to discard it or forward it to the learning process. The first check depends on whether the Acceptable Frame Types parameter is set to Admit All Frames or to Admit Only VLAN Tagged Frames.
Switching 8-29 If the ageing timer for an entry in the forwarding database expires before another frame with the same source address is received, the entry is removed from the forwarding database. This prevents the forwarding database from being filled up with information about stations that are inactive or have been disconnected from the network, while ensuring that entries for active stations are kept alive in the forwarding database.
8-30 Rapier Switch Software Reference The forwarding process provides storage for queued frames to be transmitted over a particular port or ports. More than one transmission queue may be provided for a given port. The transmission queue where a frame is sent is determined by the user priority tag in the Ethernet frame and the Quality of Service mapping (see “Quality of Service” on page 8-30).
Switching 8-31 The Egress Rules After the forwarding process determines the ports and transmission queues from which a frame is forwarded, the Egress Rules for each port determine whether the outgoing frame is VLAN-tagged with its numerical VLAN Identifier (VID). When you add a port to a VLAN, configure it to transmit either untagged or VLAN tagged packets by using the command: add vlan={vlan-name|1..
8-32 Rapier Switch Software Reference the frame is transmitted on the port specified by the entry in the forwarding database. Spanning Tree Protocol (STP) The Spanning Tree Protocol (STP) automatically disables redundant paths in a network to avoid loops, and enables them when a fault in the network means they are needed to keep traffic flowing. A sequence of LANs and switches may be connected together in an arbitrary physical topology resulting in more than one path between any two switches.
Switching 8-33 Once the spanning tree is established, it is maintained by: 1. Replacing a failed path with a redundant backup path, if one is available. 2. Detecting and removing loops by declaring ports redundant and removing them from the logical spanning tree. 3. Maintaining timers that control the ageing of the forwarding database entries.
8-34 Rapier Switch Software Reference A spanning tree running in standard mode can take up to one minute to rebuild after a topology or configuration change. The Rapid Spanning Tree algorithm provides for a more rapid recovery of connectivity following the failure of a bridge, bridge port, or a LAN.
Switching 8-35 Table 8-7: Spanning Tree port states State Meaning DISABLED STP operations are disabled on the port. The port does not participate in frame relay or the operation of the Spanning Tree Algorithm and Protocol. The port can still switch if its switch state is enabled. BLOCKING The port does not participate in frame relay. The forwarding process discards received frames and does not submit forwarded frames for transmission. This is the “standby” mode.
8-36 Rapier Switch Software Reference If creating multiple STPs in a network, consider the following: • A VLAN can only belong to a single STP. • Except on the Rapier i Series switches, any port in the switch must belong only to a single STP. When a port is a member of multiple VLANs, all these VLANs must belong to the same STP. Within any given STP, all VLANs belonging to it use the same Spanning Tree.
Switching 8-37 By default, all VLANs, and therefore all ports, belong to the default STP. To add or delete a VLAN and all the ports belonging to it from any other STP, use the commands: add stp=stp-name vlan={vlan-name|2..4094} delete stp=stp-name vlan={vlan-name|2..4094|all} The default STP is disabled by default at switch start up, and STPs created by a user are disabled by default when they are created.
8-38 Rapier Switch Software Reference To modify the parameters controlling these time intervals, use the command: set stp={stp-name|all} [forwarddelay=4..30] [hellotime=1..10] [maxage=6..40] The value of the priority parameter is used to set the writable portion of the bridge ID, i.e. the first two octets of the (8-octet long) Bridge Identifier. The remaining 6 octets of the bridge ID are given by the MAC address of the switches.
Switching 8-39 Table 8-10: Path cost values and port speed for rapid mode Port Speed Default PATHCOST Recommended PATHCOST range Less than 100 Kb/s 200,000,000 20,000,000-200,000,000 1Mbps 20,000,000 2,000,000-20,000,000 10Mbps 2,000,000 200,000-2,000,000 100 Mbps 200,000 20,000-200,000 1 Gbps 20,000 2,000-20,000 10 Gbps 2,000 200-2,000 100 Gbps 200 20-200 1Tbps 20 2-200 10 Tbps 2 2-20 Setting the path cost to a larger value on a particular port is likely to reduce the traffi
8-40 Rapier Switch Software Reference Table 8-11: STP debugging options Option Debug Mode Description MSG Message Decoded display of received and transmitted STP packets PKT Packet Raw ASCII display of received and transmitted STP packets STATE State Port state transitions. ALL All All debug options To enable, disable or show the debug modes, use the commands: enable stp={stp-name|all} debug={msg|pkt|state|all} [output=console] [timeout={1..
Switching 8-41 Multiple Spanning Tree Protocol (MSTP) The multiple spanning tree protocol (MSTP) was developed to address the limitations in the existing spanning tree protocols, STP and RSTP. These limitations apply mainly to networks that use multiple VLANs with topologies employing alternative physical links. MSTP is defined in IEEE Standard 802.1Q 2003. The protocol builds on, and remains compatible with, the following previous standards: ■ IEEE Standard 802.
8-42 Rapier Switch Software Reference Table 8-12: MST Configuration identifier Field Name Description Format Selector A single octet field whose value of 0 indicates MSTP operation Configuration Name A name (up to 32 characters long) that identifies a particular MST region. The configuration name is defined using the SET MSTP command. Revision Level A number representing the region’s revision level. This value is normally set to 0.
Switching 8-43 Table 8-13: MST Bridge Protocol Data Units (BPDUs) (Continued) CIST Regional Root 18–25 Identifier ID of the current CIST regional root bridge. CIST Port Identifier 26–27 CIST port identifier of the transmitting bridge port. Message Age 28–29 Message age timer value. Max Age 30–31 Timeout value to be used by all bridges in the bridged network. This value is set by the root. Some implementations of MSTP may choose not to use this value.
8-44 Rapier Switch Software Reference Table 8-14: MSTI configuration messages MSTI Port Priority 15 Bits 5 through 8 are used to convey the value of the port identifier priority for this MSTI. Bits 1 through 4 are transmitted as 0, and ignored on receipt. MSTI Remaining Hops 16 Value of remaining hops for this MSTI. Compatibility with Previous Spanning Tree Protocols MSTP provides for compatibility with older spanning tree protocols in several ways.
Switching 8-45 Configuring MSTP The configuration examples in this section are based on the network shown in Figure 8-6 on page 8-45. This simple network comprises three LAN bridges connected in a multi-linked mesh configuration. The network is configured as a single MSTP region, called a MSTR, and given the name, Head Office. Two spanning tree instances (MSTIs) are created within this region called MSTI 2 and MSTI 3.
8-46 Rapier Switch Software Reference Configure Switch 1 1. Name the system and set manager port. set system name=switch1 set manager asyn=0 2. Create VLAN 12 and assign it a VID of 12. create vlan=vlan12 vid=12 3. Create VLAN 25 and assign it a VID of 25. create vlan=vlan25 vid=25 4. Add VLAN 12 to the required ports, as tagged ports. add vlan=12 po=3,4,5,6,7,8 frame=tagged 5. Add VLAN 25 to the required ports, as tagged ports. add vlan=25 po=3,4,5,6 frame=tagged 6. Set MSTP on Switch 1.
Switching 8-47 Configure Switch 2 1. Name the system and set manager port. set system name=switch2 set manager asyn=0 2. Create VLAN 12 and assign it a VID of 12. create vlan=vlan12 vid=12 3. Create VLAN 25 and assign it a VID of 25. create vlan=vlan25 vid=25 4. Add VLAN 12 to the required ports, as tagged ports. add vlan=12 po=3,4,5,6,7,8,9,10 frame=tagged 5. Add VLAN 25 to the required ports, as tagged ports. add vlan=25 po=3,4,9,10 frame=tagged 6. Set MSTP on Switch2.
8-48 Rapier Switch Software Reference Configure Switch 3 1. Name the system and set manager port. set system name=switch3 set manager asyn=0 2. Create VLAN 12 and assign it a VID of 12. create vlan=vlan12 vid=12 3. Create VLAN 25 and assign it a VID of 25. create vlan=vlan25 vid=25 4. Add VLAN 12 to the required ports, as tagged ports. add vlan=12 po=5,6,9,10 frame=tagged 5. Add VLAN 25 to the required ports, as tagged ports. add vlan=25 po=5,6,9,10 frame=tagged 6. Set MSTP on Switch 3.
Switching 8-49 Root bridge selection for MSTP MSTIs The MSTP protocol will select its root bridges for each MSTI. It does this by selecting, for each MSTI, the bridge that contains (numerically) the lowest bridge identifier. This is shown in Figure 8-7 on page 8-49.
8-50 Rapier Switch Software Reference Path selection for MSTP MSTIs After the protocol has selected its root bridge for each MSTI, it selects which are to be the active and blocked paths for each MSTI. The port with the best path to the root bridge is selected as the foot port and becomes active. Other ports that also lead to the root bridge, but via a path that is better than the path back through the switch, are selected as alternate ports and are blocked to prevent loops.
Switching 8-51 other path is blocked. Similarly, the active path between Switches 2 and 3 is between Port 9 on each switch. For MSTI 2 Between Switches 1 and 3 there are two paths available, Port 5 to Port 5, and Port 6 to Port 6. Since no port priority has been explicitly applied, all port configurations have their defaults. Since all ports have the same speed (100 MBPS) each port has a Port Path Cost of 200,000.
8-52 Rapier Switch Software Reference Configuring the CIST Example Configuring this network involves the same basic steps used in the previous examples. Note that the only VLAN that is common to both regions is VLAN 12, which uses MSTI 3. These must be explicitly configured to Ports 1 and 10 of Switches 3 and 4. For Switch 3 1. Add VLAN 12 to the required ports, as tagged ports. add vlan=12 po=1,10 frame=tagged set mstp msti=2 port=10 pathcost=1000 For Switch 4 1.
Switching 8-53 CIST Vectors Having selected the CIST Root and Designated bridge, the CIST will then deal with any loops that exist between the regions. It will do this by considering the following entities, called “vectors” in the following order: 1. CIST External Root Path Cost 2. CIST Regional Root Identifier 3. CIST Internal Root Path Cost 4. CIST Designated Bridge Identifier 5. CIST Designated Port Identifier 6.
8-54 Rapier Switch Software Reference Figure 8-9: MSTP - CIST Configuration Example 1 2 3 4 5 6 7 8 9 VLAN 12 MSTI 2 VLAN 25 MSTI 3 VLAN 12 MSTI 2 VLAN 25 MSTI 3 10 1 2 3 4 5 6 7 8 Switch 1 9 10 Switch 2 3 MS TI MS 25 25 TI AN CIST Configuration -Switch 2 VL 3 3 TI AN MS MS VL 25 25 AN AN TI 3 VL VL CIST Configuration -Switch 1 2 2 TI MS VL AN 2 2 TI TI 2 MS CIST Bridge Identifier Priority = 32768 MAC Address = 00-00-cd-10-00-37 AN 12 12 TI 2
Switching 8-55 The Relationship between Spanning Trees and Trunks If multiple links are trunked together, either manually or by using an automatic process such as LACP, the spanning tree application is notified and considers the links as a single logical path. Consequently, the spanning tree broadcast messages (BPDUs) only traverse the master trunk path. Whether trunking offers a better solution depends on the individual network configuration.
8-56 Rapier Switch Software Reference • Physical source/destination port • Layer 3 protocol • Source/destination IP address • Destination IPX address • Layer 4 protocol (for example: TCP/UDP/Socket number) • Layer 4 source/destination ports • Any 16-bit word in the first 64 bytes of a packet See Chapter 34, Generic Packet Classifier for information on configuring classifiers.
Switching 8-57 2. Create the filter by using the command: add switch hwfilter classifier=classifier-list [action={setpriority|sendcos|settos|deny|sendeport| sendmirror|movepriototos|movetostoprio|setipdscp| sendnonunicasttoport|nodrop|forward}[,...]] [newipdscp=0..63] [newtos=0..7] [nomatchaction={setpriority|sendcos|settos|deny| sendeport|sendmirror|movepriototos|movetostoprio| setipdscp|sendnonunicasttoport|forward}[,...]] [nomatchdscp=0..63] [nomatchport=port-number] [nomatchpriority=0..
8-58 Rapier Switch Software Reference (see “IGMP Snooping” on page 24-26 of Chapter 24, IP Multicasting). IGMP snooping is enabled by default. To add Layer 3 filter match criteria, use the add switch l3filter match command on page 8-83. To display hardware-based Layer 3 filtering match criteria configured on the switch and their filter entries, use the show switch l3filter command on page 8-220. Filter match criteria can be changed only when no filter entries belong to them.
Switching 8-59 Create a classifier to match WWW traffic from the 192.168.20.0 subnet to the 192.168.10.0 subnet. create classifier=2 ipdaddr=192.168.10.0/24 ipsaddr=192.168.20.0/24 tcpdport=80 4. Create a hardware packet filter to allow this traffic This filter must be created last so that it is the first filter that the switch processes.
8-60 Rapier Switch Software Reference Script Parameters Event The trigger passes the following parameter(s) to the script: Argument Description %1 The port number of the port that has just gone down. linkup Description The port link specified by the port parameter has just come up. Parameters The following command parameter(s) must be specified in the create/set trigger commands: Script Parameters Parameter Description port=port The port where the event activates the trigger.
Switching 8-61 Figure 8-10: Example of switch with default configuration Server Workstation Workstation SWITCH1 Switch No software configuration is required. The default switch settings lets the switch learn source addresses and forward frames to correct ports as soon as it is physically connected and powered up. Example of a meshed network without VLANs The example in Figure 8-11 on page 8-61 has redundant links between the switches, and all ports belong only to the default VLAN.
8-62 Rapier Switch Software Reference Table 8-15: Parameters for meshed network without VLANs All switches STP default STP Enabled Configure all switches 1. Enable STP The default VLAN to which all ports belong by default, is a member of the default STP. Enable the default STP on each switch using the command: enable stp=default VLAN example using untagged ports The example in Figure 8-12 on page 8-62 has two VLANs using untagged ports.
Switching 8-63 Table 8-16: Parameters for port-based VLAN example VLAN name VLAN ID Ports Marketing VID=2 PORT 1-3 Training VID=3 PORT 14-16 Configure the switch 1. Create VLANs Create the two VLANs using the following commands on the switch: create vlan=marketing vid=2 create vlan=training vid=3 2.
8-64 Rapier Switch Software Reference Figure 8-13: VLANs with tagged ports Training VLAN VID=3 Port 3 Port 22 Port 21 Port 26 Switch A Switch B Port 25 Port 1 Port 2 Admin VLAN VID=2 Port 4 Port 23 Marketing VLAN VID=4 411 VLAN-aware server SWITCH3 Table 8-17: Configuration example parameters for VLANs with tagged ports Switch A VLAN name VID Switch B Tagged ports Untagged ports Tagged ports Untagged ports Admin VID=2 PORT 2 PORT 1 Training VID=3 PORT 26 PORT 3 PORT 25 PORT 21,22
Switching 8-65 2. Add ports to VLANs Add the ports to these VLANs on the switch by using the following commands: add vlan=admin port=2 frame=tagged add vlan=admin port=1 add vlan=training port=26 frame=tagged add vlan=training port=3 add vlan=marketing port=2,26 frame=tagged add vlan=marketing port=4 Check the VLAN configuration by using the command: show vlan Configure Switch B 1.
8-66 Rapier Switch Software Reference Figure 8-14: Example of meshed network with VLAN tagged ports Marketing VLAN Admin VLAN Server S Port 1 Port 2 Port 26 Port 25 Switch A Admin Training & Marketing VLANs Marketing VLAN Port 25 Port 25 Port 23 Port 6 Port 26 Switch B Port 26 Port 7 Port 24 Switch C Training VLAN SWITCH5 Table 8-18 on page 8-67 shows the parameters for creating the VLANs on the switches and adding ports to the VLANs.
Switching 8-67 Table 8-18: Parameters for meshed VLAN network with tagged ports Switch A VLAN name VID Tagged ports Switch B Switch C Untagged Tagged ports ports Tagged ports Tagged Tagged ports ports Admin VID=2 25,26 1 6,25,26 - 25,26 - Training VID=3 25,26 - 6,26,25 7 26,25 24 Marketing VID=4 25,26 2 6,25,26 - 25,26 23 STP Default STP Default STP Default STP Enabled Enabled Enabled To configure the uplink ports in the above example, use the following commands: Configu
8-68 Rapier Switch Software Reference 2. Add ports to VLANs Add the ports to these VLANs on the switch by using the following commands: add vlan=admin port=6,25-26 frame=tagged add vlan=training port=6,25-26 frame=tagged add vlan=training port=7 add vlan=marketing port=6,25-26 frame=tagged Check the VLAN configuration by using the command: show vlan 3. Enable STP All VLANs belong to the default STP, which must be enabled to eliminate loops in the network.
Switching activate mstp migrationcheck port 8-69 Command Reference This section describes the commands available to configure and manage the switching functions on the switch. The shortest valid command is denoted by capital letters in the Syntax section. See “Conventions” on page xcviii of About this Software Reference in the front of this manual for details of the conventions used to describe command syntax. See Appendix A, Messages for a complete list of messages and their meanings.
8-70 activate switch port Rapier Switch Software Reference activate switch port Syntax ACTivate SWItch POrt={port-list|ALL} {AUTOnegotiate} {LOCK} where port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command activates autonegotiation of port speed and duplex mode for a port or a group of ports.
Switching add lacp port 8-71 add lacp port Syntax ADD LACP POrt=[{port-list|ALL}] [ADMinkey=key] [PRIOrity=priority] [MODe={ACTIve|PASsive}] [PERiodic={FASt|SLOw}] where: Description ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered port, including uplink ports.
8-72 add lacp port Rapier Switch Software Reference receives one LACPDU every second; in slow mode, a port receives one every thirty seconds. Examples To add ports 3 and 5 to LACP, use the command: add lacp po=3,5 Related Commands delete lacp port disable lacp enable lacp set lacp port show lacp port Software Release 2.7.
Switching add mstp msti vlan 8-73 add mstp msti vlan Syntax ADD MSTP MSTI=instance VLAN={vlan-name|vlan-list|ALL} where: Description ■ instance is an instance number from 1 to 4094 for a specific MSTI. ■ vlan-name is a unique name for the VLAN, 1 to 15 characters in length. Valid characters are uppercase letters (A-Z), lowercase letters (a-z), digits (0-9) the underscore character ("_"), and the hyphen character (-). The vlanname cannot be a number or ALL.
8-74 add stp vlan Rapier Switch Software Reference add stp vlan Syntax ADD STP=stp-name VLAN={vlan-name|2..4094} where: Description ■ stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be ALL. ■ vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or ALL.
Switching add switch filter 8-75 add switch filter Syntax ADD SWItch FILter ACtion={FORward|DIScard} DESTaddress=macadd PORT=port [ENTry=entry] [LEARn] [VLAN={vlan-name|1..4094}] where: Description ■ entry is a filter entry number, from 0 to n+1 where n is the highest filter entry currently defined in the permanent forwarding database. The permanent forwarding database has a maximum of 320 entries, ranging from 0 to 319. Each port has its own permanent forwarding database.
8-76 add switch filter Rapier Switch Software Reference The vlan parameter specifies the VLAN Identifier to which the filter entry is associated. The vlan parameter is required when the port parameter specifies tagged ports. When the port parameter specifies untagged ports, the vlan parameter is not required, and defaults to the VLAN Identifier of the VLAN for which the ports are untagged. Therefore, when the vlan parameter is not specified, the ports are treated as untagged ports.
Switching add switch hwfilter classifier 8-77 add switch hwfilter classifier Syntax ADD SWItch HWFilter CLASSifier=classifier-list [ACtion={SETPRIORITY|SENDCOS|SETTOS|DENY|SENDEPORT| SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|SETIPDSCP| SENDNONUNICASTTOPORT|NODROP|FORWARD}[,...]] [NEWIPDscp=0..63] [NEWTos=0..7] [NOMATCHAction={SETPRIORITY|SENDCOS|SETTOS|DENY| SENDEPORT|SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO| SETIPDSCP|SENDNONUNICASTTOPORT|FORWARD}[,...]] [NOMATCHDscp=0..
8-78 add switch hwfilter classifier Rapier Switch Software Reference parameter is set to setipdscp. The range of values for this parameter is from 0 to 63. The newtos parameter specifies the new type of service value, assigning a new value to the TOS precedence field in the IP Header. When this parameter is used, only when the action parameter is set to settos.
Switching add switch hwfilter classifier Examples To add hardware filtering entries to the switch based on classifier entries 1 to 5 that drop all matching packets, use the command: add swi hwf class=1-5 ac=deny Related Commands Software Release 2.7.
8-80 add switch l3filter entry Rapier Switch Software Reference add switch l3filter entry Syntax ADD SWItch L3Filter=filter-id ENTry [ACTION={DENY|FORWARD| SENDCOS|SENDEPORT|SENDMIRROR|SETPRIORITY|SETTOS| MOVEPRIOTOTOS|MOVETOSTOPRIO|NODROP| SENDNONUNICASTTOPORT|SETIPDSCP}[,...]] [DIPaddress=ipadd] [EPORT=port-number] [IPDSCP=number] [IPOrt=port-number] [NEWIPDSCP=0..63] [NEWTOS=0..7] [PORT=port-number] [PRIORITY=0..
Switching add switch l3filter entry 8-81 the egress priority queue. If nodrop is specified, matching frames previously marked for dropping are not dropped. If sendeport is specified and the frame is not a broadcast, multicast, DLF frame or marked for dropping or to be sent to the CPU, the new output port is set to the value of the port parameter.
8-82 add switch l3filter entry Rapier Switch Software Reference The protocol parameter specifies the IP protocol to match. The protocol parameter specifies the IP protocol to match if the switch l3filter match value is set to protocol. The sipaddr parameter specifies the source IP address to match. The tcpack parameter specifies the ACK (acknowledgement) flag in the TCP header to match, if the protocol is TCP.
Switching add switch l3filter match 8-83 add switch l3filter match Syntax ADD SWItch L3Filter MAtch={DIPaddr|IPDScp|PROTocol| SIPaddr|TCPAck|TCPFin|TCPDport|TCPSport|TCPSYn|TOS|TTL| UDPDport|UDPSport}[,...] [DClass={A|B|C|Host}] [EMPort={YES|NO|ON|OFf|True|False}] [IMPort={YES|NO|ON| OFf|True|False}] [NOMATCHAction={SETPRIORITY|SENDCOS| SETTOS|DENY|SENDEPORT|SENDMIRROR|MOVEPRIOTOTOS| MOVETOSTOPRIO|SETIPDSCP|SENDNONUNICASTTOPORT| FORWARD}[,...]] [NOMATCHDscp=1..
8-84 add switch l3filter match Rapier Switch Software Reference specified by the iport parameter in the add or set switch l3filter entry command. The default is false, meaning the filter is applied to all ingress ports. On the Rapier i Series switches only, the nomatchaction parameter specifies a comma-separated list of actions to take when a frame matches both the iport and eport values (if they are specified in the match) on an associated entry but there is no match for the frame contents.
Switching add switch l3filter match 8-85 is specified, then the match is on the 5-byte variable part of the identifier field of a SNAP packet (SNAP identifiers have the format aa-aa-03-xx-xx-xx-xx-xx). Example To add a filter to block Telnet sessions, use the commands: add swi l3f ma=tcpdport,prot add swi l3f=1 ent ac=deny prot=tcp tcpd=23 Related Commands Software Release 2.7.
8-86 add switch trunk Rapier Switch Software Reference add switch trunk Syntax ADD SWItch TRunk=trunk POrt=port-list where: Description ■ trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching add vlan bridge 8-87 add vlan bridge Syntax ADD VLAN={vlan-name|1..4094} BRIDge where vlan-name is a unique name for the VLAN 1 to 32 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or ALL. Description Examples This command enables bridging between switch ports that are members of the specified VLAN, and a single virtual port configured on the bridge.
8-88 add vlan port Rapier Switch Software Reference add vlan port Syntax ADD VLAN={vlan-name|1..4094} POrt={port-list|ALL} [FRAme={TAGged|UNTAGged}] For private VLANs (only available on Rapier i Series switches): ADD VLAN={vlan-name|1..4094} POrt={port-list|ALL} [FRAme={TAGged|UNTAGged}] [UPLINk] [GROUP] where: Description ■ vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen.
Switching add vlan port 8-89 The frame parameter specifies whether a VLAN tag header is included in each frame transmitted on the specified ports. If tagged is specified, a VLAN tag is added to frames prior to transmission. The port is then called a tagged port for this VLAN. If untagged is specified, the frame is transmitted without a VLAN tag. The port is then called an untagged port for this VLAN.
8-90 add vlanrelay Rapier Switch Software Reference add vlanrelay Syntax ADD VLANRelay=name [PROTocol=protocoltype] [VLAN={vlanname|1..4094}] where: Description ■ name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. ■ protocoltype is either a valid protocol number in hexadecimal notation, or a recognised protocol name.
Switching create mstp msti 8-91 create mstp msti Syntax CREate MSTp MSTI=instance [PRIOrity=0..65535] where instance is the instance number assigned to the new MSTI. It has the range 1-4094. Description This command creates a new multiple spanning tree instance (MSTI) on the switch. The multiple spanning tree algorithm enables a collection of VLANs to be associated with a particular spanning tree instance.
8-92 create mstp msti Rapier Switch Software Reference Table 8-19: Rounding scheme for ranges of bridge priority parameter values Example Lower Boundary Upper Boundary Rounded Bridge Value 0 4095 0 4096 8191 4096 8192 12287 8192 12288 16383 12288 16384 20479 16384 20480 24575 20480 24576 28671 24576 28672 32767 28672 32768 36863 32768 36864 40959 36864 40960 45055 40960 45056 49151 45056 49152 53247 49152 53248 57343 53248 57344 61439 57344 61440 65535
Switching create stp 8-93 create stp Syntax CREate STP=stp-name where stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all or default. Description This command creates a Spanning Tree Protocol entity with a unique name. The specified STP must not already exist. The name is not case sensitive, although the case is preserved for display purposes.
8-94 create switch trunk Rapier Switch Software Reference create switch trunk Syntax CREate SWItch TRunk=trunk [POrt=port-list] [SELect={MACSrc|MACDest|MACBoth|IPSrc|IPDest|IPBoth}] [SPeed={10M|100M|1000M}] where: Description ■ trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching create vlan 8-95 create vlan Syntax CREate VLAN=vlan-name VID=2..4094 [PROtected] On Rapier i Series switches: CREate VLAN=vlan-name VID=2..4094 [PRIvate] where vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all. Description This command creates a VLAN with a unique name and VLAN identifier (VID), and assigns it to the default STP.
8-96 create vlanrelay Rapier Switch Software Reference To create a VLAN named vlan42, which must have a VID of 42, use the command: cre vlan=vlan42 vid=42 To create vlan2 and make it a private VLAN, use the command (only available on Rapier i Series switches): cre vlan=vlan2 vid=2 priv To create a protected VLAN named protvlan with a VLAN Identifier of 3, use the command: cre vlan=protvlan vid=3 pro Related Commands add vlan port destroy vlan show vlan create vlanrelay Syntax CREate VLANRelay=name
Switching delete lacp port 8-97 delete lacp port Syntax DELete LACP POrt={port-list} where port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered switch port, including uplink ports. Description This command removes ports from LACP’s control and LACP frames are no longer transmitted across the link.
8-98 delete mstp msti vlan Rapier Switch Software Reference delete mstp msti vlan Syntax DELete MSTp MSTI=instance VLAN={vlan-name|vlan-list|ALL} where: Description ■ instance is an instance number from 1 to 4094 for a specific MSTI. ■ vlan-name is a unique name for the VLAN, 1 to 15 characters in length. Valid characters are uppercase letters (A-Z), lowercase letters (a-z), digits (0-9) the underscore character ("_"), and the hyphen character (-). The vlanname cannot be a number or ALL.
Switching delete stp vlan 8-99 delete stp vlan Syntax DELete STP=stp-name VLAN={vlan-name|2..4094|ALL} where: Description ■ stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. ■ vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all.
8-100 delete switch filter Rapier Switch Software Reference delete switch filter Syntax DELete SWItch FILter POrt=port ENTry=entry-list where: Description Example ■ entry-list is an entry number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Entry numbers start at 0 and end at m, where m is the highest filter entry currently defined in the permanent forwarding database. Each port has its own permanent forwarding database.
Switching delete switch l3filter entry 8-101 delete switch l3filter Syntax DELete SWItch L3Filter=filter-id where filter-id is a decimal number in the range 1 to the number of filters defined Description Example This command deletes the specified filter match criteria. A filter match criteria cannot be deleted if it contains a filter entry. Delete the filter entries and then delete the filter.
8-102 delete switch trunk Rapier Switch Software Reference delete switch trunk Syntax DELete SWItch TRunk=trunk POrt={port-list|ALL} where: Description ■ trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching delete vlan port 8-103 delete vlan port Syntax DELete VLAN={vlan-name|1..4094} POrt={port-list|ALL} where: Description ■ vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
8-104 delete vlanrelay Example Rapier Switch Software Reference To delete port 3 from the marketing VLAN, use the command: del vlan=marketing po=3 Related Commands add vlan port show vlan delete vlanrelay Syntax DELete VLANRelay=name [PROTocol=protocoltype] [VLAN={vlan-name|1..4094}] where: Description ■ name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen.
Switching destroy stp 8-105 destroy mstp msti Syntax DESTroy MSTp MSTI=instance [PRIOrity=0..65535] where instance is the instance number assigned to the new MSTI. It has the range 1-4094. Description Example This command destroys a specific multiple spanning tree instance (MSTI) on the switch. An MSTI cannot be destroyed when it still has VLANs mapped to it. Use th4e delete mstp msti vlan=all command to remove all VLANs from the specified MSTI.
8-106 destroy switch trunk Rapier Switch Software Reference destroy switch trunk Syntax DESTroy SWItch TRunk=trunk where trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command destroys a trunk group on the switch. The trunk group must be empty, that is, it must not contain any ports. The trunk parameter specifies the name of the trunk group. The name is not case sensitive.
Switching destroy vlanrelay 8-107 destroy vlan Syntax DESTroy VLAN={vlan-name|2..4094|ALL} where vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all. Description This command destroys the specified static VLAN or all static VLANs in the switch. The default VLAN, which has a numerical VLAN Identifier (VID) of 1, cannot be destroyed.
8-108 disable lacp Rapier Switch Software Reference disable lacp Syntax Description Related Commands DISable LACP This command disables the LACP processes on the switch. A warning message, notification message, and log message are generated when this command is executed. LACP is disabled by default. LACP port settings that are changed while LACP is disabled take effect when LACP is re-enabled.
Switching disable mstp cist port 8-109 disable mstp Syntax Description DISable MSTp This command disables the multiple spanning tree operation on the switch. By default MSTP is disabled on switch start-up. This command overrides the following commands: enable mstp cist port disable mstp cist port enable mstp msti port disable mstp msti port Once MSTP has been disabled, no port for the CIST or MSTIs can be enabled or disabled. MSTP must be disabled before any STP instances can be enabled.
8-110 disable mstp debug Rapier Switch Software Reference disable mstp debug Syntax DISable MSTp DEBug={Msg|Pkt|State|All} MSTI={CIST| instance|ALL} [POrt={port-list|ALL}] where: Description ■ instance is the instance number of the selected MSTI in a range from 1 to 4094. ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
Switching disable mstp msti port 8-111 disable mstp msti port Syntax DISable MSTp MSTI=instance POrt={port-list|ALL} where: ■ instance is the instance number of the specified MSTI in a range from 1 to 4094. port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
8-112 disable stp Rapier Switch Software Reference disable stp Syntax DISable STP={stp-name|ALL} where stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. Description This command disables operation of the Spanning Tree Algorithm for the specified STP or for the entire switch. User created STPs are disabled by default. The default STP is disabled on switch start-up.
Switching disable stp debug 8-113 disable stp debug Syntax DISable STP[={stp-name|ALL}] DEBug={MSG|PKT|STATE|ALL} POrt={port-list|ALL} DISable STP DEBug={MSG|PKT|STATE|ALL} POrt={port-list|ALL} where: Description ■ stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
8-114 disable stp debug Examples Rapier Switch Software Reference To disable the state debugging mode for the company STP, use the command: dis stp=company deb=state To disable all debug modes for all STPs, use the command: dis stp=all deb=all To disable the MSG debugging mode on ports 5 to 8, use the command: dis stp deb=msg po=5-8 Related Commands enable stp debug show stp debug Software Release 2.7.
Switching disable stp port 8-115 disable stp port Syntax DISable STP[={stp-name|ALL}] POrt={port-list|ALL} where stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered switch Ethernet port, including uplink ports.
8-116 disable switch ageingtimer Rapier Switch Software Reference disable switch ageingtimer Syntax Description Example DISable SWItch AGEingtimer This command stops the ageing timer from ageing dynamically learned entries in the forwarding database. The default setting for the ageing timer is enabled.
Switching disable switch l3filter 8-117 disable switch hwfilter Syntax Description DISable SWItch HWFilter This command disables classifier-based packet filtering. Hardware filtering is automatically disabled when the last filter match is removed, however this command may be used to manually disable filtering if this is required. Some other modules and processes (such as IGMP snooping) require filtering to be enabled at all times.
8-118 disable switch learning Rapier Switch Software Reference disable switch learning Syntax Description DISable SWItch LEarning This command disables the dynamic learning and updating of the forwarding database. The default setting for the learning function is enabled. If switch learning is disabled and the ageing timer has aged out all dynamically learned filter entries, only MAC source addresses that are statically entered are used to decide which packets to forward or discard.
Switching disable switch port 8-119 disable switch port Syntax DISable SWItch POrt={port-list|ALL} [FLOw=PAUSE] [LINk={ENAble|DISable}] where ■ Description port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered switch Ethernet port, including uplink ports.
8-120 disable vlan debug Rapier Switch Software Reference disable vlan debug Syntax DISable VLAN={vlan-name|1..4094|ALL} DEBug={PKT|ALL} where vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all. Description This command disables packet debugging or all debugging for the specified VLAN or all VLANs. The default is for all VLAN debugging to be disabled.
Switching enable lacp 8-121 disable vlanrelay debug Syntax DISable VLANRelay=name DEBug where name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command disables the output of debugging information about packets relayed by a VLAN relay entity. The relay entity must already exist and VLAN relay debugging must currently be enabled.
8-122 enable lacp debug Rapier Switch Software Reference enable lacp debug Syntax Description Related Commands ENAble LACP DEBug={MSG|PACKet|STAte|TRAce|DEV|PERsistent| ALL}} This command enables the LACP debugging facility, which is disabled by default. The msg option displays the decoded form of incoming and outgoing LACP packets.The packet option displays all incoming and outgoing LACP packets. The state option displays internal state machine changes.
Switching enable mstp cist port 8-123 enable mstp cist port Syntax ENAble MSTp CIST POrt={port-list|ALL} where port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command enables operation of the MST algorithm on specific ports or all ports for the CIST. All ports are enabled for the CIST by default.
8-124 enable mstp debug Rapier Switch Software Reference enable mstp debug Syntax ENAble MSTp DEBug={Msg|Pkt|State|All} MSTI={CIST|instance| ALL} [POrt={port-list|ALL}] [Statemachine={PTM|PRX|PPM| PIM|PTX|PRS|PRT|PST|TCM|ALL}] [Output=Console] [Timeout=1..4000000000|None] where: Description ■ instance is the instance number of the selected MSTI in a range from 1 to 4094. ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges.
Switching enable mstp debug 8-125 The port parameter specifies which ports on the bridge will have the debug mode enabled. If port value is not entered, the parameter defaults to all. The statemachine parameter specifies which state machines will have debugging enabled, see Table 8-24 on page 8-125. This parameter is valid only when the debug mode is state. The default value is all.
8-126 enable mstp msti port Rapier Switch Software Reference enable mstp msti port Syntax ENAble MSTP MSTI=instance PORT={port-list|ALL} where: Description ■ instance is the instance number of the specified MSTI, having the range 1-4094. ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
Switching enable stp 8-127 enable stp Syntax ENAble STP{=stp-name|ALL} where stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. Description This enables operation of the Spanning Tree Algorithm for the specified stp or for the entire switch. If the Spanning Tree Algorithm is to be run on a VLAN, the VLAN must be added to an STP that is enabled.
8-128 enable stp debug Rapier Switch Software Reference enable stp debug Syntax ENAble STP={stp-name|ALL} DEBug={MSG|PKT|STAte|ALL} [OUTput=CONsole] [TIMEOut={1..4000000000|NONE}] ENAble STP={stp-name|ALL} DEBug={MSG|PKT|STAte|ALL} POrt={port-list|ALL} [OUTput=CONsole] [TIMEOut={1..4000000000|NONE}] where: Description ■ stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all.
Switching enable stp debug 8-129 parameter. If an STP is specified, except on the Rapier i Series switches, the port parameter is invalid. The timeout parameter specifies the time in seconds that debugging is enabled on the specified ports. This reduces the risk of the switch and the display being overloaded with too much debugging information. This value overrides previous STP debugging timeout values for these ports, even if they were specified for other debugging modes.
8-130 enable stp port Rapier Switch Software Reference enable stp port Syntax ENAble STP[={stp-name|ALL}] POrt={port-list|ALL} where: Description ■ stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching enable switch ageingtimer 8-131 enable switch ageingtimer Syntax Description ENAble SWItch AGEingtimer This command enables the ageing timer to age out dynamically learned entries in the forwarding database. The default setting for the ageing timer is enabled. If the ageing timer ages out all dynamically learned filter entries, and switch learning is disabled, only statically entered MAC source addresses are used to decide which packets to forward or discard.
8-132 enable switch bist Rapier Switch Software Reference enable switch bist Syntax ENAble SWItch BIST=bist ENAble SWItch BIST=bist INSTance=instance where: Description ■ bist is a single integer number. ■ instance is 0 or 1 and specifies a switch instance on 48 port switches. This command runs a set of built in self tests on the external packet buffer memory and internal memories of a switch chip (or instance). The instance parameter must be specified only for switches with 48 ports.
Switching Figure 8-15: Example output from the enable switch bist=0 command for the Rapier i INFO - Starting built in self tests, unit 0 INFO - Writing incrementing pattern ............................................................... INFO - Reading incrementing pattern ............................................................... INFO - Writing inverted incrementing pattern ............................................................... INFO - Reading inverted incrementing pattern ....................
8-134 enable switch bist Rapier Switch Software Reference Figure 8-15: Example output from the enable switch bist=0 command for the Rapier i (Continued) INFO - mem=XQ24 addr=0x0c680000 INFO - mem=XQ25 addr=0x0c690000 INFO - mem=XQ27 addr=0x0c6b0000 INFO - BIST test succesful Warning (2087309): The SWITCH MUST BE RESTARTED after running the BIST. Software Release 2.7.
Switching enable switch debug 8-135 enable switch debug Syntax Description ENAble SWItch DEBug={ARL|CMIC|DMA|QOS|S5600|PHY|ALL} [OUTput=CONsole] [TIMEOut={1..4000000000|NONE}] This command enables the specified switch debug mode or all switch debugging. Be aware that enabling debug may flood the receiving Telnet session or asynchronous port with raw data. The debug parameter specifies the switch debug mode to be disabled (Table 8-22 on page 8-116).
8-136 enable switch hwfilter Rapier Switch Software Reference enable switch hwfilter Syntax Description ENAble SWItch HWFilter This command enables hardware-based Layer 3 packet filtering. Hardware filtering is automatically enabled when the first filter match is added. This command may be used to re-enable filtering if it has been temporarily disabled by the disable switch hwfilter command, or to enable the filtering mechanism prior to the addition of the first filter match.
Switching enable switch mirror 8-137 enable switch learning Syntax Description Example ENAble SWItch LEarning This command enables the dynamic learning and updating of the forwarding database. The default setting for the learning function is enabled. To enable the switch learning function, use the command: ena swi le Related Commands disable switch learning show switch enable switch mirror Syntax Description Example ENAble SWItch MIRRor This command enables traffic mirroring on the switch.
8-138 enable switch port Rapier Switch Software Reference enable switch port Syntax ENAble SWItch POrt={port-list|ALL} [FLOw=PAUSE] port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered switch Ethernet port, including uplink ports. Description This command enables a port or group of ports on the switch, or enables the flow control mechanism.
Switching enable vlan debug 8-139 enable vlan debug Syntax ENAble VLAN={vlan-name|1..4094|ALL} DEBug={PKT|ALL} [OUTput=CONsole] [TIMEOut={1..4000000000|NONE}] where vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or ALL. Description This command enables debugging options for the specified VLAN or all VLANs.
8-140 enable vlanrelay Rapier Switch Software Reference enable vlanrelay Syntax ENAble VLANRelay=name where name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description Example This command enables the relaying of packets by the VLAN relay entity. The relay entity must already exist and must be currently disabled. VLAN relay entities are enabled by default upon creation.
Switching purge lacp 8-141 enable vlanrelay debug Syntax ENAble VLANRelay=name DEBug where name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command enables the output of debugging information about packets relayed by the VLAN relay entity. The relay entity must already exist, and VLAN relay debugging must be currently disabled.
8-142 purge mstp Rapier Switch Software Reference purge mstp Syntax PURge MSTp where: ■ Description instance is This command purges all configuration information relating to the MSTP module. All user created MSTIs will be destroyed. All VLANs will be mapped to the CIST. It will restore the default values to all the configurable parameters. This command returns the MSTP module to its status when the switch is first powered on.
Switching reset mstp counter port 8-143 reset lacp port counter Syntax RESET LACP POrt[={port-list|ALL}] COUnter where port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command resets all LACP counters for the specified switch ports. The port parameter specifies the ports.
8-144 reset stp Rapier Switch Software Reference reset stp Syntax RESET STP={stp-name|ALL} where stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. Description Example This command resets operation of the Spanning Tree Algorithm for the specified STP, initialises all counters for the specified STP, and initialises all timers on all ports that are members of the STP.
Switching reset switch port 8-145 reset switch port Syntax RESET SWItch POrt={port-list|ALL} [COUNTER] where port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command resets a port or group of ports on the switch.
8-146 set lacp port Rapier Switch Software Reference set lacp port Syntax SET LACP POrt=[{port-list|ALL}] [ADMinkey=key-number] [PRIOrity=priority] [MODe={ACTIve|PASsive}] [PERiodic={FASt|SLOw}] where: Description ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
Switching set lacp priority 8-147 set lacp priority Syntax SET LACP PRIOrity=priority where priority is an integer from 0 to 65535 Description This command modifies the relative priority of LACP enabled partners. The priority parameter specifies a numeric value that is used as part of the system priority calculation.
8-148 set mstp Rapier Switch Software Reference set mstp Syntax SET MSTp [CONFigname=name] [REVIsionlevel=level] [MAXHOPS=1..40] [MAxage=6..40] [HEllotime=1..10] [FOrwarddelay =4..30] [PROTocolversion ={STP|RSTP| MSTP}] [STATicvlans={YES|NO|ON|OFF|TRUE|FALSE}] where: Description ■ name is the MST configuration name. It is a string of up to 32 characters. Valid characters are uppercase and lowercase letters, digits, and the underscore. No other character types are allowed.
Switching set mstp 8-149 The configname parameter specifies the name for the MST region. All the switches in the same MST region will have the same configuration name. If the configure name is not set explicitly by the command, the default name for the MST region is the switch’s MAC address presented as text string. All switches are in their own MST region by default because MAC addresses are unique. The revisionlevel parameter specifies the revision level in the MST region.
8-150 set mstp Rapier Switch Software Reference VLAN memberships. If VLANs are being configured dynamically with GVRP, the staticvlans parameter should be set to off (no, or false). The default is off.
Switching set mstp cist 8-151 set mstp cist Syntax Description SET MSTp CIST [PRIOrity=0..65535] This command sets parameters used by the MSTP algorithm to calculate the common internal spanning tree (CIST). The bridge level parameters of the CIST can be modified in order to force the spanning tree configuration, or tune its topology. The priority parameter sets the priority of the switch to become the Root Bridge in the CIST.
8-152 set mstp cist port Rapier Switch Software Reference set mstp cist port Syntax SET MSTp CIST POrt={port-list|ALL} [PRIOrity=0..255] [EXTPathcost=extPathCost] [INTPathcost=intPathCost] [EDGEport={YES|NO|ON|OFF|True|False}] [POINttopoint={YES|NO|ON|OFF|True|False|Auto}] where: Description ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges.
Switching set mstp cist port 8-153 equivalent. If edgeport is set to yes and an MSTP BPDU is received on the port, indicating that another bridge is connected to the LAN, then the port will no longer be treated as an edge port. The default is no. Edge ports are permitted to make rapid transitions to the forwarding state, because they are known not to be connected to another bridge and therefore cannot form part of a network loop.
8-154 set mstp msti Rapier Switch Software Reference set mstp msti Syntax SET MSTp MSTI=instance [PRIOrity=0..65535] where instance is the instance number of a specific MSTI in a range from 1 to 4094. Description This command sets parameters used by the Multiple Spanning Tree algorithm to calculate the spanning tree for a specified MSTI. The bridge level parameters of the MSTI can be modified in order to tune the spanning tree topology.
Switching set mstp msti port 8-155 set mstp msti port Syntax SET MSTp MSTI=instance POrt={port-list|ALL} [PRIOrity=0..255] [PAthcost=pathCost] where: Description ■ instance is the instance number of the specified MSTI in a range from 1 to 4094. ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
8-156 set mstp msti port Rapier Switch Software Reference Table 8-28: Rounding scheme for ranges of port priority parameter values . Lower Boundary Upper Boundary Rounded Port Priority Value 00 15 0 16 31 16 32 47 32 48 63 48 64 79 64 80 95 80 96 127 96 128 143 128 144 159 144 160 175 160 176 191 176 192 207 192 208 223 208 224 239 224 240 254 240 The pathcost parameter sets the internal path cost for the each port.
Switching set mstp msti port To set port path cost of 200 for port 2 in MSTI5, use the command: set mstp msti=5 port=2 pathcost=120 Related Commands Software Release 2.7.
8-158 set stp Rapier Switch Software Reference set stp Syntax SET STP={stp-name|ALL} [FOrwarddelay=4..30] [HEllotime=1..10] [MAxage=6..40] [MODe={STANDARD| RAPid}] [PRIOrity=0..65535] [RSTPtype={NORMAL| STPCompatible}] SET STP={stp-name|ALL} DEFault where stp-name is a character string 1 to 15 characters long.Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all.
Switching set stp 8-159 multiple of 4096, the value is rounded down to the nearest multiple of 4096. The rounding scheme is defined in Table 8-30.
8-160 set stp Rapier Switch Software Reference To set the hello time to 3 seconds for the company STP, use the command: set stp=company hellotime=3 To set the maximum age to 19 seconds for the company STP, use the command: set stp=company maxage=19 To set the priority of the switch becoming the Root Bridge to 100 for the company STP, use the command: set stp=company priority=100 To set the Forward Delay to 12 seconds for all STPs, assuming the forwarddelay-maxage criterion is met for all STPs, use the
Switching set stp port 8-161 set stp port Syntax SET STP[={stp-name|ALL}] POrt={port-list|ALL} [Pathcost=pathcost] [PORTPRIority=0..255] [EDGEport={YES|NO|ON|OFF|True|False}] [PTP={Auto|ON| OFF|YES|NO|True|False}] SET STP[={stp-name|ALL}] POrt={port-list|ALL} DEFault where: Description ■ stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen.
8-162 set stp port Rapier Switch Software Reference Table 8-31: Path cost values and port speed for standard mode Port Speed Default pathcost Recommended pathcost range 10Mbps 100 50 - 600 100Mbs 19 10 -60 1Gbps 4 3 -10 Table 8-32: Path cost values and port speed for rapid mode Port Speed Default pathcost Recommended pathcost range Less than 100 Kb/s 200000000 20000000-200000000 1Mbps 20000000 2000000-20000000 10Mbps 2000000 200000-2000000 100 Mbps 200000 20000-200000 1 Gbps 2
Switching set stp port 8-163 If the STP mode is rapid, then the values specified for the portpriority parameter must be multiples of 16. If a user specifies a value that is not a multiple of 16, it is rounded down to the nearest multiple of 16. The rounding scheme is identified in Table 8-33 on page 8-163.
8-164 set switch ageingtimer Rapier Switch Software Reference To set the port parameters for ports 1 to 10 in STP3 to their standard defaults, use the command: set stp=3 port=1-10 default To set port 10 in STP3 as an edgeport, use the command: set stp=3 port=10 edgeport=yes To force port 10 in STP3 to be treated as if it were part of a point to point LAN segment, use the command: set stp=3 port=10 ptp=yes Related Commands purge stp reset stp set stp show stp set switch ageingtimer Syntax Description
Switching set switch hwfilter classifier 8-165 set switch hwfilter classifier Syntax SET SWItch HWFilter CLASSifier=classifier-list [ACtion={SETPRIORITY|SENDCOS|SETTOS|DENY|SENDEPORT| SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|SETIPDSCP| SENDNONUNICASTTOPORT|NODROP|FORWARD}[,...]] [NEWIPDscp=0..63] [NEWTos=0..7] [NOMATCHAction={SETPRIORITY|SENDCOS|SETTOS|DENY| SENDEPORT|SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO| SETIPDSCP|SENDNONUNICASTTOPORT|FORWARD}[,...
8-166 set switch hwfilter classifier Rapier Switch Software Reference If the sendeport action directs packets to a particular egress port, then the packet is transmitted from the mirror port with a VLAN tag. On the Rapier i Series switches only, the newipdscp parameter indicates the value to set in an IPv4 packet Diffserv CodePoint field when the action parameter is set to setipdscp. The range of values for this parameter is from 0 to 63.
Switching set switch l3ageingtimer 8-167 The priority parameter specifies the packet priority. There are eight levels of priority from 0 to 7. This parameter is used only when the action parameter is set to setpriority or sendcos.
8-168 set switch l3filter entry Rapier Switch Software Reference set switch l3filter entry Syntax SET SWItch L3Filter=filter-id ENTry=entry-id [ACTION={SETPRIORITY|SENDCOS|SETTOS|DENY|SENDEPORT| SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|SETIPDSCP| SENDNONUNICASTTOPORT|FORWARD}[,...]] [DIPADDR=ipadd] [EPORT=port-number] [IPORT=port-number] [NEWIPDSCP=0..63] [NEWTOS=0..7] [PORT=port-number] [PRIORITY=0..
Switching set switch l3filter entry 8-169 the egress priority queue. If nodrop is specified, matching frames previously marked for dropping are not dropped. If sendeport is specified and the frame is not a broadcast, multicast, DLF frame or marked for dropping or to be sent to the CPU, the new output port is set to the value of the port parameter.
8-170 set switch l3filter entry Rapier Switch Software Reference The tcpsyn parameter specifies the SYN flag in the TCP header to match, if the protocol is TCP. This parameter is required if tcpsyn is specified in the add or set switch l3filter match parameter, otherwise it is invalid. The tos parameter specifies the type of service to match. The ttl parameter specifies the Time to Live to match. The type parameter specifies a protocol-type number to match. The number is entered in hexadecimal, e.g.
Switching set switch l3filter match 8-171 set switch l3filter match Syntax SET SWItch L3Filter=filter-id MAtch={DIPaddr|IPDSCP| PROTocol|SIPaddr|TCPAck|TCPFin|TCPDPORT|TCPSPORT| TCPSYN|TOS|TTL|UDPDPORT|UDPSPORT}[,...] [DCLass={A|B|C| Host}] [EMPort={Yes|No|ON|OFF|True|False}] [IMPort={Yes|No|ON|OFF|True|False}] [NOMATCHAction={SETPRIORITY|SENDCOS|SETTOS|DENY| SENDEPORT|SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO| SETIPDSCP|SENDNONUNICASTTOPORT|FORWARD}[,...]] [NOMATCHDscp=0..
8-172 set switch l3filter match Rapier Switch Software Reference and eport values (if they are specified in the match) on an associated entry but there is no match for the frame contents. If setpriority is specified, the packet’s 802.1p priority is set to the value specified by the priority parameter. If sendcos is specified, the packet is sent to the priority queue specified by the priority parameter.
Switching set switch mirror Related Commands 8-173 add switch l3filter entry add switch l3filter match delete switch l3filter show switch l3filter set switch mirror Syntax SET SWItch MIRRor={NONE|port} where port is a single switch port number. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port. Description This command sets the mirror port for the switch, and removes it from the default VLAN.
8-174 set switch port Rapier Switch Software Reference set switch port Syntax SET SWItch POrt={port-list|ALL} [ACCeptable={ALL|VLAN}] [BCLimit={NONE|limit}] [DESCription=description] [DLFLimit={NONE|limit}] [EGResslimit={NONE|DEFault|0| 1000..127000|8..1016}] [INFILTering={OFF|ON}] [INGresslimit={NONE|DEFAULT|0|64..127000|8..1016}] [LEARn={NONE|0|1..
Switching set switch port 8-175 the value none or 0 is specified, then packet rate limiting for broadcast packets is turned off. If another value is specified, the reception of broadcast packets is limited to this number. See the note below for important information about packet rate limiting. The default is none. Limiting packet reception rates for different classes of packets depends on the particular switch hardware.
8-176 set switch port Rapier Switch Software Reference with which the frames are associated. Untagged frames admitted by the acceptable parameter are admitted since they have the numerical VLAN Identifier (VID) of the VLAN for which the port is an untagged member. If off is specified, Ingress Filtering is disabled, and no frames are discarded by this part of the Ingress Rules. The default is off.
Switching set switch port 8-177 received or sent on these ports is mirrored. If RX is specified, all traffic received on these ports is mirrored. If TX is specified, all traffic transmitted is mirrored. If both is specified, all traffic received and transmitted is mirrored. Traffic is mirrored only when a mirror port is defined and mirroring is enabled. The default is none.
8-178 set switch port Rapier Switch Software Reference Table 8-34: switch port speed values (Continued) Value Meaning 1000MHAUTO 1000 Mbps, half duplex, autonegotiate 1000MFAUTO 1000 Mbps, full duplex, autonegotiate If you override a port’s autonegotiation on Rapier i Series switches by setting it to a fixed speed/duplex setting, automatic MDI/MDI-X detection is also overridden. The port defaults to MDI-X.
Switching set switch qos 8-179 set switch qos Syntax SET SWItch QOS=P0,P1,P2,P3,P4,P5,P6,P7 where P0-P7 are each numbers from 0-n where n+1 is the number of Quality of Service egress queues supported Description This command maps user priority levels to Quality of Service egress queues.
8-180 set switch trunk Rapier Switch Software Reference Table 8-36: Example priority level to QOS egress queue mapping (Continued) Related Commands Priority level Queue 4 1 5 2 6 2 7 3 show switch qos set switch trunk Syntax SET SWItch TRunk=trunk [SELect={MACSrc|MACDest|MACBoth| IPSrc|IPDest|IPBoth}] [SPeed={10M|100M|1000M}] where trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen.
Switching set vlan port 8-181 set vlan port Syntax SET VLAN={vlan-name|1..4094} POrt={port-list|ALL} FRAme={UNTAGged|TAGged} where: Description ■ vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or all. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
8-182 show lacp Rapier Switch Software Reference show lacp Syntax Description SHow LACP This command displays the state of LACP on the switch. Figure 8-16: Example output from the show lacp command LACP Information -----------------------------------------------------------Status .......................... Enabled Actor System Priority ........... 80-00 Actor System .................... 00-3e-0a-12-00-01 LACP Ports ...................... 1-3,5,7,9-12 Active ........................ 1-3,5 Passive .......
Switching show lacp port 8-183 show lacp port Syntax SHow LACP POrt[={port-list|ALL}] where port-list is a port number, range (specified as n-m), or a comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command displays LACP information about a specific switch port or all of them (Figure 8-17).
8-184 show lacp port Rapier Switch Software Reference Table 8-38: Parameters in output of the show lacp port command (Continued) Examples Parameter Meaning Individual User-configurable setting that determines whether the port is an individual. If no, the port may be aggregated; if yes, it is not aggregated. Synchronised If yes, the port is considered to be in a synchronised state—the port has been correctly associated with an aggregator.
Switching show lacp port counter Related Commands 8-185 add lacp port delete lacp port set lacp port show lacp show lacp port counter Syntax SHow LACP POrt[={port-list|ALL}] COUnter where port-list is a port number, range (specified as n-m), or a comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
8-186 show lacp trunk Rapier Switch Software Reference show lacp trunk Syntax Description SHow LACP TRunk This command displays the currently dynamically configured trunks for the LACP module. Figure 8-19: Example output from the show lacp trunk command LACP Dynamic Trunk Group Information ---------------------------------------------------------------------------------Trunk group name .......... lacp53: Speed ................... 100 Mbps Ports in Trunk ..........
Switching show mstp 8-187 show mstp Syntax Description SHow MSTp [CONFIGID] [TAble] This command displays information about MSTP. See Figure 8-20 on page 8-187, and Table 8-40 on page 8-187. If the configid parameter is specified, the MST Configuration Identification is displayed as shown in Figure 8-21 on page 8-188, and Table 8-41 on page 8-188.
8-188 show mstp Rapier Switch Software Reference Figure 8-21: Example output from the show mstp configid command MST Configuration Identification ---------------------------------------------------------------------------------Configuration Name ........................ mstRegion1 Format Selector ........................... 0 Revision Level ............................ 12 Configuration Digest ......................
Switching show mstp cist 8-189 show mstp cist Syntax Description SHow MSTp CIST This command displays the information about the Common Internal Spanning Tree (Figure 8-23 on page 8-189, Table 8-43 on page 8-189). Figure 8-23: Example output from the show mstp cist command Common Internal Spanning Tree ---------------------------------------------------------------------------------Bridge Identifier................................32768 : 00-00-cd-05-19-28 Bridge Role.....................................
8-190 show mstp cist Rapier Switch Software Reference Table 8-43: Example output from the show mstp cist command Example Parameter Meaning Root Port The port number of the root port for the switch. This parameter is not valid if the switch is the root bridge. In this situation the output will be shown as N/A. External Root Path Cost The path cost to the region containing the CIST root from this region. Internal Root Path Cost The path cost to the CIST Regional Root.
Switching show mstp cist port 8-191 show mstp cist port Syntax SHow MSTp CIST POrt[={port-list|ALL}] where port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command displays the port information about the common internal spanning tree (CIST). See Figure 8-24 on page 8-191, and Table 8-44 on page 8-191.
8-192 show mstp cist port Rapier Switch Software Reference Figure 8-25: Example output from the show mstp cist port command CIST Port Information ---------------------------------------------------------------------------------Port Number................................1 Port Identifier..........................128:1 Port Role................................Disabled Port Port State...............................Discarding Switch Port State........................Enabled Link Status.......................
Switching show mstp cist port set mstp cist set mstp cist port enable mstp cist port show mstp Software Release 2.7.
8-194 show mstp counter port Rapier Switch Software Reference show mstp counter port Syntax SHow MSTp COUnter POrt={ port-list|ALL} where port-list is a port number, a range of port numbers (specified as n-m), or a comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command displays counter information for a specified port or ports.
Switching show mstp debug 8-195 Table 8-46: Parameters in output of the show mstp counter port command Examples Parameter Meaning Invalid Protocol Number of BPDUs that had an invalid Protocol Identifier field or invalid Protocol Version Identifier field. Invalid Type Number of BPDUs that had an invalid Type field. Invalid Message Age Number of BPDUs that had an invalid message age. Invalid BPDU Length Number of BPDUs that had an incorrect length.
8-196 show mstp msti Rapier Switch Software Reference show mstp msti Syntax SHow MSTp MSTI[={instance|All}] where instance is the instance number of the specified MSTI in a range from 1 to 4094. Description This command displays the information about the specified Multiple Spanning Tree Instance (Figure 8-28 on page 8-196, Table 8-47 on page 8-196). The msti parameter specifies the instance number for the specified Multiple Spanning Tree Instance to be displayed.
Switching show mstp msti 8-197 Figure 8-29: Example output from the show mstp msti=1 command Multiple Spanning Tree Instance -----------------------------------------------------------MSTI ............................ 1 Bridge Identifier ............. 32768 : 00-00-cd-05-19-28 Bridge Role ................... Root Bridge VLAN Members .................. vlan1, vlan2-vlan10, vlan20 Regional Root Identifier ...... 32768 : 01-00-cd-05-19-28 Designated Bridge .............
8-198 show mstp msti port Rapier Switch Software Reference show mstp msti port Syntax SHow MSTp MSTI=instance POrt={port-list|All} where: Description ■ instance is the instance number of the specified MSTI in a range from 1 to 4094. ■ port-list is a port number, range (specified as n-m), or comma-separated list of port numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
Switching show mstp msti port 8-199 Table 8-49: Parameters displayed in the output of the show mstp msti port command Example Parameter Meaning Designated Bridge Either the unique Bridge Identifier of the switch, or the unique Bridge Identifier of the switch believed to be the Designated Bridge for the LAN to which the port is attached.
8-200 show stp Rapier Switch Software Reference show stp Syntax Description SHow STP[={stp-name|ALL}] [SUMmary] This command displays information about the specified Spanning Tree Protocol instance (STP), or all STPs (Figure 8-31, Table 8-50 on page 8-201). If the summary parameter is specified, then a summary table of all configured STPs is displayed (Figure 8-32 on page 8-202, Figure 8-51 on page 8-202).
Switching show stp 8-201 Table 8-50: Parameters in the output of the show stp command Software Release 2.7.3 C613-03098-00 REV A Parameter Meaning STP Name The name of the Spanning Tree Protocol entity. Mode Whether STP is running in standard, or rapid mode. RSTP Type Whether RSTP is operating normally, or as STP compatible. In STP compatible mode, the rapid transitions to forwarding do not occur. VLAN members A list of the VLANs that are members of the STP.
8-202 show stp Rapier Switch Software Reference Table 8-50: Parameters in the output of the show stp command (Continued) Parameter Meaning Switch Hello Time The value of the Hello Time parameter when this switch is the Root or is attempting to become the Root. This parameter is set by the hellotime parameter in the set stp command. Switch Forward Delay The value of the Forward Delay parameter when this switch is the Root or is attempting to become the Root.
Switching show stp counter 8-203 show stp counter Syntax SHow STP[={stp-name|ALL}] COUnter where stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The stp-name cannot be all. Description This command displays Spanning Tree Protocol counters for the specified STP or all STPs (Figure 8-33 on page 8-203, Table 8-52 on page 8-203). If no STP is specified, then counters for all STPs are displayed.
8-204 show stp counter Rapier Switch Software Reference Table 8-52: Parameters in the output of the show stp counter command (Continued) Example Parameter Meaning RST BPDU Number of valid Rapid Spanning Tree BPDUs transmitted (rapid mode only). Discarded STP packets discarded. Port Disabled Number of BPDUs discarded because the port that the BPDU was received on was disabled.
Switching show stp debug 8-205 show stp debug Syntax SHow STP[={stp-name|ALL}] DEBug where stp-name is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command shows the debugging modes enabled on each port (Figure 8-34 on page 8-205, Table 8-53 on page 8-205). On the Rapier i Series switches only, an STP name can be specified. If no parameter is entered, then the default is all.
8-206 show stp port Rapier Switch Software Reference show stp port Syntax SHow STP[={stp-name|ALL}] POrt={port-list|ALL} where port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports.
Switching show stp port 8-207 Table 8-54: Parameters in the output of the show stp port command Parameter Meaning STP Name of the STP of which the port is a member. STP Status Whether the STP is enabled. Port Port number. RSTP Port Role Role of the port, rapid mode only: Disabled Alternate Backup Backup (Loopback Disabled) Same as Backup except all packets are dropped, including BPDUs. The port transmitted and received the same RSTP BPDU.
8-208 show stp port Example Rapier Switch Software Reference To show STP information for port 2 on the STP named ‘grey’, use the command: show stp=grey port=2 Related Commands disable stp port enable stp port set stp port show stp Software Release 2.7.
Switching show switch 8-209 show switch Syntax Description SHow SWItch This command displays configuration information for the switch functions (Figure 8-36 on page 8-209, Table 8-55 on page 8-209). Figure 8-36: Example output from the show switch command Switch Configuration -----------------------------------------------------------Switch Address ............. 00-00-cd-04-e0-75 Learning ................... ON Ageing Timer ............... ON Number of Fixed Ports ...... 24 Number of Uplink Ports .....
8-210 show switch Rapier Switch Software Reference Table 8-55: Parameters in the output of the show switch command (Continued) Example Parameter Meaning Uptime Time in hours:minutes:seconds since the switch was last powered up, rebooted, or restarted. This is the same value as the MIB object sysUpTime. Uptime Time in hours:minutes:seconds since the switch was last powered up, rebooted, or restarted. This is the same value as the MIB object sysUpTime.
Switching show switch counter 8-211 show switch counter Syntax Description SHow SWItch COUnter This command displays information about the forwarding counters associated with the switch (Figure 8-37 on page 8-211, Table 8-56 on page 8-211). To display reception and transmission packet counters for the switch, see the show switch port counter command on page 8-225.
8-212 show switch counter Rapier Switch Software Reference Table 8-56: Parameters in the output of the show switch counter command Parameters Meaning Discards The number of packets waiting for transmission that were discarded when the DMA process was reset due to an error. Aborts The number of times transmission of a packet was aborted due to it taking an excessive length of time for the transmission to complete, perhaps due to a port being in a blocked state or due to a busy PCI bus.
Switching show switch debug 8-213 show switch debug Syntax Description SHow SWItch DEBug This command displays debugging information for the switch (Figure 8-38 on page 8-213, Table 8-57 on page 8-213).
8-214 show switch fdb Rapier Switch Software Reference show switch fdb Syntax SHow SWItch FDB[={SW|HW}] [Address=macadd] [DIScard={SOurce|DEStination}] [HIT={Yes|No}] [L3={Yes| No}] [POrt={port-list|ALL}] [STAtus={STAtic|DYnamic}] [VLAN={vlan-name|1..4094}] where: Description ■ macadd is an Ethernet six-octet MAC address, expressed as six pairs of hexadecimal digits delimited by hyphens. ■ port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching show switch fdb 8-215 Figure 8-39: Example output from the show switch fdb command Switch Forwarding Database (software) --------------------------------------------------------------------------VLAN MAC Address Port Status Discard L3 Hit QOS QSD --------------------------------------------------------------------------1 00-00-cd-00-45-c7 CPU static y y 0:0 dest 42 00-00-c0-1d-2c-f8 1 dynamic n y 0:0 dest 42 00-00-c0-71-e0-e4 1 dynamic n y 0:0 dest 42 00-00-cd-00-a4-d6 1 dynamic n y 0:0 dest 42
8-216 show switch filter Rapier Switch Software Reference show switch filter Syntax SHow SWItch FILter [POrt={port-list|ALL}] [ACtion={FORward|DIScard}] [DESTaddress=macadd] [ENTry=entry-list] [VLAN={vlan-name|1..4094}] where: Description ■ macadd is an Ethernet six-octet MAC address, expressed as six pairs of hexadecimal digits delimited by hyphens. ■ entry-list is an entry number, range (specified as n-m), or comma-separated list of numbers and/or ranges.
Switching show switch filter 8-217 Table 8-59: Parameters in the output of the show switch filter command Examples Parameter Meaning Entry Number identifying the filter entry. Destination Address Destination MAC address for the entry. VLAN VLAN name and identifier for the entry. Port The outbound port to match for the filter entry to be applied. Action Whether the action specified by the filter entry to forward or discard.
8-218 show switch hwfilter Rapier Switch Software Reference show switch hwfilter Syntax SHow SWItch HWFilter [CLASSifier=classifier-list] where classifier-list is either an integer from 1 to 9999; a range of integers (specified as 1-4), or a comma-separated list of classifier numbers and/or ranges (1, 3, 4-9).
Switching show switch hwfilter 8-219 Table 8-60: Parameters in the output of the show switch hwfilter classifier command Example Parameter Meaning Status Whether hardware filtering on the switch is enabled. Number of Filter Current total of filters created with the add switch hwfilter classifier command. Filter Filter number. Classifier Number of the classifier this filter entry is based on.
8-220 show switch l3filter Rapier Switch Software Reference show switch l3filter Syntax SHow SWItch L3Filter[=filter-id [ENTry=entry-id]] where: Description ■ filter-id is a decimal number in the range 1 to the number of filters defined. ■ entry-id is a decimal number in the range 1 to the number of entries defined. This command displays hardware-based Layer 3 filtering match criteria and their filter entries (Figure 8-43 on page 8-220, Table 8-61 on page 8-220).
Switching show switch l3filter 8-221 Table 8-61: Parameters in the output of the show switch l3filter command (Continued) Example Parameter Meaning No Match Action Action to take when a packet matches the specified ingress/ egress ports for this entry; one or more of “sp” (SETPRIORITY), “sc” (FORWARD or SENDCOS), “st” (SETTOS), “dn” (DENY), “se” (SENDEPORT), “sm” (SENDMIRROR), “mpt” (MOVEPRIOTOTOS), “mtp” (MOVETOSTOPRIO), “sds” (SETIPDSCP), “sn” (SENDNONUNICASTTOPORT). Ent. Filter entry number.
8-222 show switch port Rapier Switch Software Reference show switch port Syntax SHow SWItch POrt[={port-list|All}] where port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command displays general information about the specified switch ports or all switch ports (Figure 8-44 on page 8-222, Table 8-62 on page 8-222).
Switching show switch port 8-223 Table 8-62: Parameters in the output of the show switch port command Parameter Meaning Configured speed/duplex Speed mode configured for this port. Either “Autonegotiate” or a combination of a speed (one of “10 Mbps”, “100 Mbps” or “1000 Mbps”) and a duplex mode (one of “half duplex” or “full duplex”), and optionally “(by autonegotiation)”. Actual speed/duplex The port speed and duplex mode that this port is actually running at.
8-224 show switch port Rapier Switch Software Reference Table 8-62: Parameters in the output of the show switch port command Example Parameter Meaning Multicast filtering mode Either “(A) forward all groups”, “(B) forward all unregistered groups”, or “(C) filter all unregistered groups”. GBIC vendor name Name of the GBIC vendor. This is shown when a valid GBIC is installed in the port. GBIC part number Vendor part number or product name.This is shown when a valid GBIC is installed in the port.
Switching show switch port counter 8-225 show switch port counter Syntax SHow SWItch POrt[={port-list|All}] COUnter where port-list is a port number, range (specified as n-m), or comma-separated list of numbers and/or ranges. Port numbers start at 1 and end at m, where m is the highest numbered Ethernet switch port, including uplink ports. Description This command displays counters for a specific switch port or all switch ports (Figure 8-45 on page 8-225, Table 8-63 on page 8-226).
8-226 show switch port counter Rapier Switch Software Reference Table 8-63: Parameters in output from show switch port counter command Parameter Description Ethernet MAC counters Combined receive/transmit packets by size (octets) counters Number of packets in each size range received and transmitted. 64 Number of 64 octet packets received and transmitted. 65 - 127 Number of 65 - 127 octet packets received and transmitted. 128 - 255 Number of 128 - 255 octet packets received and transmitted.
Switching show switch port counter 8-227 Table 8-63: Parameters in output from show switch port counter command Parameter Description PauseMACCtlFrms Number of valid PAUSE MAC Control frames. OversizePkts Number of oversize packets. Fragments Number of fragments. Jabbers Number of jabber frames. PauseCtrlFrms Number of Pause control frames. FrameWDeferrdTx Number of frames deferred once before successful transmission. FrmWExcesDefer Number of frame aborted after too many deferrals.
8-228 show switch port intrusion Rapier Switch Software Reference Table 8-63: Parameters in output from show switch port counter command Example Parameter Description Transmit Drops Number of IP multicasting packets dropped by this port on egress.
Switching show switch qos 8-229 show switch qos Syntax Description SHow SWItch QOS This command displays the current mapping of user priority level to QOS egress queue for the switch (Figure 8-47 on page 8-229, Table 8-64 on page 8-229). Packets that originate on the switch or are routed by the switch’s software have been assigned a Quality of Service priority of 7. To ensure that these packets are transmitted promptly, you should not assign priority 7 to a low-numbered egress queue.
8-230 show switch trunk Rapier Switch Software Reference show switch trunk Syntax SHow SWItch TRunk[=trunk] where trunk is a character string 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command displays information about the specified trunk group, or all trunk groups on the switch (Figure 8-48 on page 8-230, Table 8-65 on page 8-230). The trunk parameter specifies the name of the trunk group.
Switching show vlan 8-231 show vlan Syntax SHow VLAN[={vlan-name|1..4094|ALL}] where vlan-name is a unique name from 1 to 32 characters. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. The vlan-name cannot be a number or ALL. Description This command displays information about the specified VLAN. If no VLAN or ALL is specified, then all VLANs are displayed (Figure 8-49 on page 8-231, Table 8-66 on page 8-232).
8-232 show vlan Rapier Switch Software Reference Table 8-66: Parameters in the output of the show vlan command Parameter Meaning Name Name of the VLAN. Identifier Numerical VLAN identifier of the VLAN. Status Status of the VLAN, either dynamic or static. Protected Whether the VLAN is a protected VLAN. Private Whether the VLAN is a private VLAN. A private VLAN contains ports or groups of ports that are isolated from the other ports in the VLAN.
Switching show vlan debug 8-233 show vlan debug Syntax Description SHow VLAN DEBug This command displays debug information for all VLANs (Figure 8-50 on page 8-233, Table 8-67 on page 8-233).
8-234 show vlanrelay Rapier Switch Software Reference show vlanrelay Syntax SHow VLANRelay[=name] where name is a unique name for the VLAN relay entity 1 to 15 characters long. Valid characters are uppercase and lowercase letters, digits, the underscore, and the hyphen. Description This command displays information about one or all of the currentlyconfigured VLAN relay entities (Figure 1, Table 1). The vlanrelay parameter specifies the name of the VLAN relay entity for which to show information.
Switching Related Commands Software Release 2.7.
8-236 show vlanrelay Rapier Switch Software Reference Software Release 2.7.