Zte ZXR10 Command Manual

Zte ZXR10 Command Manual

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

Advertisement

ZXR10
Router/Ethernet Switch
Command Manual (Basic Configuration Volume I)
Version 4.8.22
ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn

Advertisement

Table of Contents
loading

Summary of Contents for Zte ZXR10

  • Page 1 ZXR10 Router/Ethernet Switch Command Manual (Basic Configuration Volume I) Version 4.8.22 ZTE CORPORATION ZTE Plaza, Keji Road South, Hi-Tech Industrial Park, Nanshan District, Shenzhen, P. R. China 518057 Tel: (86) 755 26771900 Fax: (86) 755 26770801 URL: http://ensupport.zte.com.cn E-mail: support@zte.com.cn...
  • Page 2 The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO- RATION is prohibited.
  • Page 3: Table Of Contents

    About This Manual..........i Command Introduction ........1 Manual Use Guide............1 Description of Man-Machine Commands ......1 Auxiliary Function ............2 Command Mode ............. 3 Basic System Management ........7 auto-download config............8 banner incoming ............8 boot config-file ............... 9 clock set................
  • Page 4 show system-group ............29 show username .............29 show users ..............29 show user-group ............30 show version ..............30 show version hardware...........30 show version mec............31 show version midplane ...........32 show version npc............32 show version software............32 show version sfc............33 show version upc............33 username ..............34 user-group ..............34 who ................35 File System Management.........
  • Page 5 line telnet access-class ...........52 line telnet idle-timeout ...........52 login ................53 login authentication ............53 logout ................54 quit ................54 session ................54 show console-info ............54 show history ..............55 show terminal ...............55 telnet................56 telnet mng..............56 terminal length .............57 user-authentication-type ..........57 user-authorization-type ..........57 System Log/Statistics Management ....59 alarm................60 alarm cpuload-interval ...........60 alarm cpuload-on ............61...
  • Page 6 logging timestamps ............72 logging trap-enable............72 memory-threshold ............73 show alarm-level ............73 show logfile ..............74 show logging alarm............74 show logging configure...........75 show processor .............75 show processor details ...........77 show temperature ............77 syslog-server facility ............78 syslog-server host ............79 syslog-server source ............80 temper-threshold ............80 write ................81 write cmdlog..............82 write logging..............82...
  • Page 7 detect try-times ............95 detcet time-out .............95 detect-group..............96 detect-list..............96 ip address ..............97 ip forwarding-mode ............97 ip load-sharing ..............98 ip local policy route-map ..........99 ip mtu................99 ip policy route-map............100 ip proxy-arp..............100 ip redirect..............101 ip route ..............101 ip source-route ............102 ip stream cache............
  • Page 8 show ip traffic ............. 119 show ntp status............120 show tcp ..............120 show tcp brief ............. 121 show tcp config ............121 show tcp line .............. 121 show tcp statistics ............122 show tcp tcb ............... 122 show tcp tty..............123 show tcp vty ...............
  • Page 9: About This Manual

    Purpose operation of ZXR10 router and Ethernet switch. This manual is intended for engineers and technicians who perform Intended Audience operation activities on ZXR10 router and Ethernet switch. This manual contains the following chapters: What Is in This Manual Chapter...
  • Page 10 ZXR10 Command Manual (Basic Configuration Volume I) � ZXR10 Router/Ethernet Switch Command Manual (IPv4 Rout- ing Volume II) � ZXR10 Router/Ethernet Switch Command Manual (MPLS Vol- ume) � ZXR10 Router/Ethernet Switch Command Manual (QoS Vol- ume) � ZXR10 Router/Ethernet Switch Command Manual (Security Volume) �...
  • Page 11: Command Introduction

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

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

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

    ...............29 show user-group ...............30 show version ..............30 show version hardware............30 show version mec..............31 show version midplane ............32 show version npc...............32 show version software............32 show version sfc..............33 show version upc...............33 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 18: Auto-Download Config

    ZXR10 Command Manual (Basic Configuration Volume I) username .................34 user-group ...............34 who .................35 auto-download config Use this command to enable downloading the configuration file Purpose automatically. Global Configuration Command Modes auto-download config Syntax no auto-download config This command is to enable downloading configuration file auto- Instructions matically.
  • Page 19: Boot Config-File

    ZXR10(config)#boot config-file cfg/config.dat ZXR10(config)# auto-download config Related Commands show auto-download-config clock set Use this command to configure the system clock in standard time Purpose format. Privileged EXEC Command Modes clock set <current-time><month><day><year> Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 20: Clock Timezone

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <current-time> The current time in the format: hh:mm:ss. <month> Month, jan~dec <day> Date, 1~31 <year> Year, 2001~2098 This example describes how to set the system time to 12 minutes Example 1 second past 23 o’clock on Feb. 23, 2001 with the following com- mand.
  • Page 21: Disable

    [<level>] Syntax Description <level> Authority level, 0~15, the default value is 1. disable [<level>] is only applicable to ZXR10 T64E/T128 Instruction T600/T1200. This example describes how to return from the privileged mode to Example EXEC mode and lower the authority level to 1.
  • Page 22: Enable Secret

    ZXR10 Command Manual (Basic Configuration Volume I) � The command enable <level> is only applicable to ZXR10 T64E/T128, T600/T1200. Note: This password is not displayed on the screen while it is entered, and is case sensitive. Example This example describes how to heighten authority level to 2; enter from the EXEC to privilege EXEC mode.
  • Page 23: End

    While in other modes, it means returning to the last mode. This example describes how to exit from the global configuration Example mode to the privileged EXEC mode. ZXR10(config)#exit ZXR10# Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 24: Flah-Protect Power-Off

    Global configuration Command Modes hostname <network-name> Syntax no hostname Syntax Description <network-name> Network name, with 1~32 characters By default, the default system network name is ZXR10. Defaults Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 25: Help Message

    Flash device and power-off manually. Or, if the Flash is in usage, it can not power-off manually. � This example describes how to set force power-off manually. Example ZXR10# flash-protect power-off force Are you sure to power off the machine? Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 26: Multi-User Configure

    ZXR10 Command Manual (Basic Configuration Volume I) If you execute the command successfully, any other operation is invalid except power-off. [yes/no]:y .. OK!You can power off the machine later. ZXR10# � This example describes how to set power-off manually. ZXR10# flash-protect...
  • Page 27: Nvram Boot-Password

    This example describes how to set the IP address for the mapping Example download FTP to 168.1.1.1. ZXR10(config)#nvram bootserver 168.1.1.1 nvram boot-password Related Commands nvram boot-username nvram default-gateway nvram imgfile-location Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 28: Nvram Boot-Username

    ZXR10 Command Manual (Basic Configuration Volume I) nvram boot-username Use this command to enable the FTP download setting for mapping Function files and specify the username of the FTP server for download. Global configuration Command Mode nvram boot-username <username> Syntax...
  • Page 29: Nvram Imgfile-Location

    This example describes how to reset the right sfc. ZXR10#reload sfc 2 Proceed with reload? [yes/no]:y ZXR10# � This example describes how to reset the slave MP. ZXR10#reload mp slave Proceed with reload? [yes/no]:y ZXR10# Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 30: Nvram Mng-Ip-Address

    ZXR10 Command Manual (Basic Configuration Volume I) nvram mng-ip-address Set the IP address of the router MNG (management interface). Function Global configuration Command Mode nvram mng-ip-address <ip-address><net-mask> Syntax Syntax Description <ip-address> IP address of the MNG in the dotted decimal notation <net-mask>...
  • Page 31: Reload

    Use this command to set user password encryption display func- Function tion. Global configuration mode Command Mode service password-encryption Format no service password-encryption All user password display in encryption after this command is con- Instruction figured. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 32: Show Auto-Download-Config

    ZXR10 Command Manual (Basic Configuration Volume I) username Related command show auto-download-config Use this command to display the related configuration when start- Purpose ing auto-download-configuration. Privileged EXEC Command Modes show auto-download-config Syntax This command supports 52a. Instructions � This example describes how to reset the card in slot 3.
  • Page 33 This example describes how to use show diagnostic informati Example ZXR10#show diagnostic information ZXR10 T128 Software, Version V2.08.21, RELEASE SOFTWARE Copyright (c) 2000-2007 by ZTE Corporation Compiled Feb 20 2008, 09:38:17 ZXR10 Router Operating System Software,ZTE Corporation ZXR10 ROS Version V4.08.21...
  • Page 34 ZXR10 Command Manual (Basic Configuration Volume I) Main processor: Power pc-1 with 64M bytes of memory ROM: System Bootstrap, Version: , RELEASE SOFTWARE [NPCT, Panel 5] Main processor: XSCALE with 512M bytes of memory in slot 5 System with multiple processors (2 Network processors) Every network processor with 512M bytes of memory ROM(4M): System Bootstrap, Version:ZXR10 T128 BOOT 2.6.02,...
  • Page 35 15 5 RcMLuUKvnFZX9kNAV6A/UA== user-authentication-type local user-authorization-type local line console 0 no login authentication banner incoming @ ************************************************** Welcome to ZXR10 Carrier-Class High-end Router of ************************************************** ***************** ZTE Corporation *****************@ lfap disable lfap max-send-fun-size 100 lfap update-interval 60...
  • Page 36 ZXR10 Command Manual (Basic Configuration Volume I) tcp synflood-protect defence 0 waittime 30 num 1 tcp synflood-protect max-connect high 90 low 60 tcp synflood-protect one-minute high 80 low 50 no ftp-server enable listen 21 ftp-server top-directory /flash/ logging on logging buffer 200...
  • Page 37: Show Privilege

    [interface <interface-name>| voice-p Format ort <voice-port>] show running-config [{begin | exclude | include}<line> Syntax Description interface <interface- Interface name name> voice-port Voice interface name, only supporting the <voice-port> GAR with the tone board Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 38: Show Start Running-Config

    This command displays the active system configuration. Instructions � For ZXR10 GAR with the tone board, this command can be used to specify the tone interface. The other model routers have no tone interface parameter since they do not support VOIP.
  • Page 39: Show System-Group

    Syntax This example describes how to display the system information of Example GAR. ZXR10#show system-group System Description: ZXR10 Router Operating System Software ZTE Corporation ZXROS V4.6.01. ZXR10_GAR V2.6.01. Compiled: System ObjectId: .iso.org.dod.internet.private.enterprises.zte.3.100.6 Started before: 23374 Seconds Contact with: +86-25-52870000 System name: ZXR10 Location: No.68 Zijinghua Rd.
  • Page 40: Show User-Group

    Specifies to configure the public account group special Specifies to configure the private account group <usergroup-name> Name of the private account group, with 1~16 characters It is only applicable to ZXR10 GAR, ZXR10 ZSR. Insturction show username Related Commands user-group username show version...
  • Page 41: Show Version Mec

    System serial: 30000 [SFC2, Panel 2, master] Main processor: Power pc-2 with 32M bytes of memory ROM: System Bootstrap, Version: ZXR10 BOOT V2.6.02-003, RELEASE SOFTWARE [NPCT, Panel 2] Main processor: XSCALE with 512M bytes of memory in slot 2 System with multiple processors (2 Network processors) Every network processor with 512M bytes of memory ROM(4M): System Bootstrap, Version:ZXR10 BOOT 2.6.03-001, RELEASE SOFTWARE...
  • Page 42: Show Version Midplane

    ZXR10 Command Manual (Basic Configuration Volume I) show version midplane Use this command to display the slot information. Function All modes except exec Command Mode show version midplane Syntax This example shows how to display the slot information. Example ZXR10#show version midplane...
  • Page 43: Show Version Sfc

    This example shows how to display the software version of the Example system. ZXR10#show version software ZXR10 T128 Software, Version V2.08.21.B.04, RELEASE SOFTWARE Copyright (c) 2000-2007 by ZTE Corporation Compiled Apr 10 2008, 10:04:31 ZXR10 Router Operating System Software, ZTE Corporation ZXR10 ROS Version V4.08.21...
  • Page 44: Username

    ZXR10 Command Manual (Basic Configuration Volume I) username Use this command to configure the login user name and password. Function Cancel the user name with the no command. Global configuration mode Command Mode username <username> password <password> Syntax username <username> password {encrypted <encrypted-pa ssword>|<password>}[privilege <0~15>]...
  • Page 45: Who

    � Here, account group name and account name is not case-sen- sitive, but password is case-sensitive. � This command is only applicable to ZXR10 GARZXR10 ZSR. � This example describes how to configure a public account Example group, ZXR10(config)#user-group default who who �...
  • Page 46 ZXR10 Command Manual (Basic Configuration Volume I) Field Description Host IP address of the login server when this router logs in to another telnet server as a client Idle Idle time Location Client address Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 47: File System Management

    � The file systems of ZXR10 series data products vary with the model. ZXR10 GER file name should be not more than 32 char- acters. For the file system only supporting other data products in 8.3 format, its file name should be not more than eight char- acters.
  • Page 48: Check Dev-Using

    ZXR10 Command Manual (Basic Configuration Volume I) � This example describes how to enter the flash file device of the Example system. ZXR10#cd flash: � This example describes how to enter the bin directory of the current file device. ZXR10#cd /bin �...
  • Page 49: Copy

    � The total length of the directory name and file name cannot exceed 80 characters. ZXR10 GER file name should be not more than 32 characters. For the file system only supporting other data products in 8.3 format, its file name should be not more than eight characters.
  • Page 50: Dir

    The total length of the directory name and file name cannot ex- ceed 80 characters. The ZXR10 GER file name should be not more than 32 characters. For the file system only supporting other data products in 8.3 format, its file name should be not more than eight...
  • Page 51: Format

    This example describes how to format inbuilt FLASH in current Example rack. ZXR10#format flash check dev-using Related Commands mkdir Use this command to create a new sub-file directory under the Function current directory. Privileged configuration Command Mode mkdir <directory> Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 52: Pwd

    The total length of the directory name and file name cannot ex- Instruction ceed 80 characters. ZXR10 GER file name should be not more than 32 characters. For the file system only supporting other data products in 8.3 format, its file name should be not more than eight characters.
  • Page 53: Rmdir

    The total length of the directory name and file name cannot Instructions exceed 80 characters. ZXR10 GER file name should be not more than 32 characters. For the file system only supporting other data products in 8.3 format, its file name should be not more than eight characters.
  • Page 54: Unmount

    The platform version 4.8.22 and the upgrade versions support this Instructions command. It is used on ZXR10 6900 and ZXR10 8900. Only sup- ports SD card currently. Other memory devices need to be ex- tended by adding command parameter.
  • Page 55: Write

    Successfully write flash Related commands write nvram write flash Use this command to write the configuration information of the Function current router into the flash. Privileged configuration Command Mode write flash Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 56: Write Imgfile

    ZXR10 Command Manual (Basic Configuration Volume I) When the equipment is started the next time, the configuration in Instruction the flash will take effect automatically. This example describes how to write the configuration information Example of the current router into the flash.
  • Page 57: Write Nvram

    Privileged configuration Command Mode write nvram Syntax This example describes how to write the current router-related Example system parameters into the nvram. ZXR10#write nvram Building configuration... [ok] write Related Commands write flash Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 58 ZXR10 Command Manual (Basic Configuration Volume I) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 59: User Interface Management

    Privileged configuration Command Mode answer-manual Syntax It is only applicable to ZXR10 GER, ZXR10 GAR and ZXR10 ZSR. Instruction Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 60: Answer-Remote

    Syntax Syntax Description manual Manual answer auto Automatic answer It is only applicable to ZXR10 GER, ZXR10 GAR and ZXR10 ZSR. Instruction answer-manual Related command line console 0 Use this command to enter into LINE configuration mode Function Global configuration...
  • Page 61: Line Console Idle-Timeout

    Telnet terminal is specified. After this specified time, the Telnet terminal session will be closed and the connection will be disconnected. Cancel the restriction with the no command. Global configuration Command Mode line telnet absolute-timeout <absolute-timeout> Syntax no line telnet absolute-timeout Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 62: Line Telnet Access-Class

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <absolute-timeout> Total use time of the terminal (unit: minute), in the range of 1~10000. The default value is one day. It can work with the line telnet idle-timeout command to close the Instruction Telnet terminal session after a specified period.
  • Page 63: Login

    This example describes how to enable serial port authentication. Example ZXR10(config)#line console 0 ZXR10(config-line)#login authentication Warning: Please make sure local or remote authentication is correctly configured. Are you sure to configure console authentication?[yes/no]:yes logout Related Commands quit Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 64: Logout

    ZXR10 Command Manual (Basic Configuration Volume I) logout Use this command to quit the login router. Function Exec mode / privileged Command Mode logout Syntax Disconnect from the router proactively. Instruction login Related Commands quit quit Use this command to quit the login router.
  • Page 65: Show History

    Chapter 4 User Interface Management All modes except exec Command Mode show console-info Syntax It is only applicable to ZXR10 GER, ZXR10 GAR and ZXR10 ZSR. Instruction show history Use this command to display the history records of the input com- Function mands.
  • Page 66: Telnet

    ZXR10 Command Manual (Basic Configuration Volume I) telnet Use this command to open a Telnet connection. Function All modes Command Mode telnet <ip-address>[vrf <vrf-name>] Syntax Syntax Description <ip-address> Destination IP address in the dotted decimal notation source < ip-address Source IP address, in the dotted decimal >...
  • Page 67: Terminal Length

    1~2000 in UAS V4.8.01. This example describes how to configure the local authentication. Example ZXR10(config)#user-authentication-type local radius server Related Commands telnet user-authorization-type Use this command to specify the user authorization type for the Function Telnet login. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 68 ZXR10 Command Manual (Basic Configuration Volume I) Global configuration mode Command Mode user-authorization-type {local | tacacs+} Syntax Syntax Description local Local authentication tacacs+ Perform authorization using TACACS+ authorization list Local authorization is the default setting.. Default This example describes how to configure the TACACS+ authoriza- Example tion.
  • Page 69: System Log/Statistics Management

    ..............75 show processor details ............77 show temperature .............77 syslog-server facility ............78 syslog-server host .............79 syslog-server source ............80 temper-threshold ..............80 write ................81 write cmdlog..............82 write logging..............82 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 70: Alarm

    For ZXR10 T128, ZXR10 T1200 only CPU load alarm is enabled. Instruction Temperature alarm and memory alarm take effect. This example describes how to enable CPU load alarm.
  • Page 71: Alarm Cpuload-On

    � Make sure use command alarm cpuload-on firstly. � In ZXR10 T128, ZXR10 T1200, this command is replaced by cpuload-thresholod See cpuload-thresholod command in envi- ronment configuration mode for more information This example describes how to set alarm cpuload-threshold low- Example grade to 20%.
  • Page 72: Alarm Level-Change

    <second> Interval: 10s by default, in the range of 3-20 � For ZXR10 T128 and ZXR10 T1200 only cpuload alarm is en- Instruction abled. Temperature alarm and memory alarm take effect Make sure alarm switch is on before set an alarm check interval.
  • Page 73: Clear Logging

    Syntax Description <percent> CPU utilization, in the range of 0~100 (unit:%) This command is used to clear the CPU utilization peak in the re- Instruction source statistics information of the specified CPU. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 74: Environ

    ZXR10 Command Manual (Basic Configuration Volume I) This example describes how to clear the CPU utilization peak in the Example resource statistics information of the specified CPU. ZXR10#clear processor mp 1 environ Use this command to enter environment mode. Function...
  • Page 75: Logging Alarmlog-Interval

    100~1000, and 200 KB by default Run the logging on command before this command. Instruction This example describes how to set the size of the alarm log buffer Example as 100 K. ZXR10(config)#logging buffer 100 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 76: Logging Cmd Ftp

    And specify the time for updating the log file name is 2 days. The updating time is 11:11:11. ZXR10(config)# logging cmd ftp 168.1.1.111 target target cmdlog 11:11:11 2 logging cmdlog-interval Use this command to set the interval time of writing cmd log. To Function reset this setting to the default value 2880 use the no command.
  • Page 77: Logging Console

    Use this command to set the time for writing alarm log into file Function and sending to the FTP server. Cancel the setting with the no command. Global configuration Command Mode logging filesavetime interval <time>| everyday <time>| Syntax week <weekday><time>| month <mothday><time> [vrf Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 78: Logging Filter-Map

    ZXR10 Command Manual (Basic Configuration Volume I) <vrf-name>| mng]<ftp-server><username><password>[<file name>] no logging filesavetime Description interval <time> Time interval for saving alarm log file, no less than 1 hour with the accuracy of 1 minute everyday <time> Time when the alarm log file is saved everyday week <weekday><ti...
  • Page 79: Logging Ftp

    This example describes how to send the alarm messages above Example level 6 to the FTP server at 168.1.70.100, where the login username is target, the password is target and the saving file is zxralarm.log. ZXR10(config)#logging ftp notificational 168.1.70.100 target target zxralarm.log Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 80: Logging Level

    ZXR10 Command Manual (Basic Configuration Volume I) logging level Use this command to set the alarm message level recorded in the Function alarm log file. Cancel the setting with the no command: notifica- tions. Global configuration Command Mode logging level <level>...
  • Page 81: Logging Nat Ftp

    08:00:00. Generate a new log file. ZXR10(config)#logging nat ftp 168.1.70.100 target target 08:00:00 natlog 2 logging on Use this command to enable the system log function. Disable the Function function with the no command.
  • Page 82: Logging Synchronize

    ZXR10 Command Manual (Basic Configuration Volume I) logging on Syntax no logging on Enable the system log function. Default � The logging on command affects the following commands, Instructions logging mode, logging console, logging buffer, logging level, logging ftp, logging trap and logging file savetime.
  • Page 83: Memory-Threshold

    This example describes how to set the memory alarm threshold as Example ZXR10(config-environ)#memory-threshold 70 show alarm-level Use this command to show the level of alarm code. Function All modes except exec Command Mode show alarm level [<alarm-code>] Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 84: Show Logfile

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <alarm-code> Alarm code, the range 0~65535. Only the alarm codes which belong to alarm level 4-8 are permitted to modify. The command without parameter, that means the information of Instruction all alarm codes are displayed.
  • Page 85: Show Logging Configure

    PIM, MUX and BFD This example describes how to display the alarm information that Example is the IP type from May.22, 2002. ZXR10#show logging alarm typeid ip start-time 5-22-2002 show logging configure Use this command to display the configuration information of the Function statistics alarm functional module.
  • Page 86 ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description The maximum number of each board, vary with rack type. In order to obtain the number of MP boards, execute show processor mp. The value of num is displayed. Resource statistics information of mp <1~2>...
  • Page 87: Show Processor Details

    Use this command to display local end and remote end tempera- Function ture of board for ZXR10 T128 series. Use this command to display rack temperature of board for ZXR10 69 series. All except exec Command Mode...
  • Page 88: Syslog-Server Facility

    Display upc, sfc temperature, select slave board Display bic temperature <variable> slot number of np board � The format for ZXR10 T128 series is shown below. Instructions Panel Local (℃/℉) Remote (℃/℉) UPC 2 SFC 2 The first colume is board type.
  • Page 89: Syslog-Server Host

    The alarm level is notifications by default. This example describes how to display configure the IP address Example of 168.1.1.111 syslog server only send alarmlog to syslog server. Alarm level is errors. ZXR10(config)#syslog-server host 168.1.1.111 alarmlog level errors Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 90: Syslog-Server Source

    ZXR10 Command Manual (Basic Configuration Volume I) syslog-server source Use this command to set syslog source address. Cancel the set- Function tings with the no command. Global configuration Command Mode syslog-server source <ip-address> Syntax no syslog-server source Syntax Description <ip-address>...
  • Page 91: Write

    � Before configuring this command, make sure alarm tempera ture on already be open. � Only ZXR10 T128, ZXR10 T1200 support this command. This example describes how to set the lowthreshold on local end Example of sfc board to -40.
  • Page 92: Write Cmdlog

    ZXR10 Command Manual (Basic Configuration Volume I) ZXR10#write Building configuration... [ok] write flash Related Commands write nvram write cmdlog Use this command to save the contents in the alarm log buffer in Function a file under flash:data/log.dat Privileged Command mode...
  • Page 93: Ftp/Tftp Server

    ZXR10#copy flash: /cfg/db.dat ftp: //168.1.1.1/db.dat@zxr10:zxr10 � This example describes how to copy the file db.dat under the working directory of the FTP user zxr10 on the host 168.1.1.1 into the root directory of the router FLASH. ZXR10#copy ftp: //168.1.1.1/db.dat@zxr10:zxr10 root db.dat...
  • Page 94: Copytftp Client

    [vrf <vrf-name>|mng] //re mote host address or host name/file path/filename � In ZXR10 GAR and ZXR10 ZSR, the management interface pa- Instructions rameter mng is not supported. � In some devices the local directory might not be flash, such as:it is root in ZXR10 T128.
  • Page 95: Ftp-Server Top-Directory

    <directory> The user directory name must a complete path. The directory must exist. � The directories in ZXR10 should be /flash/, /cf, /bd, /bd1, Instruction /bd2…(number of USB devices vary with routers) � Only directories beginning with /system/ are valid.
  • Page 96: Ip Ftp Username

    ZXR10 Command Manual (Basic Configuration Volume I) This example describes how to set the FTP login password as Example zxr10. ZXR10(config)#ip ftp password zxr10 ip ftp username Related Command ip ftp username Use this command to set the default login username of the FTP Function client.
  • Page 97 Chapter 6 FTP/TFTP Server Syntax Description <user id> On-line user ID, the valid value is 1 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 98 ZXR10 Command Manual (Basic Configuration Volume I) This page is intentionally blank. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 99: Ipv4 Basic Protocols

    ............. 109 ntp enable ..............110 ntp server ..............110 ntp source ..............111 ntp trusted-key ............... 111 ping................111 ping mng ............... 113 ping mpls ............... 113 set arp ................114 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 100: Address

    ZXR10 Command Manual (Basic Configuration Volume I) show arp ................ 115 show detect-group............116 show ip forwarding ............117 show ip protocol routing ........... 117 show ip protocol routing summary ........118 show ip route..............118 show ip traffic ..............119 show ntp status...............
  • Page 101: Arp Timeout

    Deletes the permanent bound ARP entry <ip-address>] IP address in the dotted decimal notation This example describes how to delete the statically bound ARP en- Example try on the fei_1/1 interface. ZXR10#clear arp in fei_1/1 permanent Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 102: Clear Ip Traffic-Statistics

    ZXR10 Command Manual (Basic Configuration Volume I) set arp Related Commands show arp clear ip traffic-statistics Use this command to clear the statistics on IP transmission. Function Privileged Command Mode clear ip traffic-statistics Syntax This example describes how to clear the statistics on IP transmis- Example sion.
  • Page 103: Clear Tcp Line

    This example describes how to clear TCP connections. Example ZXR10#clear tcp tcb 3261896 clear tcp tty Use this command to clear the Telnet connection only. Privileged Command Mode clear tcp tty <tty-number> Syntax Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 104: Clear Tcp Vty

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <tty-number> Ranges 66 ~ 81 This example describes how to clear the Telnet connection. Example ZXR10#clear tcp tty 66 clear tcp vty Use this command to clear the Telnet connection, but only clear...
  • Page 105: Detect Try-Times

    Use this command to set the detect time-out limit. Function Detect group configuration Command Mode time-out <time-out> Syntax Syntax Description time-out Time-out time(in seconds), in the range of 0-86400. By default, it is 15 seconds. Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 106: Detect-Group

    ZXR10 Command Manual (Basic Configuration Volume I) The default value is 15s. Set the detect group to default time-out Instruction time. This example describes how to set the time-out time of detect Example group to 8 seconds. ZXR10(config)#detect-group 1 ZXR10(config-detect)#time-out 8 detect-group Use this command to enter detect group configuration mode.
  • Page 107: Ip Address

    This example describes how to set the fei_1/1 interface IP address Example to 168.1.10.100 and the subnet mask to 255.255.0.0. ZXR10(config)#interface fei_1/1 ZXR10(config-if)#ip address 168.1.10.100 255.255.0.0 ip forwarding-mode Use this command to set the forwarding mode of the interface. Function Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 108: Ip Load-Sharing

    ZXR10 Command Manual (Basic Configuration Volume I) Interface configuration Command Mode ip forwarding-mode {vlan-switch | normal | mix} Syntax no ip forwarding-mode Syntax Description vlan-switch The IP packets on the interface are forwarded through V_switch The IP packets on the...
  • Page 109: Ip Local Policy Route-Map

    TRACE packets will be transmitted by local policy route. � Only the platform version 4.8.22 supports this command. This example describes how to set ip local policy route-map named Example rmp1. ZXR10(config)# ip local policy route-map rmp1 ZXR10(config)# no ip local policy route-map route-map Related Commands ip mtu...
  • Page 110: Ip Policy Route-Map

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <bytes> MTU of the interface in byte, ranging 128 ~ 1500, 1500 by default Every interface has a default MTU, 1,500 bytes by default. The Instructions tunnel interface has a default value of 1,476. The MTU value may vary with the network segment.
  • Page 111: Ip Redirect

    Use this command to set up a static route. Delete the static route Function with the no command. Global configuration Command Mode ip route [mng | vrf <vrf-name>]<prefix><net-mask>{<forw Syntax arding-router’s-address>|<interface-name>}[<distance-metric >][tag <tag>][global] no ip route [vrf <vrf-name>]<prefix><net-mask>[<distance-m etric>][tag <tag>] Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 112: Ip Source-Route

    Configure the static route in management interface vrf <vrf-name> Name of the specified VRF where the static route is, 1 ~ 16 characters. The ZXR10 3900/3200 does not provide this parameter <prefix> Prefix of IP address in the dotted decimal notation <net-mask>...
  • Page 113: Ip Stream Cache

    Set the active time and inactive time of stream records in ip stream cache, unit is second, 15 by default � This command is only supported by ZXR10 T128 and ZXR10 Instructions T1200. � After ip stream cache entries are upgraded, it will not take effect immediately.
  • Page 114: Ip Stream Enable

    Use this command to enable IP stream sampling function. Function Global configuration Command Mode ip stream enable Syntax This command is only supported by ZXR10 T128 and ZXR10 Instruction T1200. � This example describes how to enable IP stream sampling func- Example tion.
  • Page 115: Ip Tcp Finwait-Time

    If 5 is set, the version is v5, if 9 is set the version is v9. Only these two versions are supported. � This command is only supported by ZXR10 T128 and ZXR10 Instructions T1200. � Two values can be configured in ip stream export destination, distinguished by address.
  • Page 116: Ip Tcp Queuemax

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <seconds> Time to wait for TCP disconnection in second, 300 ~ 600, 600 seconds by default This example describes how to configure the wait time for TCP Example disconnection to 400 seconds.
  • Page 117: Ip Tcp Window-Size

    This example describes how to configure the IP address of the Example fei_1/1 interface (with configured address 168.1.1.1/24) as the address of the pos_3/1. ZXR10(config)#interface pos_3/1 ZXR10(config-if)#ip unnumbered fei_1/1 Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 118: Ip Unreachable

    Configures the sampling rate of ip stream, in the range of 1~65535. � This command is only supported by ZXR10 T128 and ZXR10 Instructions T1200. � Ip stream sampling can be set in two directions at the same time.
  • Page 119: Ntp Authenticate

    Key word Instruction Use this command to set key number and the corre- Instruction sponding key word. At most 255 check codes can be set. ntp authenticate Related Commands ntp trusted-key <key number> Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 120: Ntp Enable

    ZXR10 Command Manual (Basic Configuration Volume I) ntp enable Use this command to enable the NTP function. Disable it with the Function no command. Global configuration Command Mode ntp enable Syntax no ntp enable This command is like the switch of the NTP function. The other NTP Instruction commands cannot be enabled unless this command is configured.
  • Page 121: Ntp Source

    Exec mode / privileged Command Mode ping [vrf <vrf-name>]<ip-addr>[option {repeat <repeat-coun Syntax t>| size <datagram-size>| timeout <timeout>| source <sourc e-address>| tos <tos>| ttl <ttl>| df-bit |<DON’T-FRAG>| limit <limit>| pattern <pad>}][extcom {{loose | strict}{<source-r Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 122 ZXR10 Command Manual (Basic Configuration Volume I) oute-IP-address>}| record <record-hops>| timestamp <record -timestamps>| none}}] Syntax Description <key number> IP address of the host to be checked, in the dotted decimal notation vrf <vrf-name> VRF of the IP address, 1 ~ 16 characters repeat<repeat-cou...
  • Page 123: Ping Mng

    � Since the management interface of ZXR10 GAR participates in the forwarding, ZXR10 GAR does not support this command. This example describes how to check whether the 192.168.0.1 Example management interface is reachable.
  • Page 124: Set Arp

    ZXR10 Command Manual (Basic Configuration Volume I) size <datagram-size> Ping mpls packet size timeout <timeout> Timeout time in second, in the range of 1~60 This example describes how to check whether the specified LDP Example LSP:173.13.13.8/32 is reachable. ZXR10#ping mpls ipv4 173.13.13.8 32 sending 5,90-byte MPLS echos to 173.13.13.8,timeout is 2 seconds.
  • Page 125: Show Arp

    “-“, the address is an interface address and shall be valid forever. hardware add The MAC address, in dotted division format interface Name of the Ethernet interface External VlanID External VLAN flag of the ARP Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 126: Show Detect-Group

    ZXR10 Command Manual (Basic Configuration Volume I) Field Description Internal VlanID Internal VLAN flag of the ARP Sub Interface Subinterface of the ARP clear arp Related Commands clear arp-cache show detect-group Use this command to display the current automatic detect group Function information.
  • Page 127: Show Ip Forwarding

    Otherwise, all entries (no more than 255) within <ip-address> and<end-ip-address> will be displayed. show ip protocol routing Use this command to display protocol stack route-related informa- Function tion. Command Mode show ip protocol routing [network <ip-address>[mask <net- Syntax mask>]] Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 128: Show Ip Protocol Routing Summary

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description network <ip-addre Network number in the dotted decimal ss> notation mask <net-mask> Network mask in the dotted decimal notation By default all protocol stack routes will be displayed. If the net-...
  • Page 129: Show Ip Traffic

    NAT, NAT-PT and VRRP. � As ZXR10 3900/3200 does not support MPLS VPNs, it does not provide commands show ip route vpn, show ip route vrf, and show ip route vrf-summary This example describes how to display the global routing table.
  • Page 130: Show Ntp Status

    URPF statistics: number of packets that are dropped for � not passing the URPF check. � ZXR10 GAR, ZXR10 ZSR, ZXR10 GER, ZXR10 T128 and ZXR10 T1200 support the display of URPF counter. This example describes how to display the statistics on IP trans- Example mission.
  • Page 131: Show Tcp Brief

    Connection state is ESTAB, I/O status: 1, unread input bytes: 1 Local host: 10.40.88.18, Local port: 23 Foreign host: 10.40.53.2, Foreign port: 1047 Enqueued packets for retransmit: 10, input: 195 mis-ordered: 0 (0 bytes) Event Timers (Current time is 0x9ff0268): Timer Starts Wakeups Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 132: Show Tcp Statistics

    ZXR10 Command Manual (Basic Configuration Volume I) Retrans TimeWait AckHold KeepAlive Persist SynWait FinWait iss:2410219336 snduna:2410222919 sndnxt:2410222919 sndwnd:8576 irs: 927547 rcvnxt: 927671 rcvwnd: 2021 SRTT: 1962 ms, RTTO: 751 ms, KRTT: 751 ms minRTT: 40 ms, maxRTT: 2164 ms, ACK hold: 200 ms...
  • Page 133: Show Tcp Tty

    16116 irs:2800883239 rcvnxt: 2800884272 rcvwnd: 1112 SRTT: 1580 ms, RTTO: 361 ms, KRTT: 361 ms minRTT: 0 ms, maxRTT: 1667 ms, ACK hold: 200 ms Flags:Passive open, higher precedence,retransmission timeout Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 134: Show Tcp Vty

    ZXR10 Command Manual (Basic Configuration Volume I) Datagrams (max data segment is 536 bytes): Rcvd:1664 (out of order: 0), with data: 915,total data bytes: 1035 Sent:1100 (retransmit: 5), with data: 1083,total data bytes: 62442 show tcp vty Use this command to display the relevant parameters of the con-...
  • Page 135: Trace

    Wrap time of each of the three detections to be sent trace mpls Use this command to trace the LSP path to the destination. Function Privileged Command Mode trace mpls {ipv4 <ip-address><destination-mask>| traff Syntax ic-eng <tunnel-interface>}[revision <revision>][timeout <timeout>][ttl <ttl>] Confidential and Proprietary Information of ZTE CORPORATION...
  • Page 136: Vlan Arp-Mode

    ZXR10 Command Manual (Basic Configuration Volume I) Syntax Description <ip-address Destination IP address in the dotted decimal notation <destination-mask Length of LDP LSP destination address masks <tunnel-interface MPLS TE tunnel <revision< revision draft <timeout> Timeout period in second, in range 1~60. By default, it is 2 seconds.
  • Page 137: Vlan-Forwarding

    This command can be used when the forwarding mode of the Instruction interface is set to vlan-switch with the ip forwarding-mode command. � It is applicable only to ZXR10 GER. ip forwarding-mode Related Command vlan-forwarding Use this command to set the VLAN forwarding table.

Table of Contents