ZXR10 5900/5200 Series All Gigabit-Port Intelligent Routing Switch User Manual (Ethernet Switching Volume) Version 2.8.23.A ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 Fax: (86) 755 26770801 URL: http://ensupport.zte.com.cn E-mail: support@zte.com.
LEGAL INFORMATION Copyright © 2006 ZTE CORPORATION. The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
Contents About This Manual.............................................. i VLAN Configuration ...........................................1 VLAN Overview .............................................................. 1 VLAN Type ................................................................. 1 VLAN Tag................................................................... 2 VLAN Link Type .......................................................... 2 Default VLAN ................................................
SVLAN Configuration ....................................... 17 SVLAN Overview............................................................17 SVLAN Configuration ......................................................17 SVLAN Configuration Example .........................................19 Basic SVLAN Configuration..........................................19 Transparent Transmission SVLAN Configuration..............20 802.1P Priority Configuration.......................................
MAC Address Table Configuration Example ........................39 STP Configuration............................................ 41 STP Overview ...............................................................41 SSTP Mode ...............................................................41 RSTP Mode ...............................................................42 MSTP Mode...............................................................42 BPDU Protection ........................................................
Configuring IGMP Agent .............................................70 Restricting a Multicast Group.......................................71 Configuring Static IGMP SNOOPING .............................71 Modifying Default Time...............................................71 IGMP Snooping Configuration Example .............................72 IGMP Snooping Maintenance and Diagnosis .......................72 Sflow Configuration ......................................... 75 Overview.........................
Enhanced Function Configuration ...................... 101 Instance Configuration..................................... 101 UDLD Configuration ....................................... 105 UDLD Overview ........................................................... 105 Configuring UDLD ........................................................ 106 UDLD Global Configuration........................................ 106 UDLD Interface Configuration ...................................
About This Manual Purpose ZXR10 5900/5200(V2.8.23.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Related Documentation ii Chapter Summary Chapter 5 MAC Table Operation This chapter describes the content and related knowledge of MAC Table and related configuration. Chapter 6 STP Configuration This chapter describes the content and related knowledge of STP and related configuration. Chapter 7 Link Aggregation Configuration This chapter describes the content and related knowledge of Link Aggregation and related configuration.
About This Manual � ZXR10 Router-Ethernet Switch Command Manual - Functional System I � ZXR10 Router-Ethernet Switch Command Manual - Functional System Volume II � ZXR10 Router-Ethernet Switch Command Manual - Functional System Volume III � ZXR10 Router/Ethernet Switch Command Manual — Functional System IV � ZXR10 Router/Ethernet Switch Command Manual — Protocol Stack I � ZXR10 Router/Ethernet Switch Command Manual — Protocol Stack II � ZXR10 Router/Ethernet Switch Command Manual — Protocol St
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 1 VLAN Configuration Table of Contents VLAN Overview .................................................................. 1 Configuring VLAN ............................................................... 6 Configuring PVLAN.............................................................10 Configuring QinQ ...............................................................11 Configuring Subnet VLAN....................................................12 Configuring Protocol VLAN .............................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Assume ports 1, 2 and 3 belong to the same VLAN, while the other ports belong to other VLANs, then frames received on port 1 are broadcast to ports 2 and 3 only while they are not passed to any other port. When a user in a VLAN moves to a new location, it no longer belongs to the original VLAN unless the user is assigned to that VLAN again.
Chapter 1 VLAN Configuration It connects two devices that can identify VLAN tags and carries several VLAN’s services. It transmits tagged frames only to several VLANs. The most common trunk link is the one between two VLAN switches. 3. Hybrid Link It transmits both tagged and untagged frames. For a given VLAN, however, it only transmits frames of the same type.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) QinQ QinQ, also known as VLAN stack, is a graphic name for the IEEE 802.1Q based tunnel protocol. QinQ technology encapsulates the original VLAN tag (inner tag) with another VLAN tag (outer tag) so that the inner tag is masked. QinQ implements simple Layer 2 VPN (L2VPN) without protocol support, applicable to small-sized LANs with L3 switches as their core. QinQ typical networking is shown in Figure 2.
Chapter 1 VLAN Configuration Subnet VLAN isolates data frames from different source IP addresses so that a user has access to data from its own subnet only. The subnet VLAN priority in untagged frame forwarding is higher than that of protocol VLAN or PVID; the priority of tagged frame forwarding in the tagged mode is higher than that of subnet VLAN. Port is enabled on Subnet VLAN by default and also can be disabled according to actual demands.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) gateway address. Even if there are a number of idle IP addresses in a user’s subnet, they cannot be allocated to other users. This causes waste of IP addresses. SuperVLAN effectively resolves this problem. It merges several VLANs (called sub-VLAN) to a SuperVLAN so that they can use the same IP subnet and default gateway. With the SuperVLAN technology, the ISP needs only one IP subnet for its SuperVLAN.
Chapter 1 VLAN Configuration + VLAN ID. VLAN ID includes four digits (0s are pretended when there are less than four digits). Name of VLAN 4 is VLAN0004. Setting VLAN Link Type on Ethernet Interface To set VLAN link type on Ethernet port, use the following command. Command Function ZXR10(config-gei_1/x)#switchport mode {access|trunk This sets VLAN link type on Ethernet port. |hybrid} There are three VLAN link types for Ethernet interface of ZXR10 5900/5200: Access mode, Trunk mode and Hybrid mode.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Command Function ZXR10(config-gei_1/x)#switchport trunk vlan This command adds a trunk port to a specified VLAN. � To add a hybrid port into a specific VLAN, use the following commands. Command Function ZXR10(config-gei_1/x)#switchport hybrid vlan This command adds a hybrid port to a specified VLAN. [tag|untag] Adding Ports to a VLAN in Batches To add ports to a VLAN in batches, use the following command.
Chapter 1 VLAN Configuration Command Function ZXR10(config-gei_1/x)# ingress filtering {enable|disab This sets VLAN filtering on a port. le} When ingress filtering is enabled on a port, the port drops a received frame if the VLAN to which the frame belongs does not include the ingress. By default, VLAN ingress filtering is enable. Setting Frame Filtering Type of a Port To set frame filtering type of a port, use the following command.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 3 VLAN NETWORKING Configuration of Switch A: ZXR10_A(config)#vlan 10 ZXR10_A(config-vlan10)#switchport pvid gei_1/1-2 ZXR10_A(config-vlan10)#exit ZXR10_A(config)#vlan 20 ZXR10_A(config-vlan20)#switchport pvid gei_1/4-5 ZXR10_A(config-vlan20)#exit ZXR10_A(config)#interface gei_1/24 ZXR10_A(config--gei_1/24)#switchport mode trunk ZXR10_A(config-gei_1/24)#switchport trunk vlan 10 ZXR10_A(config-gei_1/24)#switchport trunk vlan 20 ZXR10_A(co
Chapter 1 VLAN Configuration Isolated group 2: gei_1/3,gei_1/4 and gei_4/1 are isolated ports, gei_1/5,gei_1/6 and gei_5/1 are community ports, gei_1/11 and gei_1/12 are promiscuous ports.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Configuring Subnet VLAN Step Command Function 1 This creates a subnet VLAN. ZXR10(config)#vlan subnet-map session-no vlan {} 2 ZXR10(config)#show vlan subnet-map Example This displays configuration of subnet VLAN. As shown in Figure 4, configure VLAN data on the switch. Configure VLAN20 and VLAN30.
Chapter 1 VLAN Configuration ZXR10(config-gei_1/1)#exit ZXR10(config)#interface gei_1/2 ZXR10(config-gei_1/2)#switchport mode hybrid ZXR10(config-gei_1/2)#switchport hybrid native vlan 30 ZXR10(config-gei_1/2)#switchport hybrid vlan 30 untag ZXR10(config-gei_1/2)#exit ZXR10(config)#interface gei_1/10 ZXR10(config-gei_1/10)#switchport mode hybrid ZXR10(config-gei_1/10)#switchport hybrid vlan 20,30 untag ZXR10(config-gei_1/10)#exit /*Create subnet VLAN data*/ ZXR10(config)#vlan subnet-map session-no 1 20.20.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Configuring VLAN Translation Step Command Function 1 ZXR10(config)#vlan translate session-no ingress-port ingress-vlan egress-vlan This configures VLAN Translation. 2 ZXR10(config)#show vlan translate This views the configuration of VLAN Translation. 3 ZXR10(config)#vlan egr-translate session-no This configures VLAN egr-translation.
Chapter 1 VLAN Configuration sub-VLANs on switch B, VLAN 2 and VLAN 3, and configure them to belong to the SuperVLAN. Switch A and switch B are connected through trunk ports. FIGURE 5 SUPERVLAN CONFIGURATION EXAMPLE Configuration of Switch A: /*Create a SuperVLAN, and assign subnet and gateway for it*/ ZXR10_A(config)#interface supervlan10 ZXR10_A(config-supervlan10)#ip address 10.1.1.1 255.255.255.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) ZXR10_B(config-gei_1/10)#exit VLAN Maintenance and Diagnosis For convenient VLAN maintenance and diagnosis, 5900/5200 provides the following commands: ZXR10 show vlan [brief|access|trunk|hybrid|id [ifindex ]|name [ifindex]] This command can be used to view information about all VLANs, VLAN with specified ID/name, and VLANs with their ports mode as Access/Trunk/Hybrid. The two examples are as follows. 1.
Chapter 2 SVLAN Configuration Table of Contents SVLAN Overview ...............................................................17 SVLAN Configuration ..........................................................17 SVLAN Configuration Example .............................................19 SVLAN Maintenance and Diagnosis.......................................21 SVLAN Overview The full name of SVLAN is selective VLAN. SVLAN is a kind of VLAN tunnel technology.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Step Command Function 1 This command configures SVLAN.
Chapter 2 SVLAN Configuration Step Command Function 1 ZXR10(config)#no vlan qinq session-no This deletes SVLAN configuration. 2 ZXR10(config)#no vlan qinq extend-session-no This deletes SVLAN configuration. {|all} Paramters Description: Parameter Description session-no <1 - 768> extend-session-no <1 - 1000> SVLAN Configuration Example Basic SVLAN Configuration Example 1: Port 1 is a customer port, and port 2 is an uplink port.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) gei_1/1 uplink-port gei_1/2 in-vlan 10 outer-vlan 100 ovlan 200 ZXR10(config)# vlan qinq extend-session-no 2 customer-port gei_1/1 uplink-port gei_1/2 outer-vlan 101 ovlan 201 unredirect The SVLAN example of viewing configuration: ZXR10(config)#show vlan qinq extend-session Session Customer Uplink In_Vlan Outer-vlan Ovlan Helpvlan Priority unredirect ----------------------------------------------------------1 gei_1/1 gei_1/2 10 100 200 2 gei_1
Chapter 2 SVLAN Configuration 802.1P Priority Configuration Example: port 1 is customer port, port 2 is uplink port. For the message from port 1: when CVLAN is 10 and SPVLAN is 100, SPVLAN priority is 5; when CVLAN is 12 and SPVLAN is 200, SPVLAN priority is CVLAN priority.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 3 SVLAN COS Configuration Table of Contents SVLAN COS Overview.........................................................23 Configuring SVLAN COS......................................................23 SVLAN COS Configuration Example ......................................24 SVLAN COS Maintenance and Diagnosis................................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Note: Each physical port can only apply one session. The new configuration will replaces the old one. For example, configure the following two commands on gei_1/1 interface configuration mode: 1. cos-mode cos-map-session 1 2. cos-mode cos-map-session 2 Here only 2 takes effect.
Chapter 4 ZESR and SVLAN Linkage Networking Configuration Table of Contents ZESR and SVLAN Linkage Networking Overview.....................25 Configuring ZESR and SVLAN Linkage Networking .................26 Configuration Example .......................................................28 ZESR and SVLAN Linkage Networking Overview ZESR and SVLAN linkage networking is applicable for multi-ring multi-domain network.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Configuring ZESR and SVLAN Linkage Networking Configuring SVLAN 1. To configure SVLAN, refer to SVLAN configuration. 2. To configure other uplink ports, refer to VLAN configuration. Note: 1. When configuring SVLAN based on ACL, configure downlink data flow is not redirection. 2. The designated uplink port when configuring SVLAN is totally equivalent to the ordinary port that has the same VLAN attribute.
Chapter 4 ZESR and SVLAN Linkage Networking Configuration Configuring Port MAC Duplication Step Command Function 1 ZXR10(config-gei_1/x )#mac-duplicate <0-4> src-vlan dest-vlan This configures port MAC duplication. 2 ZXR10(config-gei_1/x )#no mac-duplicate <0-4> This cancels port MAC duplication. Note: Port is configured as customer port of SVLAN based on ACL. The learning L2 entry on port is vlan id of inner tag , need to enable MAC duplication for customer port.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Configuring One-Way PVLAN To configure to forbid uplink port of SVLAN based on ACL to forward data to loopback port, use the following commands. Step Command Function 1 ZXR10(config)#vlan private-map-unidirectional session-id source destination This configures one-way PVLAN source port and destination port. 2 ZXR10(config)#no vlan private-map-unidirectional This cancels one-way PVLAN configuration.
Chapter 4 ZESR and SVLAN Linkage Networking Configuration gei_1/2 as auxiliary loopback port.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 5 MAC Address Table Configuration Table of Contents Introduction to MAC Address ...............................................31 Configuring MAC Address Table............................................33 MAC Address Table Configuration Example ............................39 Introduction to MAC Address MAC Media Access Control address is the hardware identification of a network device. The switch forwards packets based on MAC address. MAC address is unique, ensuring accurate packet forwarding.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) � toS: Whether the MAC address is solid. � srF: Whether to drop frames from the source MAC address. � dsF: Whether to drop frames from the destination MAC address. � Time: the time of MAC address on the switch. Desiganated by day:hour:minute:second. During L2 forwarding, the switch checks its MAC address table for the destination MAC address of the received frame, and then forward data to the corresponding port.
Chapter 5 MAC Address Table Configuration Dynamic MAC addresses in the MAC address table are learned by the switch. The procedure of switch learning MAC address is as follows: Switch analyzes the source MAC address and VLANID (for example, MAC1+VID1) once it receives a data frame on a port. If judging the MAC address to be valid and learnable, the switch checks MAC1+VID1 in its MAC address table. If the entry is not found, the address is added to the MAC address table, otherwise the entry is updated.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) The configuration of MAC address table includes the following contents. Setting MAC Address Aging Time MAC address aging time influences the switch’s performance. A shorter aging time may make the switch delete useful MAC address table entries. As a result, it broadcasts many packets it loses track to their destination MAC addresses, which consumes the bandwidth.
Chapter 5 MAC Address Table Configuration of switch connects are fixed, that is, the interface that each device MAC address in switch MAC address table corresponds is fixed, then make the mac address that learns from port and will learn from port permanent to prevent MAC deceiving format network attack. Even if after device is rebooted, these MAC addresses still can be used. Of course, the premise is that automatic writing function is opened or write operation is implemented.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Step Command Function 1 ZXR10(config)#mac add {dynamic|static|perman ent} interface [vlan ] When adding MAC address, if the VLAN ID is not designated , add according to port PVID. 2 ZXR10(config)#mac delete {| interface | vlan } If a VLAN ID is not specified while deleting a MAC address, all entries matching will be deleted.
Chapter 5 MAC Address Table Configuration Setting MAC Address Learning Protection ZXR10 5900/5200 supports MAC address learning protection function for ports. When a port is detected to be learning MAC addresses abnormally, its address learning will be suspended for some time. A port in protection state cannot learn new addresses. It recovers learning when the protect time is due. For setting MAC Address learning protection on a port, perform the following steps. 1.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Setting MAC Address Filtering To prevent unauthorized access, ZXR10 5900/5200 support filtering data frames according to MAC addresses. There are three filtering modes: � Source MAC address matching only, that is, a data frame is dropped when its source MAC address matches the setting. � Destination MAC address matching only, that is, a data frame is dropped when its destination MAC address matches the setting.
Chapter 5 MAC Address Table Configuration MAC Address Table Configuration Example As shown in Figure 6, switches A and B are connected over trunk link smartgroup1, three PCs and a ZXR10 2826E are connected to switch B. The details is shown as . Equipment MAC Address Switch Port VLAN PC1 0X00D0.8765.95CA gei_1/1 1 PC2 0X00D0.8765.95CB gei_1/3 2 PC3 0X00D0.8765.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) /*Configure MAC address learning protection on the port*/ ZXR10_B(config)#mac limit-num interface gei_1/7 1000 ZXR10_B(config)#mac protect interface gei_1/7 enable ZXR10_B(config)#mac protect time 120 /*Configure MAC address aging time*/ ZXR10_B(config)#mac aging-time 180 40 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 STP Configuration Table of Contents STP Overview ...................................................................41 Configuring STP ................................................................49 BPDU Protection Configuration ............................................52 STP Configuration Examples................................................53 BPDU Protection Configuration Example................................56 STP Maintenance and Diagnosis...........................................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) RSTP Mode Rapid Spanning Tree Protocol (RSTP) provides a faster aggregation speed than STP (that is, SSTP mode). When the network topology changes, the state of the redundant switch port can make a fast shift (Discard > Forword) in the case of point-to-point connection. MSTP Mode Two concepts are added to Multiple Spanning Tree Protocol (MSTP): instance and VLAN mapping. SSTP/RSTP mode can be regarded as a special case of the MSTP mode.
Chapter 6 STP Configuration Note: Bridges in an MST area mush have same MST config ID. Two bridges with same MST config ID are probably in different MST area. For example, if two bridges with the same MST config ID are connected through the LAN of another MST area, they should belong to different MST area. MST area may have different spanning tree structures: Internal Spanning Tree (IST), MST1, MST2 and MSTn. Each MSTi can be regarded as an MSTI.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) BPDU Protection BPDU Overview Switches calculating spanning tree according to the content of BPDU packet. Network topology once changes spanning tree will be calculated again. If the network is large, the calculation will be very frequent. This influence switches to transmit packet. At the same time, the change of Root Bridge also brings some problem. BPDU protection overcomes these problems.
Chapter 6 STP Configuration packet and shut down the port which connects to switch D. This solves the problem of network performance. Port Loopback Protection Function Loopback protection provides addtional layer 2 protection function. One reason for STP loop takes places in a network with redundant link is that one port which in blocking state becomes a designated port and enters into FORWARDING state. A blocking port when doesn’t receive a BPDU packet. STP thinks that there isn’t a loop.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 9 NETWORK LOOP DIAGRAM In Figure 9, if port loopback protection is not configured. After MAX_AGE timer expires, blocking port in switch C will be transmitted into LISTENING state and then FORWARD_DELAY time is transmitted into LEARNING state. This cycle is repeated again then this will lead to loop. FIGURE 10 PORT LOOPBACK PROTECTION In Figure 10, if port loopback protection is configured.
Chapter 6 STP Configuration state after MAX_AGE time. Port in LOOP_INCONSISTENT state won’t transmit data. This will avoid looping. Port Root Protection Function Port root protection function provides a way to protect root switch. In switch environment, all switches which enable spanning-tree will take part in the election of root switch. Switch which has the lowest priority will be root switch.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 12 NEW ROOT BRIDGE In Figure 12, switch D takes part in calculating spanning tree. If priority of switch D is lower than that of switch A. Switch D is elected to be a new root switch. After calculating spanning tree, port of switch B which connects to switch A is blocked. Port root protection command is configured in interface mode. It is only permitted in designated port and is not permitted in root port.
Chapter 6 STP Configuration Configuring STP Enabling/Disabling STP Command Function ZXR10(config)#spanning-tree {enable|disable} This enables or disables STP. Note: Disable STP on ZXR10 5900/5200, all ports that physical status is up are set Forwarding status. In default, STP is disabled. Configuring STP Mode Command Function ZXR10(config)#spanning-tree mode {sstp|rstp|mstp} This configures STP mode. By default, STP mode of ZXR10 5900/5200 is MSTP.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) It is decided by the area root node of an instance in the MST area and decreases by 1 after each switch. When it decreases to 0 the BPDU packet is invalid. Message-age and max-age values of the BPDU packet in the MST area do not change during area transmission. To configure STP protocol parameters , use the following commands. Step Command Function 1 ZXR10(config)#spanning-tree hello-time
Chapter 6 STP Configuration Note: ZXR10 5900/5200 has on instance 0 only in SSTP/RSTP mode. In MSTP mode, the instance 0 exists by default and cannot be deleted at all. Configuring MSTP Name and Version Step Command Function 1 ZXR10(config-mstp)#name This configures MST configuration name. 2 ZXR10(config-mstp)#revision This configures version number. Note: Four conditions decide whether switches belong to same MST area: same MST configuration, same MST configuration version No.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Note: Bridge and port priority of ZXR10 5900/5200 must be configured after the instance has been created. Excluding a Port from Spanning Tree Calculation In some cases, it is necessary to exclude a port from spanning tree calculation such as uplink port of switch or the port connecting to PC.
Chapter 6 STP Configuration Configuring Port Loopback Function Step Command Function 1 This enables port loopback protection function in instance 1. ZXR10(config-gei_1/x)#spanning-tree guard loop instance 1 2 ZXR10(config-gei_1/x)#no spanning-tree guard loop instance 1 This deletes the port that has a loopback protection function in instance 1. Configuring Port Root Protection Function Step Command Function 1 This enables port root protection function in instance 1.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 13 MSTP CONFIGURATION Switch A Configuration /*Configure the MST area*/ ZXR10_A(config)#spanning-tree ZXR10_A(config)#spanning-tree ZXR10_A(config)#spanning-tree ZXR10_A(config-mstp)#name zte ZXR10_A(config-mstp)#revision enable mode mstp mst configuration 2 /*Map VLANs 1 to 10 to Instance 1 and VLANs 11 to 20 to Instance 2*/ XR10_A(config-mstp)#instance 1 vlan 1-10 ZXR10_A(config-mstp)#instance 2 vlan 11-20 Switch B Configuration /*
Chapter 6 STP Configuration FIGURE 14 CONFIGURATION OF MSTP The difference between this example and the previous example is: One area can have only one instance to communicate with the external network Edge port is in block or forward state for all the VLANs. Therefore, there is no possibility of load balance. Advantages of MSTP are not brought into play.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) BPDU Protection Configuration Example Edge Port BPDU Protection Configuration Examples FIGURE 15 BPDU CONFIGURATION In Figure 15, port 4 of switch 3 is enabled BPDU protection function, the configuration of the port that need to be configured edge port BPDU protection is as follows ZXR10(config-gei_1/4)#spanning-tree bpduguard action shutdown ZXR10(config-gei_1/4)#spanning-tree edged-port enable 56 Confidential and Proprietary Information of
Chapter 6 STP Configuration Port Loopback Protection Configuration Example FIGURE 16 BPDU CONFIGURATION 2 In Figure 16, switch 1 is root switch, port 4 of switch 3 is blocked port, which is enabled loop protection function. Port 5 of switch 2 is disabled.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Port Root Protection Configuration Example FIGURE 17 BPDU CONFIGURATION 3 In Figure 17, switch 1 is root switch.
Chapter 6 STP Configuration Step Command Function 2 ZXR10#show spanning-tree interface This shows spanning tree information of a designated interface. 3 ZXR10#show spanning-tree statistics This shows statistics on BPDU packets sent and received by a designated interface. 4 ZXR10#show spanning-tree inconsistentports This shows maintenance information of BPDU protection. Note: In the following three cases, loops cannot been avoided even if STP function of switch is enabled.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 7 Link Aggregation Configuration Table of Contents Link Aggregation Overview .................................................61 Configuring Link Aggregation ..............................................62 Link Aggregation Configuration Example ...............................63 Link Aggregation Maintenance and Diagnosis.........................64 Link Aggregation Overview Link aggregation (also called trunk) binds multiple physical ports into a logic port.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) The logic port formed by link aggregation on the ZXR10 5900/5200 is called smartgroup, which can be used as a common port. Configuring Link Aggregation 1. To create a trunk group, use the following command. Step Command Function 1 ZXR10(config)#interface smartgroup<1-32> This creates a trunk group. ZXR10(config--smartgroupX)#smartgroup mode{ This creates smartgroup mode. 2 802.3ad|on} 2.
Chapter 7 Link Aggregation Configuration ZXR10(config)#no interface This deletes sm. 5. To delete port from sm, use the following command. ZXR10(config-gei_1/x)#no smartgroup This deletes port from sm. Link Aggregation Configuration Example Switches A and B are connected through the smartgroup port, which is converged by four physical ports. The smartgroup operates in trunk mode with VLANs 10 and 20 borne. This is shown in Figure 18.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) ZXR10_A(config-smartgroup1)#switchport trunk vlan 10 ZXR10_A(config-smartgroup1)#switchport trunk vlan 20 ZXR10_A(config-smartgroup1)#switchport trunk native vlan 10 Switch B configuration ZXR10_B(config)#interface smartgroup1 ZXR10_A(config-smartgroup1)#smartgroup mode 802.
Chapter 7 Link Aggregation Configuration gei_1/7 11 gei_1/8 10 ZXR10(config)# 5 6 0 0 0 0 0 0 0 0 When both protocol transmitted packets Tx and protocol received packets Rx of each member port are not zero, aggregation succeeds. Otherwise, the aggregation fails. 3. This example shows how to view the member port of the opposite side of trunk group 2. ZXR10(config)#show lacp 2 neighbors Smartgroup 2 neighbors Actor Partner Partner Port Oper Port Port System ID Port No.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 8 IGMP Snooping Configuration Table of Contents IGMP Snooping Overview....................................................67 Configuring IGMP Snooping.................................................69 IGMP Snooping Configuration Example .................................72 IGMP Snooping Maintenance and Diagnosis...........................72 IGMP Snooping Overview IGMP snooping is one of layer 2 functions of the switch, which can limit the forwarding of IP multicast traffic.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 19 IGMP SNOOPING APPLICATION Multicast Group Join The host joins corresponding multicast group by sending an IGMP joining message. When the switch receives the IGMP host report from a host for a particular multicast group, the switch adds the port number of the host to the associated multicast table entry.
Chapter 8 IGMP Snooping Configuration in this port, and IGMP Snooping will delete corresponding ports in the Layer 2 forwarding entries; if receiving response message, it is not necessary to modify forwarding table. Fast Leave When switch monitors the IGMPv2 leave message of designated group, it does not send the query message. Instead, the switch directly deletes the corresponding port in the layer 2 forward entry.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Configuring Topology Discovery Convergence After igmp snooping receiving topology changing notification, the action is triggered to speed multicast route convergence. Step Command Function 1 ZXR10(config)#ip igmp snooping send-special-leave This enables sending special leave message function at the global configuration mode.
Chapter 8 IGMP Snooping Configuration Command Function ZXR10(config)#ip igmp snooping mode proxy vlan Restricting a Multicast Group Step Command Function 1 ZXR10(config-vlanX)#igmp snooping acl This makes a ACL filtering for multicast group. ZXR10(config-vlanX)#igmp snooping max-group- This configures maximum group number allowed by the VLAN.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Step Command Function 2 This modifies the last member query interval. ZXR10(config-vlan)#igmp snooping last-member-q uery-interval 3 ZXR10(config-vlan)#igmp snooping mrouter-time- out
Chapter 8 IGMP Snooping Configuration Step Command Function 1 ZXR10#show ip igmp snooping This shows IGMP snooping configuration information. 2 ZXR10#show ip igmp snooping vlan This shows IGMP snooping configuration information of designated VLAN. 3 ZXR10#show ip igmp snooping port-info This shows port information related to IGMP snooping. vlan 4 ZXR10#show ip igmp snooping statistic[clear] This shows statistics on IGMP packets.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 9 Sflow Configuration Table of Contents Overview..........................................................................75 Configuring sFlow ..............................................................77 SFlow Configuration Example ..............................................77 SFlow Maintenance and Diagnosis........................................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) SFlow Sampling Unit SFlow sampling unit implements on router, switch and other network devices that need monitor. In the network system of router, switch and so on, generally, implement packet sampling function by network processor or ASIC chip. SFlow sampling module mainly sample the packet according to the user demands, meanwhile send the statistic information in relevant packet forwarding procedure.
Chapter 9 Sflow Configuration Configuring sFlow 1. To enable/disable sflow module, use the following command. Command Function ZXR10(config)#sflow { enable | disable} This enables/disables sflow module. 2. To configure sflow Agent, use the following command. Step Command Function 1 ZXR10(config)#sflow agent-config ipv4-address A.B.C.D [udp_port] This configures sFlow Agent IP address. 2 ZXR10(config)#sflow agent-config ipv6-address X:X::X:X [udp_port] This configures sFlow Agent IPv6 address.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 21 SFLOW CONFIGURATION EXAMPLE Configure sampling port gei_2/12 sending and receiving data flow which is monitored on sflow server. ZXR10(config)#sflow enable ZXR10(config)#sflow agent-config ipv4-address 10.40.1.1 ZXR10(config)#sflow collector-config ip-address 10.40.1.
Chapter 9 Sflow Configuration sflow enable sflowagent ip-addr: sflwcollector ip-addr: portname gei_2/12 10.40.1.1 10.40.1.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 10 ZESS Configuration Table of Contents ZESS Overview .................................................................81 Configuring ZESS ..............................................................82 ZESS Configuration Example ...............................................85 ZESS Maintenance .............................................................88 ZESS Overview ZESS is ZTE Ethernet Smart Switch technology. It is efficient link switch mechanism.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 22 ZESS NETWORK TOPOLOGY Configuring ZESS Creating ZESS Domain Create ZESS domain protect-instance and configure ports. Each domain protects one instance. The maximum number of domain is 4. This is the first step of creating ZESS. Step Command Function 1 ZXR10(config)#zess domain <1-4> protect-instance <0-16> primary secondary This creates ZESS Domain.
Chapter 10 ZESS Configuration Parameter Description <1-600> Preforward value, the unit is second. When the disconnected port reconnects, wait for preforward time and open automatically unless has ZESR protocol configuration. The default value is 10 seconds. Two ports of ZESS. In normal cases, secondary port is block, which avoids forming storm. Example 1. Create zess node that domain is 1, protect-instance is 1 ,ports are gei_1/10 and gei_1/20.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Parameter Description < 1-4> Domain ID, it indicates ZESS domain. revertive | non_revertive inversion or non-inversion modes, In inversion mode, when main link recovers, service will be cut again, whereas in non-inversion mode, service will still be transmitted on standby link. Example Configure ZESS node that domain is 1 and in non-inversion mode.
Chapter 10 ZESS Configuration Paramters Description Parameter Description < 1-4094> control vlan identifier, after configuring, this port will receive zess flush packet with same control vlan and forward it. It shall be noted that zess domain used port can’t be added into the same vlan receiving table. Example 1. Configure port gei_1/4 receive control vlan 2000 flush packet. ZXR10(config-gei_1/4)# zess receive-vlan 2000 2. Delete port gei_1/4 from the table that control vlan is 2000.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 23 ZESS NETWORKING CONFIGURATION FIGURE Node 1-3 comprise ZESS uplink network, node 2-3 connect upper layer network. By default, the upper layer network is connected and simplified as that connection node 2 and node 3 connect directly, node 1 configures ZESS. Node 1: sg1(gei_1/1,gei_1/2) connect node 2, sg2(gei_1/3, gei_1/4) connect node 3. Node 2: gei_1/1 connect node 3, sg1 (gei_1/3, gei_1/4) connect node 1.
Chapter 10 ZESS Configuration ZXR10_S1(config-gei_1/1)#exit ZXR10_S1(config)#interface gei_1/2 ZXR10_S1(config-gei_1/2)#negotiation auto ZXR10_S1(config-gei_1/2)#switchport mode trunk ZXR10_S1(config-gei_1/2)#switchport trunk vlan 100-200 ZXR10_S1(config-gei_1/2)#switchport trunk vlan 4000 ZXR10_S1(config-gei_1/2)#smartgroup 1 mode active ZXR10_S1(config-gei_1/2)#spanning-tree disable ZXR10_S1(config-gei_1/2)#exit ZXR10_S1(config)#interface gei_1/3 ZXR10_S1(config-gei_1/3)#negotiation auto ZXR10_S1(config-
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) ZXR10_S2(config-gei_1/1)#zess receive-vlan 4000 Node 3 configuration: The configuration such as port instance is as node 2. ZXR10_S3(config)#interface smartgroup1 ZXR10_S3(config-smartgroup1)#zess receive-vlan 4000 ZXR10_S3(config)#interface gei_1/1 ZXR10_S3(config-gei_1/1)#zess receive-vlan 4000 ZESS Maintenance To show ZESS configuration, use the following command.
11 Chapter Ethernet OAM Configuration Table of Contents 802.3ah Overview .............................................................89 Configuring 802.3ah ..........................................................91 CFM Configuration .............................................................94 802.3ah Overview IEEE 802.3ah is management of "link" level. It monitors and fault process Point to Point ethernet link. Sometimes "Detection of the last mile" means that.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) � Remote loopback � Link monitor DTE joining OAM sub-layer supports active/passive mode. When enabling OAM, DTE that supports the two modes should select active or passive. Remote Discovery OAM provides mechanism for detecting if remote DTE has OAM sub-layer, if find it isn’t satisfied, OAM client will know the result and generate fail alarm. There are two cases for fail.
Chapter 11 Ethernet OAM Configuration Link Monitor Link monitor function is to do statistics for fault symbols or fault frames that physical layer receives during fixed time. The driver has a counter which is always doing the statistics of fault frame, fault symbol, and total receiving frame number.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Step Command Function 4 This enables Ethernet OAM on port. ZXR10(config-gei_1/x)#set ethernet-oam {enable|disable} Enable: open port link Ethernet-OAM function. Disable: close port link Ethernet-OAM function. 5 6 ZXR10(config-gei_1/x)#set ethernet-oam period <1-10> timeout <2-10> mode {active|passive} This configures port discovery mode.
Chapter 11 Ethernet OAM Configuration Step Command Function 2 ZXR10#debug ethernet-oam packet interface {in|out|dual}type{information|n otify|reqst-varb|resps-varb|org-spec|all} mode {all-time|(number [100-1000])} This prints Ethernet-oam packet that is in, out or both on one interface, the type of packet can be information PDU, notify PDU, request PDU ,response PDU and so on. 3 ZXR10(config)#clear ethernet-oam { all |statistic } This clears configuration or statistics data.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Local DTE ----------Config: Mode : active Period : 10*100(ms) Link TimeOut : 3(s) Unidirection : nonsupport PDU max size : 1518 Status: Parser : forward Multiplexer : forward Stable : yes Discovery : done Loopback : off PDU Revision : 0 Remote DTE ----------Config: Mode : passive Link Monitor : support Unidirection : nonsupport Remote Loopback : support Mib Retrieval : nonsupport PDU max size : 1518 Status: Parser : forward Multiplexer : forwar
Chapter 11 Ethernet OAM Configuration FIGURE 26 MAINTENANCE DOMAIN FIGURE As shown in Figure 27, a network can be divided into user domain, provider domain and operator domain. Each established domain will be designated a level, there are 0-7 levels in total. The domain level will decide domain inclusion relationship. The domain with large level can include the domain with low level, whereas it doesn’t work. The domains with same level can’t include each other.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) FIGURE 27 ETHERNET NETWORK MAINTENANCE DOMAIN INCLUSION RELATIONSHIP FIGURE Route discovery: MEP use LTM/LTR to track the route from one MEP to another MEP or between MIPs. Fault detection: MEP use periodically sending and receiving CCM information to detect network connection. It mainly detects connection fault and unwanted connection (fault connection status).
Chapter 11 Ethernet OAM Configuration Configuring CFM Basic Configuration Step Command Function 1 This enables CFM in global configuration mode. ZXR10(config)#cfm {enable|disable} Enable: enable CFM Disable: close CFM 2 ZXR10(config)#cfm create md session <1-16> name level <0-7> Establish and configure MD attribute. When establishing successfully ,enter into MD mode automatically. The whole device supports 16 MDs. 3 ZXR10(config)#cfm delete md <1-16> This deletes MD.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) Step Command Function 10 This sets MA CCM sending fast and slow mode. ZXR10(config-md-ma)#speed {slow|fast} The default is slow. {slow|fast}: set MA allowed CCM sending packet fast or slow. 11 ZXR10(config-md-ma)#ccm timer-interval <1-7> This sets CCM sending time interval. This sets CCM sending time interval. When MA configures as fast, only set the value of 1-3. When MA configures as slow, only set the value of 4-7.
Chapter 11 Ethernet OAM Configuration Step Command Function 18 ZXR10(config-md-ma)#assign mip <1-64> interface This assigns MIP to port. the port can be samartgroup. When assigning port for MIP, the MEP that level is higher than or equal to current MIP level can’t exist on the port in the same vlan same level. 19 ZXR10(config-md-ma)#no assign mep <1-8191> This cancels the assignment of MEP to port.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) LB can be used only when MD, MA, MP and RMEP establish successfully and global enabled is opened. When using LB function, destination MP parameter can use established RMEP ID , RMEP MAC address or middle MIP MAC address. LB function supports SG interface. 2. To enable LT function, use the following command. LTM (Linktrace Message) : It is originated by MEP.
Chapter 11 Ethernet OAM Configuration Command Function ZXR10#show ma {all |( session <1-32>)} md <1-16> show all MAs in one MD or a certain MA once. 6. To show MP information, use the following command. Command Function ZXR10#show mp {all |<1-64>}md <1-16> ma <1-32> Only can show a certain MD, one or all MPs in a certain MA. Enhanced Function Configuration Step Command Function 1 This opens Debug function.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) The configurations of S1 are as follows: ZXR10(config)# interface gei_1/1 ZXR10(config-gei_1/1)#switch mode trunk ZXR10(config-gei_1/1)#exit ZXR10(config)# vlan 10 ZXR10(config-vlan10)# switchport tag gei_1/1 ZXR10(config-vlan10)# exit ZXR10(config)# cfm create md session 15 name md15 level 7 ZXR10(config-md)# ma create session 32 name ma1 ZXR10(config-md-ma)#protect vlan ZXR10(config-md-ma)# primary vlan 10 ZXR10(config-md-ma)# speed slow ZXR1
Chapter 11 Ethernet OAM Configuration --------------------------------------------------------------1 00d0.d034.5670 EgrOK RlyFDB 2 00d0.d052.2800 IngOK RlyHit Destination 00d0.d052.2800 reached.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 12 UDLD Configuration Table of Contents UDLD Overview ............................................................... 105 Configuring UDLD ............................................................ 106 UDLD Overview UDLD is a layer 2 logic link detection protocol. It can detect Ethernet link logic connectivity and verify physical connectivity. Different from physical connection detection, UDLD detects based on neighbor. The layer 1 device is transparent to UDLD.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) 1. In ordinary mode, after sending Hello neighbor joining packet, the received Echo packet displays that the peer port’s neighbor is not itself. 2. In aggressive mode, after sending Hello neighbor joining packet, the received Echo packet displays that the peer port’s neighbor is not itself. 3. In aggressive mode, after receiving Hello neighbor joining packet, send Echo packet and the peer Echo packet is not received. 4.
Chapter 12 UDLD Configuration Step Command Function 7 ZXR10(config)#udld reset This resets interface manually for the reason that UDLD causes interface down. 8 ZXR10(config)#Debug udld event This prints UDLD related information. 9 ZXR10(config)#Debug udld packet This prints UDLD related information. UDLD Interface Configuration The configuration in the interface mode is the same as that in global configuration mode. UDLD Configuration Notification Items 1.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Chapter 13 LLDP Table of Contents LLDP Overview ................................................................ 109 Configuring LLDP ............................................................. 110 LLDP Configuration Example ............................................. 110 LLDP Overview LLDP Link Layer Discovery Protocol is a new protocol defined in 802.1ab.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) � Value means the actual information that need to send. Each LLDPDU contains four forced TLVs and an optional TLV: 1. 2. 3. 4. 5. Device ID TLV Port ID TLV TTL TLV Optional TLV LLDPDU end TLV. Device ID and port ID are used for identifying transmitter. TTL TLV tells receiver the reserving period of all information. If the update information from transmitter is not received in the period, the receiver will discard all related information.
Chapter 13 LLDP FIGURE 29 LLDP CONFIGURATION EXAMPLE Configuration of S1: Zxr10#conf t Zxr10(config)#lldp enable Zxr10(config)#lldp enable interface gei_1/1 Configuration of S2: Zxr10#conf t Zxr10(config)#lldp enable Zxr10(config)#lldp enable interface gei_1/1 View the configuration result: 1.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone W - W LAN Access Point Local Intrfce Device ID Holdtime Capability Platform Port ID ----------------------------------------------------------gei_1/48 0000d0000100 91 B S ZXR10 ROS Version gei_2/1 V4.08.23 ZX.. gei_1/47 000011110000 296 B S ZXR10 ROS Version gei_1/24 V4.08.23 ZX.. 5.
Chapter 14 L2PT Configuration Table of Contents L2PT Overview ................................................................ 113 Command Configuration ................................................... 113 L2PT Configuration Example.............................................. 114 L2PT Overview In the VPN mode of QinQ, if the VPN users in different locations want to run their layer 2 protocol, core network need to transparently transmit these layer 2 protocol packets.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) 2 protocol mode that need tunneled, which only supports stp protocol. The default is disabled. Note: QinQ or SVLAN need to be configured on tunnel access port to take an effect on port tunneled configuration function, which implements L2PT packet transparent transmission function.
Chapter 14 L2PT Configuration Zxr10(config-gei_1/1)#l2protocol-tunneled stp enable Zxr10(config-gei_1/1)#switchport qinq customer Zxr10(config-gei_1/1)#switchport access vlan 10 Zxr10(config-gei_1/1)#exit Zxr10(config)#interface gei_1/2 Zxr10(config-gei_1/2)#switchport mode trunk Zxr10(config-gei_1/2)#switchport trunk vlan 10 Zxr10(config-gei_1/2)#exit Zxr10(config)#spanning-tree enable 2.
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Figures Figure 1 VLAN TAG FORMAT ................................................. 2 Figure 2 QinQ Typical Networking ........................................ 4 Figure 3 VLAN NETWORKING ..............................................10 Figure 4 Subnet VLAN Configuration Example ........................12 Figure 5 SuperVLAN Configuration Example...........................15 Figure 6 MAC Address Table Configuration Example ................39 Figure 7 BPDU Protection of Edge Port ..............................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Tables Table 1 CHAPTER SUMMARY ..................................................
ZXR10 5900/5200 Series User Manual (Ethernet Switching Volume) This page is intentionally blank.
Glossary ATM - Asynchronous Transfer Mode ISP - Internet Service ProviderInternet MD5 - Message Digest 5 5 MSTP - Multiple Spanning Tree Protocol OAM - Operation And Management RSTP - Rapid Spanning Tree Protocol SNMP - Simple Network Management Protocol SDH - Synchronous Digital Hierarchy STP - Spanning Tree Protocol BPDU - Bridge Protocol Data Unit BRAS - Broadband Remote Access Server CST - Common Spanning Tree CIST - Common and Internal Spanning Tree FDDI - Fiber Distributed Data Interface IST - Interna