Zte ZXR10 5250 Series Command Reference Manual

Zte ZXR10 5250 Series Command Reference Manual

Gigabit-port intelligent switch
Hide thumbs Also See for ZXR10 5250 Series:
Table of Contents

Advertisement

ZXR10 5250 Series
Gigabit-Port Intelligent Switch
Command Reference
Version: 2.05.11
ZTE CORPORATION
No. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Zte ZXR10 5250 Series

  • Page 1 ZXR10 5250 Series Gigabit-Port Intelligent Switch Command Reference Version: 2.05.11 ZTE CORPORATION No. 55, Hi-tech Road South, ShenZhen, P.R.China Postcode: 518057 Tel: +86-755-26771900 Fax: +86-755-26770801 URL: http://ensupport.zte.com.cn E-mail: support@zte.com.cn...
  • 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.
  • Page 3: Table Of Contents

    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 11 4.11.8 iptv channel name rename ..............4-159 4.11.9 iptv channel name/id-list cdr ..............4-159 4.11.10 iptv channel name/id-list viewfile-name/id ..........4-160 4.11.11 iptv sms-server ..................4-161 4.11.12 iptv sms-server-port ................4-161 4.11.13 iptv cdr enable/disable ...............4-162 4.11.14 iptv cdr report ..................4-162 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 12 4.11.44 clear iptv client...................4-182 4.11.45 show iptv control................4-182 4.11.46 show iptv channel ................4-183 4.11.47 show iptv channel-group..............4-185 4.11.48 show iptv package ................4-187 4.11.49 show iptv prv ..................4-188 4.11.50 show iptv view-profile .................4-189 4.11.51 show iptv cdr ..................4-191 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 13 4.12.27 clear stp instance port/trunk cost ............4-210 4.12.28 clear stp name................... 4-211 4.12.29 show stp ................... 4-211 4.12.30 show stp instance ................4-212 4.12.31 show stp port..................4-213 4.12.32 show stp trunk ...................4-213 4.13 ACL Configuration ..................4-214 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 14 4.13.31 ingress-acl hybrid rule type-any ............4-242 4.13.32 ingress-acl hybrid rule type-ipv6-ip-protocol.........4-243 4.13.33 ingress-acl hybrid rule type-ipv6-tcp............4-244 4.13.34 ingress-acl hybrid rule type-ipv6-udp...........4-245 4.13.35 ingress-acl hybrid rule type-ipv6-any ...........4-247 4.13.36 ingress-acl hybrid rule type-all ............4-248 4.13.37 clear ingress-acl hybrid ..............4-248 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 15 4.13.68 egress-acl hybrid rule type-ipv6-any............4-281 4.13.69 egress-acl hybrid rule type-ipv6-ip-protocol .........4-282 4.13.70 egress-acl hybrid rule type-ipv6-tcp.............4-283 4.13.71 egress-acl hybrid rule type-ipv6-udp ...........4-284 4.13.72 egress-acl hybrid rule type-tcp............4-286 4.13.73 egress-acl hybrid rule type-udp............4-287 4.13.74 clear egress-acl hybrid ...............4-289 XIII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 16 4.14.17 set qos traffic-limit ge-port data-rate ............4-314 4.14.18 set qos traffic-limit ge-port packet-rate..........4-315 4.14.19 set qos traffic-limit xge-port data-rate ..........4-316 4.14.20 set qos traffic-limit xge-port packet-rate ..........4-317 4.14.21 set qos traffic-limit port percent ............4-317 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 17 4.14.51 set policy redirect ................4-341 4.14.52 set policy statistics................4-341 4.14.53 set policy vlan-remark ................4-342 4.14.54 set policy harddrop ................4-343 4.14.55 clear policy remark ................4-343 4.14.56 clear policy policing................4-344 4.14.57 clear policy mirror ................4-344 4.14.58 clear policy statistics ................4-345 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 18 4.17.6 set ipport vlan..................4-360 4.17.7 iproute ....................4-361 4.17.8 arp add ....................4-361 4.17.9 arp delete ...................4-362 4.17.10 arp ipport timeout ................4-362 4.17.11 arp gratuitous-send ................4-363 4.17.12 clear arp ...................4-364 4.17.13 clear iproute ..................4-364 4.17.14 clear ipport ..................4-365 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 19 4.20.6 dot1x supplicant-timeout ..............4-382 4.20.7 dot1x server-timeout ................4-383 4.20.8 dot1x max-request................4-383 4.20.9 dot1x add vlan mac ................4-384 4.20.10 dot1x delete vlan ................4-385 4.20.11 clear client..................4-385 4.20.12 clear client index................4-385 4.20.13 clear client port/vlan................4-386 XVII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 20 4.20.42 radius keep-time................4-404 4.20.43 radius timeout ...................4-405 4.20.44 radius retransmit................4-405 4.20.45 radius vendor-id.................4-406 4.20.46 clear accounting-stop.................4-406 4.20.47 show radius..................4-407 4.20.48 show radius accounting-stop ..............4-408 4.21 QinQ Configuration ..................4-408 4.21.1 set vlan qinq customer port ..............4-408 XVIII SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 21 4.24.1 set vlan permit/forbid ................4-425 4.24.2 set garp enable/disable................4-426 4.24.3 set garp timer ..................4-427 4.24.4 show garp ...................4-428 4.24.5 set gvrp enable/disable ................4-428 4.24.6 set gvrp port/trunk enable/disable ............4-429 4.24.7 set gvrp port/trunk registration ..............4-429 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 22 4.25.31 clear ipport dhcp client class-id/client-id/hostname/lease ......4-450 4.25.32 clear ipport dhcp client request ............4-450 4.25.33 set dhcp snooping bind-entry database read ........4-451 4.25.34 set dhcp snooping bind-entry database recovery .........4-451 4.25.35 set dhcp snooping bind-entry database time-write........4-452 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 23 4.26.21 show dhcpv6 option82 ani ..............4-469 4.26.22 show dhcpv6 option18 ...............4-470 4.26.23 show dhcpv6 option37 ...............4-470 4.27 VBAS Configuration..................4-471 4.27.1 set vbas trust-port enable/disable ............4-471 4.27.2 set vbas cascade-port enable/disable ...........4-472 4.27.3 set vbas enable/disable ...............4-472 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 24 4.31 VLAN Mapping Configuration .................4-489 4.31.1 set vlan mapping session ..............4-489 4.31.2 clear vlan mapping ................4-489 4.31.3 clear vlan mapping session ..............4-490 4.31.4 clear vlan mapping user ...............4-490 4.31.5 clear vlan mapping user session............4-490 XXII 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 28 4.41.7 set mff gateway-user-keepalive ............4-568 4.41.8 clear mff gateway ................4-568 4.41.9 clear mff vlan gateway .................4-569 4.41.10 clear mff gateway arp-keepalive-port...........4-569 4.41.11 clear mff gateway user-keepalive-port ..........4-569 4.41.12 clear mff user ..................4-570 4.41.13 show mff user-table ................4-570 XXVI 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...
  • Page 33: About This Manual

    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...
  • Page 35: Chapter 1 Safety Instructions

    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...
  • Page 37: Chapter 2 Overview

    “>”, 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)
  • Page 38: Global Configuration Mode

    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.
  • Page 39: File System Configuration 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...
  • Page 40: Basic Ingress Acl Configuration Mode

    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...
  • Page 41: Global Ingress Acl Configuration Mode

    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.
  • Page 42: Hybrid Egress Acl Configuration Mode

    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...
  • Page 45: Chapter 3 File System Configuration

    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...
  • Page 46: Deleting A File Or Directory

    ZXR10 5250 Series Command Reference <DIR> <DIR> <DIR> <DIR> data <DIR> lost+found <DIR> 254,132,224 bytes free zte(cfg-tffs)#md temp Done ! zte(cfg-tffs)#ls <DIR> temp <DIR> <DIR> <DIR> data <DIR> lost+found <DIR> 254,132,224 bytes free 3.2 Deleting a File or Directory Purpose This command deletes a file or directory.
  • Page 47: Renaming A File Or Directory

    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...
  • Page 48: Displaying Sub Directories And Files

    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.
  • Page 49: Uploading Or Downloading A File Through Tftp

    <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.
  • Page 51: Uploading Or Downloading A File Through The Cluster Commander

    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...
  • Page 52: Uploading Or Downloading A File Through Ftp

    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...
  • Page 53: Copying A File

    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...
  • Page 54: Formatting The Flash Memory

    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:...
  • Page 55: Updating Bootrom

    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...
  • Page 56: Automatically Saving Configuration Files

    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}...
  • Page 57: Set Auto-Saveconfig Period

    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...
  • Page 58: Show Auto-Saveconfig

    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.
  • Page 59: Chapter 4 Service Configuration

    VBAS Configuration ....................4-471 PPPoE-PLUS Configuration ...................4-473 ZESR Configuration ....................4-477 SQinQ Configuration ....................4-486 VLAN Mapping Configuration .................4-489 PP Configuration ....................4-492 LLDP Configuration ....................4-501 MLD Configuration ....................4-510 Single-Port Loop Detection Configuration ...............4-525 UDLD Configuration ....................4-533 TACACS+ Configuration..................4-540 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 60: Management Configuration

    ZXR10 5250 Series Command Reference Time Range Configuration..................4-547 MAC BASED VLAN Configuration ................4-550 DHCP relay Configuration ..................4-552 MFF Configuration....................4-565 SLL Configuration ....................4-571 DEBUG配置 ....................4-574 4.1 Management Configuration 4.1.1 config group Purpose This command enters cluster management configuration mode. Command Mode...
  • Page 61: Config Tffs

    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...
  • Page 62: Enable

    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...
  • Page 63: Line-Vty Timeout

    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...
  • Page 64: Hostname

    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.
  • Page 65: Promptlen

    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...
  • Page 66: Reboot

    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>...
  • Page 67: Create User

    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...
  • Page 68: Set Loginauth

    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.
  • Page 69: Set Adminauth

    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.
  • Page 70: Set User Local Admin-Password

    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...
  • Page 71: Set User Radius Purview

    (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...
  • Page 72: Set User Tacacs-Plus Purview

    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...
  • Page 73: Set User Tacacs-Plus Admin-Password

    Chapter 4 Service Configuration zte(cfg)#set user tacacs-plus purview admin 4.1.26 set user tacacs-plus admin-password Purpose This command sets TACACS+ authentication users’ management password. Command Mode Global configuration mode Syntax set user tacacs-plus admin-password [<string>] Parameter Description Parameter Description <string> Management password...
  • Page 74: Cpu-Threshold

    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.
  • Page 75: Mem-Threshold

    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...
  • Page 76: Clear User

    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...
  • Page 77: Terminal Log

    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...
  • Page 78: Terminal Log Timer

    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.
  • Page 79: List Include

    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...
  • Page 80: Show Reset-Time

    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.
  • Page 81: Show Terminal

    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...
  • Page 82: Terminal Monitor Module

    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.
  • Page 83: Terminal Log Module

    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...
  • Page 84: Show Version

    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...
  • Page 85: Show Running-Config

    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...
  • Page 86: Show Date-Time

    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.
  • Page 87: Show Memory

    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...
  • Page 88: Show Power

    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...
  • Page 89: Set Bootpassword Clear

    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...
  • Page 90: Set Fan Mode Manual

    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.
  • Page 91: Show Etag

    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...
  • Page 92: Set Temperature-Alarm

    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).
  • Page 93: Show Summer-Time

    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...
  • Page 94: Config Mac-Based-Vlan

    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.
  • Page 95: Clear Running-Config

    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...
  • Page 96: Set Banner Filename

    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.
  • Page 97: Clear Banner

    <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.
  • Page 98: Command Log

    ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax clear login session <sessionlist> 4.1.78 command log Purpose This command enables or disables the log function. Command Mode Global configuration mode Syntax command log {on| off} Parameter Description Parameter Description Enables the log function.
  • Page 99: Command Log Timer

    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...
  • Page 100: Show Command Log Time-Range

    <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)
  • Page 101: Show Environment

    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...
  • Page 102: Check-File

    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...
  • Page 103: Port Configuration

    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...
  • Page 104: Set Port Work-Mode

    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 }]}...
  • Page 105: Set Port Duplex

    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...
  • Page 106: Set Port Speed

    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.
  • Page 107: Set Port Mdix

    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...
  • Page 108: Set Port Description

    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.
  • Page 109: Set Port Accept-Frame

    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...
  • Page 110: Set Port Pvid

    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.
  • Page 111: Set Sleep-Mode

    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...
  • Page 112: Create Port Name

    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.
  • Page 113: Show Port

    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...
  • Page 114: Show Port Statistics

    ZXR10 5250 Series Command Reference PortEnable : enabled MediaType : 1000BaseT Duplex : auto Speed : auto DefaultVlanId : 100 FlowControl : disabled Multicastfilter: default Security : disabled SpeedAdvertise : maxSpeed Mdix : auto AcceptFrame : all Jumbo : disabled...
  • Page 115: Show Port Brief

    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.
  • Page 116: Show Port Vlan

    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...
  • Page 117: Show Jumbo

    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...
  • Page 118: Show Cable-Diag

    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.
  • Page 119: Set Port Protect

    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.
  • Page 120: Set Cable-Diag

    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...
  • Page 121: Poe Configuration

    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)
  • Page 122: Set Poe Port Priority

    ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set poe port <portlist> pd-max-power {15.4 | 4.0 | 7.0 | ext.18 | ext.27 | ext.30} Parameter Description Parameter Description <portlist> Port list 15.4 | 4.0 | 7.0 Standard power in Watts ext.18 | ext.27 | ext.30...
  • Page 123: Set Poe Port Forcepower

    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.
  • Page 124: Set Poe Port Extend-Detection

    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.
  • Page 125: Set Poe Power Maxvalue

    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.
  • Page 126: Show Poe Device

    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.
  • Page 127: Show Poe Config

    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...
  • Page 128: Set Poe Port Mode

    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...
  • Page 129: Set Poe Port Power-Exceed

    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.
  • Page 130: Set Poe Port Recover

    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...
  • Page 131: Set Mirror Session Add Dest-Port

    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...
  • Page 132: Set Mirror Session Delete Source-Port

    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.
  • Page 133: Set Mirror Rspan-Tag Vlan-Id Priority

    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.
  • Page 134: Set Mirror Statistical Sample-Interval

    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>...
  • Page 135: Show Mirror

    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...
  • Page 136: Show Mirror Rspan

    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...
  • Page 137: Vlan Configuration

    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.
  • Page 138: Set Vlan Delete Port

    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.
  • Page 139: Set Vlan Add Trunk

    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.
  • Page 140: Set Port Protocol-Vlan Enable/Disable

    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...
  • Page 141: Set Vlan Protocol-Mapping Session-No

    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...
  • Page 142: Clear Vlan Name

    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...
  • Page 143: Show Vlan

    VlanType: 802.1q vlan VlanId VlanStatus: enabled VlanName: VlanMode: Static Tagged ports Untagged ports : 2-28 Untagged trunks : 1-15 Forbidden ports : 4.5.12 show vlan protocol-mapping Purpose This command shows protocol VLAN configurations. 4-85 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 144: Voice Vlan Configuration

    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.
  • Page 145: Set Vlan Voice-Vlan Oui

    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...
  • Page 146: Set Vlan Voice-Vlan Qos-Profile Disable

    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.
  • Page 147: Clear Vlan Voice-Vlan Port Oui

    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...
  • Page 148: Show Vlan Voice-Vlan

    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.
  • Page 149: Show Vlan Voice-Vlan Default-Oui

    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...
  • Page 150: Mac Table Operation

    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...
  • Page 151: Set Port Multicast-Filter

    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.
  • Page 152: Set Mac Add Static Port Vlan

    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.
  • Page 153: Set Mac Add Permanent Port 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...
  • Page 154: Set Mac Add Permanent Trunk Vlan

    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>...
  • Page 155: Set Mac Delete Mac-Address Vlan

    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...
  • Page 156: Set Mac Delete Dynamic

    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.
  • Page 157: Set Mac Delete Static

    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...
  • Page 158: Set Mac Filter

    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>...
  • Page 159: Set Mac Limit

    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.
  • Page 160: Set Mac Unknown-Filter

    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.
  • Page 161: Set Mac To Permanent

    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...
  • Page 162: Set Mac To Permanent Auto-Save-Time

    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.
  • Page 163: Set Mac To Static

    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...
  • Page 164: Set Mac Logging-Alarm Interval

    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.
  • Page 165: Set Mac Protect Port

    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...
  • Page 166: Show Mac

    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.
  • Page 167: Show Mac Running-Config

    {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...
  • Page 168: Show Mac Mix

    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.
  • Page 169: Show Mac Mac-Address

    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...
  • Page 170: Show Mac Aging-Time

    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.
  • Page 171: Show Mac Logging-Alarm

    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...
  • Page 172: Set Mac Learning Except Session Unbind

    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>...
  • Page 173: Set Mac Learning Except Bind

    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...
  • Page 174: Show Mac Learning Except Bind

    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.
  • Page 175: Set Mac Peak Time-Interval

    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...
  • Page 176: Show Mac Protect

    ZXR10 5250 Series Command Reference Index Number Cpuratio Time ------------------------------------------------------ 16384 14.0% Thu Jul 1 19:20:20 2004 16384 50.8% Thu Jul 1 00:18:39 2004 16384 15.4% Thu Jul 1 04:15:35 2004 16384 38.4% Thu Jul 1 02:41:01 2004 16384 47.5%...
  • Page 177: Aaa-Control Mac-Authentication Session

    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...
  • Page 178: Clear Mac-Authentication Session

    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...
  • Page 179: Clear Mac-Authentication Client Port/Vlan

    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...
  • Page 180: Show Aaa Mac-Authentication Client

    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.
  • Page 181: Set Lacp Enable/Disable

    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.
  • Page 182: Set Lacp Aggregator Mode

    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.
  • Page 183: Set Lacp Port Mode

    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...
  • Page 184: Set Lacp Priority

    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...
  • Page 185: Show Trunk

    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...
  • Page 186: Show Trunk Vlan

    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:...
  • Page 187: Show Lacp Aggregator

    Null Null Dynamic Null Null Dynamic Null Null Dynamic Null Null Dynamic Null Null Dynamic Null Null Dynamic 4.9.13 show lacp aggregator aggid Purpose This command shows detailed information about a LACP aggregator. 4-129 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 188: Show Lacp Port

    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 >...
  • Page 189: Clear Trunk

    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.
  • Page 190: Set Igmp Snooping Add/Delete Vlan

    ZXR10 5250 Series Command Reference Syntax set igmp snooping {enable | disable} Parameter Description Parameter Description enable Enables multicast snooping. disable Disables multicast snooping. Default Multicast snooping is disabled. Example The following example enables multicast snooping: zte(cfg)#set igmp snooping enable 4.10.2 set igmp snooping add/delete vlan...
  • Page 191: Set Igmp Snooping Add/Delete Maxnum Vlan/Port

    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.
  • Page 192: Set Igmp Snooping Multicast -Ring Enable/Disable

    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...
  • Page 193: Set Igmp Snooping Monitor-Ring Enable/Disable

    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.
  • Page 194: Set Igmp Snooping Vlan Add/Delete Group

    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.
  • Page 195: Set Igmp Snooping Private-Group

    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.
  • Page 196: Set Igmp Snooping Timeout Route/Host

    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...
  • Page 197: Set Igmp Snooping Query-Interval

    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.
  • Page 198: Set Igmp Snooping Last-Member-Query

    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.
  • Page 199: Set Igmp Snooping Query Vlan Enable/Disable

    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.
  • Page 200: Set Igmp Snooping Fastleave Enable/Disable

    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}...
  • Page 201: Set Igmp Snooping Proxy

    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.
  • Page 202: Set Igmp Filter Enable/Disable

    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.
  • Page 203: Set Igmp Filter Add/Delete Grouplist Mask Vlan

    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.
  • Page 204: Set Igmp Filter Add/Delete Sourceip Vlan

    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.
  • Page 206: Show Igmp Snooping Vlan

    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]]...
  • Page 207: Show Igmp Snooping Port

    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...
  • Page 208: Show Igmp Snooping V3 Port/Trunk

    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...
  • Page 209: Show Igmp Filterreport Vlan

    <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...
  • Page 210: Show Igmp Filter Query

    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:...
  • Page 211: Iptv Configuration

    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...
  • Page 213: Iptv Channel Mvlan Groupip Name

    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...
  • Page 214: Iptv Channel-Group Name Rename

    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...
  • Page 215: Iptv Channel-Groupname/Id-List Viewfile-Name/Id

    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.
  • Page 216: Iptv Channel Mvlan Groupip Count

    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...
  • Page 217: Iptv Channel Name Rename

    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...
  • Page 218: Iptv Channel Name/Id-List Viewfile-Name/Id

    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.
  • Page 219: Iptv Sms-Server

    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.
  • Page 220: Iptv Cdr Enable/Disable

    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.
  • Page 221: Iptv Cdr Create-Period

    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...
  • Page 222: Iptv Cdr Prv-Right

    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.
  • Page 223: Iptv Cdr Report-Threshold

    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.
  • Page 224: Iptv Cdr Max-Records

    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...
  • Page 225: Iptv Package Name

    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...
  • Page 226: Iptv Package Name Channel Name/Id-List

    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...
  • Page 227: Iptv Prv Reset

    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...
  • Page 228: Iptv Prv Recognition-Time

    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...
  • Page 229: Iptv Prv Overcount-Cdr

    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 <...
  • Page 230: Iptv View-Profile Name Count/Duration/Blackout

    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.
  • Page 231: Iptv Cac-Rule Enable/Disable

    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.
  • Page 232: Iptv Port Control-Mode

    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...
  • Page 233: Iptv Port Package

    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...
  • Page 234: Iptv Port Channel-Group

    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...
  • Page 235: Iptv Port Channel

    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.
  • Page 236: Iptv Port Mac-Base

    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.
  • Page 237: Clear Iptv Channel-Group

    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.
  • Page 238: Clear Iptv Package

    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.
  • Page 239: Clear Iptv Port 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...
  • Page 240: Clear Iptv Client

    ZXR10 5250 Series Command Reference 4.11.44 clear iptv client Purpose This command clears IPTV users. Command Mode NAS configuration mode Syntax clear iptv client [index <0-255>| mac <HH.HH.HH.HH.HH.HH>| port <portlist>[vlan <1-40 94>]] Parameters Parameter Description index <0-255> Deletes users by index.
  • Page 241: Show Iptv Channel

    [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...
  • Page 243: Show Iptv Channel-Group

    [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:...
  • Page 245: Show Iptv Package

    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...
  • Page 246: Show Iptv Prv

    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...
  • Page 247: Show Iptv View-Profile

    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:...
  • Page 249: Show Iptv Cdr

    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...
  • Page 250: Show Iptv Client

    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...
  • Page 252: Show Iptv Duplicate

    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...
  • Page 253: Set Stp Forceversion

    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.
  • Page 254: Set Stp Port Linktype

    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.
  • Page 255: Set Stp Port Pcheck

    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...
  • Page 256: Set Stp Port Bpdu-Guard

    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}...
  • Page 257: Set Stp Trunk 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...
  • Page 258: Set Stp Trunk Linktype

    ZXR10 5250 Series Command Reference 4.12.10 set stp trunk linktype Purpose This command sets the trunk connection type. Command Mode Global configuration mode Syntax set stp trunk <trunklist> linktype {point-point | shared} Parameter Description Parameter Description <trunklist> Trunk list. Sets the trunk connection type to point-to-point.
  • Page 259: Set Stp Edge-Port

    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.
  • Page 260: Set Stp Hellotime

    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.
  • Page 261: Set Stp Forwarddelay

    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...
  • Page 262: Set Stp Hopmax

    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.
  • Page 263: Set Stp Revision

    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>...
  • Page 264: Set Stp Instance Port/Trunk Priority

    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.
  • Page 265: Set Stp Instance Port/Trunk Cost

    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.
  • Page 266: Set Stp Instance Port/Trunk Root-Guard

    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}...
  • Page 267: Set Stp Instance Priority

    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.
  • Page 268: Clear Instance

    ZXR10 5250 Series Command Reference zte(cfg)#set stp instance 1 priority 4096 4.12.26 clear instance Purpose This command deletes an instance. Command Mode Global configuration mode Syntax clear stp instance <0-63> Parameter Description Parameter Description <0-63> Instance ID Guidelines Instance 0 can not be deleted.
  • Page 269: Clear Stp Name

    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...
  • Page 270: Show Stp Instance

    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...
  • Page 271: Show Stp Port

    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...
  • Page 272: Acl Configuration

    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...
  • Page 273: Set Port Acl Enable/Disable

    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.
  • Page 274: Set Acl Rule Time-Range Enable/Disable

    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.
  • Page 275: Create Acl Name

    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...
  • Page 276: Show Port Acl-Mode

    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.
  • Page 277: Clear Ingress-Acl Basic

    4.13.10 clear ingress-acl basic Purpose This command clears a basic ingress ACL instance. Command Mode Global configuration mode Syntax clear ingress-acl basic number <1-99> Parameter Description Parameter Description <1-99> Number of the basic ingress ACL instance 4-219 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 278: Config Ingress-Acl Extend

    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...
  • Page 279: Ingress-Acl Extend Rule Type-Icmp

    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.
  • Page 281: Ingress-Acl Extend Rule Type-Ip

    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...
  • Page 282: Ingress-Acl Extend Rule Type-Tcp

    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...
  • Page 283: Ingress-Acl Extend Rule Type-Udp

    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>...
  • Page 285: Ingress-Acl Extend Rule Type-Arp

    (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...
  • Page 286: Clear Ingress-Acl Extend

    ZXR10 5250 Series Command Reference 4.13.18 clear ingress-acl extend Purpose This command clears an extended ingress ACL instance. Command Mode Global configuration mode Command Mode clear ingress-acl extend number <100-199> Parameter Description Parameter Description <100-199> Number of the extended ingress ACL instance 4.13.19 config ingress-acl link...
  • Page 287: Ingress-Acl Link Rule Type-Arp

    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...
  • Page 288: Ingress-Acl Link Rule Type-Other

    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...
  • Page 290: Ingress-Acl Link Rule Type-Any

    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...
  • Page 291: Config Ingress-Acl Hybrid

    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.
  • Page 293: Ingress-Acl Hybrid Rule Type-Ip

    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...
  • Page 294: Ingress-Acl Hybrid Rule Type-Tcp

    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...
  • Page 296: Ingress-Acl Hybrid Rule Type-Udp

    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...
  • Page 298: Ingress-Acl Hybrid Rule Type-Arp

    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...
  • Page 300: Ingress-Acl Hybrid Rule Type-Any

    ZXR10 5250 Series Command Reference 4.13.31 ingress-acl hybrid rule type-any Purpose This command sets the rule that the hybrid ingress ACL matches non-IPv6 packet. Command Mode Hybrid ingress ACL configuration mode Syntax rule <1-500>{permit | deny} any {[ether-type <1501-65535>][cos <0-7>][<vlan-id>[<vlan-ma sk>]][<source-mac><smac-mask>| any][<dest-mac><dmac-mask>| any]}...
  • Page 301: Ingress-Acl Hybrid Rule Type-Ipv6-Ip-Protocol

    <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...
  • Page 302: Ingress-Acl Hybrid Rule Type-Ipv6-Tcp

    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.
  • Page 303: Ingress-Acl Hybrid Rule Type-Ipv6-Udp

    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.
  • Page 305: Ingress-Acl Hybrid Rule Type-Ipv6-Any

    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...
  • Page 306: Ingress-Acl Hybrid Rule Type-All

    ZXR10 5250 Series Command Reference 4.13.36 ingress-acl hybrid rule type-all Purpose This command sets the rule that the hybrid ingress ACL matches any packet. Command Mode Hybrid ingress ACL configuration mode Syntax rule <1-500>{permit | deny} all Parameter Description Parameter Description <1-500>...
  • Page 307: Config Ingress-Acl Global

    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>...
  • Page 309: Ingress-Acl Global Rule Type-Ip

    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...
  • Page 310: Ingress-Acl Global Rule Type-Tcp

    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...
  • Page 312: Ingress-Acl Global Rule Type-Udp

    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...
  • Page 314: Ingress-Acl Global Rule Type-Arp

    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...
  • Page 316: Ingress-Acl Global Rule Type-Any

    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.
  • Page 317: Config Egress-Acl Basic

    <400-499> Parameter Description Parameter Description <400-499> Number of the basic egress ACL instance 4.13.46 egress-acl basic rule Purpose This command sets the basic egress ACL rule. Command Mode Basic egress ACL configuration mode 4-259 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 318: Clear Egress-Acl Basic

    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>...
  • Page 319: Config Egress-Acl Extend

    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...
  • Page 320: Egress-Acl Extend Rule Type-Icmp

    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...
  • Page 322: Egress-Acl Extend Rule Type-Ip

    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]...
  • Page 323: Egress-Acl Extend Rule Type-Tcp

    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...
  • Page 324: Egress-Acl Extend Rule Type-Udp

    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...
  • Page 326: Egress-Acl Extend Rule Type-Arp

    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}...
  • Page 327: Clear Egress-Acl Extend

    <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...
  • Page 328: Egress-Acl Link Rule Type-Arp

    ZXR10 5250 Series Command Reference Command Mode Layer 2 egress ACL configuration mode Syntax rule <1-500>{permit | deny} ip {[cos <0-7>][<vlan-id>[<vlan-mask>]][<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 329: Egress-Acl Link Rule Type-Other

    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.
  • Page 331: Egress-Acl Link Rule Type-Any

    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...
  • Page 332: Clear Egress-Acl Link

    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...
  • Page 333: Egress-Acl Hybrid Rule Type-Any

    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...
  • Page 334: Egress-Acl Hybrid Rule Type-Arp

    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...
  • Page 336: Egress-Acl Hybrid Rule Type-Ip-Protocol

    ZXR10 5250 Series Command Reference 4.13.66 egress-acl hybrid rule type-ip-protocol Purpose This command sets the rule that the hybrid egress ACL matches the packets with IPv4-specified field. Command Mode Hybrid egress ACL configuration mode Syntax rule <1-500>{permit | deny}<ip-protocol>{<source-ipaddr><sip-mask>| any}{<destination-ipad dr><dip-mask>| any}[dscp <0-63>][fragment][cos <0-7>][<vlan-id>[<vlan-mask>]][<source-m...
  • Page 337: Egress-Acl Hybrid Rule Type-Ip

    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>...
  • Page 339: Egress-Acl Hybrid Rule Type-Ipv6-Any

    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...
  • Page 340: Egress-Acl Hybrid Rule Type-Ipv6-Ip-Protocol

    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.
  • Page 341: Egress-Acl Hybrid Rule Type-Ipv6-Tcp

    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...
  • Page 342: Egress-Acl Hybrid Rule Type-Ipv6-Udp

    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...
  • Page 344: Egress-Acl Hybrid Rule Type-Tcp

    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.
  • Page 345: Egress-Acl Hybrid Rule Type-Udp

    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...
  • Page 346 ZXR10 5250 Series Command Reference Command Mode Hybrid egress 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][cos <0-7>][<vlan-id>[<vlan-mask>]][<source-mac><smac-mask>| any][<de st-mac><dmac-mask>| any] Parameter Description Parameter Description <1-500> Rule number. If the condition matches, access is permitted.
  • Page 347: Clear Egress-Acl Hybrid

    VLAN fields, source-specified MACs, any source MACs, destination-specified MACs, and any destination MACs. 4.13.74 clear egress-acl hybrid Purpose This command clears a hybrid egress ACL instance. Command Mode Global configuration mode Syntax clear egress-acl hybrid number <700-799> 4-289 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 348: Move After/Before

    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>...
  • Page 349: Show Vlan-Range

    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...
  • Page 350: Show Acl Blinding

    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>]}...
  • Page 351: Show Acl Config Acl-Number/Acl-Name

    This command shows the detailed configuration of ACL instances. Command Mode Global configuration mode Syntax show acl config [<1-828>| name <word>][ active | command | deny | passive | permit | policy | rule <1-500>| snmp | time-range ] 4-293 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 352: Config Ingress-Acl User-Define Udb

    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.
  • Page 353: Config Ingress-Acl User-Define Udb Description

    (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.
  • Page 354: Ingress-Acl User-Define Rule

    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...
  • Page 356: Clear Ingress-Acl User-Define

    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.
  • Page 357: Show Acl Udb

    Anchor Offset length Description ----- ------------ -------- ------ ------------- 4.13.88 create acl description Purpose This command configures ACL descriptions. Command Mode Global configuration mode Syntax create acl <1-828> description <description> 4-299 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 358: Clear Acl Description

    ZXR10 5250 Series Command Reference Parameter Description Parameter Description <1-828> ACL serial number. <description> ACL descriptions, range: a maximum of 128 characters. 4.13.89 clear acl description Purpose This command clears ACL descriptions. Command Mode Global configuration mode Syntax clear acl <1-828> description...
  • Page 359: Set Qos Priority-Mapping Port Trust-Mode

    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.
  • Page 360: Set Qos Priority-Mapping Port Remark/Remapping

    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...
  • Page 361: Set Qos Priority-Mapping Qos-Profile Dscp-To-Dscp

    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.
  • Page 362: Set Qos Priority-Mapping Qos-Profile Dscp/Up-To-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.
  • Page 363: Set Qos Priority-Mapping Qos-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.
  • Page 364: Set Qos Priority-Mapping Qos-Profile Default

    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...
  • Page 365: Set Qos Queue-Schedule Enhance

    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...
  • Page 366: Set Qos Queue-Schedule Mode

    ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set qos queue-schedule enhance {disable| enable} Parameters Parameter Description {disable| Disables the optimized queue scheduling mode. Enables the optimized queue scheduling mode. enable Default The optimized queue scheduling mode is disabled.
  • Page 367: Set Qos Queue-Schedule Port

    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>...
  • Page 369: Set Qos Traffic-Limit Mode

    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...
  • Page 370: Set Qos Traffic-Limit Port Packet-Type

    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...
  • Page 371: Set Qos Traffic-Limit Fe-Port Data-Rate

    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.
  • Page 372: Set Qos Traffic-Limit Ge-Port Data-Rate

    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.
  • Page 373: Set Qos Traffic-Limit Ge-Port Packet-Rate

    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.
  • Page 374: Set Qos Traffic-Limit Xge-Port Data-Rate

    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.
  • Page 375: Set Qos Traffic-Limit Xge-Port Packet-Rate

    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.
  • Page 376: Set Qos Traffic-Limit Port Protect

    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.
  • Page 377: Set Qos Traffic-Limit Port Trap

    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.
  • Page 378: Set Qos Traffic-Shaping Fe-Port Data-Rate

    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...
  • Page 379: Set Qos Traffic-Shaping Ge-Port Data-Rate

    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.
  • Page 380: Set Qos Traffic-Shaping Ge-Port Queue Data-Rate

    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.
  • Page 381: Set Qos Traffic-Shaping Xge-Port Data-Rate

    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.
  • Page 382: Set Qos Traffic-Shaping Xge-Port Queue Data-Rate

    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.
  • Page 383: Set Anti-Dos

    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.
  • Page 384: Show Qos Priority-Mapping Qos-Profile

    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...
  • Page 386: Show Qos Queue-Schedule Mode

    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...
  • Page 387: Show Qos Queue-Schedule Port

    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...
  • Page 388: Show Qos Traffic-Limit

    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:...
  • Page 389: Show Qos Traffic-Limit Protect

    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...
  • Page 390: Show Qos Traffic-Limit Trap

    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>...
  • Page 391: Show Anti-Dos

    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)
  • Page 392: Set Qos Policer Mode

    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...
  • Page 393: Set Qos Policer Exceed-Action Remark Profile

    This command sets the binding relation between flow policer and qos-profile and the action mode. Command Mode Global configuration mode Syntax set qos policer <0-383> exceed-action remark profile <0-127> up {no-change | enable-mo dify | disable -modify} dscp { no-change | enable-modify | disable-modify } 4-335 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 394: Set Qos Policer Counter-Mode

    ZXR10 5250 Series Command Reference Parameter Description Parameter Description <0-383> Flow policer ID. <0-127> qos-profile template number. qos-profile does not modify UP/DSCP fields, but egress ACLs can no-change modify UP/DSCP fields. qos-profile can modify UP/DSCP fields. enable-modify Neither qos-profile nor egress ACLs modify UP/DSCP fields.
  • Page 395: Set Qos Policer Counter

    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...
  • Page 397: Set Policy Remark Egress-Acl

    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...
  • Page 398: Set Mirror Analyze-Port Session

    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...
  • Page 399: Set Policy Redirect

    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...
  • Page 400: Set Policy Vlan-Remark

    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>...
  • Page 401: Set Policy Harddrop

    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...
  • Page 402: Clear Policy Policing

    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...
  • Page 403: Clear Policy Statistics

    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...
  • Page 404: Clear Policy Vlan-Remark

    ZXR10 5250 Series Command Reference 4.14.60 clear policy vlan-remark Purpose This command clears the configuration that the specified flow VLAN tags are modified. Command Mode Global configuration mode Syntax clear policy vlan-remark in acl <1-828> rule <1-500> Parameter Description Parameter Description <1-828>...
  • Page 405: Clear Qos Policy-Counter

    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...
  • Page 406: Show Qos Policer

    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>]...
  • Page 407: Show Qos Policy-Counter

    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...
  • Page 408: Show Policy

    ZXR10 5250 Series Command Reference Parameter Description Parameter Description <0-383> Flow policer ID 4.14.68 show policy Purpose This command shows various binding configurations of the specified flow. Command Mode All configuration modes Syntax show policy [mirror | redirect | statistics | policing [<0-383>]| vlan-remark | remark | harddr...
  • Page 409: Set Icmp Protect

    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...
  • Page 410: Set Qos Traffic-Limit Ge-Port|Fe-Port |Xge-Port Protect Time

    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.
  • Page 411: Pvlan Configuration

    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...
  • Page 412: Clear Vlan Pvlan Session

    ZXR10 5250 Series Command Reference 4.15.2 clear vlan pvlan session Purpose This command clears PVLAN configurations. Command Mode Global configuration mode Syntax clear vlan pvlan [session <1-4>] Parameter Description Parameter Description <1-4> PLVAN session number 4.15.3 show vlan pvlan session Purpose This command shows PVLAN configurations.
  • Page 413: L2Pt Configuration

    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...
  • Page 414: Show L2Pt

    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...
  • Page 415: Trace

    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...
  • Page 416: Set Ipport Enable/Disable

    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.
  • Page 417: Set Ipport Ipaddress

    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.
  • Page 418: Set Ipport Vlan

    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.
  • Page 419: Iproute

    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.
  • Page 420: Arp Delete

    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.
  • Page 421: Arp Gratuitous-Send

    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.
  • Page 422: Clear Arp

    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.
  • Page 423: Clear Ipport

    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.
  • Page 424: Clear Arp Gratuitous-Send

    ZXR10 5250 Series Command Reference 4.17.15 clear arp gratuitous-send Purpose This command disables the free ARP function. Command Mode Layer-3 configuration mode Syntax clear arp gratuitous-send 4.17.16 hardware-iproute enable/disable Purpose This command enables or disables the hardware routing function. Command Mode...
  • Page 425: Show Ipport

    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...
  • Page 426: Show Iproute

    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.
  • Page 427: Show Hardware-Iproute

    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...
  • Page 428: Set Ipv6Port Ipv6Address

    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.
  • Page 429: Set Ipv6Port Enable/Disable

    <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...
  • Page 430: Clear Ipv6Port

    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.
  • Page 431: Show Ipv6Route

    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...
  • Page 432: Ping6

    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:...
  • Page 433: Dai Configuration

    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...
  • Page 434: Set Arp-Inspection Vlan Enable/Disable

    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.
  • Page 435: Set Arp-Inspection Port Limit

    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.
  • Page 436: Show Arp-Inspection

    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:...
  • Page 437: Access Service Configuration

    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...
  • Page 438: Dot1X Re-Authenticate Enable/Disable

    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.
  • Page 439: Dot1X Quiet-Period

    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...
  • Page 440: Dot1X Tx-Period

    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.
  • Page 441: Dot1X Server-Timeout

    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...
  • Page 442: Dot1X Add Vlan Mac

    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...
  • Page 443: Dot1X Delete Vlan

    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.
  • Page 444: Clear Client Port/Vlan

    ZXR10 5250 Series Command Reference Command Mode NAS configuration mode Syntax clear client index <0-255> Parameter Description Parameter Description <0-255> User number 4.20.13 clear client port/vlan Purpose This command deletes client users of the specified port/VLAN. Command Mode NAS configuration mode Syntax clear client {port <portlist>| vlan <vlanlist>}...
  • Page 445: Show Client

    : 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...
  • Page 446: Show Client Mac

    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>...
  • Page 447: Aaa-Control Port Dot1X

    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.
  • Page 448: Aaa-Control Port Protocol

    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.
  • Page 449: Aaa-Control Port Multiple-Hosts

    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.
  • Page 450: Aaa-Control Port Max-Hosts

    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.
  • Page 451: Aaa-Control Port Keepalive Period

    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.
  • Page 452: Aaa-Control Port Keepalive Antiproxy Add/Delete

    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...
  • Page 453: Aaa-Control Port Keepalive Antidhcp

    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.
  • Page 454: Show Aaa-Control Port

    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.
  • Page 455: Radius Isp

    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...
  • Page 456: Radius Isp Add/Delete Authentication

    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.
  • Page 457: Radius Isp Client

    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.
  • Page 458: Radius Isp Sharedsecret-Encrypt

    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.
  • Page 459: Radius Isp Fullaccount

    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...
  • Page 460: Radius Isp Defaultisp

    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...
  • Page 461: Radius Isp Description

    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...
  • Page 462: Radius Delimiter

    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 @.
  • Page 463: Radius Timeout

    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...
  • Page 464: Radius Vendor-Id

    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.
  • Page 465: Show Radius

    Vendor id : 3902 Client : 0.0.0.0 IspName : test DefaultIsp : Yes Description : FullAccounts: Yes SharedSecret: radius-interactive Authentication servers Auth-port ---------------------- --------- 10.40.89.78 1812 Accounting servers Acct-port ---------------------- --------- 10.40.89.78 1813 4-407 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 466: Show Radius Accounting-Stop

    ZXR10 5250 Series Command Reference 4.20.48 show radius accounting-stop Purpose This command shows RADIUS accounting packages that fail to be transmitted. Command Mode All configuration modes Syntax show radius accounting-stop [{ session-id <session-id>| user-name <user-name>| isp-name <isp-name>| server-ip <A.B.C.D>}] Parameter Description...
  • Page 467: Set Vlan Qinq Uplink Port

    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.
  • Page 468: Set Vlan Ingress-Tpid Session

    <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>...
  • Page 469: Set Port Ingress-Tpid

    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...
  • Page 470: Show Vlan Egress-Tpid

    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...
  • Page 471: Show Vlan Qinq

    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...
  • Page 472: Set Syslog Level

    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.
  • Page 473: Set Syslog Add Server

    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...
  • Page 474: Set Syslog Delete Server

    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>...
  • Page 475: Show Syslog Status

    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...
  • Page 476: Ntp Configuration

    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...
  • Page 477: Set Ntp Delete Authentication-Key

    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...
  • Page 478: Set Ntp Authenticate

    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.
  • Page 479: Set Ntp Second-Server

    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...
  • Page 480: Set Ntp Source

    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>...
  • Page 481: Set Ntp Timezone

    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...
  • Page 482: Set Ntp Src-Udp-Port

    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.
  • Page 483: Garp/Gvrp Configuration

    <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...
  • Page 484: Set Garp Enable/Disable

    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...
  • Page 485: Set Garp Timer

    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...
  • Page 486: Show Garp

    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...
  • Page 487: Set Gvrp Port/Trunk Enable/Disable

    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...
  • Page 488: Show Gvrp

    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.
  • Page 489: Dhcp Configuration

    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...
  • Page 490: Set Dhcp Port Server/Cascade/Client

    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.
  • Page 491: Set Dhcp Trunk Server/Default

    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.
  • Page 492: Set Dhcp Snooping Bind-Entry Mac Ip Vlan Port

    ZXR10 5250 Series Command Reference Command Mode Global configuration mode Syntax set dhcp ip-source-guard {{add | delete} port <portlist>| quota <0-400>} Parameters Parameter Description Enables the ip-source-guard function. Disables the ip-source-guard function. delete <portlist> Port list. quota Quota of source addresses.
  • Page 493: Set Dhcp Snooping Bind-Entry Mode

    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...
  • Page 494: Set Dhcp Option82 Add/Delete

    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.
  • Page 495: Set Dhcp Option82 Sub-Option

    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.
  • Page 496: Set Dhcp Option82 Mode Port

    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.
  • Page 497: Clear Dhcp Snp-Bind-Entry Mac

    {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...
  • Page 498: Clear Dhcp Option82 Sub-Option Device Ani

    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...
  • Page 499: Show Dhcp Snooping

    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...
  • Page 500: Show Dhcp Ip-Source-Guard

    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:...
  • Page 501: Show Dhcp Option82 Port

    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...
  • Page 502: Show Dhcp Option82 Device

    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.
  • Page 503: Set Dhcp Client Broadcast-Flag Enable/Disable

    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...
  • Page 504: Set Ipport Ipaddress Dhcp

    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.
  • Page 505: Set Ipport Dhcp Client Class-Id/Client-Id/Hostname/Lease

    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...
  • Page 506: Set Ipport Dhcp Client Request

    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...
  • Page 507: Set Ipport Dhcp Relay Server

    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...
  • Page 508: Clear Ipport Dhcp Client Class-Id/Client-Id/Hostname/Lease

    ZXR10 5250 Series Command Reference Parameter Description Disables the DHCP relay function. disable 4.25.31 clear ipport dhcp client class-id/client-id/hostname/lease Purpose This command clears the configuration of optional sending information of a DHCP client. Command Mode Layer-3 configuration mode Syntax clear ipport < 0-63> dhcp client { class-id | client-id | hostname | lease }...
  • Page 509: Set Dhcp Snooping Bind-Entry Database Read

    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...
  • Page 510: Set Dhcp Snooping Bind-Entry Database Time-Write

    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.
  • Page 511: Show Dhcp Snooping Database

    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.
  • Page 512: Set Dhcp Snooping Vlan Enable/Disable

    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 }...
  • Page 513: Set Dhcp Snooping Vlan Quota

    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...
  • Page 514: Set Dhcp Snooping Port Quota

    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>...
  • Page 515: Show Dhcp Snooping Quota

    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...
  • Page 516: Set Dhcpv6 Snooping Add/Delete

    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.
  • Page 517: Set Dhcpv6 Port Server/Cascade/Client

    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...
  • Page 518: Set Dhcpv6 Ip-Source-Guard Add/Delete

    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.
  • Page 519: Set Dhcpv6 Option18 Add/Delete

    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...
  • Page 520: Set Dhcpv6 Option37 Enable/Disable

    ZXR10 5250 Series Command Reference 4.26.7 set dhcpv6 option37 enable/disable Purpose This command globally enables or disables the DHCPv6 option37 function. Command Mode Global configuration mode Syntax set dhcpv6 option37 {enable | disable} Parameter Description Parameter Description Enables the DHCPv6 option37 function.
  • Page 521: Set Dhcpv6 Option82 Enable/Disable

    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...
  • Page 522: Set Dhcpv6 Option82 Ani

    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.
  • Page 523: Clear Dhcpv6 Snp-Bind-Entry Mac

    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...
  • Page 524: Clear Dhcpv6 Option82 Ani

    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.
  • Page 525: Show Dhcpv6 Snooping

    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...
  • Page 526: Show Dhcpv6 Ip-Source-Guard

    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.
  • Page 527: Show Dhcpv6 Option82 Port

    <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...
  • Page 528: Show Dhcpv6 Option18

    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.
  • Page 529: Vbas Configuration

    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...
  • Page 530: Set Vbas Cascade-Port Enable/Disable

    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.
  • Page 531: Show Vbas

    : 6 4.28 PPPoE-PLUS Configuration 4.28.1 set pppoe-plus enable/disable Purpose This command enables or disables the PPPoE+ function. Command Mode Global configuration mode Syntax set pppoe-plus {enable | disable} 4-473 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 532: Set Pppoe-Plus Tag-Format

    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.
  • Page 533: Set Pppoe-Plus Rid

    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.
  • Page 534: Show 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.
  • Page 535: Set Pppoe-Plus Mode Port

    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 }...
  • Page 536: Clear Zesr Ctrl-Vlan Protect-Instance

    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.
  • Page 537: Set Zesr Ctrl-Vlan Major-Level Role

    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.
  • Page 538: Set Zesr Ctrl-Vlan Level Seg Role Edge-Assistant/Edge-Control

    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.
  • Page 539: Set Zesr Ctrl-Vlan Major-Level Preforward

    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.
  • Page 540: Set Zesr Link-Hello

    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...
  • Page 541: Set Zesr Link-Hello Hello-Interval

    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.
  • Page 542: Set Zesr Restart-Time

    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 <...
  • Page 543: Set Zesr Tcn-Sending

    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.
  • Page 544: Show Zesr Ctrl-Vlan

    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.
  • Page 545: Clear Vlan Sqinq

    This command deletes all SQinQ sessions. Command Mode Global configuration mode Syntax clear vlan sqinq 4.30.3 clear vlan sqinq session Purpose This command deletes the specified SQinQ session. Command Mode Global configuration mode 4-487 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 546: Show Vlan Sqinq

    ZXR10 5250 Series Command Reference Syntax clear vlan sqinq session <1-400> Parameter Description Parameter Description <1-400> SQinQ session number 4.30.4 show vlan sqinq Purpose This command shows all SQinQ sessions. Command Mode Global configuration mode Syntax show vlan sqinq 4.30.5 show vlan sqinq session Purpose This command shows the specified SQinQ session.
  • Page 547: Vlan Mapping Configuration

    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...
  • Page 548: Clear Vlan Mapping Session

    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.
  • Page 549: Show Vlan Mapping

    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...
  • Page 550: Show Vlan Mapping User-Table Session

    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>...
  • Page 551: Set Protocol-Protect Alarm Enable/Disable

    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...
  • Page 552: Set Protocol-Protect Alarm Threshold

    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.
  • Page 553: Set Protocol-Protect Priority

    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...
  • Page 554: Set Protocol-Protect Mac-Drop Enable/Disable

    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.
  • Page 555: Clear Protocol-Protect Mac-Drop Counter

    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.
  • Page 556: Clear Protocol-Protect Mac-Drop Rule

    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>]...
  • Page 557: Show Protocol-Protect Limit

    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.
  • Page 558: Show Protocol-Protect Mac-Drop Port

    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...
  • Page 559: Show Protocol-Protect Mac-Drop Rule

    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...
  • Page 560: Lldp Holdtime

    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...
  • Page 561: Lldp Max-Neighbor

    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...
  • Page 562: Lldp Port Txenable/Txdisable

    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.
  • Page 563: Lldp Port Med-Tlv-Select

    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...
  • Page 564: Lldp Port Max-Neighbor

    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>...
  • Page 565: Clear Lldp Statistic

    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...
  • Page 566: Show Lldp Neighbor

    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...
  • Page 567: Show Lldp Entry

    System Capability :Bridge Switch Management Address:IPv4 - 10.40.89.105, ifIndex - 0, OID - Null 4.33.14 show lldp statistic Purpose This command shows LLDP statistics information. Command Mode All configuration modes Syntax show lldp statistic port <portlist> 4-509 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 568: Mld Configuration

    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...
  • Page 569: Set Mld Snp Add/Delete Vlan

    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.
  • Page 570: Set Mld Snp Vlan Add Group

    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...
  • Page 571: Set Mld Snp Vlan Delete Group

    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.
  • Page 572: Set Mld Snp Host-Time-Out/Mrouter-Time-Out

    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.
  • Page 573: Set Mld Snp Query-Interval

    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>...
  • Page 574: Set Mld Snp Last-Member-Query

    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.
  • Page 575: Set Mld Snp Query Vlan Enable/Disable

    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.
  • Page 576: Set Mld Snp Fastleave Enable/Disable

    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.
  • Page 577: Set Mld Filter Enable/Disable

    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...
  • Page 578: Show Mld Snp

    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.
  • Page 579: Show Mld Snp Vlan

    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.
  • Page 582: Show Mld Filter Query Vlan

    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...
  • Page 583: Single-Port Loop Detection Configuration

    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...
  • Page 584: Set Loopdetect Port

    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.
  • Page 585: Set Loopdetect Port Protect

    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...
  • Page 586: Set Loopdetect Extend Port

    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.
  • Page 587: Set Loopdetect Trunk Vlan

    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...
  • Page 588: Set Loopdetect Trunk Protect

    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.
  • Page 589: Show Loopdetect

    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...
  • Page 590: Show Loopdetect Port

    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.
  • Page 591: Clear Loopdetect

    [<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.
  • Page 592: Udld Port Mode

    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.
  • Page 593: Udld Port Message Timer

    4.36.4 udld port recovery enable/disable Purpose This command enables or disables the UDLD automatic recovery function. Command Mode Global configuration mode Syntax udld port <portlist> recovery {enable | disable} Parameter Description Parameter Description <portlist> Port list. 4-535 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 594: Udld Port Recovery Timer

    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.
  • Page 595: Udld Port Reset

    Udld configuration: Flags: AdminCfg-Administrative configuration, RecovCfg-Recovery configuration ForceChk-Force check configuration, FCT-Force check time(s) MTI-Message time interval(s), RTI-Recovery time interval(s) Id-PortId, Nor-Normal mode, Aggr-Aggressive mode, (s)-Unit second AdminCfg ForceChk Mode RecovCfg RTI State Neighbor ------------------------------------------------------------------------------- 4-537 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 596 ZXR10 5250 Series Command Reference Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable 4.36.8 show udld port Purpose This command shows port configurations and neighbor detailed information.
  • Page 597: Udld Port Force-Check Timer

    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...
  • Page 598: Tacacs+ Configuration

    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.
  • Page 599: Tacacs-Plus Loginauthen Default 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...
  • Page 600: Tacacs-Plus Loginauthor Default Group

    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>...
  • Page 601: Tacacs-Plus Accounting Commands Default 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 has at least one member. 4-543 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 602: Tacacs-Plus Accounting Update Period

    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...
  • Page 603: Clear Tacacs-Plus Adminauthen 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...
  • Page 604: Show Tacacs-Plus

    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...
  • Page 605: Time Range Configuration

    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...
  • Page 606: Clear Time-Range

    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...
  • Page 608: Mac Based Vlan Configuration

    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...
  • Page 609: Set Vlan Mac-Based Bind/Unbind

    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...
  • Page 610: Show Vlan Mac Based Session Bind

    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...
  • Page 611: Set Dhcp Relay Option82 Sub-Option Device

    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...
  • Page 612: Set Dhcp Relay Option82 Sub-Option

    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.
  • Page 613: Set Dhcp Relay Option82 Mode Port

    "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...
  • Page 614: Set Dhcp Relay Server Retry

    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.
  • Page 615: Clear Dhcp Relay 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...
  • Page 616: Clear Dhcp Relay Option82 Sub-Option Device Ani

    ZXR10 5250 Series Command Reference 4.40.10 clear dhcp relay option82 sub-option device ani Purpose This command clears device identification information. Command Mode Global configuration mode Syntax clear dhcp relay option82 sub-option device ani 4.40.11 show dhcp relay Purpose This command shows DHCP relay configurations.
  • Page 617: Show Dhcp Relay Binding

    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.
  • Page 618: Show Dhcp Relay Option82 Device

    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:...
  • Page 619: Set Dhcp Relay Server Ip

    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.
  • Page 620: Set Dhcp Relay Vlan Enable/Disable

    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.
  • Page 621: Show Dhcp Vlan

    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.
  • Page 622: Set Dhcp Hop

    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>...
  • Page 623: Mff Configuration

    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...
  • Page 624: Set Mff Vlan Gateway

    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>...
  • Page 625: Set Mff Gateway

    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...
  • Page 626: Set Mff Gateway-User-Keepalive

    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.
  • Page 627: Clear Mff Vlan Gateway

    Global configuration mode Syntax clear mff gateway arp-keepalive-port 4.41.11 clear mff gateway user-keepalive-port Purpose This command deletes ports sending MFF user ARP keep-alive packets. Command Mode Global configuration mode Syntax clear mff gateway user-keepalive-port 4-569 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 628: Clear Mff User

    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.
  • Page 629: Show Mff Gateway

    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...
  • Page 630: Create Ca

    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.
  • Page 631: Show Ssl

    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..
  • Page 632: Debug Protocol Dhcpv6 Enable/Disable

    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}...
  • Page 633: Debug Protocol Dhcp Client State Ipport

    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...
  • Page 634: Debug Protocol Dhcp Download

    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.
  • Page 635: Debug Protocol Dhcp Statistics Clear

    {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...
  • Page 636: Debug Protocol Dot1X Enable/Disable

    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.
  • Page 637: Debug Protocol Layer3 Ip Port

    <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...
  • Page 638: Debug Protocol Snmp Enable/Disable

    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.
  • Page 639: Remote-Access

    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...
  • Page 640: Set Remote-Access Ipaddress Permit/Deny

    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.
  • Page 641: Clear Remote-Access All

    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.
  • Page 642: Show Remote-Access

    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:...
  • Page 643: Privilege Session

    <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...
  • Page 644: Clear Privilege

    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.
  • Page 645: Ssh

    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.
  • Page 646: Show Ssh

    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.
  • Page 647: Set Ssh Sftp Enable/Disable

    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...
  • Page 648: Set Recvpacket

    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>...
  • Page 649: Create Community Public/Private

    <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...
  • Page 650: Create View

    ZXR10 5250 Series Command Reference 5.4.5 create view Purpose This command creates a view and specifies whether the view contains a Management Information Base (MIB) subtree. Command Mode SNMP configuration mode Syntax create view < string >[{include | exclude}<mib-oid>] Parameter Description...
  • Page 651: Clear Community Acl-Rule-Id

    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.
  • Page 652: Set Mib1493Compatible Enable/Disable

    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.
  • Page 653: Set Host Inform

    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.
  • Page 654: Set Trap Enable/Disable

    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).
  • Page 656: Set Group V3

    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.
  • Page 657: Set Trap Macnotification Enable/Disable

    <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...
  • Page 658: Set Trap Macnotification History-Size/Interval

    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.
  • Page 659: Set Trap Macstationmove Enable/Disable

    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.
  • Page 660: Clear Host Trap/Inform

    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.
  • Page 661: Clear Community

    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)
  • Page 662: Clear Group V3

    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.
  • Page 663: Clear User V3

    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...
  • Page 665: Show Snmp Community/Engineid/Group/Host/Trap/User/View

    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...
  • Page 668: Rmon

    ZXR10 5250 Series Command Reference 5.5 RMON 5.5.1 set rmon enable/disable Purpose This command enables or disables the Remote Monitoring (RMON) function. Command Mode SNMP configuration mode Syntax set rmon {enable | disable} Parameter Description Parameter Description enable Enables the RMON function.
  • Page 669: Set Alarm

    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)
  • Page 671: Set Event

    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.
  • Page 672: Set History

    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:...
  • Page 673: Show Rmon

    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...
  • Page 674: Show Alarm

    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...
  • Page 675: Show Event

    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...
  • Page 676: Show History

    ControlOwner : admin DataSource : 1.3.6.1.2.1.2.2.1.1.28 5.6 ZGMP 5.6.1 set zdp enable/disable Purpose This command enables or disables the ZTE Discovery Protocol (ZDP). Command Mode Cluster management configuration mode Syntax set zdp {enable | disable} 5-38 SJ-20131111172707-003|2013-11-27 (R1.0) ZTE Proprietary and Confidential...
  • Page 677: Set Zdp Port/Trunk Enable/Disable

    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)
  • Page 678: Set Zdp Holdtime

    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.
  • Page 679: Show Zdp

    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:...
  • Page 680: Show Zdp Neighbour Detail

    : 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)
  • Page 681: Set Ztp Port/Trunk Enable/Disable

    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)
  • Page 682: Set Ztp Hop

    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...
  • Page 683: Set Ztp Timer

    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.
  • Page 684: Set Ztp Hopdelay

    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.
  • Page 685: Ztp Start

    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.
  • Page 687: Show Ztp Topology

    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...
  • Page 688: Set Group Commander Ipport

    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.
  • Page 689: Set Group Candidate

    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.
  • Page 690: Set Group Add

    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.
  • Page 691: Set Group Delete Member

    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...
  • Page 692: Set Group Holdtime

    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.
  • Page 693: Set Group Mac-Mode

    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.
  • Page 694: Set Group Tftpsvr

    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.
  • Page 695: Show Group Candidate

    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...
  • Page 696: Save Member

    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...
  • Page 697: Reboot Member

    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...
  • Page 698: Sflow

    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 ...
  • Page 699: Set Sflow Collector-Address

    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.
  • Page 700: Set Sflow Ingress/Egress Enable/Disable

    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.
  • Page 701: Set Sflow Ingress Sample-Mode All/Forward

    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...
  • Page 702: Set Sflow Ingress/Egress Port Packet-Sample On Time-Range

    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.
  • Page 703: Clear Sflow Config

    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.
  • Page 704: Show Sflow

    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...
  • Page 705: Telnet

    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...
  • Page 706: Set Telnet Listen-Port

    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.
  • Page 707: Glossary

    - 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...

Table of Contents

Save PDF