Zte ZXR10 Command Manual

Zte ZXR10 Command Manual

Router/ethernet switch
Hide thumbs Also See for ZXR10:
Table of Contents

Advertisement

ZXR10
Router/Ethernet Switch
Command Manual (Ethernet Switch Volume)
Version 4.8.22
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.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZXR10 and is the answer not in the manual?

Questions and answers

Summary of Contents for Zte ZXR10

  • Page 1 ZXR10 Router/Ethernet Switch Command Manual (Ethernet Switch Volume) Version 4.8.22 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.cn...
  • Page 2 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 CORPO- RATION is prohibited.
  • Page 3: Table Of Contents

    About This Manual..........i Command Introduction ........1 Manual Use Guide............1 Description of Man-Machine Commands ......1 Auxiliary Function ............2 Command Mode ............. 3 MAC Configuration..........7 mac add................ 7 mac aging-time .............. 8 mac delete ..............8 mac filter ..............9 mac learn ..............10 mac learning..............10 mac limit-num ..............11...
  • Page 4 show vlan subnet-map ...........27 show vlan translate............27 swicthport ..............28 switchport access vlan ...........29 switchport hybrid native vlan ..........30 switchport hybrid vlan ............30 switchport mode............31 switchport qinq (Global Configuration)......32 switchport qinq (Port Configuration) .........32 switchport trunk native vlan..........33 switchport trunk vlan .............34 vlan (Global Configuration) ..........34 vlan (VLAN Database Configuration).........35 vlan database ...............35...
  • Page 5 show spanning-tree mst configuration ......57 show spanning-tree statistics ..........57 show spanning-tree transparent ........58 spanning-tree ...............59 spanning-tree bpduguard ..........59 spanning-tree edged-port ..........60 spanning-tree forward-delay ...........61 spanning-tree guard ............61 spanning-tree hello-time ..........62 spanning-tree linktype ...........62 spanning-tree max-age ..........63 spanning-tree mode............63 spanning-tree mst configuration ........64 spanning-tree mst hmd5-digest........64 spanning-tree mst hmd5-key ..........65 spanning-tree mst instance (Global Configuration) .....65...
  • Page 6 udld mode ..............80 udld recovery enable............81 udld recovery timer ............82 udld reset..............82 show udld..............83 Ethernet OAM Configuration ......85 set ethernet-oam debug ..........85 set ethernet-oam enable ..........86 set ethernet oam enable(interface configuration) ....86 set ethernet-oam link-monitor enable ......87 set ethernet-oam link-monitor frame-period......87 set ethernet-oam link-monitor frame-seconds ....88 set ethernet-oam link-monitor symbol-period ....88 set ethernet-oam oui .............89...
  • Page 7: About This Manual

    Purpose operation of ZXR10 router and Ethernet switch. This manual is intended for engineers and technicians who perform Intended Audience operation activities on ZXR10 router and Ethernet switch. This manual contains the following chapters: What Is in This Manual Chapter...
  • Page 8 ZXR10 Command Manual (Ethernet Switch Volume) � ZXR10 Router/Ethernet Switch Command Manual (Basic Con- figuration Volume II) � ZXR10 Router/Ethernet Switch Command Manual (Basic Con- figuration Volume III) � ZXR10 Router/Ethernet Switch Command Manual (Remote Ac- cess Volume) � ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout- ing Volume I) �...
  • Page 9: Command Introduction

    To search a command, do as follows: 1. Find the desired command by referring to ZXR10 Router/Eth- ernet Switch Command Manual — Command Index. 2. Find command details by the volume, chapter/section and page of the obtained command.
  • Page 10: Auxiliary Function

    Do not describe the history command if this entry does not exist. Auxiliary Function The auxiliary function for ZXR10 devices is as follows. 1. In any command mode, enter a question mark (?) after the DOS prompt of the system, a list of available commands in the command mode will be displayed.
  • Page 11: Command Mode

    ENTER. The ^ is below the first character of the input incorrect command, keyword or parameter. 3. ZXR10 router/Ethernet switch allows the command or key- word to be abbreviated into a character or character string that uniquely identifies this command or keyword. For example, the show command can be abbreviated to sh or sho.
  • Page 12 ZXR10 Command Manual (Ethernet Switch Volume) Mode Prompt Admis- Entry Functions sion Command Mode Inter- ZXR10(config- Global interface Configures face if)# config- port config- uration parameters uration mode and selects mode a port type depending on the keyword Subin- ZXR10 (config-...
  • Page 13 Configures ospf OSPFv3 parameters ZXR10(config- Global ip vrf Configures config- vrf)# config- uration uration parameters mode mode VFI con- Global ZXR10(config- Configures figu- config- vfi)# VPLS related ration uration parameters mode mode Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 14 ZXR10 Command Manual (Ethernet Switch Volume) Mode Prompt Admis- Entry Functions sion Command Mode Route IPv4 ad- ZXR10(config- address-fam Configures config- dress router-af)# ily ipv4 vrf RIP VRF uration family parameters config- mode uration (RIP) mode Route address-fam Configures config-...
  • Page 15: Mac Configuration

    Permanent address, which does not take part in aging, and can be written into database <mac-address> MAC address in dotted division format interface <port-na Ethernet physical port me> Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 16: Mac Aging-Time

    ZXR10 Command Manual (Ethernet Switch Volume) vlan <vlan-id> VLAN ID where the MAC address is located all-owner-vlans All VLANs where the interface is located If the parameter vlan <vlan-id> is not specified, the PVID on the Instructions port is selected. Use the show running-config command to dis- play the configured permanent MAC address.
  • Page 17: Mac Filter

    MAC ad- dress. This example describes how to filter the VLAN 1 data frames with Example the MAC address 000a.010c.e2c6. ZXR10(config)#mac filter source 000a.010c.e2c6 vlan 1 mac delete Related Commands show mac...
  • Page 18: Mac Learn

    MAC address, but various MAC addresses can be added on the interface by manual configuration. � ZXR10 T160G only supports the configuration of dynamic MAC address learning on the physical interface. This example describes how to disable the Ethernet interface Example fei_1/1 to learn the MAC address.
  • Page 19: Mac Limit-Num

    MAC address learning is not limited on the interface. � ZXR10 T160G only supports to set the number of the MAC ad- dresses that the physical interface can dynamically learn. This example describes how to set the number of the MAC ad-...
  • Page 20: Mac Protect Time

    MAC addresses that the port can learn need setting. ZXR10 T160G only supports the configuration of protection state on the physical interface. This example describes how to configure the Ethernet interface Example fei_1/1 to protect the MAC address learning.
  • Page 21: Mac Learning-Strategy

    Syntax Syntax Description driver Chip learning micode Network processor learning This command is applied to ZXR10 T160G/7800. Instructions This example describes how to configure the MAC learning strategy Example to NP method. ZXR10(config)#mac learn special ZXR10(config)#mac learning-strategy micode show mac learning-strategy...
  • Page 22: Mac Unknow-Filter-Limit-Num

    Disables the transparent function of the MAC address This command is supported by ZXR10 3900/5900/5200 in single Instructions mode. This command is used to enable or disable the transparent function of the MAC address. This example describes how to enable the transparent function of Example the MAC address.
  • Page 23: Show Mac

    This example describes how to display all MAC addresses on the Example Ethernet interface fei_1/1. (In this example, it is displayed on ZXR10 T160G , which slightly differs from ZXR10 3900/3200 and ZXR10 5900/5200). ZXR10(config)#show mac Ethernet fei_1/1 Total MAC address : 2...
  • Page 24: Show Mac Aging-Time

    ZXR10 Command Manual (Ethernet Switch Volume) srF-source filter,dsF-destination filter,time--day:hour:min:sec Frm --mac from where:0,drv; 1,config; 2,VPN; 3,802.1X; 4,micro MAC_Address port vid stc per toS srF dsF Frm vpnid Time ------------------------------------------------------------ 00d0.d0c0.1320 fei_1/1 1 0 0:00:43:41 Descriptions of the displayed fields are shown below.
  • Page 25: Show Mac Learning

    MAC address learned by the port fei_1/1. ZXR10#show mac limit-num ethernet fei_1/1 The limit num is: 100. mac limit-num Related Commands show mac port-info Use this command to display the configuration and status of the Purpose port. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 26: Show Mac Protect

    ZXR10 Command Manual (Ethernet Switch Volume) All modes Command Modes show mac port-info {interface <port-name>} Syntax Syntax Description interface <port-na Ethernet physical interface me> This example describes how to display the setting of the number Example limit of the dynamic MAC address learned by the port fei_1/1.
  • Page 27: Show Mac Running

    This example describes how to display the related configuration of Example the MAC of the switch. ZXR10#show mac running mac aging-time 60 mac limit-num ethernet fei_1/1 10 mac protect ethernet fei_1/1 enable Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 28 ZXR10 Command Manual (Ethernet Switch Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 29: Vlan Configuration

    (Port Enabling) .........42 vlan translate..............42 acceptable frame types Use this command to set the frame type be received at an inter- Purpose face. Interface configuration Command Modes acceptable frame types {all | tag} Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 30: Ingress Filtering

    ZXR10 Command Manual (Ethernet Switch Volume) Syntax Description All the frame types can be received tag frames only All the frame types are acceptable. Defaults Use the show running-config command on the interface to dis- Instructions play the configuration. This example describes how to configure the interface fei_1/1 to Example receive tag frames only.
  • Page 31: Name

    ZXR10(config)#vlan 2 ZXR10(config-vlan)#name v2 show vlan Related Commands show qinq Use this command to display information about QinQ configuration Purpose on an interface. All modes except user EXEC Command Modes show qinq [<interface-name>] Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 32: Show Vlan

    ZXR10 Command Manual (Ethernet Switch Volume) Syntax Description <interface-name> Name of the specified interface QinQ configuration information of all interfaces is displayed if this Instructions command has no parameter. � This example describes how to display QinQ configuration in- Example formation of all interfaces.
  • Page 33: Show Vlan Private-Map

    � This example describes how to display information about the configuration of a private VLAN. ZXR10#show vlan private-map 1 Session_id Isolate_Ports Promis_Ports ----------------------------------------- fei_1/1 fei_2/1 The displayed field descriptions are displayed as follows. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 34: Show Vlan Protocol-Map

    If there is no parameter after this command, information about the configuration of all protocol-based VLANs is displayed. � The session ID is 1~12 for ZXR10 3900, and 1~16 for ZXR10 5900/T160G/T64G/T40G. � This example describes how to display information about the Example configuration of all protocol-based VLANs.
  • Page 35: Show Vlan Subnet-Map

    If there is no parameter after this command, information about the configuration of all subnet-based VLANs is displayed. � The session ID is 1~12 for ZXR10 3900, and 1~256 for ZXR10 5900/T240G/T160G/T64G/T40G. � This example describes how to display information about the Example configuration of all subnet-based VLANs.
  • Page 36: Swicthport

    � If there is no parameter after this command, information about the configuration of all VLAN translations is displayed. � ZXR10 3900 does not support this command. � This example describes how to display information about the Example configuration of all VLAN translations.
  • Page 37: Switchport Access Vlan

    Use the show running-config command to display information Instructions about the configuration on the interface. This example describes how to add the access port fei_1/1 to vlan Example ZXR10(config)#interface fei_1/1 ZXR10(config-if)#switchport access vlan 10 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 38: Switchport Hybrid Native Vlan

    ZXR10 Command Manual (Ethernet Switch Volume) show vlan Related Commands switchport hybrid native vlan Use this command to configure the native VLAN for the hybrid port. Purpose If the VLAN does not exist, it is created. Restore default with the no form of this command.
  • Page 39: Switchport Mode

    VLAN only. This example describes how to set the VLAN link mode of the in- Example terface fei_1/1 to trunk. ZXR10(config)#interface fei_1/1 ZXR10(config-if)#switchport mode trunk show vlan Related Commands show interface Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 40: Switchport Qinq (Global Configuration)

    0x0001~0xffff, default: 0x8100 The port is in normal mode by default. Defaults The QINQ attribute of the port is configured in batches. For ZXR10 Instructions 3900, there is no tpid parameter in this command. For ZXR10 5900, the tpid parameter must not be modified if the port is in normal or customer mode.
  • Page 41: Switchport Trunk Native Vlan

    � ZXR10 3900 does not support this command. For ZXR10 5900, the parameter tpid cannot be modified if the port mode is in normal or customer mode. This example describes how to set the port fei_1/1 in uplink mode, Example and the tpid to 0x9100.
  • Page 42: Switchport Trunk Vlan

    ZXR10 Command Manual (Ethernet Switch Volume) show vlan Related Commands switchport trunk vlan Use this command to add a trunk port to some VLAN. If the VLAN Purpose does not exist, it is created. Remove the trunk port from a VLAN with the no form of this command.
  • Page 43: Vlan (Vlan Database Configuration)

    Otherwise, part of entries are lost because the database synchro- nization has not been finished. There must be interval between continuous batch operations. This example describes how to enter VLAN database configuration Example mode. ZXR10#vlan database Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 44: Vlan List

    ZXR10 Command Manual (Ethernet Switch Volume) ZXR10(vlan-db)# vlan list Use this command to enter VLAN global configuration mode. Purpose Global configuration Command Modes vlan list <vlan-list> Syntax Syntax Description <vlan-list> Creates the VlAN identifier.It can be configured in batches After the enter of this mode , VLANs can be created or deleted in Instructions batch.
  • Page 45 At most one session and not more than eight promiscuous ports can be configured for ZXR10 T160G. � ZXR10 3900 can have one promiscuous port at most, and it is required that isolate and promiscuous ports in the session be effective at the same time. At present, isolate and promiscuous ports belong to one session only.
  • Page 46: Vlan Protocol-Map

    ZXR10 Command Manual (Ethernet Switch Volume) show vlan private-map Related Commands vlan protocol-map Use this command to set protocol-based VLAN division. Delete the Purpose setting with the no form of this command. Global configuration Command Modes vlan protocol-map session-no <session-no>{ethernet2 | llc Syntax | snap}<0xHHHH>...
  • Page 47: Vlan Qinq

    Use this command to set the Selective VLAN (SVLAN) rule. Delete Purpose the setting with the no form of this command. Global configuration Command Modes The command format on ZXR10 T240G/T160G: Syntax vlan qinq session-no <session_id> customer-port <interface -name> uplink-port <interface-name> in-vlan <vlan-list>{ov lan {<vlanId>|<name>}[priority {<priority-list>| mapping}]| untag} no vlan qinq session-no {<session_id>| all}...
  • Page 48 � The platform version 4.6.02 and upgrade versions support this Instructions command. � The SVLAN configuration uses different formats for ZXR10 T160G and ZXR10 3900. � This example describes how to create session 1, set the cus- Example tomer port to gei_5/1, set the uplink port to gei_5/2, attach...
  • Page 49: Vlan Subnet-Map

    100~200 and transmit them in single-tagged mode. for 69 series: ZXR10(config)# vlan qinq session-no 2 customerbrg-port gei_5/1 uplinkbrg-port gei_5/2 invlan 100-200 untag for 39 series: ZXR10(config)# vlan qinq session-no 2 customerbrg-port...
  • Page 50: Vlan Subnet-Map (Port Enabling)

    ZXR10 Command Manual (Ethernet Switch Volume) show vlan subnet-map Related Commands vlan subnet-map (Port Enabling) Use this command to enable/disable subnet-based VLAN division Purpose on the interface. Interface configuration Command Modes vlan subnet-map {enable | disable} Syntax Syntax Description enable...
  • Page 51 768 rules (the egress VLAN is unique). � For ZXR10 5900, if a VLAN in some rule of SVLAN is configured as the Invlan of some port, any other VLAN translation entries must not configure this VLAN translation rule of this port.
  • Page 52 ZXR10 Command Manual (Ethernet Switch Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 53: Supervlan Configuration

    Superpvc interface configuration mode to enable or disable SUPERPVC implement ARP broadcast to its all ATM sub interfaces. This example describes how to enable ARP broadcast for SUPER- Example VLAN 1. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 54: Interface Supervlan

    � For T1200/T600/T128/T64E, the range of <supervlan-id> is 1~4096. � For switch series, such as ZXR10 5928, the range of <superv lan-id> is 1~255. � For the router series, use the command interface {supervlan <supervlan-id>|<supervlan-name>} to create a SUPERVC in- terface.
  • Page 55: Ip Supervlan Pool

    IP-pools on the interface or sub in- terface. This example describes how to bind the IP address segment from Example 192.168.1.1 to 192.168.1.128 to VLAN 4. ZXR10(config)#vlan 4 ZXR10(config-vlan)#ip supervlan pool 192.168.1.1 192.168.1.128 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 56: Ip-Pool-Filter

    ZXR10 Command Manual (Ethernet Switch Volume) show supervlan ip-pool Related Commands ip-pool-filter Use this command to enable/disable the SuperVLAN IP POOL fil- Purpose tering. SuperVLAN interface Command Modes ip-pool-filter {enable | disable} Syntax Syntax Description enable Enables the filtering of the communication...
  • Page 57: Show Supervlan Ip-Pool

    � For ZXR10 T1200/T600//T128/T64E, the parameter <supervl an-id> ranges from 1 to 4096. � For the switch series, such as ZXR10 5928, the parameter ranges from 1 to 255. � Use the show supervlan [<supervlan-id>] command on the router to display information about the configuration of Super- PVC.
  • Page 58: Subvlan

    ZXR10 Command Manual (Ethernet Switch Volume) This example describes how to display the IP pool bound to the Example VLAN. ZXR10(config)#show supervlan ip-pool Session-no Add-begin Add-end InvId OutvID Intf SupervlanNum 192.168.1.1 192.168.1.128 fei_1/1 2 The displayed field descriptions are shown below.
  • Page 59: Supervlan

    For ZXR10 T1200/T600/T128/T64E, the parameter <supervla Instructions n-id> ranges from 1 to 4096. � For the switch series, such as ZXR10 5928, the parameter <sup ervlan-id> ranges from 1 to 255. � The VLAN to be bound must not have the Layer 3 interface on the switch.
  • Page 60: Supervlan Inter-Subvlan-Routing

    ZXR10 Command Manual (Ethernet Switch Volume) show supervlan Related Commands supervlan inter-subvlan-rout Use this command to enable/disable routing between sub-VLANs. Purpose This command is used only on the switch. Global configuration Command Modes supervlan inter-subvlan-routing {enable | disable} Syntax Syntax...
  • Page 61: Stp Configuration

    Use this command to create an instance in MSTP mode, and map Purpose it to the corresponding VLAN table. Remove the instance with the no form of this command. MSTP configuration Command Modes instance <instance> vlans <vlan-id> Syntax no instance <instance> Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 62: Name

    ZXR10 Command Manual (Ethernet Switch Volume) Syntax Description <instance> Instance number, range: 1~63 vlans <vlan-id> VLAN mapping table to which the instance corresponds, in the range of 1 to 4094 � The platform version 4.6.02 and upgrade versions support this Instructions command.
  • Page 63: Revision

    This example describes how to display information about the port Example blocked by the root-port or loop protection function. ZXR10#show spanning-tree inconsistentports Mst Instance interface Name name Inconsistency ---------------------------------------------- MST00 fei_1/1 Root Inconsistent show spanning-tree instance Related Commands show spanning-tree interface Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 64: Show Spanning-Tree Instance

    ZXR10 Command Manual (Ethernet Switch Volume) show spanning-tree instance Use this command to display information about an instance and Purpose its ports. All modes Command Mode show spanning-tree instance <instance> Syntax Syntax Description <instance> Instance number, in the range of 1~63 (the instance 0 exists permanently) The platform version 4.6.02 and upgrade versions support this...
  • Page 65: Show Spanning-Tree Mst Configuration

    Instance Vlans mapped ------------------------------------------------ 1-9,21-4094 10-20 ZXR10# show spanning-tree instance Related Commands show spanning-tree interface show spanning-tree statistics Use this command to display statistics of an STP port. Purpose All modes Command Modes Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 66: Show Spanning-Tree Transparent

    ZXR10 Command Manual (Ethernet Switch Volume) show spanning-tree statistics <port-name> Syntax Syntax Description <port-name> Port name The platform version 4.6.02 and upgrade versions support this Instructions command. This example describes how to display statistics of the STP port Example fei_3/1.
  • Page 67: Spanning-Tree

    � This example describes how to exclude the interface fei_3/1 from spanning tree calculation. ZXR10(config)#interface fei_3/1 ZXR10(config-if)#spanning-tree disable spanning-tree bpduguard Use this command to configure the BPDU protection type of the Purpose port. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 68: Spanning-Tree Edged-Port

    ZXR10 Command Manual (Ethernet Switch Volume) Interface configuration Command Modes spanning-tree bpduguard action {discard | shutdown} Syntax no spanning-tree bpduguard action Syntax Description discard Discards the BPDU packet when it is received on the interface shutdown Shutdowns the interface when a BPDU packet...
  • Page 69: Spanning-Tree Forward-Delay

    � With this command, the administrator can prevent fault con- figuration. This example describes how to configure the BPDU root protection Example on the interface fei_3/1. ZXR10(config)#interface fei_3/1 ZXR10(config-if)#spanning-tree guard root instance 0 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 70: Spanning-Tree Hello-Time

    ZXR10 Command Manual (Ethernet Switch Volume) show spanning-tree inconsistentports Related Commands spanning-tree hello-time Use this command to set the Hello time (time interval for sending Purpose BPDU packets) of STP. Restore default with the no form of this command. Global configuration Command Modes spanning-tree hello-time <time>...
  • Page 71: Spanning-Tree Max-Age

    The platform version 4.6.02 and upgrade versions support this Instructions command. � Each mode allows the connection to the bridge. This example describes how to set the current STP mode to RSTP. Example Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 72: Spanning-Tree Mst Configuration

    HUAWEI) implement MSTP, the MSTP packet format is different from the IEEE standard. The KEY or DIGEST value has to be configured for the ZTE switch before the devices of the above manufacturers are connected in the same area. This example describes how to set the CISCO hmd5-digest value.
  • Page 73: Spanning-Tree Mst Hmd5-Key

    HUAWEI) implement MSTP, the MSTP packet format is different from the IEEE standard. A KEY or DIGEST value has to be configured for the ZTE switch before the devices of the above manufacturers is connected in the same area .
  • Page 74: Spanning-Tree Mst Instance (Port Configuration)

    ZXR10 Command Manual (Ethernet Switch Volume) Syntax Description <instance> Instance number, in the range of 0~63 (the instance 0 exists permanently) priority <priority> Bridge priority, which must be the multiple of 4096, default: 32768, the maximum value: 61440 � The platform version 4.6.02 and upgrade versions support this Instructions command.
  • Page 75: Spanning-Tree Mst Max-Hops

    The platform version 4.6.02 and upgrade versions support this Instructions command. � Because different manufacturers modify MSTP packets, user must configure the BPDU packet type of the port for MSTP con- nection to devices of the above manufacturers. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 76: Spanning-Tree Path-Cost

    ZXR10 Command Manual (Ethernet Switch Volume) This example describes how to set the BPDU packet type of the Example interface fei_3/1 to CISCO. ZXR10(config-if)#spanning-tree packet-type cisco spanning-tree link-type Related Commands spanning-tree edged-port spanning-tree path-cost Use this command to set the path cost of the interface.
  • Page 77: Lacp Configuration

    Use this command to create a VLAN interface and enter VLAN in- Purpose terface configuration mode. Remove the VLAN interface with the no form of this command. Global configuration Command Modes interface {vlan <vlan-id>|<vlan-if>} Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 78: Lacp Port-Priority

    ZXR10 Command Manual (Ethernet Switch Volume) no interface {vlan <vlan-id>|<vlan-if>} Syntax Description vlan <vlan-id> VLAN ID, range: 1~4094 <vlan-if> VLAN interface name The parameter <vlan-if> is in the format of vlan + VLAN ID, such Instructions as vlan10. This example describes how to create a VLAN interface vlan1, and Example enter VLAN interface configuration mode.
  • Page 79: Lacp Timeout

    Syntax rs}| sys-id} Syntax Description <smartgroup-id> Link aggregation group ID, in the range of 1~32 counters Shows the LACP packets received/sent on the interface internal Shows the aggregation status of the member interface Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 80: Smartgroup

    ZXR10 Command Manual (Ethernet Switch Volume) neighbors Shows the member interface status of the peer neighbor sys-id Shows the LACP system priority This example describes how to display the aggregation status of Example the member interface in a Smatgroup. ZXR10(config)#show lacp internal...
  • Page 81: Smartgroup Load-Balance

    ZXR10(config)#interface smartgroup10 ZXR10(config-if)#smartgroup load-balance src-mac show interface Related Commands show lacp smartgroup mode Use this command to configure the aggregation mode of link ag- Purpose gregation group. Restore the default configuration with the no Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 82 ZXR10 Command Manual (Ethernet Switch Volume) form of this command. The default setting is static trunk mode (“on” mode). Interface configuration Command Modes smartgroup mode {802.3ad | on} Syntax no smartgroup mode Syntax Description 802.3ad Indicates the aggregation control method of the Smartgroup interface uses the 802.3ad...
  • Page 83: Vbas Configuration

    The port type is user by default. Defaults This configuration can be viewed by the show running-config Instructions command in global configuration mode. This example describes how to configure the port to a VBAS user Example port. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 84 ZXR10 Command Manual (Ethernet Switch Volume) ZXR10(config)#interface fei_2/1 ZXR10(config-if)#vbas port-type user show running-config Related Commands Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 85: Mac Ping Configuration

    Peer router identifier to be detected on the PE device This command is disabled by default. Defaults The example describes how to detect the reachability of the des- Example tination MAC through MAC-PING. ZXR10#mac-ping 00d0.d0c0.0090 port fei_1/1 detail Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 86: L2Trace

    ZXR10 Command Manual (Ethernet Switch Volume) l2trace Use this command to detect ethernet links by using the private Purpose protocol. Privileged EXEC Command Modes l2trace <destination-mac>{interface <out-port>|[vfi <vfi-na Syntax me> peer <peer-address>]} Syntax Description <destination-mac> Destination MAC address interface <out-port>...
  • Page 87: Udld Configuration

    This example describes how to enable UDLD function in batch Example in global configuration mode. ZXR10(config)#udld enable fei_1/1-3,fei_2/1 � This example describes how to enable UDLD function on the interface fei_1/1 in interface configuration mode. ZXR10(config)#interface fei_1/1 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 88: Udld Message Timer

    ZXR10 Command Manual (Ethernet Switch Volume) ZXR10(config-if)#udld enable udld message timer Use this command to configure the time interval for sending Hello Purpose packets when the interfaces are in dual connection status. Global configuration and interface configuration Command Modes udld message timer <timer><interface_range>...
  • Page 89: Udld Recovery Enable

    ZXR10(config)#udld recovery enable fei_1/1-3,fei_2/1 � This example describes how to enable UDLD automatic recov- ery in the interface fei_1/1 in interface configuration mode. ZXR10(config)#interface fei_1/1 ZXR10(config-if)#udld recovery enable Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 90: Udld Recovery Timer

    ZXR10 Command Manual (Ethernet Switch Volume) udld recovery timer Use this command to configure the time interval for performing Purpose automatic recovery when UDLD protocol is in single connection state. Global configuration and interface configuration Command Modes udld recovery timer <timer><interface_range>...
  • Page 91: Show Udld

    Example configuration of the interface fei_1/1. ZXR10(config)#show udld fei_1/1 interface fei_1/1 Administrative configuration: Disable Port mode: Normal Current state: Disable Recovery configuration: Disable Auto-recovery time: 30s Message interval: 15s No neighbour information stored Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 92 ZXR10 Command Manual (Ethernet Switch Volume) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 93: Ethernet Oam Configuration

    To cancel debug function, use the no set ethernet-oam debug command. This example describes how to set debug function of link ethernet Example OAM in global configuration mode. ZXR10(config)#set ethernet-oam debug ZXR10(config)#no set ethernet-oam debug Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 94: Set Ethernet-Oam Enable

    ZXR10 Command Manual (Ethernet Switch Volume) show supervlan Related Commands set ethernet-oam enable Use this command to enable global link Ethernet OAM. Purpose Global configuration Command Modes set ethernet-oam { enable | disable } Syntax Syntax Description enable Enables global link Ethernet OAM.
  • Page 95: Set Ethernet-Oam Link-Monitor Enable

    Fei and gei interfaces are supported, while sg interfaces are not supported. This example describes how to configure Ethernet OAM port error Example symbol frame period event parameters in interface configuration mode. ZXR10(config)#interface fei_1/1 ZXR10(config-if)#set ethernet-oam link-monitor frame-period threshold 30 window 10 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 96: Set Ethernet-Oam Link-Monitor Frame-Seconds

    ZXR10 Command Manual (Ethernet Switch Volume) set ethernet-oam link-monitor frame-seconds Use this command to configure port error symbol frame—seconds Purpose statistics link event parameters. Interface Configuration Command Modes set ethernet-oam link-monitor frame-seconds threshold Syntax <xxx> window <yyy> Syntax Description <xxx>...
  • Page 97: Set Ethernet-Oam Oui

    At present fei and gei interfaces are supported, while sg interfaces are not supported. This example describes how to configure OAM interface general Example attributes in interface configuration mode. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 98: Set Ethernet-Oam Port Link-Monitor Frame

    ZXR10 Command Manual (Ethernet Switch Volume) ZXR10(config)#interface fei_1/1 ZXR10(config-if)#set ethernet-oam period 5 timeout 6 mode active set ethernet-oam port link-monitor frame Use this command to configure port error symbol frame link event Purpose parameters. Interface Configuration Command Modes set ethernet-oam port <port-list> link-monitor frame thres Syntax hold <xxx>...
  • Page 99: Set Ethernet-Oam Remote-Loopback Time-Out

    This example describes how to display Ethernet OAM global con- Example figuration information. ZXR10(config)#show ethernet-oam show ethernet-oam interface discovery Use this command to display Ethernet OAM discovery status of the Purpose designated interface. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 100: Show Ethernet-Oam Interface Link-Monitor

    ZXR10 Command Manual (Ethernet Switch Volume) Global Configuration Command Modes show ethernet_oam < port-id > discovery Syntax Syntax Description Port name < port-id > This example describes how to display Ethernet OAM discovery Example status of the designated interface. ZXR10(config)#show ethernet-oam fei_1/1 discovery...

Table of Contents

Save PDF