Beruflich Dokumente
Kultur Dokumente
Router/Ethernet Switch
Command Manual (Network Management Volume)
Version 4.8.22
ZTE CORPORATION
ZTE Plaza, Keji Road South,
Hi-Tech Industrial Park,
Nanshan District, Shenzhen,
P. R. China
518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPO-
RATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.
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 the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter 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.
Revision History
Purpose This manual provides procedures and guidelines that support the
operation of ZXR10 router and Ethernet switch.
Intended This manual is intended for engineers and technicians who perform
Audience operation activities on ZXR10 router and Ethernet switch.
What Is in This This manual contains the following chapters:
Manual
Chapter Summary
Command Introduction
Table of Contents
Manual Use Guide............................................................... 1
Description of Man-Machine Commands ................................. 1
Auxiliary Function ............................................................... 2
Command Mode ................................................................. 3
Description of Man-Machine
Commands
Each MML command is described by the following items:
� Function
It describes the function implemented by this command.
� Command Mode
It describes the mode in which this command can be executed.
� Format
It describes the complete format of this command, including
the no format if possible.
� Parameter Description
It describes parameters in this command in the form and pre-
scribes the range and default value. If different products have
Auxiliary Function
The auxiliary function for ZXR10 devices is as follows.
1. In any command mode, enter a question mark (?) after the
DOS prompt of the system, a list of available commands in the
command mode will be displayed. With the context-sensitive
help function, the keywords and parameter lists of any com-
mands can be obtained.
i. In any command mode, enter a question mark "?" after the
DOS prompt of the system, and a list of all commands in
the mode and the brief description of the commands will
be displayed.
ii. Input the question mark behind a character or character
string to view the list of commands or keywords beginning
with this character or character string. Note that there is
no space between the character (string) and the question
mark.
iii. Press TAB behind the character string. If the command or
keyword beginning with this character string is unique, it
shall be completed with a space at the end. Note that there
is no space between the character string and the TAB.
Command Function
Command Mode
The command modes in this manual are shown below.
router Configures
pimsm PIM-SM
parameters
SNMP Configuration
Table of Contents
show snmp ........................................................................ 7
show snmp config............................................................... 7
show snmp Engine-id .......................................................... 8
show snmp group ............................................................... 8
show snmp user ................................................................. 8
snmp-server access-list ....................................................... 8
snmp-server community...................................................... 9
snmp-server contact ........................................................... 9
snmp-server context ..........................................................10
snmp-server enable inform .................................................10
snmp-server enable trap ....................................................11
snmp-server engine-id .......................................................11
snmp-server group ............................................................12
snmp-server host ..............................................................13
snmp-server location .........................................................14
snmp-server packetsize......................................................15
snmp-server trap-source ....................................................15
snmp-server user ..............................................................16
snmp-server view ..............................................................17
show snmp
Purpose Use this command to display statistics information about SNMP
packets.
Command Modes All modes except user EXEC
Syntax show snmp
snmp-server access-list
Purpose Use this command to apply the configured ACL to control access
to the system host address according to SNMP. Cancel the control
with the no form of this command.
Command Modes Global configuration
Syntax snmp-server access-list <acl-numberorname>
no snmp-server access-list
Syntax
Description
<acl-numberorname> Basic ACL number, range: 1~199,
1000~1999, or ACL name
snmp-server community
Purpose Use this command to set an SNMP packet community string.
Delete the SNMP packet community string with the no form of
this command.
Command Modes Global configuration
Syntax snmp-server community <community-name>[view <view-na
me>][ro | rw]
no snmp-sever community <community-name>
Syntax
Description
<community-name> Community string name, 1~32 characters
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 will
be 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 lines
directly. 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 as
myCommunity with read-write access.
ZXR10(config)#snmp-server community myCommunity view myview rw
snmp-server contact
Purpose Use this command to set the Simple Network Management Pro-
tocol (SNMP) system contact for Management Information Base
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 context
Purpose Use this command to create an SNMP context.
Command Modes Global configuration
Syntax snmp-server context <context-name>
no snmp-server context <context-name>
Syntax
Description
<context-name> Context name, with 1~16 characters
Instructions In global configuration mode, input the above command lines di-
rectly, where, the parameter <notification-type> is the notification
type.
Example This example describes how to configure the agent to be able to
send all notifications.
ZXR10(config)#snmp-server enable inform
ZXR10(config)#snmp-server host 168.1.1.1 inform version 2c public
snmp-server engine-id
Purpose 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 used
to receive/authenticate SNMP messages, withdraw PDU assembled
messages, communicate with the SNMP program.
Command Modes Global configuration
Syntax snmp-server engine_id <engine-id>
no snmp-server engine_id
Syntax
Description
<engine-id> Local SNMP engine ID, 1~24 char-
acters. The default value is
830900020300010289d64401. It must
be expressed with a hexdecimal number
snmp-server group
Purpose Use this command to configure a new Simple Network Manage-
ment Protocol (SNMP) group, or a table that maps SNMP users to
SNMP views. Remove a specified SNMP group with the no form of
this 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}
Syntax
Description <groupname> Configured group name, with 1~32 characters
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 version
4.6.02
� If there is the context parameter in the configuration of this
command, 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 3
group named group1 that requires the authentication of packets
with encryption. And the read view string, write view string and
notification view string are named view1.
ZXR10(config)#snmp-server group group1 v3 priv read view1
write view1 notify view1
snmp-server host
Purpose Use this command to specify the recipient of a Simple Network
Management Protocol (SNMP) notification operation. Remove the
specified host to receive an SNMP notification with the no form of
this command. The snmp-server host command must be used
together 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}}<commu
nity-name>[udp-port <udp-port>][<trap-type>]
no snmp-server host [mng | vrf <vrf-name>]<ip-address>[t
rap | inform][version {1 | 2c | 3 {auth | noauth | priv}}]<c
ommunity-name>
Syntax
Description mng Management interface
1 SNMP Version 1
2c SNMP Version 2c
3 SNMP Version 3
snmp-server location
Purpose 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 no
form of this command.
Command Modes Global configuration
Syntax snmp-server location <mib-syslocation-text>
no snmp-server location
Syntax
Description
<mib-syslocation-te String indicating the physical location of this
xt> device (not to exceed 200 characters)
Example This example describes how to specify the system location of the
Management Information Base (MIB) object for Simple Network
Management Protocol (SNMP).
ZXR10(config)#snmp-server location this is ZXR10 in china
snmp-server packetsize
Purpose Use this command to establish control over the largest Simple Net-
work Management Protocol (SNMP) packet size permitted when
the 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
Syntax
Description
<snmp-packet-max-si SNMP packet size in bytes, range: 484~1400
ze>
Example The following example shows how to set the maximum size of
SNMP packets to 1400 bytes.
ZXR10(config)#snmp-server packetsize 1400
snmp-server trap-source
Purpose Use this command to specify the interface (and hence the corre-
sponding IP address) from which a Simple Network Management
Protocol (SNMP) trap should originate.
Command Modes Global configuration
Syntax snmp-server trap-source <ip-address>
no snmp-server trap-source
Syntax
Description
<IP Address> IP address in A.B.C.D format
Example The following example shows how to specify that the IP address
192.168.2.2 is the source for all SNMP notifications.
ZXR10(config)#snmp-server trap-source 192.168.2.2
snmp-server user
Purpose Use this command to configure a new user to a Simple Network
Management Protocol Version 3 (SNMPv3) group. Remove a user
from 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-passw
ord>]]
no snmp-server user <username>
Syntax
Description
<username> SNMP name, with 1~32 characters
v3 SNMP Version 3
snmp-server view
Purpose Use this command to create or update a Simple Network Manage-
ment Protocol (SNMP) view entry. Remove the specified server
view entry with the no form of this command.
Command Modes Global configuration
Syntax snmp-server view <view-name><subtree-id>{included | excl
uded}
no snmp-server view <view-name>[<subtree-id>]
Syntax
Description
<view-name> View name, with 1~32 characters
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) in
the form of 1.2.3.4.5 or the node name of the MIB subtree (such
as internet). Use the included | excluded keywords to include
or exclude a subtree.
Example The following example creates a view that includes all objects in
the MIB subtree.
ZXR10(config)#snmp-server view myViewName 1.3.6.1.2.1 included
RMON Configuration
Table of Contents
rmon alarm ......................................................................19
rmon collection history .......................................................20
rmon collection statistics ....................................................21
rmon event.......................................................................22
show rmon .......................................................................23
rmon alarm
Purpose 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>
Syntax
Description
<index> Index number, range: 1~65535
Instructions � The sampling with the same or different time interval for the
same instance is allowed.
� If alarm items with the same <index> are created, the system
prompts error. It is necessary to cancel the configuration of
the 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 to
produce the corresponding action.
Example This example describes how to configure the monitoring MIB object
as ip.2.0, sampling time as 10 seconds, upper limit as 200, and
lower limit as 100 and the corresponding event when upper/lower
limit alarm rises as 1.
ZXR10(config)# rmon alarm 1 ip.2.0 10 absolute rising-threshold
200 1 falling-threshold 100 1 owner ZTE
rmon event
Purpose 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>
Syntax
Description
<index> Index number, range: 1~65535
Instructions � If event items with the same <index> are created, the system
prompts error. It is necessary to cancel the configuration of
the 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 as
log_trap_event. Meanwhile, record it in log and send trap infor-
mation to the management station. The management station
community is public.
ZXR10(config)# rmon event 1 log trap public description
log_trap_event owner ZTE
show rmon
Purpose Use this command to display RMON configurations and relevant
information.
Command Modes All modes except user EXEC
Syntax show rmon [alarms][events][history][statistics]
Syntax
Description
alarms Displays current information about all alarm
control items configured
WEB Network
Management
Configuration
Table of Contents
web enable .......................................................................25
web disable ......................................................................25
web enable
Purpose 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
web disable
Purpose 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
LFAP Configuration
Table of Contents
lfap backup-server1 ...........................................................27
lfap backup-server2 ...........................................................28
lfap enable .......................................................................28
lfap disable .......................................................................29
lfap fas-server ..................................................................29
lfap flow-expired-time ........................................................30
lfap ka-interval..................................................................30
lfap max-send-fun-size.......................................................30
lfap message-response-interval ...........................................31
lfap server-retry-interval ....................................................31
lfap statistic sample-rate ....................................................32
lfap update-interval ...........................................................32
show lfap config ................................................................33
show lfap statistic..............................................................33
lfap backup-server1
Purpose 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
Syntax
Description mng Indicates LFAP functional module is connected
to the FAS server through the network
management interface of the device
Instructions Use this command to specify the address of FAS backup server 1
with the LFAP function.
Example This example describes how to set the address of lfap backup
server 1 to 192.1.1.120.
lfap backup-server2
Purpose 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
Syntax
Description mng Indicates LFAP functional module is connected
to the FAS server through the network
management interface of the device
Instructions Use this command to specify the address of FAS backup server 2
with the LFAP function.
Example This example describes how to set the address of lfap backup
server 2 to 192.1.1.110.
ZXR10(config)#lfap fas-server 192.1.1.110
lfap enable
Purpose 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
lfap disable
Purpose 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
lfap fas-server
Purpose 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
Syntax
Description mng Indicates LFAP functional module is connected
to the FAS server through the network
management interface of the equipment
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
lfap flow-expired-time
Purpose 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
Syntax
Description
<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 interval
to 900 seconds.
ZXR10(config)#lfap flow-expired-time 900
lfap ka-interval
Purpose Use this command to set the keep-alive time interval between LFAP
and the LFAP server. Delete the setting with the no form of this
command.
Command Modes Global configuration
Syntax lfap ka-interval <second>
no lfap ka-interval
Syntax
Description
<second> Keep-alive time interval between LFAP and
the 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 interval
between LFAP and the LFAP server (FAS) to 120 seconds.
ZXR10(config)#lfap ka-interval 120
lfap max-send-fun-size
Purpose Use this command to set the maximum number of updating flows.
Delete the setting with the no form of this command.
Defaults The number of updating statistics flows from LFAP to LFAP server
is 100 by default.
Instructions Use this command to Set the maximum number of statistics flows
updated 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
lfap message-response-inter
val
Purpose Use this command to set the maximum message response time
interval between LFAP and the LFAP server. Delete the setting
with the no form of this command.
Command Modes Global configuration
Syntax lfap message-response-interval <second>
Syntax
Description
<second> Maximum message response time interval
between the Lfap and server (FAS), in
seconds, range: 2~2000
Defaults The maximum message response time interval between LFAP and
the 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 120
seconds.
ZXR10(config)#lfap message-response-interval 120
lfap server-retry-interval
Purpose Use this command to set the time interval for LFAP to retry con-
necting with the LFAP server (FAS). Delete the setting with the no
form of this command.
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 to
retry connecting with the LFAP server (FAS) to 120 seconds.
ZXR10(config)#lfap server-retry-interval 120
Example This example describes how to set the sample rate of LFAP packets
enabled on the interface fei_1/1 of the device to 1500.
ZXR10(config)#interface fei_1/1
ZXR10(config-if)#lfap statistic sample-rate 1500
lfap update-interval
Purpose 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
Syntax
Description
<seconds> Time interval of each update of LFAP flows, in
seconds, range: 1~1440
Defaults The time interval of each update of flows from LFAP to LFAP server
is 60 second by default.
Example This example describes how to set the time interval of each update
of flows to 300 seconds.
ZXR10(config)#lfap update-interval 300
Group Configuration
Table of Contents
group erase-member .........................................................35
group handtime.................................................................36
group holdtime..................................................................36
group member ..................................................................37
group name ......................................................................38
group reset-member ..........................................................38
group save-member ..........................................................38
group switch-type..............................................................39
group tftp-server ...............................................................40
group trap-host .................................................................40
group-mng extend-mac enable............................................41
show group ......................................................................41
show group candidates.......................................................42
show group candidates mac ................................................42
show group members.........................................................43
show group members member-num.....................................43
show zdp..........................................................................44
show zdp neighbour...........................................................44
show zdp neighbour mac ....................................................44
show ztp ..........................................................................45
show ztp device ................................................................45
show ztp device-list ...........................................................46
show ztp topology .............................................................46
zdp enable........................................................................47
zdp holdtime.....................................................................47
zdp timer .........................................................................48
ztp enable ........................................................................48
ztp hop ............................................................................49
ztp hop-delay....................................................................49
ztp port-delay ...................................................................50
ztp start ...........................................................................50
ztp timer ..........................................................................50
ztp vlan............................................................................51
group erase-member
Purpose Use this command to enable group members to erase original con-
figuration.
Command Modes Global configuration
Syntax group erase-member {all |<member_id>}
Syntax
Description
all Specifies all group members to erase
configuration
group handtime
Purpose Use this command to configure the group handtime. Cancel the
configuration and restore the default value with the no form of this
command.
Command Modes Global configuration
Syntax group handtime <time>
no group handtime
Syntax
Description
<time> Group handtime in seconds, range: 1~300,
default: 8 seconds
group holdtime
Purpose 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
Syntax
Description
<time> Group holdtime in seconds, range: 1~300,
default: 80 seconds
group member
Purpose 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]
Syntax
Description
mac <mac_addr> Adds the specified device to the group
based on the MAC address of the switch,
00d0.d0xx.xxxx
group name
Purpose 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>
Syntax
Description
<name> Group name, 1~32 characters
group reset-member
Purpose Use this command to reset the specified member.
Command Modes Global configuration
Syntax group reset-member {all |<member_id>}
Syntax
Description
all Resets all group members
group save-member
Purpose Use this command to enable the specified group member to save
configuration.
Command Modes Global configuration
Syntax group save-member {all |<member_id>}
Syntax
Description
all Specifies all group members to save
configurations
group switch-type
Purpose 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_le
n>}]}
Syntax
Description
candidate Configures the switch as a candidate one
group tftp-server
Purpose Use this command to set the group TFTP Server address. Remove
the configured group TFTP Server address with the no form of this
command.
Command Modes Global configuration
Syntax group tftp-server <ip_addr>
no group tftp-server
Syntax
Description
<ip_addr> Address of the group TFTP Server
group trap-host
Purpose Use this command to configure the trap host address of the group.
Remove the configured group trap host address with the no form
of this command.
Command Modes Global configuration
Syntax group trap-host <ip_addr>
no group trap-host
Syntax
Description
<ip_addr> Group trap host address
group-mng extend-mac
enable
Purpose Use this command to configure the extended broadcast MAC ad-
dress for ZTP when group management ZDP is configured. Delete
the 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
Syntax
Description
<xxxx.xxxx.xxxx> Extended MAC address to be configured,
range: 0180.c200.0011~0180.c200.0013,
0180.c200.0016~0180.c200.001f. when the
command 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
show group
Purpose 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 member
switch or a command switch, information about not only its
role but also the group is displayed.
Example � This example displays group information when the switch is a
candidate switch.
ZXR10(config)#show group
SwitchRole :CANDIDATE_SWITCH
Cmdr.ZXR10(config)#show group
SwitchRole :COMMANDER_SWITCH
Group name :ZTE GROUP-c0.19.00
Group holdtime :80 seconds
Group handtime :8 seconds
Group tftp server :none
TrapHost :none
Group ip-pool :ip_pool 192.168.1.1 mask 255.255.255.0
Manage Vlan :1
Hop :1
SwitchType : candidates
Platform :ZXR10 2826E
show zdp
Purpose 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 ZTE
neighbor Discovery protocol (ZDP).
ZXR10(config)#show zdp
Global ZDP :enabled
ZDP timer :200 seconds
ZDP holdtime :255 seconds
Enabled ZDP ports :fei_1/1-48
Syntax
Description
<mac> MAC address of the neighbor, in the form of
00d0.d0xx.xxxx
Device-Id :00.D0.D0.FB.02.03
Local-Port :fei_1/8
HoldTime :158
Platform :ZXR10 2826E
Peer-Port :Port(18)
Hostname :Membr_1.zte
Version :ZTE ZXR10 2826E Software.
Version number : 1.0.2
Version make date: Mar 3 2005
Version make time: 16:34:24
show ztp
Purpose 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 ztp
Global ZTP :enabled
ZTP vlan :1
ZTP hop :4
ZTP timer :0 min
ZTP hop delay :200 ms
ZTP port delay :20 ms
Enabled ZTP ports :fei_1/1-48
zdp enable
Purpose Use this command to enable neighbor discovery on the switch or
interface (ordinary interface or Smartgroup interface). Disable
neighbor discovery on the switch or interface (ordinary interface
or 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 on
the switch in global configuration mode.
ZXR10(config)#zdp enable
zdp holdtime
Purpose 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
Syntax
Description
<time> Holdtime of neighbor discovery, in seconds,
range: 10~255, default: 180 seconds
zdp timer
Purpose Use this command to set the time interval for sending neighbor
discovery packets. Restore the default value with the no form of
this command.
Command Modes Global configuration
Syntax zdp timer <time>
no zdp timer
Syntax
Description
<time> Time interval for sending neighbor discovery
packets, in seconds, range: 5~254, default:
30 seconds
ztp enable
Purpose Use this command to enable topology collection on the switch or
interface (ordinary interface or Smartgroup interface). Disable
topology collection on the switch or interface (ordinary interface
or 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 on
the switch in global configuration mode.
ZXR10(config)#ztp enable
ztp hop
Purpose 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
Syntax
Description
<number> Hop count collected by the topology, range:
1~128, default: 40
ztp hop-delay
Purpose 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
Syntax
Description
<time> Delay of the device for topology collection, in
milliseconds, range: 1~1000, default: 200
milliseconds
ztp port-delay
Purpose 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
Syntax
Description
<time> Delay of the port for topology collection, in
milliseconds, range: 1~100, default: 20
milliseconds
ztp start
Purpose 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 timer
Purpose Use this command to set the time interval for topology collection.
Return the default value to 0 (that is, regular topology collection
is disabled) with the no form of this command.
Command Modes Global configuration
Syntax ztp timer <time>
no ztp timer
Syntax
Description
<time> Time interval for topology collection, in
minutes, 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 topology
collection to 1 minute.
ZXR10(config)#ztp timer 1
ztp vlan
Purpose 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
Syntax
Description
<vlanId> Specifies the VLAN for topology collection,
range: 1~4096