Date post: | 19-May-2015 |
Category: |
Technology |
Upload: | prachandra |
View: | 382 times |
Download: | 0 times |
ZXR10 8900 Series10 Gigabit Routing Switch
Command Reference (Network Management)
Version 2.8.02.C
ZTE CORPORATIONZTE Plaza, Keji Road South,Hi-Tech Industrial Park,Nanshan District, Shenzhen,P. R. China518057Tel: (86) 755 26771900Fax: (86) 755 26770801URL: http://ensupport.zte.com.cnE-mail: [email protected]
LEGAL INFORMATION
Copyright © 2006 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution ofthis document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-RATION 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 CORPORATIONor of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions are dis-claimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-in-fringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on theinformation contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subjectmatter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Revision No. Revision Date Revision Reason
R1.0 July 31, 2009 First Release
Serial Number: sjzl20093867
About This Manual.............................................. i
Command Introduction .....................................1Manual Instruction.......................................................... 1
Description of Man-Machine Commands............................. 1
Auxiliary Function ........................................................... 2
Command Modes............................................................ 3
SNMP Configuration ..........................................9show snmp.................................................................... 9
show snmp config........................................................... 9
show snmp Engine-id .....................................................10
show snmp group ..........................................................10
show snmp user ............................................................10
snmp-server access-list ..................................................10
snmp-server community.................................................11
snmp-server contact ......................................................11
snmp-server context......................................................12
snmp-server enable inform .............................................12
snmp-server enable trap ................................................13
snmp-server engine-id ...................................................13
snmp-server group ........................................................14
snmp-server host ..........................................................15
snmp-server location .....................................................16
snmp-server packetsize..................................................17
snmp-server trap-source ................................................17
snmp-server user ..........................................................18
snmp-server view..........................................................19
RMON Configuration ........................................21rmon alarm ..................................................................21
rmon collection history ...................................................22
rmon collection statistics ................................................23
rmon event...................................................................24
show rmon ...................................................................25
LLDP Configuration..........................................27lldp enable....................................................................27
lldp disable ...................................................................28
lldp hellotime ................................................................28
lldp holdtime.................................................................29
lldp maxneighbor...........................................................29
lldp clearneighbor..........................................................29
lldp clearstatistic ...........................................................30
lldp rxenable.................................................................30
lldp txdisable ................................................................31
lldp txenable.................................................................31
lldp txdisable ................................................................32
WEB Network Management Configuration........33web enable...................................................................33
web disable ..................................................................33
LFAP Configuration..........................................35lfap backup-server1 .......................................................35
lfap backup-server2 .......................................................36
lfap enable ...................................................................36
lfap disable...................................................................37
lfap fas-server...............................................................37
lfap flow-expired-time ....................................................38
lfap ka-interval..............................................................38
lfap max-send-fun-size...................................................38
lfap message-response-interval .......................................39
lfap server-retry-interval ................................................39
lfap statistic sample-rate ................................................40
lfap update-interval .......................................................40
show lfap config ............................................................41
show lfap statistic..........................................................41
Group Configuration ........................................43group erase-member .....................................................43
group handtime.............................................................44
group holdtime..............................................................44
group member ..............................................................45
group name..................................................................46
group reset-member......................................................46
group save-member.......................................................46
group switch-type..........................................................47
group tftp-server...........................................................48
group trap-host.............................................................48
group timer synchronize .................................................48
group-mng extend-mac enable........................................49
show group ..................................................................49
show group candidates...................................................50
show group candidates mac ............................................50
show group members.....................................................51
show group members member-num.................................51
show zdp......................................................................52
show zdp neighbour.......................................................52
show zdp neighbour mac ................................................53
show ztp ......................................................................53
show ztp device ............................................................53
show ztp device-list .......................................................54
show ztp topology .........................................................54
zdp enable....................................................................55
zdp holdtime.................................................................55
zdp timer .....................................................................56
ztp enable ....................................................................56
ztp hop ........................................................................57
ztp hop-delay................................................................57
ztp port-delay ...............................................................58
ztp start .......................................................................58
ztp timer ......................................................................58
ztp vlan........................................................................59
About This Manual
About this Manual ZXR10 8900 Series (V2.8.02.C) 10G Routing Switch Com-mand Reference (Network Management). ZXR10 8900 Series(V2.8.02.C) 10G Routing Switch Command Reference has 16volumes. The details are as follows:
Manual Name Summary
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Index)
This manual describes volumeand section corresponding toeach command in ZXR10 8900series 10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IPv6)
This manual describesIPv6-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IP Routing Volume I)
This manual describes RIP, OSPFand IS-IS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (IP Routing Volume II)
This manual describes BGP, routemap and routing policy-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (MPLS)
This manual describesMPLS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (QoS)
This manual describesQoS-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Security)
This manual describes networksecurity-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (DPI)
This manual describes DPI-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (FW)
This manual describes FW-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume I)
This manual describes systemmanagement, file management,user interface, log statistics,FTP/TFTP server and IPvr-relatedcommands in ZXR10 8900 series10G routing switch.
Confidential and Proprietary Information of ZTE CORPORATION i
ZXR10 8900 Series Command Reference (Network Management)
Manual Name Summary
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume II)
This manual describes interfaceconfiguration, DHCP andVRRP-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Basic ConfigurationVolume III)
This manual describes NAT, TimeRange, stack and DEBUG-relatedcommands in ZXR10 8900 series10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Network Management)
This manual describes networkmanagement-related commandsin ZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Ethernet Switch)
This manual describes MAC,VLAN, SuperVLAN, STP, linkaggregation, VBAS, MAC PINGand UDLD-related commands inZXR10 8900 series 10G routingswitch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Voice and Video)
This manual describes VOIP andIPTV-related commands in ZXR108900 series 10G routing switch.
ZXR10 8900 Series (V2.8.02.C)10G Routing Switch CommandReference (Multicast)
This manual describes multicastprotocol-related commands inZXR10 8900 series 10G routingswitch.
The content of this manual is based on uniform ZXROS platform.Unless otherwise specified or when it is specified to ZXR10, themanual applies to all devices. The items about router in the man-ual also apply to switch with routing function.
Overview This manual describes network management-related commands inZXR10 8900 series (V2.8.02.C) 10G routing switch and containsthe following chapters:
Chapter Overview
Chapter 1 DPIOverview
This chapter describes using method of thiscommand manual, command description,command formats, auxiliary functions andcommand modes.
Chapter 2 SNMPConfiguration
This chapter describes operation and managementcommands of SNMP.
Chapter 3 RMONConfiguration
This chapter describes operation and managementcommands of RMON.
Chapter 4 LLDPConfiguration
This chapter describes operation and managementcommands of LLDP.
Chapter 5 WEBConfiguration
This chapter describes operation and managementcommands of WEB network management.
ii Confidential and Proprietary Information of ZTE CORPORATION
About This Manual
Chapter Overview
Chapter 6 LFAPConfiguration
This chapter describes configuration of LFAP andcommand used to view this configuration.
Chapter 7 ClusterManagementConfiguration
This chapter describes cluster management-related configuration and command used to viewthis configuration.
Confidential and Proprietary Information of ZTE CORPORATION iii
ZXR10 8900 Series Command Reference (Network Management)
This page is intentionally blank.
iv Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 1
Command Introduction
Table of ContentsManual Instruction.............................................................. 1Description of Man-Machine Commands................................. 1Auxiliary Function............................................................... 2Command Modes................................................................ 3
Manual InstructionZXR10 8900 Series (V2.8.02.C) 10G Routing Switch CommandReference includes 16 volumes. For details of each volume, pleaserefer to preface of this manual.
Commands in ZXR10 8900 Series (V2.8.02.C) 10G Routing SwitchCommand Reference (Index) are listed in sequence of from letter ato letter z and in form of table. Commands of all other volumes areclassified and illustrated according to different function modules.Each function module corresponds to one chapter and commandsin each chapter are listed in form of second-level directory and inthe sequence of from letter a to letter z.
To search a command information, perform the following steps:
1. Search corresponding command in ZXR10 8900 Series(V2.8.02.C) 10G Routing Switch Command Reference (Index);
2. Find the details of this command in corresponding volume ac-cording to obtained volume information and chapter informa-tion related to this command.
Description of Man-MachineCommandsEach MML command is described by the following items:
� Command Function
It describes the function implemented by this command.
� Command Modes
It describes the mode in which this command can be executed.
Confidential and Proprietary Information of ZTE CORPORATION 1
ZXR10 8900 Series Command Reference (Network Management)
� Command format
It describes the complete format of this command. If no for-mat is available, list it.
� Parameter Description
It describes parameters in this command in the form and pre-scribes the range and default value. If different products havedifferent parameter ranges or default values, an additionalform is used for description.
� Default Configuration
The default value is available in the case that this command isnot set. The default parameter value is not described here forvalue selection. Additional description shall be given if differentproducts have different default values.
� Tips
It firstly describes the platform version information about thiscommand. For example, “The platform version X.X.XX or latersupports this command” indicates this command is providedfrom platform version X.X.XX. This command is provided fromplatform version 4.6.01 by default.
After these information, it describes the use method and pre-cautions of this command.
� Example
It takes an example to introduce how to use this command.
� Related Commands
It lists commands related to this command.
� History Command
It describes history version information related to this com-mand if a command is changed after version upgrade.
Note:
Do not describe the command history if this entry does not exist.
Auxiliary FunctionCommand help function of ZXR10 devices has the following fea-tures:
1. By entering a question mark (?) following DOS prompt in anycommand mode, a list of available commands in this commandmode are displayed. With the context-sensitive help function,the keywords and parameter list of any commands can be dis-played.
� By entering a question mark "?" following DOS prompt inany command mode, a list of all commands in this modeand brief description of these commands are displayed.
2 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
� Input the question mark following a character or a charac-ter string, a list of commands or keywords beginning withthis character or character string is displayed. Note thatthere is no space between the character (string) and thequestion mark.
� Press Tab key following the character string. If the com-mand or keyword beginning with this character string isunique, complement the command or keyword and attacha space to the end. Note that there is no space betweenthe character string and the Tab key.
� Input a question mark (?) following the command, key-word or parameter. The next keyword or parameter to beentered is listed, and also a brief description is given. Aspace shall be entered before the question mark.
2. If incorrect command, keyword or parameter is entered, theerror isolation is offered with ^ in the user interface after youpress Enter key. Character ^ locates below the first characterof the entered incorrect command, keyword or parameter.
3. The system allows the command or keyword to be abbreviatedto a character or character string that uniquely identifies thiscommand or keyword. For example, show command can beabbreviated to sh or sho.
4. User interface supports the function of recording input com-mands. Maximum ten history commands can be recorded. Thisfunction is very useful in re-invocation of a long or complicatedcommand or ingress.
To re-invoke a command from the record buffer, conduct oneof the following operations.
Command Function
Press Ctrl-P or theup arrow key
It re-invokes the latest commands in therecord buffer. Repress these keys to invokeold commands forwards.
Press Ctrl-N or downarrow key
Roll commands downwards. When thelast command line is reached, one moreoperation will roll the commands from thebeginning of the buffer cyclically.
Use show history command in any mode, and the latest sev-eral commands in this mode will be listed.
Command ModesThe command modes in this manual are as follows:
Confidential and Proprietary Information of ZTE CORPORATION 3
ZXR10 8900 Series Command Reference (Network Management)
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
UserMode
ZXR10> Enter thismode directlyafter loggingonto system
View simpleinformation
Privi-legedmode
ZXR10# UserMode
enable Configuresystemparameters
Globalconfig-urationmode
ZXR10(config)# Privi-legedmode
configureterminal
Configureglobal serviceparameters
Inter-faceconfig-urationmode
ZXR10(config-if)#
Globalconfig-urationmode
interface It configuresportparametersand selectsa port typedepending onthe keyword.
Subin-terfacemode
ZXR10 (config-subif)#
Globalconfig-urationmode
interface It configuressubinterfaceparameters ofNPCI/NPCT.
VLANData-baseConfig-urationMode
ZXR10(vlan-db)#
Privi-legedmode
vlan database
Create ordelete VLANin batch
VLANConfig-urationMode
ZXR10(config-vlan)#
Globalconfig-urationmode
vlan ConfigureVLANparameters.
MSTPConfig-urationMode
ZXR10(config-mstp)#
Globalconfig-urationmode
spanning-tree mst configuration
ConfigureMSTPparameters.
BasicACLConfig-urationMode
ZXR10(config-basic-acl)#
Globalconfig-urationmode
acl basic Define basicACL rules
Ex-tendedACLConfig-urationMode
ZXR10(config-ext-acl)#
Globalconfig-urationmode
acl extend Defineextended ACLrules
4 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
LINEconfig-urationmode
ZXR10(config-line)#
Globalconfig-urationmode
line console0
line <1~64>(GAR Devices)
It config-ures serialport con-nection/tel-net connec-tion-relatedparameters.
L2 ACLConfig-urationMode
ZXR10(config-link-acl)#
Globalconfig-urationmode
acl link Define l2 ACLrules
HybridACLConfig-urationMode
ZXR10(config-hybd-acl)#
Globalconfig-urationmode
acl hybrid Define hybridACL rules
Routerstand-ard ACLmode
ZXR10 (config-std-nacl)#
Globalconfig-urationmode
ip access-list It definesrouterstandard ACLrules.
Routerex-tendedACLmode
ZXR10 (config-ext-nacl)#
Globalconfig-urationmode
ip access-list It definesrouterextended ACLrules.
router rip ConfigureRIP protocolparameters
router ospf ConfigureOSPF protocolparameters
router isis ConfigureIS-IS protocolparameters
router bgp ConfigureBGP protocolparameters
routerpimsm
ConfigurePIM-SMprotocolparameters
ipv6 routerrip
It configuresRIPngparameters.
Routeconfig-urationmode
ZXR10(config-router)#
Globalconfig-urationmode
ipv6 routerospf
It configuresOSPFv3parameters.
Confidential and Proprietary Information of ZTE CORPORATION 5
ZXR10 8900 Series Command Reference (Network Management)
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
VRFConfig-urationMode
ZXR10(config-vrf)#
Globalconfig-urationmode
ip vrf ConfigureVRF protocolparameters
VFI con-figu-rationmode
ZXR10(config-vfi)#
Globalconfig-urationmode
vfi It configuresVPLS-relatedparameters.
Routeconfig-urationmode(RIP)
address-family ipv4 vrf
Configure RIPVRF protocolparameters
Routeaddressmode
ZXR10(config-router-af)#
Routeconfig-urationmode(BGP)
address-family vpnv4
address-family ipv4 vrf
ConfigureBGP, VPN andVRF protocolparameters
Routeconfig-urationmode(BGP4)
address-family ipv6
It configuresBGP4+unicastaddressfamily.
IPv6unicastaddressfamilyconfig-urationmode
ZXR10(config-router-af)#
Routeconfig-urationmode(IS-ISv6)
address-family ipv6
It configuresIS-ISv6addressfamily.
RouteMapConfig-urationMode
ZXR10(config-route-map)#
Globalconfig-urationmode
route-map Configureroute mapmatchingitem andoperations
Chan-nelizedconfig-urationmode
ZXR10(config-control)#
Globalconfig-urationmode
control It configureschannelizationfor ce1, ce3and cpos3.
Dialpeerconfig-urationmode
ZXR10(config-voip100)#
Globalconfig-urationmode
dial-peervoice
It configuresservicesrelated tointegratedservice.
Voiceportconfig-urationmode
ZXR10(config-voice-port)#
Globalconfig-urationmode
voice-port It configuresvoice service.
6 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 1 Command Introduction
Modes Prompt Admis-sionMode
Commandto Enter theMode
Function
IPSecconfig-urationmode
ZXR10(config-ipsec)#
Globalconfig-urationmode
ipsec It configuresIPv6 IPSecprotection.
Diagno-sis mode
ZXR10(diag)# Privi-legedmode
diagnose It tests CPUutilizationand memoryutilization.
Confidential and Proprietary Information of ZTE CORPORATION 7
ZXR10 8900 Series Command Reference (Network Management)
This page is intentionally blank.
8 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 2
SNMP Configuration
Table of Contentsshow snmp........................................................................ 9show snmp config............................................................... 9show snmp Engine-id .........................................................10show snmp group ..............................................................10show snmp user ................................................................10snmp-server access-list......................................................10snmp-server community.....................................................11snmp-server contact ..........................................................11snmp-server context..........................................................12snmp-server enable inform .................................................12snmp-server enable trap ....................................................13snmp-server engine-id .......................................................13snmp-server group ............................................................14snmp-server host ..............................................................15snmp-server location .........................................................16snmp-server packetsize......................................................17snmp-server trap-source ....................................................17snmp-server user ..............................................................18snmp-server view..............................................................19
show snmpPurpose Use this command to display statistics information about SNMP
packets.
Command Modes All modes except user EXEC
Syntax show snmp
show snmp configPurpose Use this command to display configuration information of all SN-
MPs.
Command Modes All modes
Syntax show snmp config
RelatedCommands
show snmp group
show snmp user
Confidential and Proprietary Information of ZTE CORPORATION 9
ZXR10 8900 Series Command Reference (Network Management)
show snmp engine_id
show snmp
show snmp Engine-idPurpose Use this command to display local engine identifier of SNMP. SNMP
engine, as the core part in an SNMP entity, is used to authenticatethe receiving/sending of SNMP messages, and withdraw PDU as-sembled messages to communicate with the SNMP program.
Command Modes All modes
Syntax show snmp engine_id
RelatedCommands
snmp-server engine_id
show snmp groupPurpose Use this command to display local groups of SNMP.
Command Modes All modes
Syntax show snmp group
RelatedCommands
snmp-server group
show snmp userPurpose Use this command to display local users of SNMP.
Command Modes All modes
Syntax show snmp user
RelatedCommands
snmp-server user
snmp-server access-listPurpose Use this command to apply the configured ACL to control access
to the system host address according to SNMP. Cancel the controlwith the no form of this command.
Command Modes Global configuration
Syntax snmp-server access-list <acl-numberorname>
no snmp-server access-list
10 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
SyntaxDescription
<acl-numberorname> Basic ACL number, range: 1~199,1000~1999, or ACL name
Example This example describes how to configure ACL 1 to control accessto the system host address according to SNMP.ZXR10(config)#snmp-server access-list 1
snmp-server communityPurpose Use this command to set an SNMP packet community string.
Delete the SNMP packet community string with the no form ofthis command.
Command Modes Global configuration
Syntax snmp-server community <community-name>[view <view-name>][ro | rw]
no snmp-sever community <community-name>
SyntaxDescription
<community-name> Community string name, 1~32 characters
view <view-name> Specifies a view name for the communitystring configured, 1~32 characters
ro | rw ro indicates conducting read-only access tothe MIB object and rw indicates conductingread/write access to the MIB object
Defaults When the view parameter is the default parameter, the commu-nity configured will be specified as the default view (1.3.6.1.2.1.1).When the ro | rw parameters are default parameters, the ro willbe identified as the default priority of the configured community.
Instructions � This command is supported after the platform version 4.6.02.
� In global configuration mode, input the above command linesdirectly. The <community-name> is an arbitrary string (1~32)and the <view-name> is an MIB view name.
Example This example describes how to set SNMP packets community asmyCommunity with read-write access.ZXR10(config)#snmp-server community myCommunity view myview rw
RelatedCommands
snmp server view
snmp-server contactPurpose Use this command to set the Simple Network Management Pro-
tocol (SNMP) system contact for Management Information Base
Confidential and Proprietary Information of ZTE CORPORATION 11
ZXR10 8900 Series Command Reference (Network Management)
(MIB). Remove the system contact information with the no formof this command.
Command Modes Global configuration
Syntax snmp-server contact <mib-syscontact-text>
no snmp-server contact
SyntaxDescription
<mib-syscontact-text>
Text that describes the system contactinformation, not more than 200 characters
Example The following example shows how to specify a system contact text.ZXR10(config)#snmp-server contact this is ZXR10, tel:(025)52872006
snmp-server contextPurpose Use this command to create an SNMP context.
Command Modes Global configuration
Syntax snmp-server context <context-name>
no snmp-server context <context-name>
SyntaxDescription <context-name> Context name, with 1~16 characters
Instructions This command is supported after the platform version 4.6.02.
Example The following example creates a new SNMP context named "con-textA".ZXR10(config)#snmp-server context contextA
snmp-server enable informPurpose Use this command to turn on the switch of sending a notification by
the agent and set the notification type sent by the agent. Cancelthe setting with the no form of this command.
Command Modes Global configuration
Syntax snmp-server enable inform [<notification-type>]
no snmp-server enable inform [<notification-type>]
SyntaxDescription
<notification-type> Specifies the notification type, which maybe one of the followings: BGP, OSPF, RMON,SNMP, Stalarm, VPN
Defaults All notifications can be sent by default.
12 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
Instructions In global configuration mode, input the above command lines di-rectly, where, the parameter <notification-type> is the notificationtype.
Example This example describes how to configure the agent to be able tosend all notifications.ZXR10(config)#snmp-server enable informZXR10(config)#snmp-server host 168.1.1.1 inform version 2c public
RelatedCommands
snmp-server host
snmp-server enable trapPurpose Use this command to enable Simple Network Management Protocol
(SNMP) trap notifications. Cancel the setting with the no form ofthis command.
Command Modes Global configuration
Syntax snmp-server enable trap [<notification-type>]
no snmp-server enable trap [<notification-type>]
SyntaxDescription
<notification-type> Type of notification (trap), the notificationtype can be one or more of the followingkeywords: BGP, OSPF, RMON, SNMP, Stalarm,VPN
Defaults All SNMP notifications are disabled by default.
Instructions � This command is supported after the platform version 4.6.02
� In global configuration mode, input the above command linesdirectly, where, the parameter <notification-type> is the noti-fication (trap) type.
Example The following example shows how to enable the router to send alltraps to the host at IP address 168.1.1.1, using the communitystring defined as publicZXR10(config)#snmp-server enable trapZXR10(config)#snmp-server host 168.1.1.1 public
RelatedCommands
snmp-server host
snmp-server engine-idPurpose Use this command to specify SNMP engine ID on the local device.
Return the engine ID to the default with the no form of this com-mand. SNMP engine, as the core part in an SNMP entity, is usedto receive/authenticate SNMP messages, withdraw PDU assembledmessages, communicate with the SNMP program.
Command Modes Global configuration
Syntax snmp-server engine_id <engine-id>
Confidential and Proprietary Information of ZTE CORPORATION 13
ZXR10 8900 Series Command Reference (Network Management)
no snmp-server engine_id
SyntaxDescription
<engine-id> Local SNMP engine ID, 1~24 char-acters. The default value is830900020300010289d64401. It mustbe expressed with a hexdecimal number
Instructions This command is supported after the platform version 4.6.02.
Example The following example shows how to configure the snmp engineID on the local device to be 12345667890.ZXR10(config)#snmp-server engine-id 12345667890
RelatedCommands
show snmp engine-id
snmp-server groupPurpose Use this command to configure a new Simple Network Manage-
ment Protocol (SNMP) group, or a table that maps SNMP users toSNMP views. Remove a specified SNMP group with the no form ofthis command.
Command Modes Global configuration
Syntax snmp-server group <groupname> v3 {auth | noauth | priv}[context<context-name>match-prefix |match-exact][read<readview>][write <writeview>][notify <notifyview>]
no snmp-server group <groupname> v3 {auth | noauth |priv}
SyntaxDescription <groupname> Configured group name, with 1~32 characters
v3 Specifies a group that uses the SNMP Version3
auth Specifies authentication of a packet withoutencrypting it
noauth Specifies no authentication of a packet
priv Specifies authentication of a packet withencryption
context Specifies the SNMP context to associate withthis SNMP group and associated views
match-prefix Specifies the context match mode as prefixmatch
match-exact Specifies the context match mode as accuratematch
read <readview> Specifies a read view string, with 1~32characters
14 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
write <writeview> Specifies a write view string, with 1~32characters
notify <notifyview> Specifies a notification view string, with 1~32characters
Defaults The contents of the system group (with the OID of 1.3.6.1.2.1.1)can be read by default.
Instructions � The context parameter is added after the platform version4.6.02
� If there is the context parameter in the configuration of thiscommand, this command can not be deleted by the no snmp-server group <groupname> v3 {auth | noauth | priv}command. It can be deleted by the no snmp-server group<groupname> v3 {auth | noauth | priv}[context <context-name>] command.
Example The following example shows how to configure an SNMP version 3group named group1 that requires the authentication of packetswith encryption. And the read view string, write view string andnotification view string are named view1.ZXR10(config)#snmp-server group group1 v3 priv read view1write view1 notify view1
RelatedCommands
show snmp group
snmp-server user
snmp-server hostPurpose Use this command to specify the recipient of a Simple Network
Management Protocol (SNMP) notification operation. Remove thespecified host to receive an SNMP notification with the no form ofthis command. The snmp-server host command must be usedtogether with the snmp-server enable command.
Command Modes Global configuration
Syntax snmp-server host [mng | vrf <vrf-name>]<ip-address>[trap| inform] version {1 | 2c | 3 {auth | noauth | priv}}<community-name>[udp-port <udp-port>][<trap-type>]
no snmp-server host [mng | vrf <vrf-name>]<ip-address>[trap | inform][version {1 | 2c | 3 {auth | noauth | priv}}]<community-name>
SyntaxDescription mng Management interface
vrf <vrf-name> VPN name, with 1~16 characters
<ip-address> IP address of the specified host in the dotteddecimal format
trap Specifies to send a trap to the host
inform Specifies to send a notification to the host
Confidential and Proprietary Information of ZTE CORPORATION 15
ZXR10 8900 Series Command Reference (Network Management)
version SNMP Version
1 SNMP Version 1
2c SNMP Version 2c
3 SNMP Version 3
auth Specifies authentication of a packet withoutencrypting it
noauth Specifies no authentication of a packet
priv Specifies authentication of a packet withencryption
<community-name> Community string name or SNMPv3 username, with 1~32 characters
udp-port <udp-port> Specifies the User Datagram Protocol (UDP)port of the host to use, range: 0~65535
<trap-type> Trap or notification type, which may be bgp,ospf, rmon, snmp, stalarm or vpn
Defaults The sending type is trap.
If no version keyword is entered, the default is version 1.
The default UDP port is 162.
When this command is entered without keywords, the default is tosend all trap types to the host.
Example This example describes how to configure the send address, port,version and type of a host trap or inform.ZXR10(config)#snmp-server host 168.1.1.1 ver 1 community-name ospfZXR10(config)#snmp-server host 168.1.1.1 ver 3 auth user10 ospf snmp
RelatedCommands
snmp-server enable inform
snmp-server enable trap
snmp-server locationPurpose Use this command to specify the system location of the Manage-
ment Information Base (MIB) object for Simple Network Manage-ment Protocol (SNMP). Remove the location string with the noform of this command.
Command Modes Global configuration
Syntax snmp-server location <mib-syslocation-text>
no snmp-server location
SyntaxDescription
<mib-syslocation-text>
String indicating the physical location of thisdevice (not to exceed 200 characters)
16 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
Example This example describes how to specify the system location of theManagement Information Base (MIB) object for Simple NetworkManagement Protocol (SNMP).ZXR10(config)#snmp-server location this is ZXR10 in china
snmp-server packetsizePurpose Use this command to establish control over the largest Simple Net-
work Management Protocol (SNMP) packet size permitted whenthe SNMP server is receiving a request or generating a reply. Re-store the default value with the no form of this command.
Command Modes Global configuration
Syntax snmp-server packetsize <snmp-packet-max-size>
no snmp-server packetsize
SyntaxDescription
<snmp-packet-max-size>
SNMP packet size in bytes, range: 484~1400
Example The following example shows how to set the maximum size ofSNMP packets to 1400 bytes.ZXR10(config)#snmp-server packetsize 1400
snmp-server trap-sourcePurpose Use this command to specify the interface (and hence the corre-
sponding IP address) from which a Simple Network ManagementProtocol (SNMP) trap should originate.
Command Modes Global configuration
Syntax snmp-server trap-source <ip-address>
no snmp-server trap-source
SyntaxDescription
<IP Address> IP address in A.B.C.D format
Example The following example shows how to specify that the IP address192.168.2.2 is the source for all SNMP notifications.ZXR10(config)#snmp-server trap-source 192.168.2.2
Confidential and Proprietary Information of ZTE CORPORATION 17
ZXR10 8900 Series Command Reference (Network Management)
snmp-server userPurpose Use this command to configure a new user to a Simple Network
Management Protocol Version 3 (SNMPv3) group. Remove a userfrom an SNMPv3 group user with the no form of this command.
Command Modes Global configuration
Syntax snmp-server user <username><groupname> v3 [encrypted][auth {md5 | sha}<auth-password>[priv des56 <priv-password>]]
no snmp-server user <username>
SyntaxDescription <username> SNMP name, with 1~32 characters
<groupname> Name of the group to which the user belongs,with 1~32 characters
v3 SNMP Version 3
encrypted Specifies that the contents to be input are notplain-text but processed key. It is better forthe users not to use this option randomly
auth Specifies authentication of a packet
md5 Specifies the HMAC-MD5-96 authenticationlevel
sha Specifies the HMAC-SHA-96 authenticationlevel
<auth-password> Authentication password (or authenticationkey), with 1~32 characters
priv Specifies authentication of a packet withencryption
des56 Specifies the 56-bit Cipher Block Chaining—Data Encryption Standard (DES) level ofencryption for the user
<priv-password> Encryption password, with 1~32 characters
Defaults There is no encrypted parameter by default, that is, the plain-textis entered.
Example The following example shows how to enter a plain-text passwordfor user1 in group1. And the MD5 authentication password is12345678 and CBC-DES encryption password is 12345678.ZXR10(config)#snmp-server user user1 group1 v3 auth md512345678 priv des56 12345678
RelatedCommands
show snmp user
snmp-server group
18 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 2 SNMP Configuration
snmp-server viewPurpose Use this command to create or update a Simple Network Manage-
ment Protocol (SNMP) view entry. Remove the specified serverview entry with the no form of this command.
Command Modes Global configuration
Syntax snmp-server view <view-name><subtree-id>{included | excluded}
no snmp-server view <view-name>[<subtree-id>]
SyntaxDescription
<view-name> View name, with 1~32 characters
<subtree-id> Specifies the MIB subtree ID or MIB subtreenode name for the view name, with 1~79characters
included | excluded Specifies whether the subtree is included orexcluded
Instructions In global configuration mode, input the above command lines di-rectly, where, the parameter <view-name> is a character string,and the parameter <subtree-id> is an object identifier (OID) inthe form of 1.2.3.4.5 or the node name of the MIB subtree (suchas internet). Use the included | excluded keywords to includeor exclude a subtree.
Example The following example creates a view that includes all objects inthe MIB subtree.ZXR10(config)#snmp-server view myViewName 1.3.6.1.2.1 included
RelatedCommands
snmp-server community
Confidential and Proprietary Information of ZTE CORPORATION 19
ZXR10 8900 Series Command Reference (Network Management)
This page is intentionally blank.
20 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 3
RMON Configuration
Table of Contentsrmon alarm ......................................................................21rmon collection history .......................................................22rmon collection statistics ....................................................23rmon event.......................................................................24show rmon .......................................................................25
rmon alarmPurpose Use this command to set the alarm and MIB object. Cancel the
alarm with the no form of this command.
Command Modes Global configuration
Syntax rmon alarm <index><variable><interval>{delta | absolute}rising-threshold <value>[<event-index>] falling-threshold<value>[<event-index>][owner <string>]
no rmon alarm <index>
SyntaxDescription
<index> Index number, range: 1~65535
<variable> MIB variable to be monitored, which must bean MIB variable that can be converted into aninteger, with 1~64 characters
<interval> Time interval for monitoring the abovevariable in seconds, range: 1~2147483647
delta Indicates to compare the increment with thethreshold
absolute Indicates to directly compare the value of theselected variable with the threshold
rising-threshold<value>
Rising threshold of the sampling statistics,range: -2147483647~2147483647
<event-index> Event index if the threshold is exceeded,range: 1~65535
Confidential and Proprietary Information of ZTE CORPORATION 21
ZXR10 8900 Series Command Reference (Network Management)
falling-threshold<value>
Falling threshold of the sampling statistics,range: -2147483647~2147483647
owner <string> The creator of this alarm, with 1~30characters. The default value is config
Instructions � The sampling with the same or different time interval for thesame instance is allowed.
� If alarm items with the same <index> are created, the systemprompts error. It is necessary to cancel the configuration ofthe original same indexes with the no form of this command.
� Delete the non-existed index items, the system prompts “Un-known channel number”.
� If the memory or resource is unavailable, the system prompts“Alloc buffer error or Resource unavailable”.
� This alarm item should work with the related event item toproduce the corresponding action.
Example This example describes how to configure the monitoring MIB objectas ip.2.0, sampling time as 10 seconds, upper limit as 200, andlower limit as 100 and the corresponding event when upper/lowerlimit alarm rises as 1.ZXR10(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold200 1 falling-threshold 100 1 owner ZTE
RelatedCommands
show rmon alarm
rmon collection historyPurpose Use this command to enable the collection history function of an
interface (applied to the Ethernet interface only). Disable the func-tion with the no form of this command.
Command Modes Interface configuration
Syntax rmon collection history <index>[owner <string>][buckets<bucket-number>][interval <seconds>]
no rmon collection history <index>
SyntaxDescription
<index> Index number, range: 1~65535
owner <string> The history creator of this line, which isa string with the length not exceeding 30characters. The default value is monitor
22 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 RMON Configuration
buckets <bucket-number>
The requested bucket size, which is 50 bydefault. The system supports the size of 100at maximum, in the range of 1~100
interval <seconds> Sampling interval in seconds, in the range of1~3600. The default value is 1800 seconds.It is recommended to configure 30 secondsfor the short term network traffic change and1800 seconds for the long term one
Instructions � It is allowed to configure multiple history statistics items onone interface.
� It is allowed to delete history statistics items on one interfacein interface configuration mode.
� If history items with the same<index> are created, the systemprompts error. It is necessary to cancel the configuration of theoriginal same indexes with the no form of this command.
� If the non-existed index item is deleted, the system prompts“Unknown bufferControl number”.
� If the memory or resource is unavailable, the system prompts“Alloc buffer error or Resource unavailable”.
Example Use this command to configure history group statistics on the 100Mbps Ethernet interface. The sampling time is 300 seconds.ZXR10(config)#interface fei_1/1ZXR10(config-if)#rmon collection history 1 owner ztebuckets 100 interval 300
RelatedCommands
show rmon history
rmon collection statisticsPurpose Use this command to enable the statistics function of an interface
(applied to the Ethernet interface only). Disable the function withthe no form of this command.
Command Modes Interface configuration
Syntax rmon collection statistics <index>[owner <string>]
no rmon collection statistics <index>
SyntaxDescription
<index> Index number, range: 1~65535
owner <string> The creator of the statistics, with not morethan 30 characters. It is monitor by default
Instructions � It is allowed to configure multiple statistics items on one inter-face.
� It is allowed to delete the statistics items of this interfaces ininterface configuration mode.
� If statistics items with the same <index> are created, the sys-tem prompts error. It is necessary to cancel the configurationof the original same indexes with the no form of this command.
Confidential and Proprietary Information of ZTE CORPORATION 23
ZXR10 8900 Series Command Reference (Network Management)
� If the non-existed index item is deleted, the system prompts“Unknown etherStats number”.
� If the memory or resource is unavailable, the system prompts“Alloc buffer error or Resource unavailable”.
Example This example describes how to configure statistics group on the100 Mbps Ethernet interface. The sampling time is 300 seconds.ZXR10(config-if)#rmon collection statistics 1 owner zte
RelatedCommands
show rmon statistics
rmon eventPurpose Use this command to configure a rmon event. Remove an event
with the no form of this command.
Command Modes Global configuration
Syntax rmon event <index>[log][trap <community>][description<string>][owner <string>]
no rmon event <index>
SyntaxDescription
<index> Index number, range: 1~65535
log Whether a record is generated
trap <community> Community string for sending trap, with 1~32characters
description <string> A brief description for the event, 30characters, default: zte
owner <string> Creator of the event, 30 characters, default:config
Instructions � If event items with the same <index> are created, the systemprompts error. It is necessary to cancel the configuration ofthe original same indexes with the no form of this command.
� If the non-existed index item is deleted, the system prompts“Unknown event number”.
� If the memory or resource is unavailable, the system prompts’Alloc buffer error or Resource unavailable”.
Example Use this command to configure a RMON event described aslog_trap_event. Meanwhile, record it in log and send trap infor-mation to the management station. The management stationcommunity is public.ZXR10(config)# rmon event 1 log trap public descriptionlog_trap_event owner ZTE
24 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 3 RMON Configuration
RelatedCommands
show rmon event
show rmonPurpose Use this command to display RMON configurations and relevant
information.
Command Modes All modes except user EXEC
Syntax show rmon [alarms][events][history][statistics]
SyntaxDescription
alarms Displays current information about all alarmcontrol items configured
events Displays current information about all eventcontrol items configured and informationabout events recorded
history Displays current information about all historycontrol entries configured and historicalstatistics information
statistics Displays current information about allstatistics control entries configured andstatistics data
Instructions � If there is no parameter after this command, information aboutthe RMON version is displayed.
� If there is no control item in the specified control list, one ofthe following information will be displayed:
� “Statistics table is empty.”
� “History table is empty.”
� “Alarm table is empty.”
� “Event table is empty.”
Example Use this command to display RMON alarm information.ZXR10(config)#show rmon alarm
RelatedCommands
rmon alarm
rmon collection history
rmon collection statistics
rmon event
Confidential and Proprietary Information of ZTE CORPORATION 25
ZXR10 8900 Series Command Reference (Network Management)
This page is intentionally blank.
26 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 4
LLDP Configuration
Table of Contentslldp enable .......................................................................27lldp disable .......................................................................28lldp hellotime....................................................................28lldp holdtime.....................................................................29lldp maxneighbor...............................................................29lldp clearneighbor..............................................................29lldp clearstatistic ...............................................................30lldp rxenable.....................................................................30lldp txdisable ....................................................................31lldp txenable.....................................................................31lldp txdisable ....................................................................32
lldp enableCommandFunction
This enables LLDP function.
Command Modes Global configuration mode
Command format Lldp enable [interface <port-name>|smartgroup <smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to enable LLDP globally or enable LLDPon a specific interface or link aggregation interface. It is similar torxenable and txenable.
Example To enable LLDP on gei_1/1, execute the following command;ZXR10(config)#lldp enable interface gei_1/1
Confidential and Proprietary Information of ZTE CORPORATION 27
ZXR10 8900 Series Command Reference (Network Management)
RelatedCommands
lldp disable
lldp disableCommandFunction
This disables LLDP function.
Command Modes Global configuration mode
Command format Lldp disable [interface <port-name>|smartgroup <smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to disable LLDP globally or disable LLDPon a specific interface or link aggregation interface. It is similar torxdisable and txdisenable.
Example To disable LLDP on gei_1/1, execute the following command;ZXR10(config)#lldp enable interface gei_1/1
RelatedCommands
lldp disable
lldp hellotimeCommandFunction
This configures hellotime.
Command Modes Global configuration mode
Command format lldp hellotime <seconds>
ParameterDescription
Parameter Description
<seconds> In seconds, in range of 5~32768, 30 secondsby default.
Example To set hellotime to 300 seconds, execute the following command:ZXR10(config)#lldp hellotime 300
28 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 LLDP Configuration
lldp holdtimeCommandFunction
This sets holdtime.
Command Modes Global configuration mode
Command format lldp holdtime <numbers>
ParameterDescription
Parameter Description
<numbers> In range of 2~10, 4 by default.
Example To set holdtime to 8, execute the following command:ZXR10(config)#lldp holdtime 8
lldp maxneighborCommandFunction
This sets the max LLDP neighbors.
Command Modes Global configuration mode
Command format Lldp maxneighbor [ethernet <port-name>|smartgroup <smartgroup-id>]<number>
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
<number> Range in global mode: 1~128; range ininterface mode: 1~8.
Tips This command is used to set max LLDP global neighbors or to setmax LLDP neighbors on a specific physical interface or link aggre-gation interface.
Example To set the max lldp neighbors on gei_1/1 to 4, execute the follow-ing command:ZXR10(config)#lldp maxneighbor 4
lldp clearneighborCommandFunction
This clears all LLDP neighbors.
Command Modes Global configuration mode
Confidential and Proprietary Information of ZTE CORPORATION 29
ZXR10 8900 Series Command Reference (Network Management)
Command format Lldp clearneighbor [interface <port-name>|smartgroup<smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command is used to clear all neighbors or neighbors on aspecific physical interface or link aggregation port.
Example To clear neighbor lldp on gei_1/1, execute the following command:ZXR10(config)#lldp clearneighbor interface gei_1/1
lldp clearstatisticCommandFunction
This clears LLDP statistics.
Command Modes Global configuration mode
Command format Lldp clearstatistic [interface <port-name>|smartgroup <smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command is used to clear all neighbor statistics or statisticsof a specific physical interface or link aggregation port.
Example To clear lldp statistics on gei_1/1, execute the following command:ZXR10(config)#lldp clearstatistic interface gei_1/1
lldp rxenableCommandFunction
This enables LLDP RX function.
Command Modes Global configuration mode
Command format Lldp rxenable [interface <port-name>|smartgroup <smartgroup-id>]
30 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 4 LLDP Configuration
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to enable lldp rx globally or enablelldp rx on a specific interface or link aggregation interface. As fortxenable, after execution of rxenable, it is similar to enable.
Example To enable lldp rx on gei_1/1, execute the following command;ZXR10(config)#lldp rxenable interface gei_1/1
RelatedCommands
lldp rxdisable
lldp txdisableCommandFunction
This disables LLDP TX function.
Command Modes Global configuration mode
Command format Lldp txdisable [interface <port-name>|smartgroup <smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to disable lldp tx globally or disablelldp tx on a specific interface or link aggregation interface. As forenable, after execution of txdisable, it is rxenable.
Example To disable lldp tx on gei_1/1, execute the following command;ZXR10(config)#lldp txdisable interface gei_1/1
RelatedCommands
lldp txenable
lldp txenableCommandFunction
This enables LLDP TX function.
Command Modes Global configuration mode
Command format Lldp txenable [interface <port-name>|smartgroup <smartgroup-id>]
Confidential and Proprietary Information of ZTE CORPORATION 31
ZXR10 8900 Series Command Reference (Network Management)
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to enable lldp tx globally or enablelldp tx on a specific interface or link aggregation interface. As forrxenable, after execution of txenable, it is similar to enable.
Example To enable lldp tx on gei_1/1, execute the following command;ZXR10(config)#lldp txenable interface gei_1/1
RelatedCommands
lldp txdisable
lldp txdisableCommandFunction
This disables LLDP TX function.
Command Modes Global configuration mode
Command format Lldp txdisable [interface <port-name>|smartgroup <smartgroup-id>]
ParameterDescription
Parameter Description
<port-name> This is Ethernet physical interface.
<smartgroup-id> This is link aggregation port, ranging from 1to 32.
Tips This command can be used to disable lldp tx globally or disablelldp tx on a specific interface or link aggregation interface. As forenable, after execution of txdisable, it is rxenable.
Example To disable lldp tx on gei_1/1, execute the following command;ZXR10(config)#lldp txdisable interface gei_1/1
RelatedCommands
lldp txenable
32 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 5
WEB NetworkManagementConfiguration
Table of Contentsweb enable.......................................................................33web disable ......................................................................33
web enablePurpose Use this command to enable the WEB network management of the
system. Disable this function with the web disable command.
Command Modes Global configuration
Syntax web enable
Defaults The WEB network management is disabled by default.
Example This example describes how to enable WEB network management.ZXR10(config)#web enable
RelatedCommands
web disable
web disablePurpose Use this command to disable the WEB network management of the
system. Enable this function with the web enable command.
Command Modes Global configuration
Syntax web disable
Defaults The WEB network management is disabled by default.
Example This example describes how to disable WEB network management.ZXR10(config)#web disable
RelatedCommands
web enable
Confidential and Proprietary Information of ZTE CORPORATION 33
ZXR10 8900 Series Command Reference (Network Management)
This page is intentionally blank.
34 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 6
LFAP Configuration
Table of Contentslfap backup-server1 ...........................................................35lfap backup-server2 ...........................................................36lfap enable .......................................................................36lfap disable.......................................................................37lfap fas-server ..................................................................37lfap flow-expired-time ........................................................38lfap ka-interval..................................................................38lfap max-send-fun-size.......................................................38lfap message-response-interval ...........................................39lfap server-retry-interval ....................................................39lfap statistic sample-rate ....................................................40lfap update-interval ...........................................................40show lfap config ................................................................41show lfap statistic..............................................................41
lfap backup-server1Purpose Use this command to configure the address of the backup server
1 of lfap. Delete the setting with the no form of this command.
Command Modes Global configuration
Syntax lfap backup-server1 [{mng |<vrf><word>}]<A.B.C.D>
no lfap backup-server1
SyntaxDescription mng Indicates LFAP functional module is connected
to the FAS server through the networkmanagement interface of the device
<vrf> Indicates LFAP functional module is connectedto the FAS server through the specified vrfinterface
<word> VPN name to whivh the vrf interface belongs
<A.B.C.D> FAS server address
Instructions Use this command to specify the address of FAS backup server 1with the LFAP function.
Example This example describes how to set the address of lfap backupserver 1 to 192.1.1.120.
Confidential and Proprietary Information of ZTE CORPORATION 35
ZXR10 8900 Series Command Reference (Network Management)
ZXR10(config)#lfap fas-server 192.1.1.120
RelatedCommands
lfap fas-server
lfap backup-server2
lfap backup-server2Purpose Use this command to configure the address of the lfap backup
server 2. Delete the setting with the no form of this command.
Command Modes Global configuration mode
Syntax lfap backup-server2 [{mng |<vrf><word>}]<A.B.C.D>
no lfap backup-server2
SyntaxDescription mng Indicates LFAP functional module is connected
to the FAS server through the networkmanagement interface of the device
<vrf> Indicates LFAP functional module is connectedto the FAS server through the specified vrfinterface
<word> VPN name to which the vrf interface belongs
<A.B.C.D> FAS server address
Instructions Use this command to specify the address of FAS backup server 2with the LFAP function.
Example This example describes how to set the address of lfap backupserver 2 to 192.1.1.110.ZXR10(config)#lfap fas-server 192.1.1.110
RelatedCommands
lfap fas-server
lfap backup-server1
lfap enablePurpose Use this command to enable the lfap function of the system. Dis-
able the function with the lfap disable command.
Command Modes Global configuration
Syntax lfap enable
Defaults The lfap function is disabled by default.
Example This example describes how to enable the lfap function.ZXR10(config)#lfap enable
36 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 LFAP Configuration
RelatedCommands
lfap disable
lfap disablePurpose Use this command to disable the lfap function of the system. En-
able the function with the lfap enable command.
Command Modes Global configuration
Syntax lfap disable
Defaults The lfap function is disabled by default.
Example This example describes how to disable the lfap function.ZXR10(config)#lfap disable
RelatedCommands
lfap enable
lfap fas-serverPurpose Use this command to configure the Flow Admission Service (FAS)
server address of Light-weight Flow Accounting Protocol (LFAP).Delete the setting with the no form of this command.
Command Modes Global configuration
Syntax lfap fas-server [{mng |<vrf><word>}]<A.B.C.D>
no lfap fas-server
SyntaxDescription mng Indicates LFAP functional module is connected
to the FAS server through the networkmanagement interface of the equipment
<vrf> Indicates LFAP functional module is connectedto the FAS server through the specified vrfinterface
<word> VPN name to which the vrf interface belongs
<A.B.C.D> FAS server address
Instructions Use this command to specify the Flow Admission Service (FAS)server address of Light-weight Flow Accounting Protocol (LFAP).
Example This example describes how to set the Flow Admission Service(FAS) server address of Light-weight Flow Accounting Protocol(LFAP) to 192.1.1.168.ZXR10(config)#lfap fas-server 192.1.1.168
RelatedCommands
lfap bakup-server1
lfap backup-server2
Confidential and Proprietary Information of ZTE CORPORATION 37
ZXR10 8900 Series Command Reference (Network Management)
lfap flow-expired-timePurpose Use this command to set flow expired time interval of LFAp. Delete
the setting with the no form of this command.
Command Modes Global configuration
Syntax lfap flow-expired-time <second>
no lfap flow-expired-time
SyntaxDescription
<second> Expired time for LFAP flow, in seconds, range:60~60000
Defaults The flow expired time interval of LFAP is 600 seconds by default.
Example This example describes how to set the flow expired time intervalto 900 seconds.ZXR10(config)#lfap flow-expired-time 900
RelatedCommands
lfap max-send-fun-size
lfap update-interval
lfap ka-intervalPurpose Use this command to set the keep-alive time interval between LFAP
and the LFAP server. Delete the setting with the no form of thiscommand.
Command Modes Global configuration
Syntax lfap ka-interval <second>
no lfap ka-interval
SyntaxDescription
<second> Keep-alive time interval between LFAP andthe LFAP server (FAS), in seconds, range:2~2000
Defaults The keep-alive time interval between LFAP and the LFAP server(FAS) is 60 seconds by default.
Example This example describes how to set the keep-alive time intervalbetween LFAP and the LFAP server (FAS) to 120 seconds.ZXR10(config)#lfap ka-interval 120
lfap max-send-fun-sizePurpose Use this command to set the maximum number of updating flows.
Delete the setting with the no form of this command.
38 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 LFAP Configuration
Command Modes Global configuration
Syntax lfap max-send-fun-size <number>
no lfap max-send-fun-size
SyntaxDescription
<number> Maximum number of LFAP updating flows,range: 1~2000
Defaults The number of updating statistics flows from LFAP to LFAP serveris 100 by default.
Instructions Use this command to Set the maximum number of statistics flowsupdated from the LFAP module to LFAP server (FAS).
Example This example describes how to set the maximum number of up-dating flows to 1000.ZXR10(config)#lfap max-send-fun-size 1000
RelatedCommands
lfap update-interval
lfap flow-expired-time
lfap message-response-interval
Purpose Use this command to set the maximum message response timeinterval between LFAP and the LFAP server. Delete the settingwith the no form of this command.
Command Modes Global configuration
Syntax lfap message-response-interval <second>
SyntaxDescription
<second> Maximum message response time intervalbetween the Lfap and server (FAS), inseconds, range: 2~2000
Defaults The maximum message response time interval between LFAP andthe LFAP server (FAS) is 60 seconds by default.
Example This example describes how to set the maximum message re-sponse time interval between LFAP and the LFAP server to 120seconds.ZXR10(config)#lfap message-response-interval 120
lfap server-retry-intervalPurpose Use this command to set the time interval for LFAP to retry con-
necting with the LFAP server (FAS). Delete the setting with the noform of this command.
Confidential and Proprietary Information of ZTE CORPORATION 39
ZXR10 8900 Series Command Reference (Network Management)
Command Modes Global configuration
Syntax lfap server-retry-interval <second>
no lfap server-retry-interval
SyntaxDescription
<second> Time interval for LFAP to retry connecting withthe LFAP server (FAS), in seconds, range:1~2000
Defaults The time interval for LFAP to retry connecting with the LFAP server(FAS) is 60 seconds by default.
Example This example describes how to set the time interval for LFAP toretry connecting with the LFAP server (FAS) to 120 seconds.ZXR10(config)#lfap server-retry-interval 120
lfap statistic sample-ratePurpose Use this command to set the sample rate of LFAP packets enabled
on the interface of the device. Delete the setting with the no formof this
Command Modes Interface configuration
Syntax lfap statistic sample-rate <number>
no lfap statistic sample-rate
SyntaxDescription
<number> Sets the sample rate of LFAP packets enabledon the interface of the device, that is, howmany packets one is sampled from. range:1000~8000
Example This example describes how to set the sample rate of LFAP packetsenabled on the interface fei_1/1 of the device to 1500.ZXR10(config)#interface fei_1/1ZXR10(config-if)#lfap statistic sample-rate 1500
lfap update-intervalPurpose Use this command to set the time interval of each update of flows.
Delete the setting with the no form of this command.
Command Modes Global configuration
Syntax lfap update-interval <seconds>
no lfap update-interval
SyntaxDescription
<seconds> Time interval of each update of LFAP flows, inseconds, range: 1~1440
40 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 6 LFAP Configuration
Defaults The time interval of each update of flows from LFAP to LFAP serveris 60 second by default.
Example This example describes how to set the time interval of each updateof flows to 300 seconds.ZXR10(config)#lfap update-interval 300
RelatedCommands
lfap max-send-fun-size
lfap flow-expired-time
show lfap configPurpose Use this command to display configuration information of LFAP.
Command Modes All modes except user EXEC
Syntax show lfap config
Example This example describes how to display LFAP configuration of theequipment.ZXR10(config)#show lfap configlfap protocol : disableserver-retry-interval : 60message-response-interval : 60ka-interval : 60update-interval : 60max-send-fun-size : 100flow-expired-time : 600fas-server : 10.40.44.5 no connect <GLOBAL>
RelatedCommands
show lfap statistic
show lfap statisticPurpose Use this command to display related statistics information about
LFAP of the device.
Command Modes All modes except user EXEC
Syntax show lfap statistic
Example This example describes how to display related statistics informa-tion about LFAP of the device.ZXR10(config)#sho lfap statisticlast connect time : never connectedretry connect success count : 0retry connect failure count : 0version mismatch count : 0lost tcp session count : 0total bytes sent count : 0total packets sent count : 0messages received corrupt count : 0messages received error count : 0messages received success count : 0VR messages sent count : 0FAR messages sent count : 0FUN messages sent count : 0AR messages sent count : 0ARA messages sent count : 0
Confidential and Proprietary Information of ZTE CORPORATION 41
ZXR10 8900 Series Command Reference (Network Management)
CR messages sent count : 0DR messages received count : 0AR messages received count : 0ARA messages received count : 0VRA messages received count : 0KA messages received count : 0FER messages received count : 0CRN messages received count : 0CAN messages received count : 0
RelatedCommands
show lfap config
42 Confidential and Proprietary Information of ZTE CORPORATION
C h a p t e r 7
Group Configuration
Table of Contentsgroup erase-member .........................................................43group handtime.................................................................44group holdtime..................................................................44group member ..................................................................45group name......................................................................46group reset-member..........................................................46group save-member ..........................................................46group switch-type..............................................................47group tftp-server...............................................................48group trap-host.................................................................48group timer synchronize .....................................................48group-mng extend-mac enable............................................49show group ......................................................................49show group candidates.......................................................50show group candidates mac ................................................50show group members.........................................................51show group members member-num.....................................51show zdp..........................................................................52show zdp neighbour...........................................................52show zdp neighbour mac ....................................................53show ztp ..........................................................................53show ztp device ................................................................53show ztp device-list ...........................................................54show ztp topology .............................................................54zdp enable........................................................................55zdp holdtime.....................................................................55zdp timer .........................................................................56ztp enable ........................................................................56ztp hop ............................................................................57ztp hop-delay....................................................................57ztp port-delay ...................................................................58ztp start ...........................................................................58ztp timer ..........................................................................58ztp vlan............................................................................59
group erase-memberPurpose Use this command to enable group members to erase original con-
figuration.
Command Modes Global configuration
Syntax group erase-member {all |<member_id>}
Confidential and Proprietary Information of ZTE CORPORATION 43
ZXR10 8900 Series Command Reference (Network Management)
SyntaxDescription
all Specifies all group members to eraseconfiguration
<member_id> Specifies a group member to eraseconfiguration
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to enable all members to erase con-figuration.ZXR10(config)#group erase-member all
group handtimePurpose Use this command to configure the group handtime. Cancel the
configuration and restore the default value with the no form of thiscommand.
Command Modes Global configuration
Syntax group handtime <time>
no group handtime
SyntaxDescription
<time> Group handtime in seconds, range: 1~300,default: 8 seconds
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to configure the group handtime to10 seconds.ZXR10(config)#group handtime 10
RelatedCommands
show group
group holdtimePurpose Use this command to configure the group holdtime. Cancel the
configuration and return the group holdtime to the default value(80 seconds) with the no form of this command.
Command Modes Global configuration
Syntax group holdtime <time>
no group holdtime
44 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
SyntaxDescription
<time> Group holdtime in seconds, range: 1~300,default: 80 seconds
Instructions This command can be executed only on the command switch.
Example This example describes how to configure the group holdtime to200 seconds.ZXR10(config)#group holdtime 200
RelatedCommands
show group
group memberPurpose Use this command to add a candidate switch to the group. Remove
the member with the no form of this command.
Command Modes Global configuration
Syntax group member {mac <mac_addr> member <mem_id>|device <device_id>| all-candidates}
no group member [<mem_id>| all]
SyntaxDescription
mac <mac_addr> Adds the specified device to the groupbased on the MAC address of the switch,00d0.d0xx.xxxx
member <mem_id> Specifies the member identifier after thespecified switch is added, range: 1~255,default: the minimum member not assigned
device <device_id> Adds the specified device to the group basedon the switch device identifier, range: 1~255
all-candidates All switches as candidates
all All members of the command switch
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to add the device to the group basedon the MAC address of the switch and set its member identifier to2.ZXR10(config)#group member mac oodo.doco.0204 member 2
RelatedCommands
show group members
show group member-num
Confidential and Proprietary Information of ZTE CORPORATION 45
ZXR10 8900 Series Command Reference (Network Management)
group namePurpose Use this command to set the group name. Remove the group name
with the no form of this command.
Command Modes Global configuration
Syntax group name <name >
no group name <name>
SyntaxDescription <name> Group name, 1~32 characters
Defaults The default group name is ZTE GROUP-xx.xx.xx (xx.xx.xx is thelast three bits of the MAC address of the command switch).
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to configure the group name asgroup_zte.ZXR10(config)#group name group_zte
RelatedCommands
show group
group reset-memberPurpose Use this command to reset the specified member.
Command Modes Global configuration
Syntax group reset-member {all |<member_id>}
SyntaxDescription
all Resets all group members
<member_id> Resets the specified group member
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to reset all group members.ZXR10(config)#group reset-member all
group save-memberPurpose Use this command to enable the specified group member to save
configuration.
Command Modes Global configuration
Syntax group save-member {all |<member_id>}
46 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
SyntaxDescription
all Specifies all group members to saveconfigurations
<member_id> Specifies a group member to saveconfiguration
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to enable group member 2 to saveconfiguration.ZXR10(config)#group save-member 2
group switch-typePurpose Use this command to configure the type of the switch in the group.
The type can be candidate, independent or command.
Command Modes Global configuration
Syntax group switch-type {candidate | independent | command[ip-pool <ip_address>{mask <ip_address>| length <mask_len>}]}
SyntaxDescription
candidate Configures the switch as a candidate one
independent Configures the switch as an independent one
command Configures the switch as a command one
ip-pool <ip_address> Configures the address pool for the commandswitch
mask <ip_address> Mask of the address pool (in the form of IPaddress)
length <mask_len> Mask of the address pool (in the form oflength), range: 1~30
Defaults If ip-pool <ip_address>{mask <ip_address>| length <mask_len>} is not specified, the address pool 192.168.1.1 255.255.255.0is assigned to the command switch by default.
Instructions This command is supported after the platform version 4.6.02.
Example � This example describes how to configure the switch as a can-didate switch.ZXR10(config)#group switch-type candidate
� This example describes how to configure the switch as acommand switch and assign the address pool 192.168.10.1255.255.255.0 to the switch.ZXR10(config)#group switch-type command ip-pool 192.168.10.1mask 255.255.255.0
Confidential and Proprietary Information of ZTE CORPORATION 47
ZXR10 8900 Series Command Reference (Network Management)
group tftp-serverPurpose Use this command to set the group TFTP Server address. Remove
the configured group TFTP Server address with the no form of thiscommand.
Command Modes Global configuration
Syntax group tftp-server <ip_addr>
no group tftp-server
SyntaxDescription
<ip_addr> Address of the group TFTP Server
Instructions � This command is supported after the platform version 4.6.02 .
� This command can be executed only on the command switch.
Example This example describes how to set the group TFTP Server addressto 10.40.92.100.ZXR10(config)#group tftp-server 10.40.92.100
RelatedCommands
show group
group trap-hostPurpose Use this command to configure the trap host address of the group.
Remove the configured group trap host address with the no formof this command.
Command Modes Global configuration
Syntax group trap-host <ip_addr>
no group trap-host
SyntaxDescription
<ip_addr> Group trap host address
Instructions This command can be executed only on the command switch.
Example This example describes how to set the trap host address to10.40.92.100.ZXR10(config)#group trap-host 10.40.92.100
RelatedCommands
show group
group timer synchronizeCommandFunction
This configures clock synchronization function of cluster manage-ment. By executing command no, clock synchronization functionof cluster management is disabled.
48 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
Command Modes Global configuration mode
Command format group time synchronize
no group time synchronize
Example To configure time synchronize of cluster, execute the followingcommand:ZXR10(config)#group timer synchronize
RelatedCommands
show group
group-mng extend-macenable
Purpose Use this command to configure the extended broadcast MAC ad-dress for ZTP when group management ZDP is configured. Deletethe extended broadcast MAC address with the no form of this com-mand. When using the default group management ZDP, the ex-tended broadcast MAC address of ZTP packet is 0180.c200.0009.
Command Modes Global configuration
Syntax group-mng extend-mac enable [<xxxx.xxxx.xxxx>]
no group-mng extend-mac enable
SyntaxDescription <xxxx.xxxx.xxxx> Extended MAC address to be configured,
range: 0180.c200.0011~0180.c200.0013,0180.c200.0016~0180.c200.001f. when thecommand is used without the parameter,default: 0180.c200.0010
Example This example describes how to set the MAC address of ZTP broad-cast packet to the extended MAC address 0180.c200.0010.ZXR10(config)#group-mng extend-mac enable
RelatedCommands
show ztp
show zdp
show groupPurpose Use this command to show the role of the switch in the group.
Command Modes All modes
Syntax show group
Instructions � This command is supported after the platform version 4.6.02.
� For a candidate switch or an independent switch, only infor-mation about its role in the group is displayed. For a memberswitch or a command switch, information about not only itsrole but also the group is displayed.
Confidential and Proprietary Information of ZTE CORPORATION 49
ZXR10 8900 Series Command Reference (Network Management)
Example � This example displays group information when the switch is acandidate switch.ZXR10(config)#show group
SwitchRole :CANDIDATE_SWITCH
� This example displays information when the switch is a com-mand switch.Cmdr.ZXR10(config)#show group
SwitchRole :COMMANDER_SWITCHGroup name :ZTE GROUP-c0.19.00Group holdtime :80 secondsGroup handtime :8 secondsGroup tftp server :noneTrapHost :noneGroup ip-pool :ip_pool 192.168.1.1 mask 255.255.255.0Manage Vlan :1
show group candidatesPurpose Use this command to show information about all candidates in the
group.
Command Modes All modes
Syntax show group candidates
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example displays information about all candidates in thegroup.Cmdr.ZXR10(config)#show group candidatesLast collection vlan id is 1Last collection time is 1760 ms
Index DeviceID MacAddress Hop SwitchType Platform Hostname---------------------------------------------------------------1 0 00.d0.d0.c0.19.00 0 CANDIDATE_SWITCH ZXR10_3952 ZXR102 1 00.d0.d0.fb.02.03 1 CANDIDATE_SWITCH ZXR10 2826E SP1
show group candidates macPurpose Use this command to show detailed information about the candi-
date switch with the specified MAC address.
Command Modes All modes
Syntax show group candidates mac <mac>
SyntaxDescription <mac> MAC address of the candidate switch, in the
form of 00d0.d0xx.xxxx
Instructions This command is supported after the platform version 4.6.02.
This command can be executed only on the command switch.
50 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
Example This example describes how to display information about the can-didate switch with its MAC address 00.d0.d0.fb.02.03Cmdr.ZXR10(config)#show group candidates mac 00d0.d0fb.0203
Last collection vlan id is 1Last collection time is 60 msMacAddress :00.d0.d0.fb.02.03Hop :1SwitchType : candidatesPlatform :ZXR10 2826E
show group membersPurpose Use this command to show information about all members in the
group.
Command Modes All modes
Syntax show group members
Instructions � This command is supported after the platform version 4.6.02.
� This command can be executed only on the command switch.
Example This example describes how to show information about all mem-bers in the group.Cmdr.ZXR10(config)#show group members
index memberId MacAddress IpAddress Mask Status Hostname-----------------------------------------------------------------1 1 00.d0.d0.fb.02.03 192.168.1.2 255.255.255.0 Up Mem1.ZXR10
show group membersmember-num
Purpose Use this command to show information about the specified mem-ber in the group.
Command Modes All modes
Syntax show group members member-num <mem_id>
SyntaxDescription
<mem_id> Identifier of the group member to bedisplayed, range: 1~255
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to show detailed information aboutmember 1.Cmdr.ZXR10#show group members member-num 1
This member detail information is:memberId :1MacAddress :00.D0.D0.FB.02.03
Confidential and Proprietary Information of ZTE CORPORATION 51
ZXR10 8900 Series Command Reference (Network Management)
IpAddress :192.168.1.2Mask :255.255.255.0Status :Up
show zdpPurpose Use this command to display information about ZTE neighbor Dis-
covery protocol (ZDP).
Command Modes All modes
Syntax show zdp
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to display information about ZTEneighbor Discovery protocol (ZDP).ZXR10(config)#show zdpGlobal ZDP :enabledZDP timer :200 secondsZDP holdtime :255 secondsEnabled ZDP ports :fei_1/1-48
show zdp neighbourPurpose Use this command to show information about the neighbor directly
connected to the current switch.
Command Modes All modes
Syntax show zdp neighbour [interface <interface-name>]
SyntaxDescription
interface <interface-name>
Shows information about the neighbor directlyconnected to this interface
Defaults If no interface <interface-name> parameter is specified, infor-mation about all neighbors of the switch is displayed.
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to show information about the neigh-bor directly connected to the interface fei_1/8.ZXR10(config)#show zdp neighbour interface fei_1/8
Peer-Mac Local-Port Hdtm Peer-Port Platform------------------------------------------------------------00.d0.d0.fb.02.03 fei_1/8 158 Port(18) ZXR10 2826E
52 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
show zdp neighbour macPurpose Use this command to display information about the neighbor
switch with the specified MAC address.
Command Modes All modes
Syntax show zdp neighbor mac <mac>
SyntaxDescription <mac> MAC address of the neighbor, in the form of
00d0.d0xx.xxxx
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to display information about theneighbor 00d0.d0fb.0203.ZXR10#show zdp neighbor mac 00d0.d0fb.0203
Device-Id :00.D0.D0.FB.02.03Local-Port :fei_1/8HoldTime :158Platform :ZXR10 2826EPeer-Port :Port(18)Hostname :Membr_1.zteVersion :ZTE ZXR10 2826E Software.
Version number : 1.0.2Version make date: Mar 3 2005Version make time: 16:34:24
show ztpPurpose Use this command to show information about group topology col-
lection.
Command Modes All modes
Syntax show ztp
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to view information about group topol-ogy collection.ZXR10(config)#show ztpGlobal ZTP :enabledZTP vlan :1ZTP hop :4ZTP timer :0 minZTP hop delay :200 msZTP port delay :20 msEnabled ZTP ports :fei_1/1-48
show ztp devicePurpose Use this command to display detailed information about the col-
lected switch.
Confidential and Proprietary Information of ZTE CORPORATION 53
ZXR10 8900 Series Command Reference (Network Management)
Command Modes All modes
Syntax show ztp device-list
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to display detailed information aboutthe collected switch.ZXR10(config)#show ztp device-listLast collection vlan id is 1Last collection time is 1760 ms
index DeviceID MacAddress Hop SwitchTypePlatform Hostname------------------------------------------------------1 0 00.d0.d0.c0.19.00 0 CANDIDATE_SWITCH
ZXR10_3952 ZXR102 1 00.d0.d0.fb.02.03 1 CANDIDATE_SWITCH
ZXR10 2826E ZXR10
show ztp device-listPurpose Use this command to show information about all devices collected
by the topology.
Command Modes All modes
Syntax show ztp device-list
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to show information about all devicescollected by the topology.ZXR10(config)#show ztp device-listLast collection vlan id is 1Last collection time is 1760 ms
index DeviceID MacAddress Hop SwitchTypePlatform Hostname-------------------------------------------------------1 0 00.d0.d0.c0.19.00 0 CANDIDATE_SWITCH
ZXR10_3952 ZXR102 1 00.d0.d0.fb.02.03 1 CANDIDATE_SWITCH
ZXR10 2826E ZXR10
show ztp topologyPurpose Use this command to display the topology collected by the device.
Command Modes All modes
Syntax show ztp topology
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to display the topology collected bythe device.ZXR10(config)#show ztp topologyFormat:Role:(UpPort-LocalPort)MacAddress <Hostname>----------------------------------------------------
54 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
CAN:0019.c600.0200<ZXR10>
RelatedCommands
show ztp
zdp enablePurpose Use this command to enable neighbor discovery on the switch or
interface (ordinary interface or Smartgroup interface). Disableneighbor discovery on the switch or interface (ordinary interfaceor Smartgroup interface) with the no form of this command.
Command Modes Global configuration and interface configuration
Syntax zdp enable
no zdp enable
Instructions This command is supported after the platform version 4.6.02 .
Example � This example describes how to enable neighbor discovery onthe switch in global configuration mode.ZXR10(config)#zdp enable
� This example describes how to disable neighbor discovery onthe interface fei_1/8 in layer 2 interface configuration mode.ZXR10(config)#interface fei_1/8ZXR10(config-if)#no zdp enable
RelatedCommands
show zdp
zdp holdtimePurpose Use this command to set the holdtime of a switch neighbor. Re-
store the default value with the no form of this command.
Command Modes Global configuration
Syntax zdp holdtime <time>
no zdp holdtime
SyntaxDescription
<time> Holdtime of neighbor discovery, in seconds,range: 10~255, default: 180 seconds
Instructions � This command is supported after the platform version 4.6.02.
� The holdtime of neighbor discovery in group management is setfor the peer. For example, if the holdtime of neighbor discoveryis set to 100 seconds on device 1. If directly-connected device2 does not receive a new neighbor discovery packet in 100seconds, it will delete device 1 from its neighbor list.
Example This example describes how to set the holdtime of neighbor dis-covery to 200 seconds.ZXR10(config)#zdp holdtime 200
Confidential and Proprietary Information of ZTE CORPORATION 55
ZXR10 8900 Series Command Reference (Network Management)
RelatedCommands
show zdp
zdp timerPurpose Use this command to set the time interval for sending neighbor
discovery packets. Restore the default value with the no form ofthis command.
Command Modes Global configuration
Syntax zdp timer <time>
no zdp timer
SyntaxDescription
<time> Time interval for sending neighbor discoverypackets, in seconds, range: 5~254, default:30 seconds
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the time interval for sendingneighbor discovery packets to 160 seconds.ZXR10(config)#zdp timer 160
RelatedCommands
show zdp
ztp enablePurpose Use this command to enable topology collection on the switch or
interface (ordinary interface or Smartgroup interface). Disabletopology collection on the switch or interface (ordinary interfaceor Smartgroup interface) with the no form of this command.
Command Modes Global configuration and interface configuration
Syntax ztp enable
no ztp enable
Instructions This command is supported after the platform version 4.6.02.
Example � This example describes how to enable topology collection onthe switch in global configuration mode.ZXR10(config)#ztp enable
� This example describes how to disable topology collection onthe interface gei_1/4 in interface configuration mode.ZXR10(config)#interface gei_1/4ZXR10(config-if)#no ztp enable
56 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
RelatedCommands
show ztp
ztp hopPurpose Use this command to set the hop count collected by the topology.
Restore the default hop count (4) with the no form of this com-mand.
Command Modes Global configuration
Syntax ztp hop <number>
no ztp hop
SyntaxDescription
<number> Hop count collected by the topology, range:1~128, default: 40
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the hop count collected by theswitch topology to 8.ZXR10(config)#ztp hop 8
ztp hop-delayPurpose Use this command to set the delay of the device for topology collec-
tion. Restore the default value with the no form of this command.
Command Modes Global configuration
Syntax ztp hop-delay <time>
no ztp hop-delay
SyntaxDescription
<time> Delay of the device for topology collection, inmilliseconds, range: 1~1000, default: 200milliseconds
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the delay of the device for topol-ogy collection to 100 milliseconds.ZXR10(config)#ztp hop-delay 100
Confidential and Proprietary Information of ZTE CORPORATION 57
ZXR10 8900 Series Command Reference (Network Management)
RelatedCommands
show ztp
ztp port-delayPurpose Use this command to set the delay of the port for topology collec-
tion. Restore the default value with the no form of this command.
Command Modes Global configuration
Syntax ztp port-delay <time>
no ztp port-delay
SyntaxDescription
<time> Delay of the port for topology collection, inmilliseconds, range: 1~100, default: 20milliseconds
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the delay of the port for topol-ogy collection to 80 milliseconds.ZXR10(config)#ztp port-delay 80
RelatedCommands
show ztp
ztp startPurpose Use this command to enable topology collection.
Command Modes Global configuration
Syntax ztp start
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to enable topology collection.ZXR10(config)#ztp start
ztp timerPurpose Use this command to set the time interval for topology collection.
Return the default value to 0 (that is, regular topology collectionis disabled) with the no form of this command.
Command Modes Global configuration
Syntax ztp timer <time>
no ztp timer
58 Confidential and Proprietary Information of ZTE CORPORATION
Chapter 7 Group Configuration
SyntaxDescription
<time> Time interval for topology collection, inminutes, range: 1~60
Defaults The default time interval for topology collection is 0, that is , reg-ular topology collection is disabled.
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the time interval for topologycollection to 1 minute.ZXR10(config)#ztp timer 1
RelatedCommands
show ztp
ztp vlanPurpose Use this command to set the VLAN for topology collection. Restore
the default value with the no form of this command.
Command Modes Global configuration
Syntax ztp vlan <vlanId>
no ztp vlan
SyntaxDescription
<vlanId> Specifies the VLAN for topology collection,range: 1~4096
Defaults The default VLAN for topology collection is 1.
Instructions This command is supported after the platform version 4.6.02.
Example This example describes how to set the switch to conduct topologycollection in VLAN 4.ZXR10(config)#ztp vlan 4
RelatedCommands
show ztp
Confidential and Proprietary Information of ZTE CORPORATION 59