Page 2
ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations. All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION or of their respective owners.
3.4 Displaying Sub Directories and Files..............3-4 3.5 Changing the Current Directory ................3-4 3.6 Uploading or Downloading a File Through TFTP ..........3-5 3.7 Uploading or Downloading a File Through the Cluster Commander ....... 3-7 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 4
4.1.19 set loginauth ..................4-10 4.1.20 set user local login-password ..............4-10 4.1.21 set adminauth ..................4-11 4.1.22 set user local admin-password .............. 4-12 4.1.23 set user radius purview ................. 4-13 4.1.24 set user radius admin-password ............4-13 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 5
4.1.55 show memory..................4-29 4.1.56 show fan ....................4-29 4.1.57 show power ..................4-30 4.1.58 show bootpassword................4-30 4.1.59 set bootpassword ................. 4-30 4.1.60 set bootpassword clear ................. 4-31 4.1.61 set fan mode auto................. 4-31 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 6
4.2.7 set port flowcontrol ................. 4-49 4.2.8 set port description ................. 4-50 4.2.9 set port accept-frame................4-51 4.2.10 set jumbo port ..................4-51 4.2.11 set port pvid ..................4-52 4.2.12 set port statistics mode ................. 4-52 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 7
4.4.2 set mirror session add dest-port .............. 4-73 4.4.3 set mirror session delete source-port ............4-74 4.4.4 set mirror session delete dest-port............4-74 4.4.5 set mirror rspan-tag vlan-id priority ............4-75 4.4.6 set mirror statistical sample-interval ............4-76 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 8
4.7.2 set port multicast-filter................4-93 4.7.3 set trunk multicast-filter ................4-93 4.7.4 set mac add static port vlan..............4-94 4.7.5 set mac add static trunk vlan ..............4-94 4.7.6 set mac add permanent port vlan ............4-95 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 9
4.7.38 show mac learning except session............4-115 4.7.39 show mac learning except bind............. 4-116 4.7.40 set mac delete peak ................4-116 4.7.41 set mac peak time-interval ..............4-117 4.7.42 show mac peak ................... 4-117 4.7.43 show mac protect ................4-118 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 10
4.10.7 set igmp snooping monitor-ring enable/disable ........4-135 4.10.8 set igmp snooping vlan add/delete group ..........4-136 4.10.9 set igmp snooping vlan add/delete smr port/trunk ........4-136 4.10.10 set igmp snooping private-group............4-137 4.10.11 set igmp snooping timeout route/host ..........4-138 VIII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 25
4.33.10 clear lldp statistic ................4-507 4.33.11 show lldp config .................4-507 4.33.12 show lldp neighbor................4-508 4.33.13 show lldp entry ..................4-509 4.33.14 show lldp statistic ................4-509 4.34 MLD Configuration ..................4-510 4.34.1 set mld snp enable/disable..............4-510 XXIII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 26
4.35.9 set loopdetect trunk protect ..............4-530 4.35.10 set loopdetect extend trunk ..............4-530 4.35.11 show loopdetect.................4-531 4.35.12 show loopdetect port................4-532 4.35.13 show loopdetect trunk ................4-532 4.35.14 clear loopdetect .................4-533 4.36 UDLD Configuration ..................4-533 4.36.1 udld port enable/disable ...............4-533 XXIV SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 27
4.39.1 mac based vlan rule ................4-550 4.39.2 clear mac based vlan rule ..............4-550 4.39.3 set vlan mac-based bind/unbind ............4-551 4.39.4 show vlan mac based session ..............4-551 4.39.5 show vlan mac based session bind............4-552 4.40 DHCP relay Configuration ................4-552 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 29
5.1.5 show remote-access................. 5-4 5.2 PRIVILEGE......................5-4 5.2.1 privilege enable/disable ................5-4 5.2.2 privilege session ..................5-5 5.2.3 clear privilege................... 5-6 5.2.4 show privilege ..................5-6 5.3 SSH ........................5-7 5.3.1 set ssh enable/disable ................5-7 XXVII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 30
5.4.26 show snmp community/engineID/group/host/trap/user/view..... 5-27 5.5 RMON ......................5-30 5.5.1 set rmon enable/disable................5-30 5.5.2 set statistics ................... 5-30 5.5.3 set alarm ....................5-31 5.5.4 set event....................5-33 5.5.5 set history ....................5-34 XXVIII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 31
5.6.26 set group holdtime ................5-54 5.6.27 set group name ..................5-54 5.6.28 set group mac-mode................5-55 5.6.29 set group syslogsvr................5-55 5.6.30 set group tftpsvr ................... 5-56 5.6.31 show group ..................5-56 XXIX SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 32
5.7.9 clear sflow statistic ................. 5-65 5.7.10 show sFlow ..................5-66 5.8 Telnet ......................5-67 5.8.1 set telnet server enable/disable ............... 5-67 5.8.2 show telnet .................... 5-67 5.8.3 set telnet listen-port ................5-68 Glossary ......................I SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
This manual uses the following safety signs. For the meanings of these signs, refer to the following table: Safety Sign Meaning Note: provides additional information about a certain topic. 2. Conventions on Command Format SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 34
*(x) Indicates that x can be repeated. {[ x] ,[ y] ,[ z]} Indicates that you can select one or more of x, y, and z as required. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
It is not recommended to run the debug commands when the network equipment operates properly. ZTE Corporation bears no responsibility for consequences resulting from violation of general specifications for safety operations or of safety rules for design, production, and use of the equipment.
Page 36
ZXR10 5250 Series Command Reference Note: Provides additional safety information. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
“>”, which is shown as follows: zte> The default host name is zte. You can modify the host name by running the hostname <name> command. The name length consists of at most 200 characters. SJ-20131111172707-003|2013-11-27 (R1.0)
ZXR10 5250 Series Command Reference In user mode, you can run the exit command to exit the switch configuration or run the show command to view the information about system configuration and operation. Note: The show command can be run in any mode.
In cluster management configuration mode, you can configure the cluster management service of the switch. To return to global configuration mode from cluster management configuration mode, run the exit command or press Ctrl-Z. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 2.1.8 Basic Ingress ACL Configuration Mode In global configuration mode, you can run the config ingress-acl basic number <1-99> command to enter basic ingress ACL configuration mode, which is shown as follows: zte(cfg)#config ingress-acl basic number 10...
In global configuration mode, you can run the config egress-acl basic number <400-499> command to enter basic egress ACL configuration mode, which is shown as follows: zte(cfg)#config egress-acl basic number 400 zte(egress-basic-acl)# In basic egress ACL configuration mode, you can add, delete and move rules for a basic egress ACL.
ZXR10 5250 Series Command Reference In layer-2 egress ACL configuration mode, you can add, delete and move rules for a specified layer-2 egress ACL. To return to global configuration mode from layer-2 egress ACL configuration mode, run the exit command or press Ctrl-Z.
Page 43
M is an integer ranging from 1 to 32. <string> A character string without space. <mib-oid> Variable number in dotted decimal notation, for example, 1.3.6.2.19.2. <name> A character string without space. <sessionlist> Session list. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 44
ZXR10 5250 Series Command Reference This page intentionally left blank. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
3.1 Creating a Directory Purpose This command creates a directory. Command Mode File system configuration mode Syntax md <directory name> Parameter Description Parameter Description <directory name> Directory name Example The following example creates the temp directory: zte(cfg-tffs)#ls SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
This command changes the name of a file or directory. Command Mode File system configuration mode Syntax rename <file-name><file-name> Parameter Description Parameter Description <file-name>(First) Original file name or directory name <file-name>(Second) New file name or directory name SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example changes to_permmac.dat to permanent_mac.dat: zte(cfg-tffs)#ls /cfg <DIR> <DIR> to_permmac.dat 98,304 bytes 254,132,224 bytes free zte(cfg-tffs)#rename to_permmac.dat permanent_mac.dat Done ! zte(cfg-tffs)#ls /cfg <DIR> <DIR> permanent_mac.dat 98,304 bytes 254,132,224 bytes free zte(cfg-tffs)# 3.4 Displaying Sub Directories and Files Purpose This command displays sub directories and files.
<DIR> <DIR> 254,132,224 bytes free 3.6 Uploading or Downloading a File Through TFTP Purpose This command uploads a file to or downloads a file from the TFTP server. Command Mode File system configuration mode SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 50
ZXR10 5250 Series Command Reference Syntax tftp <A.B.C.D> upload <local-file-name>[<remote-file-name>] tftp <A.B.C.D> download <remote-file-name>[<local-file-name>] Parameter Description Parameter Description <A.B.C.D> Server IP address. download Downloads a file from the server to the local Flash memory. Uploads a local file to the server.
Flash memory is "/"). 3. If the parameter does not include any path, such as startrun.dat, the full path name of the file is /cfg/startrun.dat (assuming the current path of the local Flash memory is /cfg/). SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Name of the file on the cluster commander. The parameter can be in any of the following formats: 1. If the parameter includes a path, such as \cfg\startru n.dat (windows format), the full path name of the file is D:\svn_5250\prj\cfg\startrun.dat (assuming the...
For layer-3 interface configuration, refer to the IPv4 Layer-3 Configuration and IPv6 Layer-3 Configuration sections in this manual. 3.9 Copying a File Purpose This command copies a file. Command Mode File system configuration mode SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax copy <source-pathname><dest-pathname> Parameter Description Parameter Description <source-pathname> Name of the source file with a path <dest-pathname> Name of the destination file with a path Example The following example copies the /cfg/permanent_mac.dat file to the /temp/ directory and changes it to the temp_file.dat file:...
Enables the automatic download function. enable Disables the automatic download function. disable Guidelines This command is recorded by NVRAM and will not be lost upon power interruption. Default The automatic download function is enabled. 3-11 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 3.13 Automatically Saving Configuration Files 3.13.1 set auto-saveconfig enable/disable Purpose This command enables or disables the function that the switch automatically uploads configuration files to the TFTP server. Command Mode Global configuration mode Syntax set auto-saveconfig {enable | disable}...
Syntax set auto-saveconfig period <1-30> Parameter Description Parameter Description Period (natural days) that the switch automatically uploads <1-30> configuration files. Guidelines A day starts from 00:00:00. Default The default period is seven days. 3-13 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 3.13.4 show auto-saveconfig Purpose This command displays the state of the function of automatically uploading configuration files. Command Mode All configuration modes Syntax show auto-saveconfig Guidelines The contents to be displayed include whether the function of automatically uploading configuration files is enabled, the upload period, and the TFTP server’s IP address.
4.1.5 config nas Purpose This command enters access service configuration mode. Command Mode Global configuration mode Syntax config nas 4.1.6 exit Purpose This command returns the user to the previous mode. Command Mode All configuration modes SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax exit Guidelines In user mode (zte>), you can run the exit command to return to the login interface. 4.1.7 enable Purpose This command enters global configuration mode from user mode. Command Mode User mode...
Global configuration mode Syntax line-vty timeout <1-12> Parameter Description Parameter Description – <1 Timeout duration (minutes). 12> Default 10 minutes 4.1.11 set date Purpose This command sets the date and time of the switch. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set date <yyyy-mm-dd> time <hh:mm:ss> Parameter Description Parameter Description yyyy-mm-dd indicates year, month, and day. The year ranges <yyyy-mm-dd> from 2004 to 2037. Guidelines After the switch is restarted, the date and time need to be re-configured. The automatic time synchronization function of the switch can be enabled through Network Time Protocol (NTP) configuration.
The following example sets the length of the host name to 3: hello(cfg)# hello(cfg)#promptlen 3 hel(cfg)# 4.1.14 sysLocation Purpose This command sets location information about the switch. Command Mode Global configuration mode Syntax sysLocation <string> Parameter Description Parameter Description <string> Location of the switch SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.15 reboot Purpose This command restarts the switch immediately. Command Mode Global configuration mode Syntax reboot 4.1.16 reboot-time Purpose This command sets the time when the switch is restarted automatically each day. Command Mode Global configuration mode Syntax reboot-time <hh:mm>...
Guidelines Four accounts can be created in total, including the default administrator account (admin). Example The following example creates a user with the name of userx and rights of guest: zte(cfg)#create user userx guest SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.19 set loginauth Purpose This command sets the login authentication mode. Command Mode Global configuration mode Syntax set loginauth {local | radius|local+radius|radius+local|tacacs-plus| local+tacacs-plus | tacacs- plus+local } Parameter Description Parameter Description Sets local authentication for the login user.
Example The following example sets the login password of a local user with the name of username to ok: zte(cfg)#set user local username admin login-password ok 4.1.21 set adminauth Purpose This command sets the management authentication mode.
If admin-password is directly entered without any parameter, it indicates that the management password is set to null. Example The following example sets the management password of a local user with the name of username to ok: zte(cfg)#set user local username admin admin-password ok 4-12 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
(the > mode). Default admin Example The following example enables RADIUS authentication users to have management rights: zte(cfg)#set user radius purview admin 4.1.24 set user radius admin-password Purpose This command sets RADIUS authentication users’ management password. Command Mode...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description [<string>] Management password Guidelines If admin-password is directly entered without any parameter, it indicates that the management password is set to null. Example The following example sets RADIUS authentication users’ management password to ok: zte(cfg)#set user radius admin-password ok 4.1.25 set user tacacs-plus purview...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description enable Enables multi-user login. Disables multi-user login. disable Default Multi-user login is disabled. Example The following example enables multi-user login: zte(cfg)#set user radius admin-password ok 4.1.28 cpu-threshold Purpose This command sets the alarm threshold for CPU usage.
The following example sets the alarm threshold for memory usage to 70%: zte(cfg)#mem-threshold 70 4.1.30 write Purpose This command saves the current configuration information to the Flash memory. Command Mode Global configuration mode Syntax write 4-17 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.31 clear user Purpose This command deletes a user. Command Mode Global configuration mode Syntax clear user <name> Parameter Description Parameter Description <name> User name Guidelines The admin default user can be deleted. Example The following example deletes the user with the name of userx: zte(cfg)#clear user userx 4.1.32 clear reboot-time...
Record log information in the RAM. If it is required to save log information to the Flash memory, use the command such as toFile/timer. 4.1.35 terminal log toFile Purpose This command saves logs in the RAM to the Flash memory. 4-19 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax terminal log toFile Guidelines The file saved to the Flash memory is /data/terminal_log.dat. If the terminal_l og.dat file is detected during device reboot, it will be backed up automatically as the ter minal_log_backup.dat file.
Parameter Description Parameter Description Character string in the logs to be searched for. Spaces are not <string> supported. Example The following example searches for all port linkup logs: zte(cfg)#show terminal log include linkup 4-21 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.39 show reset-time Purpose This command shows the configuration for the automatic logout time of the switch console. Command Mode All configuration modes Syntax show reset-time 4.1.40 show line-vty Purpose This command shows the configuration for Telnet users’ login timeout duration.
This command shows the terminal log information saved in the RAM. Command Mode All configuration modes Syntax show terminal log 4.1.45 clear terminal-log Purpose This command clears terminal log information and the terminal_log.dat file in the Flash memory. Command Mode Global configuration mode 4-23 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax clear terminal-log Guidelines When clearing terminal log information, you are prompted whether to delete the termi nal_log.dat file. If you agree, the file and the terminal log information in the file are deleted. If you disagree, the system directly returns to the global configuration mode.
Record logs in the RAM. To save the logs to the Flash memory, run the toFile/timer command. 4.1.48 show user Purpose This command shows information about the users configured on the switch and the current login user. 4-25 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
MAC address, PCB version, and EPLD version. Example The following example shows system information: zte(cfg)#show version ZXR10 Router Operating System Software, ZTE Corporation: ZXR10 5250_52TM Version Number : 5250 Series V2.05.11IT02 Copyright (c) 2001-2013 By ZTE Corporation Compiled: 17:29:26 Jul 26 2013...
4.1.51 show start-config Purpose This command shows all the non-default configurations of the system when the write command is run the last time. Command Mode All configuration modes Syntax show start-config 4-27 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.52 show date-time Purpose This command shows the current date and time. Command Mode All configuration modes Syntax show date-time Guidelines If the date and time are not configured, the time starts from July 1, 2004 00:00 by default.
This command shows the operational status of the fan. Command Mode All configuration modes Syntax show fan Example The following example shows states of fans: zte(cfg)#show fan Switch Fans Info: FANS MODE : Auto DESIRED SPEED : Level-0 FAN-ID STATUS CURRENT-SPEED 4-29 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference -------------------------------------------------------------- Fan-1 Normal Level-0 Fan-2 Normal Level-0 4.1.57 show power Purpose This command shows the device power. Command Mode All configuration modes Syntax show power Example The following example shows the device power: zte(cfg)#show power The switch power consumption is 37.9 Watt...
Command Mode All configuration modes Syntax show fan Guidelines This command is invalid for the 5250-28SM switches. Example The following example sets automatic adjustment of the fan rotation speed: zte(cfg)#set fan mode auto 4-31 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.1.62 set fan mode manual Purpose This command sets manual adjustment of the fan rotation speed. Command Mode Global configuration mode Syntax set fan mode manual Guidelines This command is invalid for the 5250-28SM switches.
8100 9000 11500 14000 28PM Example The following example sets the fan rotation speed to 1: zte(cfg)#set fan speed 1 4.1.64 show Etag Purpose This command displays the electronic tag of a device. Command Mode All configuration modes Syntax show Etag 4.1.65 readconfig...
ZXR10 5250 Series Command Reference 4.1.66 set temperature-alarm Purpose This command sets the alarm threshold for switch over-temperature. The unit is degrees Celsius, and the default value is 51. Command Mode Global configuration mode Syntax set temperature-alarm <0-100> 4.1.67 set date summer-time Purpose This command sets the Daylight Saving Time (DST).
2. The following example sets the DST to 00:00:00 on the first Monday in June 2012 to 00:00:00 on the last Sunday in October 2012: zte(cfg)#set date summer-time one-year week 1st monday 6 2012 00:00:00 last sunday 10 2012 00:00:00 4.1.68 show summer-time...
ZXR10 5250 Series Command Reference Syntax clear summer-time 4.1.70 config mac-based-vlan Purpose This command enters MAC based VLAN configuration mode to configure a rule of a session. Command Mode Global configuration mode Syntax config mac-based-vlan session <1-64> 4.1.71 syscontact Purpose This command configures contact information for maintenance.
This command clears all configuration except layer-3 interface configuration (for example, the device management IP address), log configuration, user account configuration and banner configuration, saves the modification, and restarts the system. Command Mode Global configuration mode Syntax clear running-config 4-37 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example clears configuration and restarts the system: zte(cfg)#clear running-config 4.1.74 set banner filename Purpose This command configures the banner displayed on the start screen, and saves the banner in a file. The banner can contain spaces.
<string> The maximum length is 4 characters. Default @#$% Example The following example sets the banner end identifier to 123: zte(cfg)#set banner endwith 123 zte(cfg)#write Saving file, please wait a minute... Done ! 4.1.76 clear banner Purpose This command clears the banner displayed on the start screen.
Default 24 hours Example The following example sets the interval of saving log information automatically to 10 hours: zte(cfg)#command log timer interval 10 4.1.81 show command log user Purpose This command shows historical configuration commands based on users. Command Mode...
<yyyy-mm-dd> Year-month-date Example The following example shows the historical configuration commands within the specified time range: zte(cfg)#show command log time-range 05:50 2004-07-04 to 06:10 2004-07-04 command log : on command log timer status : enable command log timer interval : 10 4-42 SJ-20131111172707-003|2013-11-27 (R1.0)
This command shows power supply module information, including AC, DC, output voltage, output current, output power, input power, electronic tag, temperature of power supply module, and manufacturer information. Command Mode Global configuration mode 4-43 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax show power-module <number> Parameter Description Parameter Description <number> Slot of the power supply module Guidelines This command is supported on the ZXR10 2928E-PS. Example The following example shows information about the power supply module installed in slot...
Guidelines Ports are enabled by default, which is not related to the optoelectronic status of combo ports. Example The following example enables ports 1, 5, 6, 7 and 11: zte(cfg)#set port 1,5-7,11 enable 4-45 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.2.2 set port work-mode Purpose This command controls combo ports to switch between the optical mode and the electrical mode. Command Mode Global configuration mode Syntax set port <portlist> work-mode {fiber | copper | auto [ prefer { first-up | fiber | copper }]}...
This command sets the working mode of ports to full duplex or half duplex. Command Mode Global configuration mode Syntax set port <portlist> duplex {full | half | auto} Parameter Description Parameter Description <portlist> Port list. 4-47 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Sets the working mode of ports to full duplex. full half Sets the working mode of ports to half duplex. The working mode of ports is decided by negotiation. auto Default By default, auto is selected.
4.2.7 set port flowcontrol Purpose This command enables or disables the flow control or back pressure function of the specified ports. Command Mode Global configuration mode Syntax set port <portlist> flowcontrol {enable | disable} 4-49 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <portlist> Port list. Enables the flow control or back pressure function. enable Disables the flow control or back pressure function. disable Guidelines If a port is in full duplex status, the flow control function can be enabled. If a port is in half duplex status, the back pressure function can be enabled.
By default, all messages can be handled. 4.2.10 set jumbo port Purpose This command enables or disables the jumbo frame function. Command Mode Global configuration mode Syntax set jumbo port <portlist>{enable | disable } 4-51 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <portlist> Port list. enable Enables the jumbo frame function. disable Disables the jumbo frame function. Guidelines ZXR10 5250 devices can forward jumbo frames of 10K. Default The jumbo frame function is disabled.
Command Mode Global configuration mode Syntax set sleep-mode {enable | disable} Parameter Description Parameter Description enable Enables the port sleep mode. disable Disables the port sleep mode. Default The port sleep mode is disabled. 4-53 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.2.14 create port name Purpose This command names a port. Command Mode Global configuration mode Syntax create port <portid> name <string> Parameter Description Parameter Description <portid> Number of a port. <string> Port name, which contains a maximum of 200 characters. The numbers 1 to 255 cannot be used.
Clears the multicast filtering enable/disable flag and restores the default multicast-filter status. Example The following example clears names of ports 1, 5, 6, 7 and 11: zte(cfg)#clear port 1,5-7,11 name 4.2.16 show port Purpose This command shows configurations and operational status of ports. Command Mode...
Parameter Description Parameter Description <portlist> Port list Guidelines None Example The following example shows the traffic statistics of port 1: zte(cfg)#show port 1 utilization PortId: 1 PortName: Port rate : input 0Kbps,output: 0Kbps Port utilization : input 0%,output: 4.2.19 show port brief Purpose This command shows port brief information.
ZXR10 5250 Series Command Reference Forced-Speed Port 10M Full 10M Half 100M Full 100M Half 1000M Full The inter- connection Auto-Ne- 100M auto 10M Half 10M Half 100M Half 100M Half is not suc- gotiation cessful. Port 1000M auto 10M Half...
This command shows the virtual line detection result of a port. Command Mode All configuration modes Syntax show vct port <portid> Parameter Description Parameter Description <portid> ID of a port. Guidelines Only copper-mode ports support VCT detection. 4-59 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.2.23 show cable-diag Purpose This command shows the numbers, up/down status, and virtual line detection results of all ports. Command Mode All configuration modes Syntax show cable-diag Guidelines If a port does not support VCT, N/A is displayed. For an FE port, two pairs (MDI[0] and MDI[1]) of detection results are displayed.
The port protection function is disabled. Example The following example enables the port protection function for ports 1, 5, 6, 7, and 11: zte(cfg)#set port 1,5-7,11 protect enable 4.2.26 set port protect time Purpose This command sets the port protection period.
ZXR10 5250 Series Command Reference Parameter Description Parameter Description [<portlist>] Port list <1-10> Port protection period, in minutes Default 10 minutes. Example The following example sets the port protection period for ports 1 and 5: zte(cfg)#set port 1,5 protect time 3 4.2.27 set cable-diag...
Default The POE function is disabled. Example The following example enables the POE function for ports 1, 3, and 5: zte(cfg)#set poe port 1/1,1/3,1/5 enable 4.3.2 set poe port pd-max-power Purpose This command sets the maximum power of ports. 4-63 SJ-20131111172707-003|2013-11-27 (R1.0)
The low priority is selected. Example The following example sets the priority of ports 1, 3 and 5 to critical: zte(cfg)#set poe port 1/1,1/3,1/5 priority critical 4.3.4 set poe port forcepower Purpose This command enables or disables the forced power-on function for ports.
ZXR10 5250 Series Command Reference Default The forced power-on function is disabled. Example The following example enables the forced power-on function for port 1. zte(cfg)#set poe port 1/1 forcepower enable 4.3.5 set poe port extend-detection Purpose This command enables or disables the port extend-detection function.
Example The following example sets the maximum output power to 400 W: zte(cfg)#set poe power maxvalue 400 4.3.7 set poe port time-range Purpose This command enables the PoE function on ports.
ZXR10 5250 Series Command Reference Syntax set poe port <port list> enable time-range <word> Parameter Description Parameter Description <port list> Port number word Name of the time-range Guidelines Running the set poe port <port list> enable or set poe port <port list> disable command will clear the time-range configurations of the specified ports.
Port list. The command without the portlist parameter shows <portlist> POE status of all ports. Example The following example shows the POE status of ports 1 and 2: zte(cfg)#show poe status port 1/1-2 port: 1/1 power up : off power device...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description Port list. The command without the portlist parameter shows <portlist> POE configurations of all ports. Example The following example shows POE configurations of all ports: zte(cfg)#show poe config port | enable | max-power | priority | extend-detection | force-power enable 15.4w...
Example The following example sets the action taken when the power of PoE port 1/1 exceeds the limit to shutdown: zte(cfg)#set poe port 1/1 power-exceed shutdowm 4.3.13 set poe port protect-time Purpose This command sets the recovery time when the power of a PoE port exceeds the limit.
ZXR10 5250 Series Command Reference zte(cfg)#set poe port 1/1 protect-time 5 4.3.14 set poe port recover Purpose This command sets the recovery function after the power of a PoE port exceeds the limit. Command Mode Global configuration mode Syntax set poe port <portlist> recover...
RSPAN function can be enabled separately. Example The following example sets the ingress mirroring port 1: zte(cfg)#set mirror session 1 add dest-port 1 ingress 4-73 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Egress mirroring source port. Example The following example deletes the ingress mirroring source ports 1, 5, 6, 7 and 12: zte(cfg)#set mirror session 1 delete source-port 1,5-7,12 ingress 4.4.4 set mirror session delete dest-port Purpose This command deletes ingress/egress mirroring destination ports in accordance with a session and disables the RSPAN function of the mirroring ports.
RSPAN function can be disabled separately. Example The following example deletes the ingress mirroring port 1: zte(cfg)#set mirror session 1 delete dest-port 1 ingress 4.4.5 set mirror rspan-tag vlan-id priority Purpose This command sets the RSPAN tag format, including VLAN-ID and priority.
ZXR10 5250 Series Command Reference 4.4.6 set mirror statistical sample-interval Purpose This command sets mirroring sampling rates for ingress/egress ports. Command Mode Global configuration mode Syntax set mirror statistic sample-interval <1-2047>{ingress | egress} Parameter Description Parameter Description <1-2047> indicates that the sampling rate is 1/x. For example, <1-2047>...
Mirror function session number Guidelines The content to be displayed includes the RSPAN tag information of ingress and egress. Example The following example shows the configuration of mirror session 1: zte(cfg)#show mirror session 1 Session 1: Ingress mirror information: --------------------------- Source port...
ZXR10 5250 Series Command Reference 4.4.9 show mirror rspan Purpose This command shows the RSPAN configuration of ingress/egress. Command Mode All configuration modes Syntax show mirror rspan Example The following example shows the configuration of mirror RSPAN: zte(cfg)#show mirror rspan...
VLAN 1 is enabled, and other VLANs are disabled. Example The following example enables VLANs 5, 6, 7 and 12: zte(cfg)#set vlan 5-7,12 enable 4.5.2 set vlan add port Purpose This command adds ports to VLANs and configures the attribute of the ports in the VLANs.
The attribute of the added ports is untag. Example The following example adds tag ports 2, 8, 9, 10 and 18 to VLANs 1, 5, 6, 7 and 12: zte(cfg)#set vlan 1,5-7,12 add port 2,8-10,18 tag 4.5.3 set vlan delete port Purpose This command deletes ports from VLANs.
The default trunk attribute is untag. Example The following example adds trunk 1 with tag to VLANs 1, 5, 6,7 and 12: zte(cfg)#set vlan 1,5-7,12 add trunk 1 tag 4.5.5 set vlan delete trunk Purpose This command deletes trunks from VLANs.
ZXR10 5250 Series Command Reference Syntax set vlan <vlanlist> delete trunk <trunklist> Parameter Description Parameter Description <vlanlist> VLAN list <trunklist> Trunk list Example The following example deletes trunk 1 from VLANs 1, 5, 6, 7 and 12: zte(cfg)#set vlan 1,5-7,12 delete trunk 1 4.5.6 set port protocol-vlan enable/disable...
4.5.8 create vlan name Purpose This command creates a VLAN name. Command Mode Global configuration mode Syntax create vlan <1-4094> name <name> Parameter Description Parameter Description <1-4094> VLAN ID, any number ranging from 1 to 4094. 4-83 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description VLAN name, which contain a maximum of 64 characters. The <name> characters cannot be all numbers or special characters, in addition to the “-” character. Example The following example sets the name of VLAN 1 as group1: zte(cfg)#create vlan 1 name group1 4.5.9 clear vlan name...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show vlan protocol-mapping Example The following example shows protocol VLAN configurations: zte(cfg)#show vlan protocol-mapping SessionId VlanId EncapType ProtocolType --------- ------ --------- ------------ ethernet2 0x1234 4.6 Voice VLAN Configuration 4.6.1 set vlan voice-vlan Purpose This command sets the voice VLAN function on a port.
Global configuration mode Syntax set vlan voice-vlan <1-4094> qos-profile <0-127> modify {up|dscp|all} Parameter Description Parameter Description <1-4094> Voice VLAN ID. <0-127> Number of the qos-profile. Modifies the priority of the packet VLAN tag. 4-87 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Modifies the DSCP value of the IP packet. dscp Modifies both UP and DSCP values. 4.6.4 set vlan voice-vlan qos-profile disable Purpose This command cancels the association between the qos-profile and a voice VLAN.
Syntax clear vlan voice-vlan port <1-52> oui-id <1-32> Parameter Description Parameter Description Port number. Different devices have different port number ranges. <1-52> In the syntax, the 5250-52TC device is used as an example. 4-89 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description <1-32> OUI ID. Guidelines In the port configuration voice VLAN this command fails, no voice VLAN on port can be clears the specified OUI on a port. 4.6.8 show vlan voice-vlan Purpose This command shows voice VLAN configurations on all ports.
Port number. Different devices have different port number ranges. <1-52> In the syntax, the 5250-52TC device is used as an example. 4.6.12 show vlan voice-vlan qos Purpose This command shows QoS configurations of a voice VLAN. Command Mode All configuration modes 4-91 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax show vlan voice-vlan <vlanlist> qos Parameter Description Parameter Description <vlanlist> ID list of voice VLANs 4.7 MAC Table Operation 4.7.1 set port security Purpose This command enables or disables the port security function. Command Mode...
Example The following example enables ports 1, 5, 6, 7 and 11 to forward multicast packets: zte(cfg)#set port 1,5-7,11 multicast-filter disable 4.7.3 set trunk multicast-filter Purpose This command enables or disables the unregistered multicast filtering function for trunks.
ZXR10 5250 Series Command Reference Parameter Description Enables the unregistered multicast filtering function, which means enable to drop the unregistered multicast packets. Disables the unregistered multicast filtering function, which means disable to forward the unregistered multicast packets. 4.7.4 set mac add static port vlan Purpose This command adds a MAC static entry based on port and VLAN.
In the syntax, the 5250-28TC device is used as an example. <1-4094> VLAN ID. Guidelines If a permanent MAC entry is added, the MAC address will not be aging or floating and will disappear after the device is restarted. 4-95 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.7.7 set mac add permanent trunk vlan Purpose This command adds a MAC permanent entry based on trunk and VLAN. Command Mode Global configuration mode Syntax set mac add permanent <HH.HH.HH.HH.HH.HH> trunk <1-15> vlan <1-4094>...
Parameter Description Parameter Description port Deletes MAC address entries based on port. Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example. 4-97 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description trunk Deletes MAC address entries based on trunk. <1-15> Trunk ID. vlan Deletes MAC address entries based on VLAN. <1-4094> VLAN ID. Deletes dynamic MAC address entries. dynamic Deletes static MAC address entries.
These MAC addresses can be deleted by using special methods as deleting layer-3 interfaces. 4.7.14 set mac aging-time Purpose This command sets the device’s MAC address aging time. Command Mode Global configuration mode Syntax set mac aging-time <60-600> 4-99 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <60-600> Aging time (seconds). Default The aging time is 300 seconds. 4.7.15 set mac filter Purpose This command sets the source/destination MAC address filtering function. Command Mode Global configuration mode Syntax set mac filter {source | destination | both}<HH.HH.HH.HH.HH.HH>...
The automatic learning mode is enabled. Example The following example sets trunk 10 to CPU-controlled learning: zte(cfg)#set mac learning trunk 10 mode cpu-controlled 4.7.17 set mac limit Purpose This command sets the function of limiting the number of MAC addresses based on global/port/trunk/VLAN.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set mac limit {global | port <1-28>| trunk <1-15>| vlan <1-4094>} limit-num <0-16384> Parameter Description Parameter Description Sets the number of global MAC addresses. global port Sets the number of port MAC addresses.
Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example. Sets on a trunk the function of transforming MAC addresses from trunk dynamic to permanent in batches. <1-15> Trunk ID. 4-103 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Enables the function of transforming MAC addresses from enable dynamic to permanent in batches. Disables the function of transforming MAC addresses from disable dynamic to permanent in batches. <1-128> Maximum number of the batch-transformed MAC addresses.
MAC addresses that have been learned on a port/trunk/VLAN will be transformed to static addresses. When the transformation is completed, the later learned MAC addresses are dynamic MAC addresses. 4.7.22 set mac logging-alarm Purpose This command enables or disables the MAC event alarm function. 4-105 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set mac logging-alarm {station-move | threshold-state}{enable | disable} Parameter Description Parameter Description MAC drift alarm switch. station-move Threshold alarm switch used to remind that the number of MAC threshold-state addresses is about to reach the threshold.
This command sets the MAC protection action. Command Mode Global configuration mode Syntax set mac protect port <portlist> action {shutdown | restrict |protect } Parameter Description Parameter Description <portlist> Port list. Shuts down ports. shutdown 4-107 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Stops learning on ports, drops packets with unknown source MAC restrict addresses, and sends an alarm. Stops learning on ports and drops packets with unknown source protect MAC addresses. No alarm is sent.
{port <1-28>| trunk <1-15>| vlan <1-4094>} Parameter Description Parameter Description port Shows MAC addresses based on port. Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example. 4-109 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description trunk Shows MAC addresses based on trunk ID. <1-15> Trunk ID. vlan Shows MAC addresses based on VLAN ID. <1-4094> VLAN ID. Guidelines This command shows all MAC addresses based on port/trunk/VLAN, including dynamic, static, permanent, batch transformed, and other configured MAC addresses.
Command Mode Global configuration mode Syntax show mac unknown-filter [port <1-28>| trunk <1-15>] Parameter Description Parameter Description Shows the configuration of the unknown-source message filtering port function based on port. 4-111 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example. Shows the configuration of the unknown-source message filtering trunk function based on trunk.
Purpose This command sets a session that does not learn specific MAC addresses. Command Mode Global configuration modes Syntax set mac learning except session <1-100>{clear | mac-address <HH.HH.HH.HH.HH.HH> ma c-mask <HH.HH.HH.HH.HH.HH>[ vlan <1-4094>]} 4-113 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description session Session ID. One session is configured with one MAC address segment. <1-100> Up to 100 sessions are supported. Clears the session configuration. clear MAC address that is not learned. mac-address <HH.HH.HH.HH.HH.HH>...
Guidelines This command binds ports/trunks with a session, or unbinds ports/trunks from a session. 4.7.38 show mac learning except session Purpose This command shows sessions that do not learn specific source MAC addresses. 4-115 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show mac learning except session [<1-100>] Example zte(cfg)#show mac learning except session 1 Mac Learning Exception Session Status Session-Id Mac-Address MAC-Mask Vlan-ID --------------------------------------------------------------- 00.11.22.33.44.55 ff.ff.ff.00.00.00 4.7.39 show mac learning except bind Purpose This command shows the binding relationship between ports/trunks and sessions.
Command Mode All configuration modes Syntax show mac peak Example The following example shows MAC peak value informations, including the MAC and the maximum value and the utilization rate of CPU. zte(cfg)#show mac peak 4-117 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Example The following example configures the MAC address of session 1 to 00.1d.0f.22.57.0c and the mask to ff.ff.ff.ff.00.00, meaning that the MAC addresses 00.1d.0f.22.**.** are to be authenticated: zte(cfg-nas)#aaa-control mac-authentication session 1 range 00.1d.0f.22.57.0c ff.ff.ff.ff.00.00 4-119 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.8.3 clear mac-authentication session Purpose This command clears the range of MAC addresses in unit of sessions. Command Mode NAS configuration mode Syntax clear mac-authentication session <1-3> Parameter Description Parameter Description <1-3> Session number Example...
Port list <vlanlist> VLAN list 4.8.7 show aaa mac-authentication Purpose This command shows MAC authentication configurations. Command Mode All configuration modes Syntax show aaa mac-authentication Example The following example shows MAC authentication configurations: 4-121 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference zte(cfg-nas)#show aaa mac-authentication Mac authentication : disabled Session 1 is setted mac address :00.1d.0f.22.57.0c mac mask :ff.ff.ff.ff.00.00 Session 2 is setted mac address :00.19.e0.1a.97.dd mac mask :ff.ff.ff.ff.00.00 4.8.8 show aaa mac-authentication client Purpose This command shows the information about the clients that are authenticated by MAC addresses.
Default VLAN ID, any number from 1 to 4094 Example The following example sets the PVID of trunks 1, 2, 3 to 1000: zte(cfg)#set trunk 1-3 pvid 1000 4.9.2 set lacp enable/disable Purpose This command enables or disables the Link Aggregation Control Protocol.
Port list. A maximum of eight ports can be aggregated. Example The following example adds ports 1, 5, 6 and 7 to aggregator 1: zte(cfg)#set lacp aggregator 1 add port 1,5-7 4.9.4 set lacp aggregator mode Purpose This command sets an aggregation mode for aggregators.
Active negotiation mode. 4.9.6 set lacp port timeout Purpose This command sets timeout processing for the ports to be aggregated. Command Mode Global configuration mode Syntax set lacp port <portlist> timeout {long | short} 4-125 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <portlist> Port list short Short timeout long Long timeout Guidelines To set timeout processing for a port, add the port to a LACP aggregation group first. Example The following example sets long timeout for ports 1, 5, 6 and 7: zte(cfg)#set lacp port 1,5-7 timeout long 4.9.7 set lacp priority...
All configuration modes Syntax show trunk <trunklist> Parameter Description Parameter Description <trunklist> Trunk list Example The following example shows the PVID of trunk 1: zte(cfg)#show trunk 1 TrunkId PVID Multicast-filter ------- ----- ---------------- default 4-127 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.9.10 show trunk vlan Purpose This command shows VLANs to which the specified trunks belong. Command Mode All configuration modes Syntax show trunk <trunklist> vlan Parameter Description Parameter Description <trunklist> Trunk list Example The following example shows the VLAN to which trunk 1 belongs:...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show lacp aggregator <1-15> Parameter Description Parameter Description <1-15> Trunk ID 4.9.14 show lacp port Purpose This command shows the aggregation status of LACP member ports. Command Mode All configuration modes Syntax show lacp port <portlist >...
Clears the multicast filtering enable/disable flag and restores the default multicast-filter status. Example The following example clears the multicast filtering flag of trunks 1, 2, and 3: zte(cfg)#clear trunk 1-3 multicast-filter 4.10 IGMP Snooping Configuration 4.10.1 set igmp snooping enable/disable Purpose This command enables or disables multicast snooping.
The following example sets the maximum number of multicast groups for VLANs 1 to 10 and ports 1 to 10 to 100: zte(cfg)#set igmp snooping add maxnum 100 vlan 1-10 zte(cfg)#set igmp snooping add maxnum 100 port 1-10 4.10.4 set igmp snooping delete host Purpose This command clears dynamic users.
ZXR10 5250 Series Command Reference Example The following example clears dynamic users: zte(cfg)#set igmp snooping delete host 4.10.5 set igmp snooping multicast -ring enable/disable Purpose This command enables or disables the IGMP multicast ring network function. Command Mode Global configuration mode...
The ports on the ring must be configured as cascade ports. Example The following example adds cascade ports 51 and 52 to the multicast ring network: zte(cfg)#set igmp snooping multicast-ring add cascade port 51,52 4.10.7 set igmp snooping monitor-ring enable/disable Purpose This command enables or disables the IGMP ring network monitoring function.
The following example adds the static multicast group 230.40.44.167 to VLAN 1 and adds ports 1 to 10 to the static group at the same time: zte(cfg)#set igmp snooping vlan 1 add group 230.40.44.167 port 1-10 4.10.9 set igmp snooping vlan add/delete smr port/trunk Purpose This command adds/deletes routing ports/trunks to/from the specified VLAN.
Trunk list. Example The following example adds routing ports 9 and 10 to VLAN 1: zte(cfg)#set igmp snooping vlan 1 add smr port 9,10 4.10.10 set igmp snooping private-group Purpose This command adds a private group, and enables or disables the private group function.
ZXR10 5250 Series Command Reference Guidelines When the private group function is enabled and the private group receives leave messages, all groups of the device will be deleted. Default The private group function is disabled. Example The following example adds the private group 10.0.0.23 and enables the private group function: zte(cfg)#set igmp snooping private-group 10.0.0.23...
Chapter 4 Service Configuration Example The following example sets the aging time of router as 400 seconds and that of host as 300 seconds: zte(cfg)#set igmp snooping timeout router 4000 zte(cfg)#set igmp snooping timeout host 3000 4.10.12 set igmp snooping query-interval Purpose This command sets the interval for the switch to send query messages.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set igmp snooping response-interval <10-250> Parameter Description Parameter Description <10-250> Waiting time. The unit is 100 milliseconds. Guidelines When the host receives a query message, it will send a report message after a period of time to avoid instant shocks that intense response may cause to the router.
Disables query function. Example The following example enables the query function for VLANs 1 to 10: zte(cfg)#set igmp snooping query vlan 1-10 enable 4.10.16 set igmp snooping query version Purpose This command sets the IGMP version of query messages sent by the switch.
ZXR10 5250 Series Command Reference Parameter Description Sends V3 version query. Default V2 version query is sent. 4.10.17 set igmp snooping fastleave enable/disable Purpose This command enables or disables the fast leave function. Command Mode Global configuration mode Syntax set igmp snooping fastleave {enable | disable}...
The IGMP V3 function is disabled. Example The following example enables the IGMP V3 function: zte(cfg)#set igmp snooping v3 enable 4.10.19 set igmp snooping proxy Purpose This command sets the version that the switch responds to the query messages sent by the router.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set igmp snooping crossvlan {enable | disable} Parameters Parameter Description enable Enables the cross-VLAN multicast function. disable Disables the cross-VLAN multicast function. Default The cross-VLAN multicast function is disabled.
VLAN list. Example The following example filters messages of the group 231.0.0.100 in VLANs 1-10: zte(cfg)#set igmp filter add groupip 231.0.0.100 vlan 1-10 4.10.23 set igmp filter add/delete grouplist mask vlan Purpose This command adds or deletes the filtering in one or multiple specified VLANs. A maximum of 32 entries can be specified.
255.255.255.0 for vlan 1-10, meaning that the multicast packets whose IP address is between 225.0.0.0 and 225.0.0.255 are filtered: zte(cfg)#set igmp filter add grouplist 225.0.0.10 mask 255.255.255.0 vlan 1-10 4.10.24 set igmp filter add/delete sourceip vlan Purpose This command enables or disables the filtering of the specified source in the specified VLANs.
Page 205
VLAN list. Example The following example shows how to filter query packets for port 1 and VLAN 1: zte(cfg)#set igmp filter add query port 1 vlan 1 4.10.26 show igmp snooping Purpose This command shows the global configuration of IGMP snooping.
ZXR10 5250 Series Command Reference Multicast Ring: disable Multicast Ring cascade ports: NULL Multicast filtering ports: 2 4.10.27 show igmp snooping vlan Purpose This command shows the result of multicast snooping. Command Mode All configuration modes Syntax show igmp snooping vlan [<1-4094>[host | route]]...
Chapter 4 Service Configuration 4. The following example shows the router information of VLAN 1: zte(cfg)#show igmp snooping vlan 1 router Last IGMP_QUERY_ROUTER's ip is 0.0.0.0 VlanId PortId Expiry ---- ------ ------- ---------- 4000 4000 4.10.28 show igmp snooping port...
ZXR10 5250 Series Command Reference PortId: 4 Maximal group number: 100 Current group number: 0 Max-groups action : default PortId: 5 Maximal group number: 100 Current group number: 0 Max-groups action : default ……/*Omitted*/…… 4.10.29 show igmp snooping v3 port/trunk...
<vlanlist> Parameter Description Parameter Description <vlanlist> VLAN list. Example The following example shows the multicast group filtering configuration of VLAN 1: zte(cfg)#show igmp filter report vlan 1 Index FilterIpAddress FilterIpMask Vlan Type ----- ---------------- ---------------- ----- -------- 225.0.0.10 255.255.255.0...
ZXR10 5250 Series Command Reference 4.10.32 show igmp filter query Purpose This command displays the configuration of packet filtering query. Command Mode All configuration modes Syntax show igmp filter query Example The following example displays the configuration of packet filtering query:...
The following example enables the IPTV control function: zte(cfg-nas)#iptv control enable 4.11.2 iptv channel-group mvlan groupiplist name Purpose This command adds a channel group to a specified VLAN, names the group, and assigns an ID. Command Mode NAS configuration mode 4-153 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 212
The following example creates a channel group in VALN1. The start IP address in the group is 225.0.1.1, and the end IP address is 225.0.1.10. The channel group name is lsj and the channel group ID is 100. zte(cfg-nas)#iptv channel-group mvlan 1 groupip-list 225.0.1.1 225.0.1.10 name lsj id 100 zte(cfg-nas)#show iptv channel-group MaxChannelGroupNum:256...
The following example creates the channel 224.0.1.1 in VLAN 1 and sets the channel name of 224.0.1.3 to cctv and channel number to 100: zte(cfg-nas)#iptv channel mvlan 1 groupip 224.0.1.1 zte(cfg-nas)#iptv channel mvlan 1 groupip 224.0.1.3 name cctv id 100 zte(cfg-nas)#show iptv channel MaxChannelNum:1032...
ZXR10 5250 Series Command Reference 4.11.4 iptv channel-group name rename Purpose This command renames a channel group. Command Mode NAS configuration mode Syntax iptv channel-group name <channel-group-name> rename <new-name> Parameters Parameter Description <channel-group-name> Original channel group name <new-name> New channel group name...
Default The log function is disabled. Example The following example enables the log function for channel group 0: zte(cfg-nas)#iptv channel-group id-list 0 cdr enable 4.11.6 iptv channel-groupname/id-list viewfile-name/id Purpose This command sets the preview configuration file of a channel group.
The following example adds channels to VLAN 2 in batches. The start IP address is 230.0.0.1, the number of channels is 10, and the name prefix is NET-TV. zte(cfg-nas)#iptv channel mvlan 2 groupip 230.0.0.1 count 10 prename NET-TV zte(cfg-nas)#show iptv channel...
Original channel name <new-name> New channel name Example The following example changes the channel name CCTV to CATV: zte(cfg-nas)#iptv channel name cctv rename catv 4.11.9 iptv channel name/id-list cdr Purpose This command enables or disables the channel log function. Command Mode...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <channel-name> Channel name. < channel-list> Channel list. Enables the log function. enable Disables the log function disable Guidelines You can enable or disable the log function based on channel name or channel ID.
DEFVAL.PRF. Example The following example specifies the ID of the preview configuration file for channel 0 to 0: zte(cfg-nas)#iptv channel id-list 0 viewfile-id 0 4.11.11 iptv sms-server Purpose This command sets the IP address of the Service Management System (SMS) server.
ZXR10 5250 Series Command Reference Syntax iptv sms-server-port <1025-65535> Parameter Parameter Description <1025-65535> TCP port of the SMS sever, 5115 by default. Example The following example sets the TCP port of the SMS sever to 6000: zte(cfg-nas)#iptv sms-server-port 6000 4.11.13 iptv cdr enable/disable Purpose This command enables or disables the CDR function.
Period (seconds) for regular CDR generation. Default 3600 seconds. Example The following example sets the period to 7200 seconds: zte(cfg-nas)#iptv cdr create-period 7200 4.11.16 iptv cdr deny-right Purpose This command enables or disables the CDR function of the deny access right. Command Mode...
ZXR10 5250 Series Command Reference Syntax iptv cdr deny-right {enable | disable} Parameters Parameter Description enable Enables the CDR function of the deny access right. disable Disables the CDR function of the deny access right. Default The CDR function of the deny access right is disabled.
The number of CDRs is 10. Example The following example sets the number of CDRs in the message reported every time to zte(cfg-nas)#iptv cdr report-threshold 32 4.11.19 iptv cdr report-interval Purpose This command sets the interval for CDR timing report.
ZXR10 5250 Series Command Reference Guidelines Packets can be sent only when the report-interval and report-threshold are satisfied. Default The report interval is 300 seconds. Example The following example sets the interval for CDR timing report to 600 seconds: zte(cfg-nas)#iptv cdr report-interval 600 4.11.20 iptv cdr max-records...
Warning threshold for the CDR buffer pool. The unit is percentage. Default The threshold is 50%. Example The following example sets the warning threshold for the CDR buffer pool to 80%: zte(cfg-nas)#iptv cdr warning-threshold 80 4.11.22 iptv package name Purpose This command creates a multicast package. Command Mode...
Example The following example adds channels 100,103,104, and 107 to the package whose name is pkg1: zte(cfg-nas)#iptv package name pkg1 channel id-list 100,103,104,107 order 4.11.24 iptv prv enable/disable Purpose This command enables or disables the preview function. Command Mode...
Guidelines The reset contents include the number of preview records and the preview time. 4.11.26 iptv prv autoreset Purpose This command resets the preview function automatically. Command Mode NAS configuration mode 4-169 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax iptv prv autoreset-time <HH:MM:SS> Parameter Description Parameter Description Time for automatic reset, in 24–hour format (hour: minute: <HH:MM:SS> second) Example The following example sets the time for automatic reset to 00:01:01 everyday: zte(cfg-nas)#iptv prv autoreset-time 00:01:01 4.11.27 iptv prv recognition-time...
Default The CDR function is disabled. Example The following example enable the CDR function when the preview time is overcount. zte(cfg-nas)#iptv prv overcount-cdr enable 4.11.29 iptv view-profile name Purpose This command creates a preview configuration file. Command Mode NAS configuration mode Syntax iptv view-profile name <...
ZXR10 5250 Series Command Reference Parameter Description <1-1023> Preview configuration file ID. Guidelines The system has a default preview configuration file whose ID is 0 and name is DEFVAL.PRF. The maximum preview times is 3, the longest preview time is 120 seconds, and the minimum preview interval is 60 seconds.
600 seconds, and the minimum preview interval to 300 seconds: zte(cfg-nas)#iptv view-profile name vtcc zte(cfg-nas)#iptv view-profile name vtcc count 10 zte(cfg-nas)#iptv view-profile name vtcc duration 600 zte(cfg-nas)#iptv view-profile name vtcc blackout 300 4.11.31 iptv cac-rule enable/disable Purpose This command enables or disables the CAC function.
If the VLAN ID is not set, the command sets the global service status. Default Services are cancelled. Example The following example starts services of port 1 in VLAN 1000: zte(cfg-nas)#iptv port 1 vlan 1000 service start 4.11.33 iptv port control-mode Purpose This command sets a multicast control mode. Command Mode...
If the VLAN ID is not set. the command sets the global multicast control mode. Default Control by package is set. Example The following example sets port 12 with control by channel: zte(cfg-nas)#iptv port 12 control-mode channel 4.11.34 iptv port package Purpose This command allocates packages for ports. Command Mode...
The configuration of channel-group is supported only when the channel mode is selected in control-mode. Example The following example sets the channel group access rights to allow for port 2: zte(cfg-nas)#iptv port 2 vlan 2 channel-group name chname0 order 4-176 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The configuration of channel is supported only when the channel mode is selected in control-mode. Example The following example sets the channel access rights to order for port 2: zte(cfg-nas)#iptv port 2 vlan 2 channel name chname0 order 4.11.37 iptv port cdr Purpose This command enables or disables the CDR function.
ZXR10 5250 Series Command Reference Syntax iptv port <portlist>[vlan <1-4094>] cdr {enable | disable} Parameters Parameter Description <portlist> Port list. vlan <1-4094> VLAN ID. Enables the CDR function. enable Disables the CDR function. disable Default The CDR function is disabled.
This command deletes IPTV users in accordance with various rules. Without parameters, it deletes all users. Example The following example clears the catv channel group: zte(cfg-nas)#clear iptv channel-group name catv 4.11.40 clear iptv channel Purpose This command clears a channel.
ZXR10 5250 Series Command Reference Parameters Parameter Description name <channel-name> Channel name. id-list <channel-list> Channel list. Deletes all channels. Example The following example clears the channel named as catv: zte(cfg-nas)#clear iptv channel name catv 4.11.41 clear iptv package Purpose This command clears a channel package.
<1-4094> VLAN ID name <package-name> Package name id-llist <package-idlist> Package ID list Example The following example clears the package named as pkg1 allocated to port 3: zte(cfg-nas)#clear iptv port 3 package name pkg1 4-181 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
[name <channel-name>| id <channel-id>] Parameters Parameter Description name <channel-name> Channel name id <channel-id> Channel ID Example 1. The following example shows the information about all channels: zte(cfg-nas)#show iptv channel MaxChannelNum:1032 CurChannelNum:11 HisChannelNum:12 Name GroupIp MVlan 4-183 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 242
ZXR10 5250 Series Command Reference ------ -------------------------------- --------------- ----- CHNAME0 224.0.1.1 NET-TV1 230.0.0.1 NET-TV2 230.0.0.2 NET-TV3 230.0.0.3 NET-TV4 230.0.0.4 NET-TV5 230.0.0.5 NET-TV6 230.0.0.6 NET-TV7 230.0.0.7 NET-TV8 230.0.0.8 NET-TV9 230.0.0.9 NET-TV10 230.0.0.10 Field Description MaxChannelNum The maximum number of channels that can be...
[name <channe-groupl-name>| id <channel-group-id>] Parameters Parameter Description name <channel-group-name> Channel group name id<channel-group-id> Channel group ID Guidelines The configuration of channel-group is supported only when the channel mode is selected in control-mode. 4-185 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 244
ZXR10 5250 Series Command Reference Example 1. The following example shows the detailed information about all channel groups: zte(cfg-nas)#show iptv channel-group MaxChannelGroupNum:256 CurChannelGroupNum:1 HisChannelGroupNum:1 Name StartIp EndIp/Mask MVlan ----- ---------- ------------- ------------- ------ 225.0.1.1 225.0.1.10 4000 The information displayed is described as follows:...
Command Mode All configuration modes Syntax show iptv package [name<package-name>| id <0-127>] Parameters Parameter Description name<package-name>| Package name id <0-127> Package ID Example 1. The following example shows all packages: zte(cfg-nas)#show iptv package 4-187 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference MaxPackageNum:128 CurPackageNum:2 HisPackageNum:4 Package Name ------------- TAOCAN ALLPRE The fields are described in the following table. Field Description MaxPackageNum The maximum number of packages that can be configured CurPackageNum Number of currently configured packages HisPackageNum...
This command shows the information about a preview configuration file. Command Mode All configuration modes Syntax show iptv view-profile [name <viewfile-name>| id <0-1023>] Parameters Parameter Description name <viewfile-name> Preview configuration file name id <0-1023> Preview profile ID 4-189 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 248
ZXR10 5250 Series Command Reference Guidelines The command with a parameter shows the information about the specified preview configuration file. The command without any parameters shows the information about all preview configuration files. Examples 1. The following example shows the information about all preview configuration files:...
The maximum number of CDRs in the system. Report-Interval CDR timing report interval. Send-Threshold Number of CDRs reported every time. Warning-Threshold Warning threshold for the CDR buffer pool. Records in cache Number of CDRs in the buffer. 4-191 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.11.52 show iptv client Purpose This command shows the information about IPTV users. Command Mode All configuration modes Syntax show iptv client [{channel <0-1031>| index <0-255>| mac <HH.HH.HH.HH.HH.HH>| port <portid>| vlan <1-4094>}] Parameter Description Parameter Description channel <0-1031>...
Page 251
……/*Omitted*/…… The fields are described in the following table. Field Description MaxRuleNum The maximum number of rules that can be configured CurRuleNum Number of current ports HisRuleNum Number of history ports 4-193 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.11.54 show iptv duplicate Purpose This command shows the duplicate rule configuration. Command Mode All configuration modes Syntax show iptv duplicate Example The following example shows the duplicate rule configuration: zte(cfg-nas)#show iptv duplicate Index Port...
Sets the STP force version to STP. Example The following example sets the STP force version to RSTP: zte(cfg)#set stp forceversion rstp 4.12.3 set stp port enable/disable Purpose This command enables or disables the STP on the specified ports.
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <portlist> Port list. Enables the STP on the specified ports. enable Disables the STP on the specified ports. disable Default The STP is enabled on ports. 4.12.4 set stp port linktype Purpose This command sets a port connection type.
When the MSTP is interconnected with the RSTP, the RSTP is selected. When the RSTP is interconnected with the STP, the STP is selected. 4-197 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.12.7 set stp port bpdu-guard Purpose This command enables or disables the Bridge Protocol Data Unit (BPDU) protection function for ports. Command Mode Global configuration mode Syntax set stp port <portlist> bpdu-guard {enable | disable}...
Default The interval is 100 seconds. Example The following example sets the interval for BPDU protection recovery to 1000: zte(cfg)#set stp bpdu-interval 1000 4.12.9 set stp trunk enable/disable Purpose This command enables or disables the STP for trunks. Command Mode...
The edge ports do not join STP calculation. Generally, they are connected to the terminals. Example The following example sets port 2 as an STP edge port: zte(cfg)#set stp edge-port add port 2 4.12.13 set stp hmd5-digest/hmd5-key Purpose This command sets the hmd5 parameters when the device interconnects with Cisco and Huawei devices.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set stp {hmd5-digest | hmd5-key}{CISCO | HUAWEI}<0x00..0-0xff..f> Parameter Description Parameter Description It is used when the device connects to a Cisco device. CISCO It is used when the device connects to a Huawei device.
The switch time is not less than the minimum time. Default The minimum switch time is 15 seconds. Example The following example sets the minimum switch time to 10 seconds: zte(cfg)#set stp forwarddelay 10 4.12.16 set stp agemax Purpose This command sets STP aging time. Command Mode...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description Aging time (seconds) satisfying: 2 * (forwarddelay – 1) >= agemax <6-40> and agemax >= 2 * (hellotime + 1). Default The default aging time is 20 seconds. 4.12.17 set stp hopmax Purpose This command sets the MST maximum hop count between any two terminals.
Chapter 4 Service Configuration Parameter Description Parameter Description <name> Domain name Example The following example sets the MSTP domain name to zte-test: zte(cfg)#set stp name zte-test 4.12.19 set stp revision Purpose This command sets the MSTP revision level. Command Mode Global configuration mode Syntax set stp revision <0-65535>...
Devices in a domain have the same corresponding relationship. Example The following example adds VLANs 1, 5, 6, 7 and 12 to instance 1: zte(cfg)#set stp instance 1 add vlan 1,5-7,12 4.12.21 set stp instance port/trunk priority Purpose This command sets the priority of a port or trunks in an instance.
The default priority is 128. Example The following example sets the priority of trunk 1 in instance 1 to 240: zte(cfg)#set stp instance 1 trunk 1 priority 240 4.12.22 set stp instance port/trunk cost Purpose This command sets the path cost of a port or trunks in an instance.
ZXR10 5250 Series Command Reference 4.12.23 set stp instance port/trunk root-guard Purpose This command enables or disables the root-guard function of a port or trunks in an instance. Command Mode Global configuration mode Syntax set stp instance <0-63>{port <1-52>| trunk <trunklist>} root-guard {enable | disable}...
The ports enabling the loop-guard function cannot forward data. Example The following example enables loop-guard of port 1 in instance 1: zte(cfg)#set stp instance 1 port 1 loop-guard enable 4.12.25 set stp instance priority Purpose This command sets the priority of bridge in instance.
The following example shows the STP global configuration: zte(cfg)#show stp The spanning_tree protocol is enabled! The STP ForceVersion is MSTP ! Revision: 0 Name: zte-test Bpdu interval: 1000 Cisco key: 0x13ac06a62e47fd51f95d2ba243cd0346 Cisco digest: 0x00000000000000000000000000000000 Huawei key: 0x13ac06a62e47fd51f95d2ba243cd0346 4-211 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Huawei digest: 0x00000000000000000000000000000000 Instance VlanMap -------- ------------------- 1-4094 4.12.30 show stp instance Purpose This command shows the information about an instance or all instances. Command Mode All configuration modes Syntax show stp instance [<0-63>] Parameter Description...
Port list. The command without this parameter shows the STP <portlist> configuration of all ports. Example The following example shows the STP configuration of port 1: zte(cfg)#show stp port 1 The following port(s) are active! PortId MSTI : 00 Priority...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <trunklist> Trunk list Example The following example shows the STP configuration of trunk 1: zte(cfg)#show stp trunk 1 The following trunk(s) are not active! PortId : T1 MSTI : 00 Priority...
Chapter 4 Service Configuration Example The following example sets the ACL binding mode of ports 1, 3, and 5 to VLAN: zte(cfg)#set port 1,3,5 acl mode vlan 4.13.2 set port acl enable/disable Purpose This command enables or disables the binding of an ACL instance with a port or ports.
ZXR10 5250 Series Command Reference Syntax set vlan <vlanlist> acl <1-399,801-828>{enable | disable} Parameter Description Parameter Description <vlanlist> VLAN list. Ingress ACL number. The global ACL 800 can be valid without <1-399,801-828> binding operations. Binds an ACL instance to a VLAN or VLANs.
After ACL names are created, ACL configurations can be displayed by ACL name. 4.13.6 clear acl name Purpose This command clears an ACL name. Command Mode Global configuration mode Syntax clear acl <1-828> name Parameter Parameter Description <1-828> ACL number 4-217 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.13.7 show port acl-mode Purpose This command shows the ACL binding mode of ports. Command Mode Global configuration mode Syntax show port <portlist> acl-mode Parameter Description Parameter Description <portlist> acl-mode Port list 4.13.8 config ingress-acl basic Purpose This command creates a basic ingress ACL instance and configures it.
ZXR10 5250 Series Command Reference 4.13.11 config ingress-acl extend Purpose This command creates an extended ingress ACL instance and configures it. Command Mode Global configuration mode Syntax config ingress-acl extend number <100-199> Parameter Description Parameter Description <100-199> Number of the extended ingress ACL instance 4.13.12 ingress-acl extend rule type-ip-protocol...
This command sets the rule that the extended ingress ACL is used to match ICMP messages. Command Mode Extended ingress ACL configuration mode Syntax rule <1-500>{permit | deny} icmp {<source-ipaddr><sip-mask>| any}{<destination-ipaddr><di p-mask>| any}[icmp-type <0-254><icmp-code>][dscp <0-63>][fragment] 4-221 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 280
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied. deny This rule only matches ICMP message. Non-ICMP message icmp ignores this rule.
This rule is only valid for messages with the specified DSCP value. dscp <0-63> Ignore this rule for other messages. The range of DSCP is 0 to 63. This rule is only valid for fragment messages. Non–fragment fragment messages ignore this rule. 4-223 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines The IP rule can match IPv4 packets with specified source IP addresses, any source IP address, specified destination IP addresses, any destination IP address, DSCP fields, or IP fragment fields. 4.13.15 ingress-acl extend rule type-tcp...
This command sets the rule that the extended ingress ACL is used to match User Datagram Protocol (UDP) messages. Command Mode Extended ingress ACL configuration mode Syntax rule <1-500>{permit | deny} udp {<source-ipaddr><sip-mask>| any}[source-port <0-65535><s port-mask>]{<destination-ipaddr><dip-mask>| any}[dest-port <0-65535><dport-mask>][dscp <0-63>][fragment] 4-225 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 284
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied. deny This rule only matches UDP message. Non-UDP message ignores this rule. IP address of the source network or host transmitting packets. It is <source-ipaddr>...
(second) 0.0.0.0 and the destination mask 0.0.0.0. Guidelines The ARP rule can match ARP packets with sender-specified IP addresses, IP address of any sender, specified destination IP addresses, or any destination IP address. 4-227 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The IP rule can match IPv4 packets with cos fields, VLAN fields, specified source MAC, any source MAC, specified destination MAC, or any destination MAC. 4.13.21 ingress-acl link rule type-arp Purpose This command sets the rule that the layer–2 ingress ACL matches ARP packets. 4-229 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Layer 2 ingress ACL configuration mode Syntax rule <1-500>{permit | deny} arp {[cos <0-7>][<vlan-id>[<vlan-mask>]][<source-mac><smac-m ask>| any][<dest-mac><dmac-mask>| any]} Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied.
Page 289
00.00.00.00.00.00 and the mask 00.00.00.00.00.00. <dest-mac> Destination MAC address of the transmitted packet. <dmac-mask> Destination MAC mask. The any keyword is used as the abbreviation of the destination any (second) MAC address 00.00.00.00.00.00 and the mask 00.00.00.00.00.00. 4-231 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines Other rule can match non-IP/ARP packets with ether-type fields, dsap-ssap fields, cos fields, VLAN fields, specified source MAC, any source MAC, specified destination MAC, or any destination MAC. 4.13.23 ingress-acl link rule type-any Purpose This command sets the rule that the layer–2 ingress ACL matches specified cos and VLAN...
Number of the hybrid ingress ACL instance 4.13.26 ingress-acl hybrid rule type-ip-protocol Purpose This command sets the rule that the hybrid ingress ACL matches the packet with IPv4-specified field. Command Mode Hybrid ingress ACL configuration mode 4-233 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 292
ZXR10 5250 Series Command Reference Syntax rule <1-500>{permit | deny}<ip-protocol>{<source-ipaddr><sip-mask>| any}{<destination- ipa ddr><dip-mask>| any}[dscp <0-63>][fragment][cos <0-7>][<vlan-id>[<vlan-mask>]][<source- mac><smac-mask>| any][<dest-mac><dmac-mask>| any] Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied.
IP address of the source network or host transmitting packets. It is <source-ipaddr> a 32-bit IP address expressed in dotted decimal notation. Source mask and used for source. It is a 32-bit IP address <sip-mask> expressed in dotted decimal notation. 4-235 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description The any keyword is used as the abbreviation of the source 0.0.0.0 any (first) and the source mask 0.0.0.0. Destination network or host of the transmitted packet. It is a 32-bit <destination-ipaddr> IP address expressed in dotted decimal notation.
Page 295
TCP destination port number of the transmitted packet dest-port <0-65535> The parameters of dest-port can resolve the some known port numbers. Also the port number and mask can be directly inputted. <dport-mask> Destination port mask. 4-237 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for messages with the specified DSCP dscp <0-63> value. Ignore this rule for other messages. The range of DSCP value is 0 to 63. This rule is only valid for fragment messages. For non-fragment fragment messages, this rule is ignored.
Page 297
This rule is only valid for fragment messages. For non-fragment fragment messages, this rule is ignored. This rule is only valid for the cos-specified message. Ignore this cos <0-7> rule for other messages. The range of cos is 0 to 7. 4-239 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for messages with the specified VLAN ID. <vlan-id> Ignore this rule for other messages. The rule of VLAN ID is 1 to 4094. This rule is only valid for messages with the specified VLAN ID.
Page 299
MAC address 00.00.00.00.00.00 and the mask 00.00.00.00.00.00. Guidelines ARP rule can match sender-specified IP, any sender IP, target-specified IP, any target IP, cos field, VLAN field, source-specified MAC, any source MAC, destination-specified MAC and any destination MAC. 4-241 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
<destination-ipv6addr> packet. The standard IPv6 address format is used, such as abcd:EF12::123 4 Destination mask. It is used for destination and represented by <dipv6-mask> one integer. The value range is 1 to 128. 4-243 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Matches all destination IPv6 addresses. The destination and any (second) destination mask are all 0s. This rule is only valid for messages with the specified VLAN ID. <vlan-id> Ignore this rule for other messages. The rule of VLAN ID is 1 to 4094.
This command sets the rule that the hybrid ingress ACL matches the IPv6-UDP packet. Command Mode Hybrid ingress ACL configuration mode Syntax rule <1-500>{permit | deny} ipv6 udp {<source-ipv6addr><sipv6-mask>| any}[source-port <0 -65535><sport-mask>]{<destination-ipv6addr><dipv6-mask>| any}[dest-port <0-65535><dpor t-mask>][<vlan-id>] 4-245 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 304
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied. deny This rule is only valid for IPv6 UDP packet. Other packets ignore ipv6 udp this rule.
Ignore this rule for other messages. The rule of VLAN ID is 1 to 4094. Guidelines The IPv6-any rule can match source-specified IPv6, any source IPv6, destination-specified IPv6, any destination IPv6, and VLAN fields. 4-247 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Binds the global rule to all ports. This rule is only valid for messages with the specified IP protocol <ip-protocol> field. Ignore this rule for other messages. The range of IP protocol field value is 0 to 255. 4-249 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 308
ZXR10 5250 Series Command Reference Parameter Description IP address of the source network or host transmitting packets. It is <source-ipaddr> a 32-bit IP address expressed in dotted decimal notation. Source mask used for sources. It is a 32-bit IP address expressed <sip-mask>...
Destination mask used for destination. It is a 32-bit IP address <dip-mask> expressed in dotted decimal notation. The any keyword is used as the abbreviation of the destination any (third) 0.0.0.0 and the destination mask 0.0.0.0. 4-251 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for the message with the specified DSCP dscp <0-63> value. Ignore this rule for other messages. The range of DSCP value is 0 to 63. This rule is only valid for fragment messages. For non-fragment fragment messages, this rule is ignored.
Page 311
Destination port mask. This rule is only valid for the message with the specified DSCP dscp <0-63> value. Ignore this rule for other messages. The range of DSCP value is 0 to 63. 4-253 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for the message with the specified DSCP value. Ignore this rule for other messages. The range of DSCP fragment value is 0 to 63. This rule is only valid for the cos-specified message. Ignore this cos <0-7>...
Page 313
0 to 63. This rule is only valid for the message with the specified DSCP value. Ignore this rule for other messages. The range of DSCP fragment value is 0 to 63. 4-255 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for the cos-specified message. Ignore this cos <0-7> rule for other messages. The range of cos is 0 to 7. This rule is only valid for messages with the specified VLAN ID.
Page 315
Destination MAC address of the transmitted packet. <dmac-mask> Destination MAC address of the transmitted packet. The any keyword is used as the abbreviation of destination MAC any (fifth) address 00.00.00.00.00.00 and mask 00.00.00.00.00.00. 4-257 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines ARP rule can match sender-specified IP, any sender IP, destination-specified IP, any destination IP, cos field, VLAN field, source-specified MAC, any source MAC, destination-specified MAC and any destination MAC. The rule can be bound to one or all ports.
ZXR10 5250 Series Command Reference Syntax rule <1-500>{permit | deny}{<source-ipaddr><sip-mask>| any}[fragment] Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied. deny IP address of the source network or host transmitting packets. It is <source-ipaddr>...
If the condition matches, access is denied. deny This rule is only valid for messages with the specified IP protocol <ip-protocol> field. Ignore this rule for other messages. The range of IP protocol field value is 0 to 255. 4-261 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description IP address of the source network or host transmitting packets. It is <source-ipaddr> a 32-bit IP address expressed in dotted decimal notation. Source mask used for sources. It is a 32-bit IP address expressed <sip-mask>...
Page 321
The ICMP rule can match ICMP packets with specified source IP addresses, any source IP address, specified destination IP addresses, any destination IP address, ICMP-type fields, ICMP-code fields, DSCP fields, or IP fragment fields. 4-263 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.13.51 egress-acl extend rule type-ip Purpose This command sets the rule that the extended ingress ACL is used to match IP message. Command Mode Extended egress ACL configuration mode Syntax rule <1-500>{permit | deny} ip {<source-ipaddr><sip-mask>| any}{<destination-ipaddr><dip-m ask>| any}[dscp <0-63>][fragment]...
Also the port number and mask can be directly inputted. <sport-mask> Source port number mask Destination network or host of the transmitted packet. It is a 32-bit <destination-ipaddr> IP address expressed in dotted decimal notation. 4-265 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Destination mask used for destination. It is a 32-bit IP address <dip-mask> expressed in dotted decimal notation. The any keyword is used as the abbreviation of the destination any (second) 0.0.0.0 and the destination mask 0.0.0.0 TCP destination port number of the transmitted packet dest-port <0-65535>...
Page 325
The UDP rule can match UDP packets with specified source IP addresses, any source IP address, specified destination IP addresses, any destination IP address, UDP source port numbers, UDP destination port numbers, DSCP fields, or IP fragment fields. 4-267 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.13.54 egress-acl extend rule type-arp Purpose This command sets the rule that the extended egress ACL is used to match ARP message. Command Mode Extended egress ACL configuration mode Syntax rule <1-500>{permit | deny} arp {<sender-ipaddr><sip-mask>| any}{<target-ipaddr><tip-mask >| any}...
<600-699> Parameter Description Parameter Description <600-699> Number of the layer–2 egress ACL instance 4.13.57 egress-acl link rule type-ip Purpose This command sets the rule that the layer–2 egress ACL matches IP packet. 4-269 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
This command sets the rule that the layer–2 egress ACL matches the rule except IP/ARP. Command Mode Layer 2 egress ACL configuration mode Syntax rule <1-500>{permit | deny} other {[ether-type <1501-65535>| dsap-ssap <0-65535>][co s <0-7>][<vlan-id>[<vlan-mask>]][<source-mac><smac-mask>| any][<dest-mac><dmac-mask>| any]} 4-271 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 330
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted. permit If the condition matches, access is denied. deny This rule is only valid for the packets except IP/ARP. IP/ARP other packet ignores this rule.
The any keyword is used as the abbreviation of the destination MAC address 00.00.00.00.00.00 and the mask 00.00.00.00.00.00. Guidelines Any rule can match packets with VLAN fields, cos fields, specified destination MAC, or any destination MAC. 4-273 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.13.61 clear egress-acl link Purpose This command clears a layer–2 ingress ACL instance. Command Mode Global configuration mode Syntax clear egress-acl link number <600-699> Parameter Description Parameter Description <600-699> Number of the layer–2 egress ACL instance 4.13.62 config egress-acl hybrid...
This rule is only valid for the packet with specified ether-type value. Other packets ignore this rule. The range of ether-type ether-type <1501-65535> is 1501–65535. Of which, 2048, 2054 and 34525 respectively responds to 0x0800, 0x0806 and 0x86DD. 4-275 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for the cos-specified message. Ignore this cos <0-7> rule for other messages. The range of cos is 0 to 7. This rule is only valid for messages with the specified VLAN ID.
Page 335
MAC address 00.00.00.00.00.00 and mask 00.00.00.00.00.00. Guidelines ARP rule can match sender-specified IP, any sender IP, target-specified IP, any target IP, cos field, VLAN field, source-specified MAC, any source MAC, destination-specified MAC and any destination MAC. 4-277 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
This command sets the rule that the hybrid egress ACL matches IPv4 packets. Command Mode Hybrid egress ACL configuration mode Syntax rule <1-500>{permit | deny} ip {<source-ipaddr><sip-mask>| any}{<destination-ipaddr><dip-m ask>| any}[dscp <0-63>][fragment][cos <0-7>][<vlan-id>[<vlan-mask>]][<source-mac><smac -mask>| any][<dest-mac><dmac-mask>| any] Parameter Description Parameter Description <1-500> Rule number. 4-279 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 338
ZXR10 5250 Series Command Reference Parameter Description If the condition matches, access is permitted. permit deny If the condition matches, access is denied. This rule is only valid for IP packet. Other packets ignore this rule. IP address of the source network or host transmitting packets. It is <source-ipaddr>...
Destination mask. It is used for destination and represented by <dipv6-mask> one integer. The value range is 1 to 128. Matches all destination IPv6 addresses. The destination and any (second) destination mask are all 0s. 4-281 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description This rule is only valid for messages with the specified VLAN ID. <vlan-id> Ignore this rule for other messages. The rule of VLAN ID is 1 to 4094. Guidelines The IPv6-any rule can match source-specified IPv6, any source IPv6, destination-specified IPv6, any destination IPv6, and VLAN fields.
This rule is only valid for IPv6 TCP packet. Other packets ignore ipv6 tcp this rule. TCP source port number of the transmitted packet source-port <0-65535> The source-port parameter resolve some known port number. Also the port number and mask can be entered. 4-283 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description <sport-mask> Source port mask. IPv6 Source network or host of the transmitted package. The <source-ipv6addr> standard IPv6 address format is used, such as abcd:EF12::123 4. Source mask and used for source. It is expressed by an integer.
Page 343
<dport-mask> Destination port mask. This rule is only valid for messages with the specified VLAN ID. <vlan-id> Ignore this rule for other messages. The rule of VLAN ID is 1 to 4094. 4-285 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines IPv6-UDP rule match source-specified IPv6, source IPv6, destination-specified IPv6, any destination IPv6, UDP source port numbers, UDP destination port numbers, and VLAN fields. 4.13.72 egress-acl hybrid rule type-tcp Purpose This command sets the rule that the hybrid egress ACL matches IPv4-TCP packets.
IPs, any destination IPs, DSCP fields, IP fragment fields, cos fields, VLAN fields, source-specified MACs, any source MACs, destination-specified MACs, and any destination MACs. 4.13.73 egress-acl hybrid rule type-udp Purpose This command sets the rule that the hybrid egress ACL matches IPv4-UDP packets. 4-287 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <700-799> Number of the hybrid egress ACL instance 4.13.75 move after/before Purpose This command sorts the rule of ACL instances. Command Mode All ACL configuration modes Syntax move <1-500>{after | before}<1-500>...
The following example shows the VLAN ID and the corresponding VLAN mask when VLAN 1–1000 is matched. zte(cfg)#show vlan-range 1-1000 index vlanId vlanMask --------------------------- 0xffff 0xfffe 0xfffc 0xfff8 0xfff0 0xffe0 0xffc0 0xff80 0xff00 0xff00 4-291 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 0xff80 0xffc0 0xffe0 0xfff8 1000 0xffff 4.13.78 show acl blinding Purpose This command shows the configuration information that ACL is bound to the interface. Command Mode Global configuration mode Syntax show acl binding {all | port [<portlist>]| vlan [<vlanlist>]}...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-828> ACL number. name<word> ACL name. This command shows all rules in valid status in the ACL instance. active This command shows all rules created by command lines in the command ACL instance.
(the anchor value 1 means that the start location is L2), sets the offset to 2 bytes, and sets the matching data length to 2 bytes: zte(cfg)#config ingress-acl user-define udb 1 anchor 1 offset 2 data-length 2 4.13.82 config ingress-acl user-define udb description Purpose This command sets the description of a user-defined byte.
ZXR10 5250 Series Command Reference Syntax config ingress-acl user-define number <801-828> Parameter Description Parameter Description <801-828> Serial number of a user-defined ACL instance 4.13.84 ingress-acl user-define rule Purpose This command sets a rule in a user-defined ingress ACL. Command Mode...
Page 355
The value that Udb12 must match. <udb-mask> The mask that Udb12 must match. Udb13 Thirteenth user-defined byte. <udb-value> The value that Udb13 must match. <udb-mask> The mask that Udb13 must match. Udb14 Fourteenth user-defined byte. 4-297 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description <udb-value> The value that Udb14 must match. <udb-mask> The mask that Udb14 must match. Udb15 Fifteenth user-defined byte. <udb-value> The value that Udb15 must match. <udb-mask> The mask that Udb15 must match. Guidelines You can configure multiple user-defined bytes instead of all user-defined bytes.
UNTAG messages use the ports’ default priorities to allocate UP priorities for the messages. Example The following example sets the default UP priority to 2 for port 2: zte(cfg)#set qos priority-mapping port 2 default-up 2 4.14.2 set qos priority-mapping port trust-mode Purpose This command sets a port trust mode.
When the port receives a message, it selects a profile to implement the service in trust mode. Example The following example sets port 20 to trust port-profile: zte(cfg)#set qos priority-mapping port 20 trust-mode port-profile 4.14.3 set qos priority-mapping port remark/remapping Purpose This command sets message UP/DSCP remark/remapping based on port. Command Mode...
0, ..., 63 to 63. Example The following example sets DSCP dscp remapping to map 2 to 20: zte(cfg)#set qos priority-mapping qos-profile dscp-to-dscp 2 to 20 4.14.5 set qos priority-mapping port port-to-profile Purpose This command sets the corresponding relation between a port and profile.
Ports are bound to profile 0. Example The following example binds port 2 to qos-profile 20: zte(cfg)#set qos priority-mapping port 2 port-to-profile qos-profile 20 4.14.6 set qos priority-mapping qos-profile dscp/up-to-profile Purpose This command sets the corresponding relation between DSCP/UP and profile.
Profiles 72 to 127 have no binding relations. When the device starts, it initializes as TC 0, DSCP 0, UP 0. Example The following example binds users with priority 2 to qos profile12: zte(cfg)#set qos priority-mapping qos-profile up-to-profile 2 qos-profile 12 4.14.7 set qos priority-mapping qos-profile Purpose This command sets a QoS profile template.
The following example sets the QoS profile 100 drop priority to yellow, DSCP priority to 5, user priority to 2, and TC to 2: zte(cfg)#set qos priority-mapping qos 100 drop-priority yellow zte(cfg)#set qos priority-mapping qos 100 dscp-priority 5 zte(cfg)#set qos priority-mapping qos 100 user-priority 2...
After mapping, the dscp value is used to implement the dscp-to-profile operation. Example The following example recovers the default configuration of QoS profiles: zte(cfg)#set qos priority-mapping qos-profile default zte(cfg)#show qos priority-mapping qos-profile 100 QoS Mapping Profile Table: Flags: QosIndex - Priority Mapping Profile...
The following example binds port 2 to scheduling template 2: zte(cfg)#set qos queue-schedule port 2 session 2 The following example sets default scheduling mode for port 2: zte(cfg)#set qos queue-schedule port 2 default 4.14.12 set qos queue-schedule session Purpose This command sets a scheduling policy template.
Page 368
ZXR10 5250 Series Command Reference Syntax set qos queue-schedule session <1-7><0-255><0-255><0-255><0-255><0-255><0-255><0-25 5><0-255>[single-wrrgroup] Parameter Description Parameter Description <1-7> Scheduling policy template number. Eight continuous <0-255> indicates the scheduling mode of queues 0 to 7. Zeros indicate the SP scheduling policy. Non-zero <0-255>...
1:2, queues 4 and 5 are scheduled in accordance with 2:4, and other queues are scheduled in accordance with SP: zte(cfg)#set qos queue-schedule session 1 0 10 20 0 20 40 0 0 zte(cfg)#show qos queue-schedule session 1...
The rate limit function is enabled for the specified packet type. Example The following example enables rate limit for broadcast packet in the ingress direction for port 2: zte(cfg)#set qos traffic-limit port 2 packet-type broadcast enable 4-312 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The following example sets the ingress rate limit to 100 kbps ( or 100 kpps) for port 2 (the unit is determined by ingress rate limit mode configured in global configuration mode): zte(cfg)#set qos traffic-limit fe-port 2 data-rate 100 4.14.16 set qos traffic-limit fe-port packet-rate Purpose This command sets the ingress rate limit for an FE port.
Example The following example sets the ingress rate limit to 100 pps and packet length to 64 bytes for port 2: zte(cfg)#set qos traffic-limit fe-port 2 packet-rate 100 packet-length 64 4.14.17 set qos traffic-limit ge-port data-rate Purpose This command sets the ingress rate limit for a GE port.
The following example sets the ingress rate limit to 1000 kbps ( or 1000 kpps) for port 25 (the unit is determined by ingress rate limit mode configured in global configuration mode): zte(cfg)#set qos traffic-limit ge-port 25 data-rate 1000 4.14.18 set qos traffic-limit ge-port packet-rate Purpose This command sets the ingress rate limit for a GE port.
Example The following example sets the ingress rate limit to 1000 pps and packet length to 64 bytes for port 25: zte(cfg)#set qos traffic-limit ge-port 25 packet-rate 1000 packet-lenth 64 4.14.19 set qos traffic-limit xge-port data-rate Purpose This command sets the ingress rate limit for a 10 GB port.
Example The following example sets the ingress rate limit to 10000 pps and packet length to 64 bytes for port 2/1: zte(cfg)#set qos traffic-limit xge-port 2/1 packet-rate 10000 packet-lenth 64 4.14.21 set qos traffic-limit port percent Purpose This command sets the percent of the ingress rate limit to the physical bandwidth for a port.
Example The following example sets the percent of the ingress rate limit to the physical bandwidth to 50 for port 2: zte(cfg)#set qos traffic-limit port 2 percent 50 4.14.22 set qos traffic-limit port protect Purpose This command sets port protection. When the traffic on the port exceeds the rate limit, the port is shut down and becomes unavailable for a specified period.
2 protect enable The following example enables rate limit protection for port 2 and sets the duration when the port is unavailable to 5 minutes: zte(cfg)#set qos traffic-limit port 2 protect time 5 4.14.23 set qos traffic-limit port trap Purpose This command enables the trap function for a port.
ZXR10 5250 Series Command Reference 4.14.24 set qos traffic-shaping fe-port data-rate Purpose This command sets the egress shaping limit for an FE port. Command Mode Global configuration mode Syntax set qos traffic-shaping fe-port <1-24>{data-rate <32-100000> burst-size <1-4094>| disable} Parameter Description...
The following example sets the egress shaping limit to 1000 kbps and burst size to 32 KBytes for queue 2 on port 2: zte(cfg)#set qos traffic-shaping fe-port 2 queue 2 data-rate 1000 burst-size 8 4.14.26 set qos traffic-shaping ge-port data-rate Purpose This command sets the egress shaping limit for a GE port.
Example The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes for port 25: zte(cfg)#set qos traffic-shaping ge-port 25 data-rate 2 burst-size 8 4.14.27 set qos traffic-shaping ge-port queue data-rate Purpose This command sets the egress shaping rate for a GE port based on queue.
The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes for queue 2 on port 25: zte(cfg)#set qos traffic-shaping ge-port 25 queue 2 data-rate 2 burst-size 8 4.14.28 set qos traffic-shaping xge-port data-rate Purpose This command sets the egress traffic-shaping rate for a 10 GB port.
Example The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes for port 2/1: zte(cfg)#set qos traffic-shaping xge-port 2/1 data-rate 2 burst-size 8 4.14.29 set qos traffic-shaping xge-port queue data-rate Purpose This command sets the queue-based egress traffic-shaping rate for a 10 GB port.
Example The following example sets the egress shaping limit to 2 Mbps and burst size to 32 KBytes for queue 2 on port 2/1: zte(cfg)#set qos traffic-shaping xge-port 2/1 queue 2 data-rate 2 burst-size 8 4.14.30 set anti-dos Purpose This command enables or disables the anti-DOS function.
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show qos priority-mapping port [<1-28>] Parameter Description Parameter Description Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example.
Page 385
The command without parameters shows the configurations of all the 128 profiles. Example 1. The following example shows the configuration of profile 100: zte(cfg)#show qos priority-mapping qos-profile 100 QoS Mapping Profile Table: Flags: QosIndex - Priority Mapping Profile TrafficClass - Local Traffic Class, DropPri - Local Drop Priority...
ZXR10 5250 Series Command Reference DSCP NEW : 56 3. The following example shows the binding rule between DSCP and qos-profile: zte(cfg)#show qos priority-mapping qos-profile dscp-to-profile DSCP To QoS Profile Mapping Table: Flags: DSCPPri - Packets DSCP Priority, QosIndex - Priority Mapping Profile...
In the syntax, the 5250-28TC device is used as an example. Example The following example shows the scheduling policies of the queues of port 1: zte(cfg)#show qos queue-schedule port 1 Port Egress Queue Schedule Table: Port ID : 1 Session Bind...
ZXR10 5250 Series Command Reference Syntax show qos queue-schedule session [<1-7>] Parameter Description Parameter Description <1-7> Scheduling policy template number Example The following example shows all queues’ scheduling policy template configurations: zte(cfg)#show qos queue-schedule session Egress Queue Schedule Profile Table:...
Shows port protection configuration of all ports. protect port protect Shows port protection configuration of a specified port. Port number. The range varies with the device type. Use the <1-28> 5250-28TC as an example. 4-331 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example shows port protection configuration of port 1: zte(cfg)#show qos traffic-limit port 1 protect port-1 Disable 4.14.38 show qos traffic-limit trap Purpose This command shows port trap configuration. Command Mode All configuration modes Syntax show qos traffic-limit [trap | port <1-28>...
In the syntax, the 5250-28TC device is used as an example. Example The following example shows the egress shaping configuration of port 1: zte(cfg)#show qos traffic-shaping port 1 Port Egress Traffic Shaping Table: Port ID : 1 Port Shaping Rate (Kbps)
The following example sets a flow policer to color-sensitive mode, cir=64, cbs=20000, pir=128, and pbs=30000: zte(cfg)#set qos policer 0 mode aware cir 64 cbs 20000 pir 128 pbs 30000 policer 0:the real configured cir is 64Kbps,cbs is 20000Bytes,pir is 128Kbps, pbs is 30000Bytes 4.14.42 set qos policer exceed-action...
This command enables a flow policer and handles the specified flows by using the policer. Command Mode Global configuration mode Syntax set policy policing in acl <1-828> rule <1-500> policer <0-383> Parameter Description Parameter Description <1-828> ACL number. <1-500> ACL rule number. 4-337 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 396
10 user-priority 2 zte(cfg)#set qos priority-mapping qos-profile 10 drop-priority green zte(cfg)#set qos policer 10 mode aware cir 32 cbs 20000 ebs 40000 policer 10: the real configured cir is 32Kbps,cbs is 20000Bytes,ebs is 40000Bytes zte(cfg)#set qos policer 10 exceed-action red remark yellow remar...
Egress ACL number. The egress ACL can directly modify the <400-799> UP/DSCP fields of a flow. <1-500> Rule number of egress ACL. UP/DSCP will not be modified. no-change <0-7> Modifies UP to this value. <0-63> Modifies DSCP to this value. 4-339 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.14.49 set mirror analyze-port session Purpose This command sets the binding between flow mirroring monitoring port and port mirroring session. Command Mode Global configuration mode Syntax set mirror analyze-port session <1-3>{enable | disable} Parameter Description...
Destination port of flow redirection. 4.14.52 set policy statistics Purpose This command sets the flow count function. Command Mode Global configuration mode Syntax set policy statistics in acl <1-828> rule <1-500> counter <0-1023> 4-341 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameters Parameter Description <1-828> ACL number. <1-500> Rule number of the ACL. <0-1023> Flow counter. 4.14.53 set policy vlan-remark Purpose This command sets the VLAN tag modifying the specified flow. Command Mode Global configuration mode Syntax set policy vlan-remark in acl <1-828>...
This command clears the configuration that qos-profile is used to modify UP/DSCP. Command Mode Global configuration mode Syntax clear policy remark in acl <1-828> rule <1-500> Parameter Description Parameter Description <1-828> ACL number <1-500> Rule number of the ACL 4-343 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.14.56 clear policy policing Purpose This command clears the configuration that flow policers are used to process the specified flows. Command Mode Global configuration mode Syntax clear policy policing in acl <1-828> rule <1-500> Parameter Description...
This command clears the configuration that the specified flows are redirected to the specified ports. Command Mode Global configuration mode Syntax clear policy redirect in acl <1-399,800-828> rule <1-500> Parameter Description Parameter Description <1-399,800-828> Ingress ACL number <1-500> Rule number of the ACL 4-345 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Global configuration mode Syntax clear qos policer-counter <counterlist> Parameter Description Parameter Description <counterlist> Flow policer counter list, in the range of 0 to 383 4.14.64 clear qos policer Purpose This command clears a flow policer. 4-347 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax clear qos policer <0-383> Parameter Description Parameter Description <0-383> Flow policer ID 4.14.65 show qos policer Purpose This command shows the configuration of a flow policer. Command Mode All configuration modes Syntax show qos policer [<0-383>]...
The command without a flow counter number shows all the counters. 4.14.67 show qos policer-counter Purpose This command shows the flow policer counter. Command Mode All configuration modes Syntax show qos policer-counter [<0-383>] 4-349 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The ICMP packet protection function is disabled. 4.14.70 set qos traffic-limit ge-port|fe-port|xge-portprotect Purpose This command sets the rate limit protection function. Command Mode Global configuration mode Syntax set qos traffic-limit {ge-port|fe-port|xge-port}<1-24>protect enable| disable 4-351 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameters Parameter Description Port number. Different devices have different port number ranges. <1-24> In the syntax, the 5250–52TC device is used as an example. protect Rate limit protection. Enables the rate limit protection function. enable Disables the rate limit protection function.
The communi port can interwork with the promise port, the communi port in the same session, and ordinary ports, but cannot interwork with the isolate port. 4-353 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
IEEE RESERVE MC protocol address range (0x00 to 0x2F). Enables layer-2 transparent transmission of protocol messages. enable disable Drops protocol messages. Disables transparent transmission and recovers the default configuration. Different protocols have different default invalid configurations. 4-355 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.16.2 show l2pt Purpose This command shows the configuration for the IEEE RESERVE MC messages’ transparent transmission. Command Mode All configuration modes Syntax show l2pt Example zte(cfg)#show l2pt L2pt state: Enable : none Disable: none...
This command performs a trace operation to determine the path of IP data packets. Command Mode Global configuration mode Syntax trace <A.B.C.D>[max-ttl <1-255>[min-ttl <1-255>[repeat <1-65535>[source <A.B.C.D>[tim eout <1-60>[udp-port <1-65535>]]]]]] Parameter Description Parameter Description <A.B.C.D> Destination IP address. 4-357 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description <1-255> Maximum TTL, that is, the maximum number of hops of a packet. Minimum TTL, that is, the number of hops allowed for the first <1-255> packet. The value of min-ttl must be smaller than or equal to that of max-ttl.
Chapter 4 Service Configuration Guidelines The layer-3 ports of the ZXR10 5250 series are used for switch management. It supports application layer protocols such as WEB, SSH, and TELNET. Before enabling a layer-3 port, you must configure the IP address, VLAN, and MAC address. The MAC address is optional.
ZXR10 5250 Series Command Reference Parameters Parameters Description <0-63> Number of a layer-3 port <HH.HH.HH.HH.HH.HH> MAC address Guidelines MAC addresses range from 00.d0.d0.f0.00.00 to 00.d0.d0.ff.ff.ff. If the MAC address for a layer-3 port is not configured, the MAC address of the switch is used instead. If the MAC address for a layer-3 port is already configured, use this command to replace the original MAC address with a new one.
The following example adds a static route to the network 192.168.1.0/24 with the gateway of 192.168.1.3 and metric of 3: zte(cfg-router)#iproute 192.168.1.0/24 192.168.1.255 3 zte(cfg-router)#iproute 192.168.1.0 255.255.255.0 192.168.1.3 3 4.17.8 arp add Purposes This command adds a static ARP entry.
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <A.B.C.D> IP address <HH.HH.HH.HH.HH.HH> MAC address <0-63> Number of a layer-3 port Guidelines The IP address in the ARP entry must be within the IP subnet of the specified layer-3 port.
The aging time is 10 minutes. Example The following example sets the aging time of layer-3 port 1 to 100 minutes: zte(cfg-router)#arp ipport 1 timeout 100 4.17.11 arp gratuitous-send Purpose This command enables the free ARP function, and sets the period for sending free ARP packets.
ZXR10 5250 Series Command Reference Default The free ARP function is disabled. Guidelines After the free ARP function is enabled by this command, the device sends free ARP packets periodically to all layer-3 ports. If the device receives an ARP response, it indicates that there is a duplicate IP address on the corresponding layer-3 port.
The following example deletes all static routes: zte(cfg-router)#clear iproute The following example deletes the static route to the network 192.168.1.0/24 with the gateway of 192.168.1.12: zte(cfg-router)#clear iproute 192.168.1.0/24 192.168.1.12 4.17.14 clear ipport Purpose This command deletes configurations of a layer-3 port.
2. The following example shows invalid ARP entries: zte(cfg-router)#show arp invalid 3. The following example shows static ARP entries on layer-3 port 1: zte(cfg-router)#show arp ipport 1 static 4. The following example shows the ARP entries with the IP address of 192.168.1.167: zte(cfg-router)#show arp ipaddress 192.168.1.167 4.17.18 show ipport...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <0-63> Number of a layer-3 port. Guidelines This command without any port number shows the summary information of all layer-3 ports. This command with a port number shows the detailed information about the specified port.
Example zte(cfg-router)#show hardware-iproute Hardware-iproute is enabled. 4.18 IPv6 Layer 3 Configuration 4.18.1 set ipv6port vlan Purpose This command binds an IPv6 layer-3 port to a VLAN. Command Mode Layer-3 configuration mode 4-369 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax set ipv6port <0> vlan <1-4094> Parameter Description Parameter Description <0> Number of an IPv6 layer-3 port. The current value is 0. <1-4094> VLAN ID. 4.18.2 set ipv6port ipv6address Purpose This command sets the IPv6 address for an IPv6 layer-3 port and the prefix length of the address.
<ipv6Addr> IPv6 address of the next hop. Guidelines This command cannot be used for route forwarding on a route relay device but can be used for the default route function of a host. 4-371 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.18.5 clear ipv6port Purpose This command deletes configurations of an IPv6 layer-3 port. Command Mode Layer-3 configuration mode Syntax clear ipv6port <0>[ipv6address <ipv6Addr/M>] Parameter Description Parameter Description <0> Number of an IPv6 layer-3 port. The current value is 0.
Total: 1 4.18.9 show ipv6port nd Purpose This command shows neighbor information of an IPv6 device. The function of this command is the same as that of the show arp command in IPv4. 4-373 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show ipv6port <0> nd Parameter Description Parameter Description <0> Number of an IPv6 layer-3 port. The current value is 0. Examples The following example shows neighbor information of an IPv6 device:...
Enables the inspection. enable Disables the inspection. disable Default The inspection is disabled. Example The following example enables the validity inspection of the source IP address and destination IP address: zte(cfg)#set arp-inspection validate ip enable 4-375 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.19.2 set arp-inspection vlan enable/disable Purpose This command enables or disables the DAI function based on VLAN. Command Mode Global configuration mode Syntax set arp-inspection vlan <vlanlist>{enable | disable} Parameter Description Parameter Description <vlanlist> VLAN list.
This command sets trusted ports. Example The following example sets port 2 as an untrusted port: zte(cfg)#set arp-inspection port 2 untrust 4.19.4 set arp-inspection port limit Purpose This command sets the maximum number of ARP messages that a port processes in each second.
ZXR10 5250 Series Command Reference Default The number of ARP messages that a port processes in each second is not limited. Example The following example sets the maximum number of ARP messages that port 8 processes in each second to 20:...
VLAN 1 by default. If the server distributes vlanjump information, use the VLAN that is distributed by the server. If the vlanjump function is disabled and the server does not distribute vlanjump information, no jump occurs. 4-379 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The following example sets that the users of ports 1, 3, 5 and 7 can access VLAN 1000 after authentication is passed: zte(cfg)#set vlan 1000 enable zte(cfg)#set port 1,3,5,6 vlanjump enable defaultauthvlan 1000 4.20.2 dot1x re-authenticate enable/disable Purpose This command enables or disables the re-authentication function.
Interval (seconds) for re-authentication. Default The interval for re-authentication is 3600 seconds. Example The following example sets the interval for re-authentication to 7200 seconds: zte(cfg-nas)#dot1x re-authenticate period 7200 4.20.4 dot1x quiet-period Purpose This command sets authentication quiet time. Command Mode...
ZXR10 5250 Series Command Reference Example The following example sets the authentication quiet time to 120 seconds: zte(cfg-nas)#dot1x quiet-period 120 4.20.5 dot1x tx-period Purpose This command sets the waiting time before retransmitting an EAPOL data packet when the authentication system cannot receive a response from the client system.
Timeout duration (seconds) of the authentication server Default 30 seconds. 4.20.8 dot1x max-request Purpose This command sets the overtime retransmission times of challenge responses received by the authentication system from the client system. Command Mode NAS configuration mode 4-383 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax dot1x max-request <1-10> Parameter Description Parameter Description <1-10> Overtime retransmission times Default The default overtime retransmission times is 2. Example The following example sets the overtime retransmission times to 5: zte(cfg-nas)#dot1x max-request 5 4.20.9 dot1x add vlan mac...
Example The following example enables users to use the special MAC address 01.d0.d0.00.00.01 when the users are authenticated in VLAN 100: zte(cfg-nas)#dot1x add vlan 100 mac 01.d0.d0.00.00.01 4.20.10 dot1x delete vlan Purpose This command deletes the special destination MAC address used for authentication in the specified VLAN.
: 256 HistoryAccessClientsTotal : 0 OnlineClients: 0 HistoryFailureClientsTotal: 0 4.20.16 show client index Purpose This command shows the information about the specified access user. Command Mode All configuration modes Syntax show client index <0-255> 4-387 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <0-255> User number 4.20.17 show client mac Purpose This command shows the user information of the specified MAC address. Command Mode All configuration modes Syntax show client mac <HH.HH.HH.HH.HH.HH> Parameter Parameter Description <HH.HH.HH.HH.HH.HH>...
The 802.1x access authentication of ports is disabled. Example The following example enables the 802.1x access authentication of port 1: zte(cfg-nas)#aaa-control port 1 dot1x enable 4.20.20 aaa-control port port-mode Purpose This command sets the authentication control mode of the specified ports.
ZXR10 5250 Series Command Reference Parameter Description Enables the 802.1x access authentication. auto force-unauthorized Forced authentication is not passed. Forced authentication is passed. force-authorized Default auto is selected. 4.20.21 aaa-control port protocol Purpose This command sets the authentication mode of the specified ports.
The port accounting function is disabled. Example The following example enables the accounting function for ports 1, 3, and 5: zte(cfg-nas)#aaa-control port 1,3,5 accounting enable 4.20.23 aaa-control port multiple-hosts Purpose This command enables or disables multiuser access for the specified ports.
ZXR10 5250 Series Command Reference Example The following example enables multiuser access for ports 1, 3, and 5: zte(cfg-nas)#aaa-control port 1,3,5 multiple-hosts enable 4.20.24 aaa-control port max-hosts Purpose This command sets the maximum number of access users to the specified ports.
Abnormal offline detection on ports is disabled. Example The following example enables abnormal offline detection on ports 1, 3, and 5: zte(cfg-nas)#aaa-control port 1,3,5 keepalive enable 4.20.26 aaa-control port keepalive period Purpose This command sets the period of abnormal offline detection on the specified ports.
ZXR10 5250 Series Command Reference Default The period of abnormal offline detection on ports is 10 seconds. Example The following example sets the period of abnormal offline detection on ports 1, 3, and 5 to 3600 seconds: zte(cfg-nas)#aaa-control port 1,3,5 keepalive period 3600 4.20.27 aaa-control port keepalive antiproxy add/delete...
The port anti-deception function is disabled. Example The following example limits ports 1, 3, and 5 to modify IP addresses: zte(cfg-nas)#aaa-control port 1,3,5 keepalive antiproxy add ip-modified 4.20.28 aaa-control port keepalive antidhcp Purpose This command enables or disables the port anti-DHCP deception function.
ZXR10 5250 Series Command Reference Command Mode NAS configuration mode Syntax aaa-control port <portlist> keepalive client-ip {enable | disable} Parameter Description Parameter Description <portlist> Port list. enable Enables the function of getting users’ IP addresses. Disables the function of getting users’ IP addresses.
Deletes the specified ISP. disable Example The following example adds the ISP domain named as test: zte(cfg-nas)#radius isp test enable 4.20.32 radius isp add/delete accounting Purpose This command adds/deletes an accounting server to/from the specified ISP domain. Command Mode...
ZXR10 5250 Series Command Reference Syntax radius isp <ispname>{add | delete}accounting <A.B.C.D>[<0-65535>] Parameters Parameter Description <ispname> ISP name. Adds an accounting server. Deletes an accounting server. delete <A.B.C.D> IP address of the accounting server. <0-65535> UDP port of the accounting server.
Example The following example adds the authentication server with the IP address of 10.40.89.78 to the ISP domain named as test. The default port number is used. zte(cfg-nas)#radius isp test add authentication10.40.89.78 4.20.34 radius isp client Purpose This command sets the RADIUS client address.
ZXR10 5250 Series Command Reference Command Mode NAS configuration mode Syntax radius isp <ispname> sharedsecret <string> Parameter Description Parameter Description <ispname> ISP name <string> Shared password Guidelines The encryption algorithm applies the public key and challenge word to encrypt the user name and password.
The encrypted shared key is displayed in ciphertext in the show radius command output. Example The following example sets the encrypted shared key to radius-interactive for the ISP named test: zte(cfg-nas)#radius isp test sharedsecret-encrypt radius-interactive zte(cfg-nas)#show radius NAS name : ZXSWITCH-NAS...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <ispname> ISP name. Enables full account authentication. enable Disables full account authentication. disable Default Full account authentication is disabled. Example The following example enables full account authentication in the ISP domain named as...
4.20.40 radius nasname Purpose This command sets the Network Access Server (NAS) name. Command Mode NAS configuration mode Syntax radius nasname <nasname> Parameter Description Parameter Description <nasname> NAS name Default The NAS name is ZXSWITCH-NAS. 4-403 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.20.41 radius delimiter Purpose This command sets the ISP domain name delimiter. Command Mode NAS configuration mode Syntax radius delimiter <ispdelimiter> Parameter Parameter Description <ispdelimiter> Domain name delimiter Default The domain name delimiter is @.
Purpose This command sets the retransmission times of remote authentication requests. Command Mode NAS configuration mode Syntax radius retransmit <1-255> Parameter Parameter Description <1-255> Retransmission times Default The default retransmission times is 3. 4-405 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.20.45 radius vendor-id Purpose This command sets the vendor ID of the NAS device. Command Mode NAS configuration mode Syntax radius vendor-id <3902,10008> Parameter Parameter Description <3902,10008> Vendor ID Default By default, the vendor ID is 3902.
Deletes customer ports. disable Example The following example configures ports 1, 2, 3, and 4 as customer ports: zte(cfg)#set vlan qinq customer port 1-4 enable 4.21.2 set vlan qinq uplink port Purpose This command adds/deletes the uplink ports of QinQ.
<0xHHHH> egress-tpid value Example The following example sets the egress-tpid of template 7 to 0x8910: zte(cfg)#set vlan egress-tpid sesion 1 tpid-value 0x8910 4.21.4 set vlan ingress-tpid session Purpose This command sets an ingress-tpid template. Command Mode Global configuration mode Syntax set vlan ingress-tpid session <1-7>...
Template to be bound Default The default ingress-tpid session of a port is 0. Example The following example sets the ingress-tpid session of port 7 to 1: zte(cfg)#set port 7 ingress-tpid sesion 1 4-411 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.21.7 show vlan egress-tpid Purpose This command shows the egress-tpid values of all templates. Command Mode Global configuration mode Syntax show vlan egress-tpid Example The following example shows the egress-tpid values of all templates: zte(cfg)#show vlan egress-tpid...
Customer port : 1,5 Uplink port 4.22 syslog Configuration 4.22.1 set syslog module Purpose This command enables or disables the syslog function based on module. Command Mode Global configuration mode 4-413 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax set syslog module {all | arp-inspection| commandlog|dhcp| radius | AAA}{enable | disable} Parameter Description Parameter Description Enables or disables the syslog function of all modules. By default, the function is disabled. Enables or disables the syslog function of the DAI modules. By arp-inspection default, the function is disabled.
Alarms whose level is higher than the selected level are filtered. Default The default configuration is level 7. Example The following example sets the level of syslog information to 7 (normal information): zte(cfg)#set syslog level informational 4.22.3 set syslog add server Purpose This command sets a syslog server. Command Mode...
ZXR10 5250 Series Command Reference Parameter Description <0-65535 > UDP port number, 514 by default. 4.22.4 set syslog delete server Purpose This command deletes a syslog server. Command Mode Global configuration mode Syntax set syslog delete server <1-5> Parameter Parameter Description <1-5>...
Syslog enabled modules: commandlog radius Syslog disabled modules: all-others Syslog server UDP port Name 192.168.1.1 server1 4.22.7 show pppoe-plus port Purpose This command shows port configuration information of PPPoE-PLUS. Command Mode All configuration mode 4-417 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Authentication ID, ranging from 1 to 255. <string> md5 authentication code, containing 1 to 16 characters. Example The following example sets the NTP authentication key to zte: zte(cfg)#set ntp add authentication-key 1 md5 zte 4-418 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Deletes the trusted authentication key. <1-255> Authentication ID, ranging from 1 to 255. Example The following example sets the trusted authentication key of the NTP to 1: zte(cfg)#set ntp add trusted-key 1 4-419 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.23.4 set ntp authenticate Purpose This command enables or disables the NTP authentication function. Command Mode Global configuration mode Syntax set ntp authenticate {enable | disable} Parameters Parameter Description Enables the NTP authentication function. enable Disables the NTP authentication function.
Authentication ID. Example The following example sets the IP address of the NTP server to 202.10.10.10 and the protocol version number to 2: zte(cfg)#set ntp server 202.10.10.10 version 2 4.23.6 set ntp second-server Purpose Configure the NTP second-server. Command Mode...
ZXR10 5250 Series Command Reference 4.23.7 set ntp source Purpose This command sets the source IP address used when the switch transmits NTP data packets. Command Mode Global configuration mode Syntax set ntp source <A.B.C.D> Parameter Description Parameter Description <A.B.C.D>...
This command enables or disables the NTP function. Command Mode Global configuration mode Syntax set ntp {enable | disable} Parameters Parameter Description enable Enables the NTP function. disable Disables the NTP function. Default The NTP function is disabled. 4-423 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.23.11 set ntp src-udp-port Purpose This command sets the ID of the source UDP port of NTP packets. Command Mode Global configuration mode Syntax set ntp src-udp-port {123 | 1000} Parameter Description Parameter Description The ID of the source UDP port of the sent NTP packets is 123.
<portlist> Port list. trunk <trunklist> Trunk list. Guidelines When enabling the General VLAN Registration Protocol (GVRP) on ports/trunks, specify VLANs that permit dynamically adding ports/trunks. Default All VLANs permit dynamically adding ports/trunks. 4-425 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example configures VLANs 2 and 4 to permit dynamically adding ports 2 and 4, and configures VLANs 3 and 5 to forbid dynamically adding ports 3 and 5: zte(cfg)#set vlan 2,4 permit port 2,4...
Leaveall timer. When the timer timeout, the garp protocol sends leaveall packets. The default value is 10000 milliseconds, and the leaveall range is 6000 to 300000 milliseconds. <timer_value> Timeout duration (milliseconds) of each timer. 4-427 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines The modification of timer configurations may cause abnormal operation to the Generic Attribute Registration Protocol (GARP). Use caution. 4.24.4 show garp Purpose This command shows the GARP configuration. Command Mode All configuration modes Syntax...
The set vlan permit/forbid command can be run to specify VLANs that can dynamically add/delete ports/trunks. Default The GVRP is disabled on ports/trunks. 4.24.7 set gvrp port/trunk registration Purpose This command sets the registration type of ports/trunks in the GVRP. Command Mode Global configuration mode 4-429 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax set gvrp {port <portlist>| trunk <trunklist>} registration {normal | fixed | forbidden} Parameter Description Parameter Description port <portlist> Port list. trunk <trunklist> Trunk list. The ports/trunks can be added to dynamic VLANs. normal The port/trunk does not send GVRP packets, but can receive GVRP packets.
This command enables or disables the DHCP snooping function for the specified ports/trunks. Command Mode Global configuration mode Syntax set dhcp snooping {add | delete}{port <portlist>| trunk <trunklist>} Parameters Parameter Description Enables the DHCP snooping function. Disables the DHCP snooping function. delete 4-431 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description port <portlist> Port list. Trunk list. Only the trunks with the server attribute can be enabled trunk <trunklist> with the snooping function. Guidelines To make the snooping function effective on the specified ports/trunks, globally enable the snooping function and then enable the snooping function on the specified ports/trunks.
Example The following example configures trunk 1 as the port connecting to the DHCP server: zte(cfg)#set dhcp trunk 1 server 4.25.5 set dhcp ip-source-guard add/delete Purpose This command enables or disables the ip-source-guard function for ports.
The following example adds the static user information binding entry with the MAC address of 00.d0.d0.00.00.01, IP address of 192.168.0.1, VLAN ID of 1, and port number of 10: zte(cfg)#set dhcp snooping bind-entry mac 00.d0.d0.00.00.01 ip 192.168.0.1 vlan 1 port 10 4.25.7 set dhcp snooping bind-entry mode...
ZXR10 5250 Series Command Reference Parameter Description When ports are down, the dynamic ip-source-guard entries are hold not deleted until the aging time is up. When the aging time is up or ports are down, the dynamic drop ip-source-guard entries are deleted immediately.
Guidelines The device identification information can be used to locate the specified switch in the user positioning procedure. Example The following example sets option82 ani to zte-test: zte(cfg)#set dhcp option82 sub-option device ani zte-test 4.25.10 set dhcp option82 sub-option Purpose This command sets the sub option of DHCP option82.
ZXR10 5250 Series Command Reference Parameters Parameter Description Port number. Different devices have different port number ranges. <1-28> In the syntax, the 5250-28TC device is used as an example. circuit-ID Adds a circuit-ID sub option. Enables the sub option. Disables the sub option.
{mac <HH.HH.HH.HH.HH.HH>| port <1-28>| all} Parameters Parameter Description <HH.HH.HH.HH.HH.HH> Deletes snooping binding entries by MAC address. port <1-28> Deletes all snooping binding entries of the specified port. Deletes all snooping binding entries. 4-439 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines Dynamic and static entries are not distinguished during the deletion. 4.25.13 clear dhcp option82 sub-option device ani Purpose This command clears device identification information. Command Mode Global configuration mode Syntax clear dhcp option82 sub-option device ani 4.25.14 show dhcp...
Client DHCP snooping disabled vlan: none 4.25.16 show dhcp snooping binding Purpose This command shows the entry information of DHCP snooping. Command Mode All configuration modes Syntax show dhcp snooping binding [port <1-28>] 4-441 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description port <1-28> Number of the port whose snooping entries are to be queried Guidelines This command without a port number shows all DHCP snooping entries. Example The following example shows all DHCP snooping entries:...
The following example shows the configuration of DHCP option82 on port 1/1 and 1/2: ztepm(cfg)#show dhcp option82 port 1/1-2 Port 1/1: DHCP option82 sub-option information on port 1/1: Circuit-ID : Enabled Format: Manual Value : 123456789012345678901234567890123456789012345678901234567890123456789 0123456789012345678901234567890123456789012345678901 4-443 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Remote-ID : Enabled Format: Manual Value : 123456789012345678901234567890123456789012345678901234567890123456789 01234567890123456789012345678901234567890123456789012345678 Subscriber-ID: Disabled Reserve : Disabled Option82 mode: Default Port 1/2: DHCP option82 is disabled on port 1/2. 4.25.20 show dhcp option82 device Purpose This command shows device information, including ANI and remote-ID.
Default The DHCP server does not take a broadcast procedure when replying to a packet. 4.25.23 show dhcp client Purpose This command shows the configuration of the DHCP client. 4-445 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax show dhcp client Example The following example shows the configuration of the DHCP client: zte(cfg)#show dhcp client DHCP client is enabled. DHCP client broadcast-flag is disabled. 4.25.24 set ipport ipaddress dhcp Purpose This command gets the IP address of a layer-3 port through DHCP.
Configures the host name of the client. <0-365><0-23><0-59> IP address renting duration: day, hour, minute. IP address renting duration is unlimited. infinite Guidelines To avoid characters that cannot be entered, class-id in hex is provided. 4-447 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.25.27 set ipport dhcp client request Purpose This command sets the information type distributed by the server when a DHCP client interacts with the server. Command Mode Layer-3 configuration mode Syntax set ipport <0-63> dhcp client request {dns-server | domain-name | route | static-route | tftp-s...
This command enables the DHCP relay function for an IP port. Command Mode Global configuration mode Syntax set dhcp relay global-ipport <0-63>{enable|disable} Parameter Description Parameter Description <0-63> Layer 3 interface number. Enables the DHCP relay function. enable 4-449 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Command Mode Global configuration mode Syntax set dhcp snooping bind-entry database recovery{ disable | enable } Parameter Description Parameter Description Disables the function of reading data from dhcpbase.dat after disable the device is started. 4-451 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Enables the function of reading data from dhcpbase.dat after enable the device is started. 4.25.35 set dhcp snooping bind-entry database time-write Purpose This command writes the DHCP binding table into the Flash memory at scheduled time.
This command shows the configuration related to the DHCP database. Command Mode Global configuration mode Syntax show dhcp snooping database Example zte(cfg)#show dhcp snooping database DHCP snooping database recovery: enable DHCP snooping database timer enable 5000 4.25.38 set dhcp special udp-light-check enable/disable Purpose This command globally enables or disables the DHCP UDP checking function.
ZXR10 5250 Series Command Reference 4.25.39 set dhcp snooping vlan enable/disable Purpose This command globally enables or disables the DHCP snooping function for the specified VLANs. Command Mode Global configuration mode Syntax set dhcp snooping vlan <vlanlist>{ disable | enable }...
By default, the quota is not limited. Example The following example sets the quota of the binding table supported by DHCP snooping to 100 in VLAN 1: zte(cfg)# set dhcp snooping vlan 1 quota 100 zte(cfg)#show dhcp snooping quota DHCP snooping global quota no limit...
ZXR10 5250 Series Command Reference 4.25.42 set dhcp snooping port quota Purpose This command sets the quota of the binding table supported by DHCP snooping based on a port. Command Mode Global configuration mode Syntax set dhcp snooping port <portlist> quota <0-8191>...
Parameter Description Parameter Description – <1 Quota of the binding table 8191> Example The following example displays the configurations related to a DHCP quota: zte(cfg)#show dhcp snooping quota DHCP snooping global quota no limit Quota VlanId PortId ----- ------ ------ 1094 4.26 DHCPv6 Configuration...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set dhcpv6 snooping {enable | disable} Parameter Description Parameter Description enable Enables the DHCPv6 snooping function. Disables the DHCPv6 snooping function. disable Guidelines Before enabling the snooping function on a port, globally enable the DHCPv6 snooping function.
Default The DHCPv6 snooping function is disabled. Examples The following example enables the DHCPv6 Snooping function on port 10: zte(cfg)#set dhcpv6 snooping add port 1 DHCP v6 snooping is disabled (0x40000927) zte(cfg)#set dhcpv6 sn zte(cfg)#set dhcpv6 snooping en zte(cfg)#set dhcpv6 snooping add port 1 4.26.3 set dhcpv6 port server/cascade/client...
ZXR10 5250 Series Command Reference 4.26.4 set dhcpv6 ip-source-guard add/delete Purpose This command enables or disables the ip-source-guard function for ports. Command Mode Global configuration mode Syntax set dhcpv6 ip-source-guard {{add | delete} port <portlist>| quota <0-400>} Parameter Description Parameter Description Enables this function.
Command Mode Global configuration mode Syntax set dhcpv6 option18 {add | delete} port <portlist> Parameter Description Parameter Description Enables the DHCPv6 option18 function. Disables the DHCPv6 option18 function. delete port <portlist> Port list. 4-461 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The DHCPv6 option82 function is disabled. 4.26.10 set dhcpv6 option82 add/delete Purpose This command enables or disables the DHCPv6 option82 function for the specified ports. Command Mode Global configuration mode Syntax set dhcpv6 option82{add | delete} port <portlist> 4-463 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Guidelines The device identification information can be used to locate the specified switch in the user positioning procedure. Examples The following example configures the option82 ani to zte-lsj: zte(cfg)#set dhcpv6 option82 ani zte-lsj 4.26.12 set dhcpv6 option82 sub-option Purpose This command sets a sub-option of option82.
Syntax clear dhcpv6 snp-bind-entry {mac <HH.HH.HH.HH.HH.HH>| port <1-28>| all} Parameters Parameter Description <HH.HH.HH.HH.HH.HH> Deletes ip-source-guard entries by MAC address. port <1-28> Deletes all ip-source-guard entries of the specified port. Deletes all ip-source-guard entries. 4-465 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.26.14 clear dhcpv6 option82 ani Purpose This command clears device identification information. Command Mode Global configuration mode Syntax clear dhcpv6 option82 ani 4.26.15 show dhcpv6 Purpose This command shows the configurations of DHCPv6 snooping and option.
This command shows the entry information of DHCPv6 snooping. Command Mode All configuration modes Syntax show dhcpv6 snooping [port <1-28>] Parameter Description Parameter Description port <1-28> Number of the port whose snooping entries are to be queried 4-467 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines This command without a port number shows all DHCPv6 snooping entries. Example The following example shows all the DHCPv6 snooping entries: zte(cfg)#show dhcpv6 snooping binding DHCP v6 snooping binding table: used = 0, capacity = 2048 DHCP v6 snooping binding table is empty.
<portlist> One port number, or multiple port numbers Example The following example shows the configuration of DHCPv6 option82 on port 1/1 and 1/2: zte (cfg)#show dhcpv6 option82 port 1/1-2 Port 1/1: DHCP v6 option82 sub-option information on port 1/1: Circuit-ID...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show dhcpv6 option82 ani Example The following example shows the identification information of the current device: zte(cfg)#show dhcpv6 option82 ani AccessNodeIdentifier: lsj 4.26.22 show dhcpv6 option18 Purpose This command shows the configuration of DHCPv6 option18.
Disables the specified ports as trusted ports. disable Default Ports are disabled as VBAS trusted ports. Example The following example enables port 8 as a VBAS trusted port: zte(cfg)#set vbas trust-port 8 enable 4-471 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.27.2 set vbas cascade-port enable/disable Purpose This command enables or disables the specified ports as VBAS cascade ports. Command Mode Global configuration mode Syntax set vbas cascade-port <portlist>{enable | disable} Parameters Parameter Description Port list.
ZXR10 5250 Series Command Reference Parameters Parameter Description enable Enables the PPPoE+ function. Disables the PPPoE+ function. disable Example The following example enables the PPPoE+ function: zte(cfg)#set pppoe-plus enable 4.28.2 set pppoe-plus tag-format Purpose This command sets the format of PPPoE+ location information.
Rid character string which contains a maximum of 63 characters. <string> Example The following example sets the rid character string of port 2 to port 2: zte(cfg)#set pppoe-plus rid 2 port2 4.28.4 show pppoe-plus port Purpose This command shows port configuration information of PPPoE-PLUS.
ZXR10 5250 Series Command Reference zte(cfg)#show pppoe-plus port 1/2 PPPoE Vendor-Specific Tag format on port 1/1:China-Telecom PPPoE-PLUS option mode information on port 1/1: Dorp PPPoE VST remote ID on port 1/1: ztezte 4.28.5 show pppoe-plus Purpose This command shows the PPPoE+ global configuration.
Chapter 4 Service Configuration zte(cfg)#show pppoe-plus port 2 PPPoE VST remote ID on port 2: port2 4.28.7 set pppoe-plus mode port Purpose This command sets the mode of handling dynamic user information on a port. Command Mode Global configuration mode Syntax set pppoe-plus mode port <1-52>{default | drop | modify }...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set zesr ctrl-vlan <1-4094> protect-instance <1-16> Parameter Description Parameter Description <1-4094> Control VLAN ID in a ZESR domain, range: 1–4094. <1-16> Protection instance ID in a ZESR domain, range: 1–16.
The following example sets port 1/2 as the primary port and 1/4 as the secondary port on a master node in a ZESR control VLAN: zte(cfg)#set zesr ctrl-vlan 10 major-level role mas primary-port 1/2 secondary-port 1/4 4.29.4 set zesr ctrl-vlan level seg role master/transit Purpose This command sets a node in a segment.
The following example sets port 1/2 as a primary port and 1/4 as a secondary port on a node in a ZESR control VLAN: zte(cfg)#set zesr ctrl-vlan 10 level 1 seg 1 role mas primary-port 1/2 secondary-port 1/4 4.29.5 set zesr ctrl-vlan level seg role edge-assistant/edge-control Purpose This command sets a node in a segment.
Edge trunk ID, range: 1–15. Example The following example sets port 1/2 as an dge-control node in a ZESR control VLAN: zte(cfg)#set zesr ctrl-vlan 10 level 1 seg 1 role edge-control edge-port 1/2 4.29.6 set zesr ctrl-vlan major-level preforward Purpose This command sets the preforward time and preup time of a major-level ring.
The following example sets the preforward time to 11 and preup time to 1 for a node in level 1 segment 1 VLAN 1 in a ZESR control VLAN: zte(cfg)#set zesr ctrl-vlan 1 level 1 seg 1 preforward 11 preup 1 4.29.8 set zesr link-hello...
Time-out period of link-hello packets, default: 5. Example The following example sets the interval of sending link-hello packets on port 1/1: zte(cfg)#set zesr link-hello hello-interval 10 fail-times 5 4.29.10 set zesr protocol-mac Purpose This command sets the mode of destination MAC addresses in protocol packets.
ZXR10 5250 Series Command Reference Example The following example sets the mode of destination MAC addresses in protocol packets to special: zte(cfg)#set zesr protocol-mac special 4.29.11 set zesr restart-time Purpose This command sets the restart time. Command Mode Global configuration mode Syntax set zesr restart-time <...
Example The following example enables the TCN sending function in control VLAN 1 in a ZESR domain: zte(cfg)#set zesr ctrl-vlan 1 tcn-sending enable 4.29.13 set zesr tcn-sending Purpose This command enables or disables the TCN sending function for a port.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax show zesr brief Example zte(cfg)#show zesr brief ctrl-vlan: protect-instance: 10 tcn-sending: enable level role port port level-state switch-times major zess(M) 1/2(P) 1/1(S) 4.29.15 show zesr ctrl-vlan Purpose This command shows information about a ZESR domain.
SPVLAN. When reaching the user port, it will be changed to the corresponding CVLAN tag. 4.31.2 clear vlan mapping Purpose This command deletes all VLAN Mapping sessions. Command Mode Global configuration mode Syntax clear vlan mapping 4-489 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.31.3 clear vlan mapping session Purpose This command deletes the specified VLAN Mapping session. Command Mode Global configuration mode Syntax clear vlan mapping session <1-400> Parameter Description Parameter Description <1-400> VLAN Mapping session number 4.31.4 clear vlan mapping user Purpose This command deletes the user information of all VLAN Mapping sessions.
All configuration modes Syntax show vlan mapping session <1-400> Parameter Description Parameter Description <1-400> VLAN Mapping session number 4.31.8 show vlan mapping user-table Purpose This command shows the user information of all VLAN Mapping sessions. 4-491 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show vlan mapping user-table 4.31.9 show vlan mapping user-table session Purpose This command shows the user information of the specified VLAN Mapping session. Command Mode All configuration modes Syntax show vlan mapping user-table session <1-400>...
HH> mask <HH.HH.HH.HH.HH.HH> Mask. Example The following example creates a MAC drop rule: zte(cfg)# create protocol-protect mac-drop rule 1 src-mac 00.11.22.33.44.55 mask ff.ff.ff.ff.ff.ff 4.32.2 set protocol-protect alarm enable/disable Purpose This command enables or disables the port-based PP alarm function. Command Mode...
Example The following example sets the alarm threshold of the STP protocol protection on port 1 to 3000: zte(cfg)#set protocol-protect alarm port 1 stp 3000 4.32.4 set protocol-protect limit Purpose This command sets the rate limit value of the protocol packet sent to the CPU that PP allows per second.
UDLD, IPv4,CFM, and route. <0-800> Protocol rate limit value. Example The following example sets the rate limit of the ZESR protocol per second to 100: zte(cfg)#set protocol-protect limit zesr 100 4.32.5 set protocol-protect priority Purpose This command sets the PP priority. Command Mode...
ZXR10 5250 Series Command Reference 4.32.6 set protocol-protect mac-drop enable/disable Purpose This command enables or disables the MAC drop function. Command Mode Global configuration mode Syntax set protocol-protect mac-drop {disable|enable} Parameter Description Parameter Description enable Enables the MAC drop function.
Chapter 4 Service Configuration Example The following example binds rule 1 with port 2: zte(cfg)#set protocol-protect mac-drop rule 1 bind port 2 4.32.8 clear protocol-protect mac-drop counter Purpose This command clears the counter of packets dropped by the MAC drop function.
ZXR10 5250 Series Command Reference Example The following example clears rule 2 on port 1: zte(cfg)#clear protocol-protect mac-drop port 1 rule 2 4.32.10 clear protocol-protect mac-drop rule Purpose This command clears a MAC drop rule. Command Mode Global configuration mode Syntax clear protocol-protect mac-drop rule [<1-128>]...
Chapter 4 Service Configuration Example The following example shows the protocol protect statistics on port 1: zte(cfg)#show protocol-protect statistic port 1 Port 1 protocol protect alarm: Enable ProtocolName CurTotalRcvCnt Last30sRcvCnt 30s'Limit ------------------------------------------------------------- 10809 1200 lacp 1200 12332 1200 4.32.12 show protocol-protect limit Purpose This command shows information about the PP protocol rate limit value.
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show protocol-protect priority Example The following example shows the configuration of packet priorities: zte(cfg)#show protocol-protect priority protocol-type priority protocol-type priority -------------------------------+------------------------------- default lacp default default arp-request default arp-reply default 802.1x...
Chapter 4 Service Configuration zte(cfg)#show protocol-protect mac-drop port 1 4.32.15 show protocol-protect mac-drop rule Purpose This command shows a MAC drop rule. Command Mode Global configuration mode Syntax show protocol-protect mac-drop rule [<1-128>] Parameter Description Parameter Description <1-128> Rule index...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description Interval that neighbor discovery packets are sent. The unit is <5-32768> seconds. Default The interval that neighbor discovery packets are sent is 30 seconds. Example The following example sets the interval that LLDP neighbor discovery packets are sent to...
This command enables or disables all LLDP functions on the specified ports. Command Mode Global configuration mode Syntax lldp port <portlist>{enable | disable} Parameter Description Parameter Description <portlist> Port list. Enables the LLDP function. enable 4-503 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Disable the LLDP function. disable Example The following example disables all LLDP functions on port 1: zte(cfg)#lldp port 1 disable 4.33.5 lldp port txenable/txdisable Purpose This command enables or disables the LLDP sending function on the specified ports.
LLDP-MED TLVs must be disabled before the capabilities TLV is disabled. Example The following example enables the notification function of the LLDP-MED network policy on port 1: zte(cfg)#lldp port 1 med-tlv-select network-policy-tlv enable 4-505 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.33.8 lldp port max-neighbor Purpose This command sets the maximum number of neighbors that the specified ports can discover. Command Mode Global configuration mode Syntax lldp port <portlist> max-neighbor <1-8> Parameter Description Parameter Description <1-8>...
The following example clears LLDP global statistics information: zte(cfg)#clear lldp statistic 4.33.11 show lldp config Purpose This command shows LLDP configurations. Command Mode All configuration modes Syntax show lldp config port <portlist> Parameter Description Parameter Description <portlist> Port list 4-507 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example shows LLDP global configurations and configurations on port 1: zte(cfg)#show lldp config Global: Lldp hellotime : 30s Lldp holdtime : 120s Lldp maxneighbor: 31 Lldp curneighbor: 0 zte(cfg)#show lldp config port 1...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <portlist> Port list Example The following example shows LLDP statistics information: zte(cfg)#show lldp statistic Global counters: Packets input : 15 Neighbors add : 1 Packets output Neighbors del : 0 Packets error...
All valid VLANs can be snooped. Example The following example sets MLD snooping VLANs 1 to 10: zte(cfg)#set mld snooping add vlan 1-10 4.34.3 set mld snp add maxnum vlan Purpose This command sets the maximum number of multicast groups on the specified VLANs.
Example The following example adds the statistic multicast group ff1e::22 to VLAN 1 and adds ports 1 to 10 to the static group: zte(cfg)#set mld sn vlan 1 add group ff1e::11 port 1-10 4-512 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The following example deletes the static multicast group ff1e::22 from VLAN 1, and deletes ports 1 to 10 from the static group: zte(cfg)#set mld sn vlan 1 delete group ff1e::11 port 1-10 4.34.6 set mld snp vlan add/delete mrouter port Purpose This command adds/deletes an mrouter port to/from the specified VLAN.
Example The following example adds port 9 to VLAN 1 as an mrouter port: zte(cfg)#set mld sn vlan 1 add mrouter port 9 4.34.7 set mld snp host-time-out/mrouter-time-out Purpose This command sets the timeout duration of the mrouter/host port.
Chapter 4 Service Configuration zte(cfg)#set mld snooping mrouter-time-out 400 zte(cfg)#set mld snooping host-time-out 300 4.34.8 set mld snp query-interval Purpose This command sets the time interval that the switch sends query messages. Command Mode Global configuration mode Syntax set mld snooping query-interval <30-65535>...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1000-25000> Waiting time, in the unit of milliseconds. Guidelines When the switch receives query messages, it waits for a period and then sends report messages, which avoids instant attacks to the router due to the centralized replies.
The query function is disabled. Example The following example enables the query function on VLANs 1 to 10: zte(cfg)#set mld snooping query vlan 1-10 enable 4.34.12 set mld snp query version Purpose This command sets the MLD version of the query messages sent by the switch.
ZXR10 5250 Series Command Reference Parameter Description 1: sends version 1 query message. <1-2 > 2: sends version 2 query message. Defaults The query messages with version 2 are sent. 4.34.13 set mld snp fastleave enable/disable Purpose This command enables or disables the fastleave function.
Defaults By default, the filter function is disabled. 4.34.16 set mld filter add/delete query Purpose This command adds or deletes the filtering in the specified port and VLAN. Command Mode Global configuration mode 4-519 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
VLAN list. Example The following example shows how to add query packet filtering for port 1 and VLAN 1: zte(cfg)#set mld filter add query port 1 vlan 1 4.34.17 show mld snp Purpose This command shows the global configuration of MLD Snooping.
The show mld snooping vlan <1-4094>[ho st-source-filter] command is used to display host-based source filtering information. Example The following example shows the MLD snooping configurations and snooping results of VLAN 1: zte(cfg)#show mld sn vlan 1 MLD Snooping : enable Querier : disable...
Page 580
----- ---- --------------------------------------- ------- ---------- -------- ff1e::22 0:00:14:05 S:1-10 ff1e::11 0:00:04:52 S:9 The following example shows information based on group ffe::22 in VLAN 1: zte(cfg)#show mld sn vlan 1 group ff1e::22 Vlan ID Group Address : ff1e::22 Host Number : 10...
Page 581
Command Mode All configuration modes Syntax show mld snooping mr-port-info Example The following example shows multicast information of all ports: zte(cfg)#show mld snooping mr-port-info Index Vlan Port State Version RemainTime ----- ---- ---- ------- ------- ---------- Static 65535 4.34.20 show mld filter query Purpose This command displays the configuration of query packet filtering.
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show mld filter query Example The following example displays the configuration of query packet filtering: zte(cfg)#show mld filter query MLD Filter: enabled Index Interface VlanList ----- ----------- ---------------- port 1 4.34.21 show mld filter query vlan...
This command sets the period that loopdetect blocks the loop port. Command Mode Global configuration mode Syntax set loopdetect blockdelay <1-1080> Parameter Description Parameter Description <1-1080> Period (minutes) that loopdetect blocks the loop port. 4-525 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines All ports share a blockdelay. Default The default period that loopdetect blocks the loop port is 5 minutes. 4.35.3 set loopdetect port Purpose This command enables or disables loop detection on the specified ports.
Description <portlist> Port list. When a loop is detected on a port, block this port. enable When a loop is detected on a port, activate an alarm but not block disable this port. 4-527 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Guidelines The set loopdetect port detect command with enable is used to block a port when a loop is detected on the port. The set loopdetect port detect command with disable is used to activate an alarm but not block a port when a loop is detected on the port.
VLANs for aggregation ports. Each aggregation port can configure up to eight VLANs (except PVID). If detection on VLANs is enabled but detection on PVID is not enabled, this command can enable the detection on PVID at the same time. If user-defined VLAN IDs 4-529 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference are the same as PVID, this operation is ignored. The set loopdetect trunk vlan command with disable is used to disable loop detection on the specified VLANs for aggregation ports. Note that only detection on the user-defined VLAN IDs can be disabled. Detection on PVID cannot be disabled.
Down or Up. isStp: indicates whether the port participates in spanning tree calculation. isProtect: indicates whether the port protection function is enabled. isExtend: indicates whether the large-range loopback detection function is enabled. 4-531 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference loopVlanNum: indicates the number of VLANs suffering from loopback. loopType: Port indicates that the PVID of the VLAN is detected. VLAN indicates that the VLAN ID is detected. 4.35.12 show loopdetect port Purpose This command shows port information in loop detection.
[<trunklist>] Parameter Description Parameter Description <trunklist> Trunk port list Examples The following example shows the trunk detection status: zte(cfg)#show loopdetect trunk 1 TrunkId : 1 VlanId isLoop isBlock ------ ------ ------- For each trunk port, three parameters are displayed: VlanId: VLAN ID.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax udld port <portlist>{enable|disable} Parameter Description Parameter Description <portlist> Port list. enable Enables the UDLD protocol. Disables the UDLD protocol. disable Default The UDLD protocol is disabled on ports. 4.36.2 udld port mode Purpose This command sets the mode of the specified ports in the UDLD protocol.
ZXR10 5250 Series Command Reference Parameter Description Enables the UDLD automatic recovery function. enable disable Disables the UDLD automatic recovery function. Guidelines The automatic recovery function means whether links can be recovered automatically without the reset command when UDLD detects link problems and disables the faulty ports.
The period starts when UDLD Recovery begins to restore the port. If no UDLD packet is received before the timer expires, it is considered that the port is still in failure status. Default The forced UDLD monologue detection period is 30 seconds. 4-539 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example sets the forced UDLD monologue detection period to 60 seconds for ports 9 and 10: zte(cfg)#udld port 9-10 force-check timer 60 4.37 TACACS+ Configuration 4.37.1 tacacs-plus group enable/disable Purpose This command enables or disables a sever group.
<group-name> Parameter Description Parameter Description Name of the TACACS+ server group, containing 1 to 31 <group-name> characters. Guidelines The group must be enabled and have at least one member. 4-541 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.37.4 tacacs-plus loginauthor default group Purpose This command sets the default server group used for TACACS+ login authorization. Command Mode NAS configuration mode Syntax tacacs-plus loginauthor default group <group-name> Parameter Description Parameter Description Name of the TACACS+ server group, containing 1 to 31 <group-name>...
<group-name> Parameter Description Parameter Description Name of the TACACS+ server group, containing 1 to 31 <group-name> characters. Guidelines The group must be enabled and has at least one member. 4-543 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.37.8 tacacs-plus accounting update period Purpose This command sets the update period of TACACS+ accounting users. Command Mode NAS configuration mode Syntax tacacs-plus accounting update period <1-2147483647> Parameter Description Parameter Description <1-2147483647> Update period (minutes) of TACACS+ accounting users 4.37.9 clear tacacs-plus loginauthen default...
This command clears the default server group of TACACS+ user accounting. Command Mode NAS configuration mode Syntax clear tacacs-plus accounting exec default 4.37.14 clear tacacs-plus accounting update Purpose This command clears the update period of TACACS+ accounting users. 4-545 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode NAS configuration mode Syntax clear tacacs-plus accounting update 4.37.15 show tacacs-plus Purpose This command shows TACACS+ configurations. Command Mode All configuration modes Syntax show tacacs-plus Example The following example shows TACACS+ configurations: zte(cfg)#show tacacs-plus...
Implements on Tuesday. tuesday wednesday Implements on Wednesday. Implements on Thursday. thursday Implements on Friday. friday Implements on Saturday. saturday sunday Implements on Sunday. 4.38.2 set time-range absolute Purpose This command sets the absolute time-range. 4-547 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set time-range [<word>] absolute <hh:mm><yyyy-mm-dd>[to <hh:mm><yyyy-mm-dd>] Parameter Description Parameter Description Name of the time-range, which contains a maximum of 16 [<word>] characters. <hh:mm>(first) Starting time when operations are implemented.
Page 607
13:01 2004-12-10 to 13:02 2004-12-10 The following example display time-range t1. zte(cfg)#show time-range Name : t1 Config : enable Active : yes Type : absolute Range : 03:22 2004-07-01 Bound Items : sflow-egress(4), poe{1}, acl(1,3) 4-549 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.39 MAC BASED VLAN Configuration 4.39.1 mac based vlan rule Purpose This command sets a MAC-based-VLAN rule. Command Mode MAC based VLAN configuration mode Syntax rule <1-1024> mac-address <HH.HH.HH.HH.HH.HH> mac-mask <HH.HH.HH.HH.HH.H H> vlan <1-4094> Parameter Description...
4.39.4 show vlan mac based session Purpose This command shows all rules of a session or all sessions of a MAC-based VLAN. Command Mode All configuration modes Syntax show vlan mac-based session [<1-64>] 4-551 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.39.5 show vlan mac based session bind Purpose This command shows the binding of a session or all sessions of a MAC-based VLAN to ports. Command Mode All configuration modes Syntax show vlan mac-based session [<1-64>] bind 4.40 DHCP relay Configuration...
The remote-ID sub option is in cisco format. cisco The circuit-ID sub option is in key format. < string > Character string. manual The remote-ID sub option is in a customized format. < string > Character string. 4-553 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The device ID information can be used to locate a specific switch during user positioning process. Example The following example sets relay option82 ani to zte-test: zte(cfg)#set dhcp relay option82 sub-option device ani zte-test 4.40.4 set dhcp relay option82 sub-option Purpose This command sets the Relay option82 sub option.
"append". 4.40.6 set dhcp relay server mode Purpose This command sets the DHCP Relay mode by specifying whether the DHCP server is determined by ipport or vclass-id. Command Mode Global configuration mode 4-555 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax set dhcp relay server mode {ipport | vclass-id} Parameter Description Parameter Description The address of the DHCP server is obtained from the command ipport line ipport. The address of the DHCP server is obtained from the command vclass-id line vclass-id.
Deletes the server address of the vclass-id. server DHCP server address. A.B.C.D hex-numbers Deletes the vclass-id in hexadecimal number format. <hex-string> The vclass-id in hexadecimal number format. Guidelines The object to be deleted must exist. 4-557 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Chapter 4 Service Configuration Syntax show dhcp vclass-id Example The following example shows DHCP relay vclass-id configurations: zte(cfg)#show dhcp relay vclass-id Index Vclass_ID IpAddress ----- -------------------------------------------------- --------------- ztelsj 1.1.1.1 4.40.13 show dhcp relay binding Purpose This command shows DHCP relay binding table information.
ZXR10 5250 Series Command Reference Syntax show dhcp relay option82 port<1-28> Parameter Description Parameter Description <1-28> Port number. Different devices have different port number ranges. In the syntax, the 5250-28TC device is used as an example. Example The following example shows DHCP option82 configurations on port 1:...
Example The following example sets DHCP relay information on port 3: zte(cfg-router)#set ipport 3 dhcp relay agent zte(cfg-router)#set ipport 3 dhcp relay server 168.1.23.18 4.40.17 set dhcp relay server ip Purpose This command sets a global DHCP Relay server IP address.
ZXR10 5250 Series Command Reference zte(cfg)#show dhcp relay DHCP relay status disable DHCP server mode ipport DHCP server retry DHCP relay option82: disable Global server IP 168.1.23.180 4.40.18 set dhcp relay vlan enable/disable Purpose This command enables or disables the DHCP relay function based on VLANs. If the DHCP function is enabled globally, the device provides the relay function when either this command or the relay agent command is used.
Syntax show dhcp relay vlan Example The following example displays the VLANs for which the DHCP relay function is enabled: zte(cfg)#show dhcp relay vlan DHCP relay enabled vlan: 10 4.40.21 set dhcp relay vlan Purpose This command enables or disables the DHCP relay function in a VLAN.
ZXR10 5250 Series Command Reference Example zte(cfg)#set dhcp relay vlan 2 enable zte(cfg)#show dhcp relay vlan DHCP relay enabled vlan: 2 4.40.22 set dhcp hop Purpose This command sets the hop limits of a DHCP relay. Command Mode Global configuration mode Syntax set dhcp hop <1-16>...
Sets ports as MFF network ports. network 4.41.2 set mff vlan delete port Purpose This command deletes the MFF attribute for ports and VLANs. Command Mode Global configuration mode Syntax set mff vlan <vlanlist> delete port <portlist> 4-565 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <vlanlist> VLAN list <portlist> Port list 4.41.3 set mff vlan gateway Purpose This command sets an MFF VLAN gateway. Command Mode Global configuration mode Syntax set mff vlan <vlanlist> gateway {ip|mac}<address>...
IP address or MAC address. 4.41.6 set mff gateway-arp-keepalive Purpose This command sets the MFF gateway ARP keep-alive function. Command Mode Global configuration mode Syntax set mff gateway-arp-keepalive add-port {<portlist>|all}{timeout <value>}{enable | disable} 4-567 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description Adds the specified ports to the sending ports of gateway ARP <portlist> keep-alive packets. Adds all ports to the sending ports of gateway ARP keep-alive packets. timeout <value> Interval of sending keep-alive packets.
ZXR10 5250 Series Command Reference 4.41.12 clear mff user Purpose This command deletes an MFF user entry. Command Mode Global configuration mode Syntax clear mff user ip <ip-addr> vlan <vlan-id> Parameter Description Parameter Description <ip-addr> IP address of the MFF entry to be deleted.
Shows information about the ports sending MFF gateway port keep-alive packets. 4.42 SLL Configuration 4.42.1 set ssl enable/disable Purpose This command enables or disables the SSL server function. Command Mode Global configuration mode 4-571 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax set ssl {enable | disable} Parameter Description Parameter Description Enables the SSL server function. enable Disables the SSL server function. disable Default The function is disabled by default. Guidelines The SSL server function and HTTP server function are mutually exclusive.
Chapter 4 Service Configuration Example The following example creates a CA certificate: zte(cfg)#config router zte(cfg-router)#set ipp 1 ip 192.168.100.140/24 zte(cfg-router)#set ipp 1 en zte(cfg-router)#ex zte(cfg)#create ca 192.168.100.140/24 CA FILE for IP "192.168.100.110 "has exsit. Enter [Yes] to create newone for IP you just type (other keys are [No]):y ca is creating ,please wait..
ZXR10 5250 Series Command Reference 4.43 DEBUG配 配 配 置 置 置 4.43.1 debug protocol dhcpv6 enable/disable Function This command enables or disables the debug function of the DHCPv6 module. Mode Global configuration Syntax debug protocol dhcpv6 {enable | disable}...
Enables the debug function of the DHCP Relay module. Disables the debug function of the DHCP Relay module. disable Defaults By default, the debug function of the DHCP Relay module is disabled. 4-575 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.43.5 debug protocol dhcp download Function This command shows the downloaded information of the DHCP. Mode Global configuration Syntax debug protocol dhcp download 4.43.6 debug protocol dhcp snooping-and-option82 enable/disable Function This command enables or disables the debug function of the DHCP snooping and option82.
{port <portid>| trunk<trunkid>} clear Parameters Parameter Description <portid> ID of the physical port whose statistical data needs to be deleted. <trunkid> ID of the trunk port whose statistical data needs to be deleted. 4-577 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 4.43.10 debug protocol dot1x enable/disable Function This command enables or disables the debug function of the dot1x module. Mode Global configuration Syntax debug protocol dot1x {enable | disable} Parameters Parameter Description enable Enables the debug function of the dot1x module.
<portid> Parameters Parameter Description <portid> ID of a layer 3 ip port. 4.43.14 debug protocol layer3 arp enable/disable Function This command enables or disables the debug function of ARP messages. Mode Global configuration 4-579 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Syntax debug protocol layer3 arp {enable | disable} Parameters Parameter Description Enables the debug function of ARP messages. enable Disables the debug function of ARP messages. disable Defaults By default, the debug function of ARP messages is disabled.
Only specific IP addresses can manage the switch. The filtering specific function is enabled. Guidelines any/specific is a global switch. When any is selected, the deny configuration based on protocols is not effective. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Default Any IP address can log in to the switch. Example The following example enables all IP addresses to manage the switch: zte(cfg)#set remote-access any 5.1.2 set remote-access ipaddress permit/deny Purpose This command sets whether the specified IP address or network segment can access the switch through SSH/SNMP/Telnet/Web.
The following example allows the IP address 192.168.0.1 to access the switch through SSH and denies the access through Telnet: zte(cfg)#set remote-access specific zte(cfg)#set remote-access ipaddress 192.168.0.1 255.255.255.0 zte(cfg)#set remote-access ipaddress 192.168.0.1 255.255.255.0 ssh permit zte(cfg)#set remote-access ipaddress 192.168.0.1 255.255.255.0 telnet deny 5.1.3 clear remote-access all Purpose This command deletes the configuration of all IP addresses.
ZXR10 5250 Series Command Reference Parameters Parameter Description <A.B.C.D> (first) IP address <A.B.C.D> (second) Mask 5.1.5 show remote-access Purpose This command shows the configuration of remote access. Command Mode All configuration modes Syntax show remote-access Example The following example shows the configuration of remote access:...
<mode> ingress-global-acl, egress-basic-acl, egress-extend-acl, egress-link-acl, egress-hybrid-acl, mac-based-vlan, and ingress-user-define-acl. Rule keyword. At least 1 keyword and up to 10 keywords can <key1-string>[...<key10-string> be configured. SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Other commands are grade-10 commands. Example The following example creates a rule of privilege grade 12: zte(cfg)# privilege 12 session 1 part cfg set 5.2.3 clear privilege Purpose This command clears a command privilege rule.
Parameter Description <0-15> Command grade <1-1024> Rule index Example The following example shows the configuration of rule 1: zte(cfg)#show privilege session 1 Session: 1 Level: 12 Type : part Mode: cfg Rule : set 5.3 SSH 5.3.1 set ssh enable/disable Purpose This command enables or disables the SSH function.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set ssh regenerate 5.3.3 show ssh Purpose This command shows the configuration and status of SSH. Command Mode All configuration modes Syntax show ssh Example The following example shows the configuration and status of SSH: zte(cfg)#show ssh SSH is enabled.
The SFTP function is disabled. 5.4 SNMP 5.4.1 set engineID Purpose This command sets the device SNMP engine ID. Command Mode SNMP configuration mode Syntax set engineID <string> Parameter Description Parameter Description Engine ID (octet string) <string> SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 5.4.2 set recvpacket Purpose This command sets the number of SNMP messages that the SNMP protocol stack can process in a second. Command Mode SNMP configuration mode Syntax set recvpacket <0-100> Parameter Description Parameter Description Number of SNMP messages that the SNMP protocol stack can <0-100>...
<1-99> ID of the ingress ACL basic group bound with the community. Example The following example creates a community named as Beijing and sets the attribute to read/write: zte(cfg-snmp)#create community beijing private 5-11 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Chapter 5 Management Configuration Example The following example sets the ACL rule ID bound with the community named as beijing to 12: zte(cfg-snmp)#set community beijing ingress-acl-basic-number 12 5.4.7 clear community acl-rule-id Purpose This command deletes the ACL rule ID of the specified community.
ZXR10 5250 Series Command Reference Parameter Description View name view<string> Example The following example configures that the view named as bjView contains the community named as beijing: zte(cfg-snmp)#set community beijing view bjView 5.4.9 set mib1493compatible enable/disable Purpose This command enables or disables the 1493 compatible mode.
Example The following example sets the IP address, version, and community name of a trap host to 10.40.44.167, V2c, and beijing: zte(cfg-snmp)#set host 10.40.44.167 trap v2c beijing 5.4.11 set host inform Purpose This command sets the IP address, community name/user name, version, and security level for the inform host.
ZXR10 5250 Series Command Reference zte(cfg-snmp)#set host 10.40.44.167 inform v3 uname auth 5.4.12 set trap enable/disable Purpose This command enables or disables the trap functions such as link up/down, authentication failure, coldstart/warmstart, cluster topology changing, cluster member up/down, and loopdetect.
Page 655
STP bridge role change. stpBridgeRoleChange STP port state change. stpPortStateChange Temperature alarm. temperature Topology change found by the ZTE Topology Protocol (ZTP). topologychange trunkloopdetect Trunk loopback detection. UDLD event, such as monologue, incorrect connection, and udldunidirectional neighbor aging. Warm start (restarting with the reboot command).
The following example set a group named as BN, and set the group’s security level to priv and the read, write and notify views to bjView: zte(cfg-snmp)#set group BN v3 priv read bjView write bjView notify bjView 5.4.14 set user v3 Purpose This command sets a user name, authentication mode, and password for SNMP V3.
<string> des56 encryption password Example The following example sets the user name to zte, group name to BN , authentication mode to md5–auth, and password to abc for SNMP V3: zte(cfg-snmp)#set user zte BN v3 md5-auth abc 5.4.15 set trap macnotification enable/disable...
Example The following example enables the function of sending a trap notification if the MAC address is changed on ports 3, 5, and 8: zte (cfg-snmp)#set trap macnotification port 3,5,8 enable 5.4.16 set trap macnotification history-size/interval Purpose This command sets the maximum number of entries in the MAC notification history table and the threshold of the interval that MAC change notification traps are sent.
Example The following example shows enable the MAC move trap function for ports 1 and 5: zte (cfg-snmp)#set trap macStationmove port 1,5 enable 5.4.18 set trap macStationmove history-sizeinterval Purpose This command sets the threshold and interval of sending MAC move traps.
ZXR10 5250 Series Command Reference Syntax set trap macStationmove {history-size<1-256>| interval<1-3600>} Parameter Description Parameter Description Threshold of sending MAC move traps, range: 1–256. On a port or trunk for which the MAC move trap function is enabled, when history-size<1-256> the number of changed MAC addresses reaches the threshold, a trap is sent.
Syntax clear community <string> Parameter Description Parameter Description Community name <string> Example The following example deletes a community named as zte: zte(cfg-snmp)#clear community zte 5.4.21 clear view Purpose This command deletes a view. Command Mode SNMP configuration mode 5-23 SJ-20131111172707-003|2013-11-27 (R1.0)
ZXR10 5250 Series Command Reference Syntax clear view <string> Parameter Description Parameter Description <string> View name Guidelines zteView is the default view, which cannot be deleted. Example The following example deletes a view named as bjView: zte(cfg-snmp)#clear view bjView 5.4.22 clear group v3 Purpose This command deletes a group.
Parameter Description <string> User name Example The following example deletes a user named as text: zte(cfg-snmp)#clear user text v3 5.4.24 clear engineID Purpose This command clears the SNMP engine ID and restores the default value. Command Mode SNMP configuration mode...
Page 664
ZXR10 5250 Series Command Reference Syntax show snmp Example The following example shows all the SNMP configurations: zte(cfg)#show snmp mib1493compatible is enabled. receive packet per second : 80 Snmp standard trap information: coldStartTrap : disabled warmStartTrap : disabled linkDownTrap : disabled...
Parameter Description Parameter Description Shows community configurations. community Shows the engine ID. engineID group Shows group configurations. Shows host configurations. host Shows trap configurations. trap Shows V3 user configurations. user Shows view configurations. view 5-27 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 666
ZXR10 5250 Series Command Reference Examples The following example shows the configuration of SNMP communities: zte(cfg)#show snmp community CommunityName Level ViewName ----------------- ------- ------------- --- beijing private The following example shows the configuration of the SNMP engine ID: zte(cfg)#show snmp engineid...
Page 667
AuthType : None StorageType: NonVolatile EncryptType: None RowStatus : Active The following example shows the configuration of view: zte(cfg-snmp)#show snmp view ViewName Exc/Inc MibFamily ------------ -------- --------- test Include 1.3.6.1 zteView Include 1.3.6.1 5-29 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
The following example sets the data source of the statistics group whose index is 10 to port 1: zte(cfg-snmp)#set statistics 10 datasource 1 The following example sets the data source of the statistics group whose index is 10 to tom:...
Page 670
The following example sets that the alarm group whose index is 10 triggers the alarm whose index is 100 when the amount of data increases to 30000: zte(cfg-snmp)#set alarm 10 threshold 30000 eventindex 100 rising The following example sets the owner of the alarm group whose index is 10 to user1: 5-32 SJ-20131111172707-003|2013-11-27 (R1.0)
Chapter 5 Management Configuration zte(cfg-snmp)#set alarm 10 owner user1 The following example sets the status of the alarm group whose index is 10 to invalid: zte(cfg-snmp)#set alarm 10 status invalid 5.5.4 set event Purpose This command sets an event group.
ZXR10 5250 Series Command Reference The following example sets the community name of the event group whose index is 10 to seu: zte(cfg-snmp)# set event 10 community seu The following example sets the owner name of the event group whose index is 10 to tom:...
Chapter 5 Management Configuration The following example sets the data source of the history group whose index is 10 to userx: zte(cfg-snmp)#set history 10 datasource userx The following example sets the buckerRequest of the history group whose index is 10 to...
ZXR10 5250 Series Command Reference Syntax show statistics [<1-65535>] Parameter Description Parameter Description Index of a statistics group <1-65535> Example The following example shows the RMON information of all statistics groups: zte(cfg-snmp)#show statistics StatsIndex: 1 DropEvents BroadcastPkts Octets MulticastPkts Pkts...
Index of an event group <1-65535> Example The following example shows the RMON information of all event groups: zte(cfg-snmp)#show event EventIndex Type : log-and-trap Status : valid Community : zte Owner : admin Description : eveng-index-1 5-37 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Disables the ZDP. disable Default The ZDP is enabled. Example The following example disables the ZDP on port 2: zte(cfg-group)#set zdp port 2 disable 5.6.3 set zdp timer Purpose This command sets the time interval for sending ZDP packets. 5-39 SJ-20131111172707-003|2013-11-27 (R1.0)
ZXR10 5250 Series Command Reference Command Mode Cluster management configuration mode Syntax set zdp timer <5-255> Parameter Description Parameter Description Time interval for sending ZDP packets. The unit is seconds. <5-255> Guidelines The time interval for sending ZDP packets must match ZDP holdtime. If not, discovery failure occurs.
Chapter 5 Management Configuration Example The following example sets ZDP holdtime to 100 seconds: zte(cfg-group)#set zdp holdtime 100 5.6.5 show zdp Purpose This command shows ZDP global configurations. Command Mode All configuration modes Syntax show zdp Example The following example shows ZDP global configurations:...
: V2.05.11B10 Version make date: May 23 2013 Version make time: 11:25:34 5.6.8 set ztp enable/disable Purpose This command enables or disables the ZTE Topology Protocol (ZTP). Command Mode Cluster management configuration mode Syntax set ztp {enable | disable} 5-42 SJ-20131111172707-003|2013-11-27 (R1.0)
Disables the ZTP. disable Default The ZTP is enabled. Example The following example disables the ZTP on port 2: zte(cfg-group)#set ztp port 2 disable 5.6.10 set ztp vlan Purpose This command specifies a VLAN to perform topology collection. 5-43 SJ-20131111172707-003|2013-11-27 (R1.0)
ZXR10 5250 Series Command Reference Command Mode Cluster management configuration mode Syntax set ztp vlan <1-4094> Parameter Description Parameter Description VLAN ID or VLAN name <1-4094> Default Topology collection is performed in VLAN 1. Example The following example specifies VLAN 100 to perform topology collection: zte(cfg-group)#set ztp vlan 100 5.6.11 set ztp hop...
The default interval is 0, meaning that automatic collection is disabled. Example The following example sets the interval of automatic topology collection to 2 minutes: zte(cfg-group)#set ztp timer 2 5.6.13 set ztp portdelay Purpose This command sets the delay time before ports forward ZTP packets.
ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-100> Delay time. The unit is milliseconds. Guidelines The coordination between portdelay and hopdelay can avoid the generation of a large amount of ZTP topology collection messages on the network. Default The default setting is 20 milliseconds.
ZTP port delay : 40 ms Enabled ZTP ports : 1-28 Enabled ZTP trunks : 1-15 5.6.17 show ztp device Purpose This command shows the devices collected by topology collection and the devices’ status. 5-47 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 686
ZXR10 5250 Series Command Reference Command Mode All configuration modes Syntax show ztp device [<idlist>] Parameter Description Parameter Description List of device IDs <idlist> Guidelines If the idlist parameter is not set, this command shows summary information of the collected devices, including device IDs.
This command shows the detailed device information by using the index of an MAC address collected by topology collection. Command Mode All configuration modes Syntax show ztp mac <HH.HH.HH.HH.HH.HH> Parameter Description Parameter Description MAC address collected by topology collection <HH.HH.HH.HH.HH.HH> 5-49 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Example The following example shows the detailed information of the device whose MAC address is 00.19.c6.32.f1.9c: zte(cfg-group)#show ztp mac 00.19.c6.32.f1.9c Device-Mac : 00.19.c6.32.f1.9c Device-Id Device-Hop : 2 Platform : ZXR10 5250-52TC Hostname : zte Version : ZTE ZXR10 5250-52TC Software.
Example The following example sets a commander switch, specifies the layer-3 port to ipport 63, and sets the IP address pool to 10.40.89.100/24: zte(cfg-group)#set group commander ipport 63 ip-pool 10.40.89.100/24 5.6.21 set group candidate Purpose This command sets the role of a switch as candidate.
ZXR10 5250 Series Command Reference 5.6.23 set group add Purpose This command adds a member machine. Command Mode Cluster management configuration mode Syntax set group add {mac <HH.HH.HH.HH.HH.HH>[<1-253>]| device <idlist>} Parameter Description Parameter Description Adds a member machine in accordance with the MAC address of a candidate.
Time interval (seconds) for member switches to perform <1-300> handshakes with the commander switch. Default The default setting is eight seconds. Example The following example sets the time interval to one second: Cmdr.zte(cfg-group)#set group handtime 1 5-53 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 5.6.26 set group holdtime Purpose This command sets the holding time of cluster information on member switches. Command Mode Cluster management configuration mode Syntax set group holdtime <1-300> Parameter Description Parameter Description Holding time (seconds) of cluster information on member switches.
The default address is 01.80.c2.00.00.09. Example The following example sets the protocol multicast address for cluster management to 01.80.c2.00.00.13: Cmdr.zte(cfg-group)#set group mac-mode extend mac 01.80.c2.00.00.13 5.6.29 set group syslogsvr Purpose This command sets the IP address of the cluster SYSLOG server.
ZXR10 5250 Series Command Reference Parameter Description Parameter Description IP address <A.B.C.D> Example The following example sets the IP address of the cluster SYSLOG server to 192.168.200.1: Cmdr.zte(cfg-group)#set group syslogsvr 192.168.200.1 5.6.30 set group tftpsvr Purpose This command sets the IP address of the cluster tftp server.
If not all candidate switches are displayed, run the ztp start command to manually trigger the topology discovery process. 5.6.33 show group member Purpose This command shows the information of all/specified member switches. Command Mode All configuration modes Syntax show group member [<1-253>] 5-57 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description Parameter Description ID of the specified member switch <1-253> Example The following example shows the information of all member switches: Cmdr.zte(cfg-group)#show group member MacAddress IpAddress HostName State --- ----------------- ------------------ ---------------- 00.11.22.33.44.55 192.168.1.2/24 Mem1.zte...
This command remotely logs in to a cluster device. Command Mode Global configuration mode Syntax rlogin {commander | member <1-253>} Parameter Description Parameter Description A member switch logs in to the commander. commander 5-59 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference Parameter Description The commander logs in to a member. <1-253> is the ID of the member <1-253> member. Example The following example makes a member switch log in to the commander: Mem1.zte(cfg)#rlogin commander Trying ...Open Connecting ...
The number of the UDP port used to send SFLOW sampling messages is 6343. Example The following example sets the IP address of the SFLOW agent to 10.40.89.50: zte(cfg)#set sflow agent-address 10.40.89.50 5.7.2 set sflow collector-address Purpose This command sets the SFLOW collector.
ZXR10 5250 Series Command Reference Syntax set sflow version <number> Parameter Description Parameter Description Format version of the SFLOW sampling message, including V4 <number> and V5. Guidelines Most network management software supports SFLOW V5 only. Use caution when configuring V4.
Guidelines The sampling is all. Example The following example configures to sample the forwarded messages only: zte(cfg)#set sflow ingress sample-mode forward 5.7.6 set sflow ingress/egress packet-sample off Purpose This command disables the SFLOW sampling function on ports. Command Mode...
The SFLOW sampling function is disabled on ports. Example The following example disables ingress sampling on ports 2 and 3: zte(cfg)#set sflow ingress port 2,3 packet-sample off 5.7.7 set sflow ingress/egress port packet-sample on time-range Purpose This command enables or disables SFLOW sampling on ports. If SFLOW sampling is enabled, configure the sampling period.
3 to 3000, and binds the sampling to the time-range named as abc: zte(cfg)#set sflow ingress port 2 packet-sample on frequency 2000 zte(cfg)#set sflow egress port 3 packet-sample on frequency 3000 time-range abc 5.7.8 clear sflow config Purpose This command clears SFLOW configurations of ports.
ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax clear sflow statistic 5.7.10 show sFlow Purpose This command shows SFLOW configurations. Command Mode All configuration modes Syntax show sflow Example The following example shows SFLOW configurations: zte(cfg)#show sflow Agent address :10.40.89.100...
This command shows Telnet configurations and status. Command Mode All configuration modes Syntax show telnet Example The following example shows Telnet configurations and status: zte(cfg)#show telnet Telnet server is enable Telnet server is listening on port 23 5-67 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
ZXR10 5250 Series Command Reference 5.8.3 set telnet listen-port Purpose This command sets a listening port for a telnet server. Command Mode Global configuration mode Syntax set telnet listen-port <port> Parameter Description Parameter Description <port> Listening port for a telnet server.
- Internet Protocol Version 6 LLDP - Link Layer Discovery Protocol - Media Access Control MSTP - Multiple Spanning Tree Protocol - Network Access Server - Network Time Protocol - power over Ethernet - Quality of Service SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
Page 708
ZXR10 5250 Series Command Reference RADIUS - Remote Authentication Dial In User Service RMON - Remote Monitoring RSTP - Rapid Spanning Tree Protocol - Service Management System - Spanning Tree Protocol TACACS+ - Terminal Access Controller Access-Control System Plus TFTP...
Need help?
Do you have a question about the ZXR10 5250 Series and is the answer not in the manual?
Questions and answers