Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version: 3.00.11
ZTE CORPORATION
No. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: +86-755-26771900
Fax: +86-755-26770801
URL: http://support.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright © 2014 ZTE CORPORATION.
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 CORPORATION is prohibited. Additionally, the contents of this document are protected by
contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE
CORPORATION or of their respective owners.
This document is provided “as is”, and all express, implied, or statutory warranties, representations or conditions
are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose,
title or non-infringement. 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 the ZTE technical support website http://support.zte.com.cn to inquire for related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Figures............................................................................................................. I
Glossary ........................................................................................................ III
II
Intended Audience
This manual is intended for:
l Network planning engineer
l Debugging engineer
l Attendant
Chapter 1, Interface Describes the interface type and interface naming rule. In addition,
Introduction this chapter describes how to view interface information, interface
description information, and interface state.
Chapter 2, Ethernet Describes the Ethernet interface, Ethernet interface principle, Ethernet
Interface Configuration interface maintenance, Ethernet interface configuration example. In
addition, this chapter describes how to configure the Ethernet interface,
MAC offset, and interface MTU.
Chapter 3, Logical Describes the logical interface. In addition, this chapter describes how
Interface Configuration to configure the loopback interface and NULL interface.
Conventions
This manual uses the following typographical conventions:
Italics Variables in commands. It may also refer to other related manuals and documents.
Bold Menus, menu options, function names, input fields, option button names, check boxes,
drop-down lists, dialog box names, window names, parameters, and commands.
Constant Text that you type, program codes, filenames, directory names, and function names.
width
[] Optional parameters.
{} Mandatory parameters.
II
l <frame ID> is the frame ID, which is decided by clustering number. The range is
0–15.
l <Slot ID> refers to physical slots where line interface module is installed. the
value of ZXR10 5900E is 1.
1-1
l <Sub-card ID> is decided by the subcard installing on line card. The range is
1–3. 1 represents the whole interface card, 2 represents the upper subcard, and
3 represents the lower subcard.
l <Port ID> refers to number allocated to line interface module connector. The value
range and assignment of port IDs depend upon different types of line interface
modules.
2. Logical interfaces of ZXR10 5900E are named in the following rule <Interface type>
<Port ID>.
l The logical interface types and descriptions are shown below.
te_tunnel TE tunnel
v6_tunnel V6 tunnel
Command Function
1-2
Command Function
ZXR10#show interface brief [shelf <shelf number>][slot <slot Displays the summary information
number>] about the interface on the slot of
the shelf.
For a description of the parameters in the execution result, refer to the following table:
1-3
BW Interface bandwidth.
The following is sample output from the show interface brief command.
ZXR10#show interface b
Interface Portattribute Mode BW(Mbits) Admin Phy Prot Description
xgei-0/1/2/1 optical Duplex/full 10000 up down down
xgei-0/1/2/2 optical Duplex/full 10000 down down down
xgei-0/1/2/3 optical Duplex/full 10000 up down down
Command Function
ZXR10# show interface description [<interface-name>] Displays the status of the interface.
If no interface is specified, the
information about all non-internal
and non-empty interfaces is
displayed.
The following example shows how to display the information about the gei-0/1/1/1 interface:
ZXR10(config)#show interface description gei-0/1/1/1
Interface AdminStatus PhyStatus Protocol Description
gei-0/1/1/1 up up up
The following example shows how to display the information about all non-internal and
non-empty interfaces:
ZXR10(config)#show interface description
Interface AdminStatus PhyStatus Protocol Description
gei-0/1/1/1 up up up
gei-0/1/1/2 up down down
gei-0/1/1/3 up down down
gei-0/1/1/4 down down down
loopback1 up up up
For a description of the parameters in the execution result, refer to the following table:
1-4
1-5
1-6
2-1
For example:
l gei-0/1/1/1: No.1 interface on the 1000M Ethernet interface board in sub-card 1.
l xgei-0/1/2/2: No.2 interface on the 10G Ethernet interface board in sub-card slot 2.
Enabling Auto-Negotiation
To enable auto-negotiation of an Ethernet interface, perform the following steps:
2-2
Note:
To disable auto-negotiation of an Ethernet interface, run the no negotiation auto or negotia
tion auto disable command.
Parameter Description
Note:
A 10G Ethernet optical interface does not support the auto-negotiation function, and it
works in 10G full-duplex mode only.
The following example shows how to enable auto-negotiation of the gei-0/1/1/1 interface:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#negotiation auto
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
2-3
Note:
Before the duplex mode configuration, the auto-negotiation function of the Ethernet
interface must be disabled.
The following example shows how to set the duplex mode of the gei-0/1/1/1 interface to
full:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#duplex full
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
10 10 Mbit/s.
Note:
Before the speed configuration, the auto-negotiation function of the Ethernet interface must
be disabled.
The following example shows how to set the speed of the gei-0/1/1/1 interface to 10 Mbits:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#speed 10
2-4
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
Note:
To disable flow control on an Ethernet interface, you should run the no flowcontrol
command in interface configuration mode.
When the message-sending buffer is full, the Ethernet interface that has flow control
enabled sends a pause packet, informing the remote port to suspend sending packets
for a period of time.
The following example shows how to enable traffic control on the gei-0/1/1/1 interface:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#flowcontrol enable
2-5
Note:
To disable the jumbo frame function on an Ethernet interface, run the jumbo-frame disable
command.
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
Note:
By default, only a frame with a maximum length of 1560 bytes can pass through the
Ethernet interface.
The following example shows how to enable the jumbo frame function on the gei-0/1/1/1
interface:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#jumbo-frame enable
For a description of the parameter in Steps 1 and 2, refer to the following table:
Parameter Description
2-6
Parameter Description
Note:
These commands can be used to control the size of broadcast traffic allowed on an
Ethernet interface. When the broadcast traffic exceeds the pre-configured threshold, the
system discards the excessive broadcast traffic to decrease the ratio of broadcast traffic to
a proper range. This effectively suppresses the forwarding of broadcast packets, avoids
network congestion, and therefore ensures the normal operation of network services.
The following example shows how to set the suppression ratio of broadcast packets
forwarded over the gei-0/1/1/1 interface to 20:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#broadcast-limit percent 20
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
2-7
Parameter Description
The following example shows how to set the suppression ratio of multicast packets
forwarded over the gei-0/1/1/1 interface to 30:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#multicast-limit percent 30
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to set the suppression ratio of unknown packets
forwarded over the gei-0/1/1/1 interface to 60:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#unknowncast-limit percent 60
2-8
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to set the optical-electrical conversion mode of the
gei-0/1/1/25 interface to copper:
ZXR10(config)#interface gei-0/1/1/25
ZXR10(config-if-gei-0/1/1/25)#hybrid-attribute copper
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to set the working mode of the gei-0/1/1/2 interface to
master:
2-9
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#master-slave mode master
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to set the twisted pair mode of the gei-0/1/1/2 interface
to mdix:
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#cable-media mode mdix
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to set the protection time of the gei-0/1/1/2 interface to
200:
2-10
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#port-hold time 200
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
Note:
Before running the optical-inform monitor command, you must ensure that an optical
module has been installed on the corresponding interface.
The following example shows how to enable monitoring on the gei-0/1/1/2 interface:
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#optical-inform monitor enable
2-11
Parameter Description
The following example shows how to enable the dual-rate function on the gei-0/1/1/2
interface:
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#dualratesfp-attribute
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
Note:
Before running the change-attribute copper command, you must ensure that the
optical-to-electrical module has been installed on the corresponding interface.
The following example shows how to convert the gei-0/1/1/2 interface (optical interface)
into an electrical interface:
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#change-attribute copper
2-12
For a description of the parameters in Steps 1 and 2, refer to the following table:
Parameter Description
The following example shows how to enable the bridge function of the gei-0/1/1/2 interface:
ZXR10(config)#interface gei-0/1/1/2
ZXR10(config-if-gei-0/1/1/2)#port-bridge enable
For a description of the parameters in Steps 1, 2, 3, and 4, refer to the following table:
Parameter Description
2-13
Parameter Description
The following example shows how to enable the power-saving function on the gei-0/1/1/1
interface:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#eee enable TxIdleTime 20 TxWakeTime 30
The following example shows how to clear the power-saving statistics on the interfaces
(line card 2, shelf 0) that have the power-saving function enabled:
ZXR10#clear eee statistics shelf 0 npc 2
The following example shows how to display the power-saving statistics on the gei-0/1/1/1
interface (Gigabit Ethernet):
ZXR10(config-if-gei-0/1/1/1)#show eee statistics interface gei-0/1/1/1
Interface Tx events TX Duration RX events RX Duration
(10us) (10us)
----------------------------------------------------------------------------
gei-0/1/1/1 0 0 0 0
Parameter Description
2-14
The following example shows how to restore the default auto-negotiation settings of the
gei-0/1/1/1 interface:
ZXR10(config)#interface gei-0/1/1/1
ZXR10(config-if-gei-0/1/1/1)#default negotiation
Command Function
Parameter Description
Note:
A; 10G Ethernet optical interface does not support the auto-negotiation function, and it
works in 10G full-duplex mode only.
The following example shows how to enable the auto-negotiation function of gei-0/1/1/1,
gei-0/1/1/2, and gei-0/1/1/3 interfaces:
ZXR10(config)#set interface negotiation enable gei-0/1/1/1-3
Command Function
ZXR10(config)#set interface speed< speed-value>< port-list> Specifies the speed of the Ethernet
interfaces.
2-15
Parameter Description
Note:
The default speed of an FE electrical interface is 100 Mbit/s, and the default speed of a
GE electrical interface is 1000 Mbit/s.
The following example shows how to set the speed of gei-0/1/1/1, gei-0/1/1/2, and
gei-0/1/1/3 interfaces to 100 Mbit/s:
ZXR10(config)#set interface speed 100 gei-0/1/1/1-3
Command Function
ZXR10(config)#set interface duplex < half|full>< port-list> Configures the duplex mode of the
Ethernet interfaces.
Parameter Description
Note:
By default, all Ethernet interfaces operate in full duplex mode.
The following example shows how to set the working modes of gei-0/1/1/1, gei-0/1/1/2,
and gei-0/1/1/3 interfaces to half duplex:
2-16
Command Function
Parameter Description
Note:
The following example shows how to enable the jumbo frame function on gei-0/1/1/1,
gei-0/1/1/2, and gei-0/1/1/3 interfaces:
ZXR10(config)#set interface jumbo-frame enable gei-0/1/1/1-3
Command Function
Parameter Description
2-17
Note:
By default, traffic control is disabled on all Ethernet interfaces.
The following example shows how to enable traffic control on gei-0/1/1/1, gei-0/1/1/2, and
gei-0/1/1/3 interfaces:
ZXR10(config)#set interface flowcontrol enable gei_0/1/1/1-3
Command Function
Parameter Description
The following example shows how to set the suppression ratio of broadcast packets
forwarded over gei-0/1/1/1-3 and gei-0/1/2/1-4 interfaces to 80:
2-18
Command Function
Parameter Description
The following example shows how to set the suppression ratio of unknown packets
forwarded over gei-0/1/1/1-3 and gei-0/1/2/1-4 interfaces to 80:
ZXR10(config)#set interface unknowncast-limit 80 gei-0/1/1/1-3,gei-0/1/2/1-4
Command Function
Parameter Description
2-19
Parameter Description
The following example shows how to set the suppression ratio of multicast packets
forwarded over gei-0/1/1/1-3 and gei-0/1/2/1-4 interfaces to 80:
ZXR10(config)#set interface multicast-limit 80 gei-0/1/1/1-3,gei-0/1/2/1-4
Command Function
Use the clear statistics interface command to clear the statistics of an interface.
Configuration Example
1. View the status and statistics of interface gei-0/1/1/1:
ZXR10(config)#show interface gei-0/1/1/1
gei-0/1/1/1 is administratively down, line protocol is down
Description is none
Hardware is Gigabit Ethernet, address is 00d0.d0c0.0c80
Internet address is unassigned
IP MTU 1500 bytes
MTU 1600 bytes
BW1000000 Kbits
MPLS MTU 1500 bytes
The port is optical
2-20
Duplex auto
Negotiation auto
Last Clear Time : 2012-04-25 09:27:04 Last Refresh Time: 2012-04-25 14:37:41
120s input rate : 0Bps 0Pps
120s output rate: 0Bps 0Pps
Intf utilization: input 0% output 0%
In_Bytes 0 In_Packets 0
In_Unicasts 0 In_Broadcasts 0
In_Multicasts 0 In_Undersize 0
In_CRC_ERROR 0 In_DropEvents 0
In_Fragments 0 In_Jabbers 0
In_MacRxError 0 In_64B 0
In_65_127B 0 In_128_255B 0
In_256_511B 0 In_512_1023B 0
In_1024_1518B 0 In_Oversize 0
E_Bytes 0 E_Packets 0
E_Unicasts 0 E_Broadcasts 0
E_Multicasts 0 E_SCollPks 0
E_LateCollPks 0 E_64B 0
E_65_127B 0 E_128_255B 0
E_256_511B 0 E_512_1023B 0
E_1024_1518B 0 E_Oversize 0
2. Show the configuration of interface gei-0/1/1/1:
ZXR10(config)#show running-config-interface gei-0/1/1/1
! <ETHER-PORT>
interface gei-0/1/1/1
change-attribute copper
no negotiation auto
speed 100
broadcast-limit percent 100
unknowncast-limit percent 100
! <ETHER-PORT>
! <INTERFACE>
interface gei-0/1/1/1
$
! <INTERFACE>
ZXR10(config)#
2-21
Command Function
ZXR10#show optical-inform [ interface < interface-name>| shelf< This shows the basic optical
shelf>[npc< slot>]] module information of an Ethernet
interface.
ZXR10#show optical-inform brief[ interface < interface-name>| This shows the optical module
shelf< shelf>[npc< slot>]] information of an interface, such
as the temperature, voltage,
current, transmit/receive power,
and detailed information of various
thresholds.
You can view the optical module
information of a single interface or
and a board.
ZXR10#show optical-inform details[ temperature | voltage | current This shows the optical module
|rx-power | tx-power ][ shelf< shelf>[npc< slot>]|interface < information of an interface, such
interface-name>] as the temperature, voltage,
current, transmit/receive power,
and detailed information of various
thresholds.
You can view the optical module
information of a single interface or
and a board.
ZXR10#show optical-inform threshold-alarm [ shelf< shelf>[npc< This shows the optical module
slot>]| interface < interface-name>] information of an interface, such as
the temperature, voltage, current,
transmit/receive power, and alarm
information of various thresholds.
You can view the optical module
information of a single interface or
and a board.
Configuration Example
2-22
2-23
cables, and the 1000M Ethernet electrical interface uses all the 1-2, 3-6, 4-5, and 7-8
twisted-pair cables.
The line detection function can help detect the state of each pair of twisted-pair cables.
The line state is divided into the following types:
l Open: Indicates that the circuit is open.
l Short: Indicates that the cable is short circuited.
l Mismatch: Indicates that the impedance of the line does not match.
l Good: Indicates that the line is normal.
l Broken: Indicates that circuit is broken.
l Unknown: Indicates that the circuit state is unknown or no result is output.
l Fail: Indicates that the detection fails.
If the line is faulty, the test result shows the point where the fault occurs. If the line is
normal, the test result shows the rough length of the line.
The line diagnosis and analysis test requires no configuration and can be performed
directly in the privileged or global config mode.
Command Function
ZXR10(config)#show vct interface < port-name> This performs the line diagnosis
and analysis test.
Note:
After a line diagnosis and analysis test is performed, the related interface will be restarted.
At this time, the links on the interface are disconnected and then recover. Usually, this
function is used to test an interface where a fault occurs. If the interface has provisioned
to users, exercise caution when you use this function.
Configuration Example
Check the line of interface gei-0/1/1/1.
ZXR10(config)#show vct interface gei-0/1/1/1
CableStatus Fault
Pair 1-2 3-6 4-5 7-8
Status Open Open Open Open
Length 0m 0m 0m
2-24
Configuration Thought
1. Enter global config mode.
2. Enter interface config mode.
3. Perform the required configuration.
Configuration Commands
Switch1 configuration,
switch1(config)#interface gei-0/1/1/2
switch1(config-if-gei-0/1/1/2)#no negotiation auto
switch1(config-if-gei-0/1/1/2)#speed 100
switch1(config-if-gei-0/1/1/2)#duplex half
switch1(config-if-gei-0/1/1/2)#jumbo-frame enable
switch1(config-if-gei-0/1/1/2)#flowcontrol enable
switch1(config-if-gei-0/1/1/2)#change-attribute copper
Configuration Verification
Use show command to validate configuration.
2-25
2-26
3-1
3-2
Parameter Description
Parameter Description
Parameter Description
Parameter Description
< X:X::X:X > link-local address. The value of this parameter is the prefix of
the fe80::/10 address.
3-3
As shown in Figure 3-1, construct a blackhole route on S1, introduce the host route
which destination address is 192.11.1.2 to the blackhole route.
l Configuration Thought
1. Create Loopback interface and configure IP address.
2. Configure the Loopback interface to be the next hop of route.
l Configuration Commands
S1 configuration,
S1(config)#interface loopback1
S1(config-if-loopback1)#ip address 192.1.1.2 255.255.255.0
S1(config-if-loopback1)#exit
S1(config)#ip route 192.11.1.2 255.255.255.255 loopback1
l Configuration Verification
Use the show command to validate the configuration,
S1(config)#show running-config-interface loopback1
! <INTERFACE>
interface loopback1
ip address 192.1.1.2 255.255.255.0
$
! </INTERFACE>
S1(config)#show ip forwarding route 192.11.1.2
IPv4 Routing Table:
Dest Gw Interface Owner Pri Metric
192.11.1.2/32 192.1.1.2 loopback1 static 1 0
3-4
l Configuration Thought
1. Create Loopback interface and configure IP address.
2. Configure Loopback interface as Router-ID of routing protocol.
l Configuration Commands
S1 configuration,
S1(config)#interface loopback1
S1(config-if-loopback1)#ip adderss 1.1.1.2 255.255.255.255
S1(config-if-loopback1)#exit
S1(config)#router ospf 10
S1(config-ospf-10)#router-id 1.1.1.2
S1(config-ospf-10)#network 30.0.0.0 0.0.0.3 area 0
S1(config-ospf-10)#redistribute connected
S1(config-ospf-10)#exit
Command Function
3-5
NULL interface is always in up state, and it is always on-line. NULL interface can not be
deleted.
This example describes how to view NULL interface.
ZXR10(config)#show running-config-interface null1
! <INTERFACE>
interface null1
$
! </INTERFACE>
Configuration Thought
Configure NULL interface as the next hop of static route.
Configuration Commands
S1 configuration,
S1(config)#ip route 192.11.1.2 255.255.255.255 null?
<1-1>
S1(config)#ip route 192.11.1.2 255.255.255.255 null1
Configuration Verification
Use the show command to validate the configuration,
S1(config)#show running-config-interface null1
!<INTERFACE>
interface null1
$
3-6
!</INTERFACE>
S1(config)#show ip forwarding route 192.11.1.2
IPv4 Routing Table:
Dest Gw Interface Owner Pri Metric
192.11.1.2/32 0.0.0.0 null1 static 1 0
3-7
3-8
II
MTU
- Maximum Transmission Unit
OSI
- Open System Interconnection
OSPF
- Open Shortest Path First
POS
- Packet Over SDH
TCP
- Transmission Control Protocol
TELNET
- Telecommunication Network Protocol
III