H3C SR6600 SPE-FWM Command Reference Manual

  • Hello! I am an AI chatbot trained to assist you with the H3C SR6600 SPE-FWM Command Reference Manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
H3C SR6600 Routers
Interface Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version: 20100930-C-1.08
Product Version: SR6600-CMW520-R2420
Copyright © 2007-2010, Hangzhou H3C Technologies Co., Ltd. and its licensors
All Rights Reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C, , Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, V
n
G, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners.
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C SR6600 documentation set includes 13 command references, which describe the commands
and command syntax options available for the H3C SR6600 Routers.
The Interface Command Reference describes the configuration commands for various interfaces
supported by the H3C SR6600 routers.
This preface includes:
z Audience
z Conventions
z About the H3C SR6600 Documentation Set
z Obtaining Documentation
z Documentation Feedback
Audience
This documentation is intended for:
z Network planners
z Field technical support and servicing engineers
z Network administrators working with the SR6600
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Description
Boldface Bold
text represents commands and keywords that you enter literally as shown.
italic
Italic text represents arguments that you replace with actual values.
[ ]
Square brackets enclose syntax choices (keywords or arguments) that are
optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars,
from which you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical
bars, from which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by
vertical bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by
vertical bars, from which you may select multiple choices or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&)
sign can be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
Symbols
Convention Description
Means reader be extremely careful. Improper operation may cause bodily
injury.
Means reader be careful. Improper operation may cause data loss or damage to
equipment.
Means an action or information that needs special attention to ensure
successful configuration or good performance.
Means a complementary description.
Means techniques helpful for you to make configuration with ease.
About the H3C SR6600 Documentation Set
The H3C SR6600 documentation set includes:
Category Documents Purposes
Marketing brochures Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software features
and technologies.
Product description and
specifications
Card datasheets Describe card specifications, features, and standards.
Compliance and safety
manual
Provides regulatory information and the safety
instructions that must be followed during installation.
Installation guide
Provides a complete guide to hardware installation
and hardware specifications.
Card manuals Provide the hardware specifications of cards.
Hardware specifications
and installation
H3C N68 Cabinet
Installation and Remodel
Introduction
Guides you through installing and remodeling H3C
N68 cabinets.
Configuration guides
Describe software features and configuration
procedures.
Software configuration
Command references Provide a quick reference to all available commands.
H3C SR6608 Release
notes
Operations and
maintenance
H3C SR6602 Release
notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software upgrading.
Obtaining Documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at
http://www.h3c.com.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents] – Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions] – Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download] – Provides the documentation released with
the software version.
Technical Support
customer_service@h3c.com
http://www.h3c.com
Documentation Feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
i
Table of Contents
1 Ethernet Interface Configuration Commands·························································································1-1
General Ethernet Interface/Subinterface Configuration Commands ······················································1-1
combo enable··································································································································1-1
description·······································································································································1-1
display interface brief·······················································································································1-2
display interface·······························································································································1-5
duplex············································································································································1-11
flag sdh··········································································································································1-11
flow-control····································································································································1-12
interface·········································································································································1-13
link-delay ·······································································································································1-13
loopback········································································································································1-14
port link-mode································································································································1-15
port-mode······································································································································1-16
reset counters interface·················································································································1-16
shutdown ·······································································································································1-17
speed·············································································································································1-18
Layer 2 Ethernet Interface/Subinterface Configuration Commands·····················································1-18
broadcast-suppression (Ethernet interface view/Ethernet sub-interface view/port group view)···1-19
display loopback-detection············································································································1-20
display port-group manual·············································································································1-21
group-member·······························································································································1-22
loopback-detection action··············································································································1-22
loopback-detection control enable·································································································1-23
loopback-detection enable ············································································································1-24
loopback-detection interval-time····································································································1-25
loopback-detection per-vlan enable ······························································································1-26
mdi·················································································································································1-26
multicast-suppression (Ethernet interface view/Ethernet sub-interface view/port group view)·····1-27
port-group manual·························································································································1-29
storm-constrain······························································································································1-29
storm-constrain control··················································································································1-30
storm-constrain enable log············································································································1-31
storm-constrain enable trap···········································································································1-32
storm-constrain interval·················································································································1-32
unicast-suppression (Ethernet interface view/Ethernet sub-interface view/port group view)········1-33
virtual-cable-test····························································································································1-34
Layer 3 Ethernet Interface/Subinterface Configuration Commands·····················································1-35
mtu·················································································································································1-35
sub-interface rate-statistic ·············································································································1-36
timer hold·······································································································································1-37
ii
promiscuous··································································································································1-38
VE Interface Configuration Commands ································································································1-38
display interface virtual-ethernet ···································································································1-38
interface virtual-ethernet················································································································1-39
mac-address··································································································································1-40
2 ATM Interface Configuration Commands ·······························································································2-1
ATM Interface Commands······················································································································2-1
display interface atm························································································································2-1
interface atm····································································································································2-2
reset atm interface···························································································································2-3
reset counters interface···················································································································2-3
sub-interface rate-statistic ···············································································································2-4
ATM E1/T1 Interface Configuration Commands·····················································································2-5
cable················································································································································2-5
clock·················································································································································2-5
code·················································································································································2-6
frame-format····································································································································2-7
loopback··········································································································································2-7
scramble··········································································································································2-8
ATM OC-3c/STM-1 Interface Configuration Commands········································································2-9
clock·················································································································································2-9
frame-format····································································································································2-9
loopback········································································································································2-10
scramble········································································································································2-10
3 WAN Interface Configuration Commands·······························································································3-1
Basic Serial Interface Configuration Commands····················································································3-1
baudrate ··········································································································································3-1
clock·················································································································································3-2
code·················································································································································3-3
crc····················································································································································3-4
description·······································································································································3-5
detect···············································································································································3-5
display interface serial·····················································································································3-6
idle-mark··········································································································································3-8
invert receive-clock··························································································································3-9
invert transmit-clock·······················································································································3-10
loopback········································································································································3-10
mtu·················································································································································3-11
phy-mru ·········································································································································3-11
reverse-rts ·····································································································································3-12
shutdown ·······································································································································3-13
sub-interface rate-statistic ·············································································································3-13
timer hold·······································································································································3-14
virtualbaudrate·······························································································································3-14
Basic CE1 Interface Configuration Commands····················································································3-15
iii
alarm··············································································································································3-15
cable··············································································································································3-16
channel-set (CE1 interface)···········································································································3-17
clock (CE1 interface)·····················································································································3-17
clock-change auto ·························································································································3-18
code (CEI interface)·······················································································································3-19
controller e1···································································································································3-19
crc··················································································································································3-20
data-coding····································································································································3-20
description·····································································································································3-21
detect-ais·······································································································································3-22
display controller e1·······················································································································3-22
error-diffusion restraint config········································································································3-24
error-diffusion restraint enable ······································································································3-25
frame-format (CE1 interface)·········································································································3-25
idlecode (CE1 interface)················································································································3-26
itf (CE1 interface)···························································································································3-26
loopback (CE1 interface)···············································································································3-27
reset counters controller e1···········································································································3-28
shutdown ·······································································································································3-28
using (CE1 interface)·····················································································································3-29
Basic CT1 Interface Configuration Commands ····················································································3-29
alarm (CT1 interface)·····················································································································3-29
alarm-threshold······························································································································3-30
bert (CT1 interface) ·······················································································································3-31
cable (CT1 interface)·····················································································································3-32
channel-set (CT1 interface)···········································································································3-33
clock (CT1 interface) ·····················································································································3-33
code (CT1 interface)······················································································································3-34
controller t1····································································································································3-35
crc··················································································································································3-35
data-coding (CT1 interface)···········································································································3-36
description (CT1 interface)············································································································3-36
display controller t1························································································································3-37
error-diffusion restraint config········································································································3-40
error-diffusion restraint enable ······································································································3-41
fdl···················································································································································3-41
frame-format (CT1 interface)·········································································································3-42
idlecode (CT1 interface)················································································································3-43
itf (CT1 interface)···························································································································3-43
loopback (CT1 interface)···············································································································3-44
reset counters controller t1············································································································3-45
sendloopcode································································································································3-45
shutdown (CT1 interface)··············································································································3-46
E1-F Interface Configuration Commands ·····························································································3-47
crc··················································································································································3-47
iv
display fe1 ·····································································································································3-47
error-diffusion restraint config········································································································3-48
error-diffusion restraint enable ······································································································3-49
fe1 alarm········································································································································3-50
fe1 cable········································································································································3-50
fe1 clock ········································································································································3-51
fe1 code·········································································································································3-51
fe1 data-coding······························································································································3-52
fe1 detect-ais·································································································································3-53
fe1 frame-format····························································································································3-53
fe1 idlecode···································································································································3-54
fe1 itf··············································································································································3-54
fe1 loopback··································································································································3-55
fe1 timeslot-list·······························································································································3-56
fe1 unframed ·································································································································3-57
T1-F Interface Configuration Commands······························································································3-58
ft1 alarm·········································································································································3-58
crc··················································································································································3-58
display ft1 ······································································································································3-59
error-diffusion restraint config········································································································3-62
error-diffusion restraint enable ······································································································3-63
ft1 alarm-threshold·························································································································3-63
ft1 bert ···········································································································································3-64
ft1 cable·········································································································································3-65
ft1 clock ·········································································································································3-66
ft1 code··········································································································································3-67
ft1 data-coding·······························································································································3-67
ft1 fdl··············································································································································3-68
ft1 frame-format·····························································································································3-69
ft1 idlecode····································································································································3-69
ft1 itf···············································································································································3-70
ft1 loopback···································································································································3-71
ft1 sendloopcode···························································································································3-71
ft1 timeslot-list································································································································3-72
Basic CE3 Interface Configuration Commands····················································································3-73
bert (CE3 interface)·······················································································································3-73
clock (CE3 interface)·····················································································································3-74
controller e3···································································································································3-75
crc··················································································································································3-75
description (CE3 interface)············································································································3-76
display controller e3·······················································································································3-76
e1 bert ···········································································································································3-78
e1 channel-set·······························································································································3-79
e1 set clock····································································································································3-79
e1 set frame-format·······················································································································3-80
e1 set loopback ·····························································································································3-81
v
e1 shutdown··································································································································3-81
e1 unframed ··································································································································3-82
fe3··················································································································································3-83
loopback (CE3 interface)···············································································································3-84
national-bit·····································································································································3-84
reset counters controller e3···········································································································3-85
shutdown (CE3 interface)··············································································································3-85
using (CE3 interface)·····················································································································3-86
Basic CT3 Interface Configuration Commands ····················································································3-87
alarm (CT3 interface)·····················································································································3-87
bert (CT3 interface) ·······················································································································3-88
cable (CT3 interface)·····················································································································3-88
clock (CT3 interface) ·····················································································································3-89
controller t3····································································································································3-90
crc··················································································································································3-90
description (CT3 interface)············································································································3-91
display controller t3························································································································3-91
feac················································································································································3-96
frame-format (CT3 interface)·········································································································3-97
ft3···················································································································································3-97
loopback (CT3 interface)···············································································································3-99
mdl (CT3 interface)························································································································3-99
reset counters controller t3··········································································································3-101
shutdown (CT3)···························································································································3-101
t1 alarm········································································································································3-102
t1 bert···········································································································································3-103
t1 channel-set······························································································································3-104
t1 sendloopcode··························································································································3-104
t1 set clock···································································································································3-105
t1 set frame-format······················································································································3-106
t1 set loopback ····························································································································3-107
t1 set fdl·······································································································································3-107
t1 show ········································································································································3-108
t1 shutdown·································································································································3-109
t1 unframed ·································································································································3-110
using (CT3 interface)···················································································································3-111
4 POS Interface Configuration Commands································································································4-1
POS Interface Configuration Commands································································································4-1
clock·················································································································································4-1
crc····················································································································································4-1
display interface pos························································································································4-2
display ip interface pos····················································································································4-4
display ipv6 interface pos················································································································4-5
flag···················································································································································4-5
frame-format····································································································································4-7
vi
link-delay ·········································································································································4-7
link-protocol·····································································································································4-8
loopback··········································································································································4-8
mtu···················································································································································4-9
reset counters interface·················································································································4-10
scramble········································································································································4-10
threshold········································································································································4-11
shutdown ·······································································································································4-12
sub-interface rate-statistic ·············································································································4-12
5 CPOS Interface Configuration Commands·····························································································5-1
CPOS Interface Configuration Commands·····························································································5-1
clock·················································································································································5-1
controller cpos·································································································································5-1
crc····················································································································································5-2
display controller cpos·····················································································································5-2
display controller cpos e1················································································································5-7
display controller cpos e3················································································································5-8
display controller cpos t1·················································································································5-9
display controller cpos t3···············································································································5-11
e1 channel-set·······························································································································5-11
e1 set clock····································································································································5-12
e1 set flag······································································································································5-13
e1 set frame-format·······················································································································5-14
e1 set loopback ·····························································································································5-14
e1 shutdown··································································································································5-15
e1 unframed ··································································································································5-16
e3 set clock····································································································································5-16
e3 set loopback ·····························································································································5-17
e3 set national-bit··························································································································5-18
e3 shutdown··································································································································5-18
fe3 dsu-mode·································································································································5-19
flag·················································································································································5-20
flag vc-3·········································································································································5-21
flag vc-4·········································································································································5-22
frame-format··································································································································5-23
ft3 dsu-mode··································································································································5-23
loopback········································································································································5-25
multiplex mode ······························································································································5-25
ppp mp soft-binding·······················································································································5-26
reset counters controller cpos·······································································································5-27
shutdown ·······································································································································5-27
t1 channel-set································································································································5-28
t1 set clock·····································································································································5-28
t1 set flag·······································································································································5-29
t1 set frame-format························································································································5-30
vii
t1 set loopback ······························································································································5-30
t1 shutdown···································································································································5-31
t1 unframed ···································································································································5-32
t3 set alarm····································································································································5-32
t3 set bert·······································································································································5-33
t3 set clock·····································································································································5-34
t3 set feac······································································································································5-35
t3 set frame-format························································································································5-36
t3 set loopback ······························································································································5-37
t3 set mdl·······································································································································5-38
threshold········································································································································5-39
using e3·········································································································································5-40
using t3··········································································································································5-40
6 E-CPOS Interace Configuration Commands···························································································6-1
E-CPOS Interface Configuration Commands ·························································································6-1
clock·················································································································································6-1
controller e-cpos······························································································································6-1
display controller e-cpos··················································································································6-2
flag j0···············································································································································6-3
frame-format····································································································································6-4
loopback··········································································································································6-4
oc-12················································································································································6-5
oc-3··················································································································································6-6
shutdown ·········································································································································6-6
threshold··········································································································································6-7
using { oc-12 | oc-12c }····················································································································6-8
using { oc-3 | oc-3c }························································································································6-8
7 Loopback Interface and Null Interface Configuration Commands·······················································7-1
Loopback Interface and Null Interface Configuration Commands··························································7-1
description·······································································································································7-1
display interface loopback···············································································································7-2
display interface null························································································································7-3
interface loopback ···························································································································7-4
interface null····································································································································7-4
reset counters interface···················································································································7-5
shutdown ·········································································································································7-6
8 Command Index·········································································································································8-1
1-1
1 Ethernet Interface Configuration Commands
General Ethernet Interface/Subinterface Configuration Commands
combo enable
Syntax
combo enable { copper | fiber }
View
Ethernet interface view (Combo interface)
Default Level
2: System level
Parameters
copper: Activates the electrical port of the Combo interface.
fiber: Activates the optical port of the Combo interface.
Description
Use the combo enable command to activate the electrical or optical port of a Combo interface.
By default, the electrical port of a Combo interface is activated.
Combo interfaces are logical interfaces. A Combo interface comprises one optical (fiber) port and one
electrical (copper) port. The two ports share one forwarding interface and thus cannot work
simultaneously. If the electrical port is enabled, the optical port is disabled automatically and vice versa.
Examples
# Activate the electrical port of Combo interface GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname- GigabitEthernet4/0/1] combo enable copper
# Activate the optical port of Combo interface GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] combo enable fiber
description
Syntax
description text
undo description
View
Ethernet interface view, Ethernet subinterface view
1-2
Default Level
2: System level
Parameters
text: Creates an interface description, a string of 1 to 80 characters. Valid characters and symbols
include English letters (A to Z, a to z), digits (1 to 9), special English characters, spaces, and other
Unicode characters and symbols.
z Each Unicode character takes the space of two regular characters.
z To use a type of Unicode characters or symbols in an interface description, install the specific input
method editor and log in to the router through remote login software that supports this character
type.
z When the length of a description string reaches or exceeds the maximum line width on the terminal
software, the software starts a new line, possibly breaking a Unicode character into two. As a result,
garbled characters may be displayed at the end of a line.
Description
Use the description command to change the description of the current interface.
Use the undo description command to restore the default.
The default description of an interface is the interface name plus Interface, GigabitEthernet4/0/1
Interface for example.
Related commands: display interface.
Examples
# Change the description of Ethernet subinterface GigabitEthernet 4/0/1.1 to l2-subinterface4/0/1.1.
<Sysname> system-view
[Sysname] interface gigabitethernet 4/0/1.1
[Sysname-GigabitEthernet4/0/1.1] description l2-subinterface4/0/1.1
display interface brief
Syntax
display interface [ interface-type [ interface-number | interface-number.subnumber ] ] brief [ | { begin |
exclude | include } regular-expression ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
1-3
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number; subnumber is the number of a subinterface created under the interface. The value range of
subnumber is 1 to 4094.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256
characters.
Description
Use the display interface brief command to display brief interface information.
z If neither interface type nor interface number is specified, this command displays information about
all interfaces.
z If only interface type is specified, this command displays information about interfaces of the
specified type.
z If both interface type and interface number are specified, this command displays information about
the specified interface.
Related commands: interface.
Examples
# Display brief information about all interfaces.
[Sysname]display interface brief
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
GE4/0/0 DOWN DOWN 192.168.2.8 Link to A
GE4/0/1 DOWN DOWN 192.168.10.2
Loop0 UP UP(s) 1.1.1.1 Router
M-GE0/0/0 DOWN DOWN 192.168.3.1
NULL0 UP UP(s) --
Tun1 DOWN DOWN 12.1.1.1
# Filter the brief interface information to display the line starting with the (s) string and all subsequent
lines.
[Sysname]display interface brief | begin (s)
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
Loop0 UP UP(s) 1.1.1.1 Router
M-GE0/0/0 DOWN DOWN 192.168.3.1
NULL0 UP UP(s) --
Tun1 DOWN DOWN 12.1.1.1
1-4
When you use the begin keyword to filter output information, the system only searches the Layer 3
interface list or the Layer 2 interface list. If the starting line is on the Layer 3 interface list, the system
only displays the starting line and all subsequent lines on the Layer 3 interface list.
# Display brief information about all UP interfaces.
[Sysname]display interface brief | include UP
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
Loop0 UP UP(s) 1.1.1.1 Router
NULL0 UP UP(s) --
# Display the brief information about all but Ethernet interfaces.
[Sysname]display interface brief | exclude Eth
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface Link Protocol Main IP Description
GE4/0/0 DOWN DOWN 192.168.2.8 Link to A
GE4/0/1 DOWN DOWN 192.168.10.2
Loop0 UP UP(s) 1.1.1.1 Router
M-GE0/0/0 DOWN DOWN 192.168.3.1
NULL0 UP UP(s) --
Tun1 DOWN DOWN 12.1.1.1
Table 1-1 display interface brief command output description
Field Description
The brief information of
interface(s) under route
mode:
The command displays brief information about Layer 3 interfaces
Link: ADM -
administratively down;
Stby - standby
The interface has been shut down by the network administrator. To recover its
physical layer state, perform the
undo shutdown
command.
Stby
indicates that the current interface is a standby interface. You can use the
display standby state
command to check the corresponding primary interface.
Protocol: (s) - spoofing
If the network layer protocol state of an interface is shown as up, but its link is an
on-demand link or not present at all, its protocol attribute includes the spoofing
flag (an
s
in parentheses). This attribute is typical of null and loopback interfaces.
Interface Interface name
Link
Physical link state of the interface:
z UP: The link is present.
z DOWN: The link is physically down.
z ADM: The link has been administratively shut down. To recover its physical
state, perform the undo shutdown command.
z Stby: The interface is a standby interface.
Protocol
Protocol connection state of the interface, which can be up or down. If the network
layer protocol state of the interface is up, but its link is an on-demand link or not
present at all, its protocol attribute includes the spoofing flag (an
s
in
parentheses).
The brief information of
interface(s) under bridge
mode:
Brief information about Layer 2 interfaces
1-5
Field Description
Speed or Duplex: (a)/A -
auto; H - half; F - full
If the speed of an interface is automatically negotiated, its speed attribute
includes the auto negotiation flag, letter
a
in parentheses.
If the duplex mode of an interface is automatically negotiated, its duplex mode
attribute includes the auto negotiation flag, letter
a
in parentheses or a capital
A
.
Letter
H
indicates the half duplex mode, and letter
F
indicates the full duplex
mode.
Type: A - access; T - trunk;
H - hybrid
Link type options for Ethernet interfaces
Speed Interface rate, in bps
Duplex
Duplex mode of the interface:
z A – auto-negotiation
z F – full duplex
z F(a) – auto-negotiated full duplex
z H – half duplex
z H(a) – auto-negotiated half duplex
Type
Link type of the interface:
z A – access
z H – hybrid
z T – trunk
PVID Default VLAN ID of the interface
display interface
Syntax
display interface [ interface-type [ interface-number | interface-number.subnumber ] ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type: Specifies an interface type.
interface-number: Specifies an interface number.
interface-number.subnumber: Specifies a subinterface number, where interface-number is an interface
number; subnumber is the number of a subinterface created under the interface. The value of
subnumber ranges from 1 to 4094.
Description
Use the display interface command to display detailed information about interfaces, including their
operating status.
z If neither interface type nor interface number is specified, the command displays detailed
information about all interfaces.
z If only interface type is specified, the command displays detailed information about all interfaces of
the particular type.
1-6
z If both interface type and interface number are specified, the command displays detailed
information about only the specified interface.
Related commands: interface.
Examples
# Display detailed information about Layer 3 interface GigabitEthernet 4/0/1.
<Sysname> display interface gigabitethernet 4/0/1
GigabitEthernet4/0/1 current state: Administratively DOWN
Line protocol current state: DOWN
Description: GigabitEthernet4/0/1 Interface
The Maximum Transmit Unit is 1500, Hold timer is 10(sec)
Internet protocol processing : disabled
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e200-0000
IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e200-0000
Media type is twisted pair, loopback not set, promiscuous mode not set
1000Mb/s, Full-duplex, link type is autonegotiation
Output flow-control is disabled, input flow-control is disabled
Output queue : (Urgent queuing : Size/Length/Discards) 0/50/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Last 300 seconds output rate 0.00 bytes/sec, 0 bits/sec, 0.00 packets/sec
Input: 0 packets, 0 bytes, 0 buffers, 0 no buffers
0 broadcasts, 0 multicasts, 0 pauses
0 errors, 0 runts, 0 giants
0 crc, 0 align errors, 0 overruns
0 dribbles, 0 drops
Output:0 packets, 0 bytes, 0 buffers
0 broadcasts, 0 multicasts, 0 pauses
Table 1-2 display interface (in route mode) command output description
Field Description
GigabitEthernet4/0/1 current
state
Physical layer state of the Ethernet interface
Line protocol current state Link layer status of the interface
Description The description of an Ethernet interface
Hold timer is Hold timer of link state
Internet protocol processing
IP packet processing: disabled indicates that IP packets cannot be
processed.
For an interface configured with an IP address, this field changes into
Internet Address is.
Output queue (Urgent queue:
Size/Length/Discards)
Output queue (current message number in the urgent queue/ maximum
number of messages allowed in the urgent queue/number of discarded
messages)
Output queue (Protocol queue:
Size/Length/Discards)
Output queue (current message number in the protocol queue/ maximum
number of messages allowed in the protocol queue/number of discarded
messages)
1-7
Field Description
Output queue (FIFO queuing:
Size/Length/Discards)
Output queue (current message number in the FIFO queue/ maximum
number of messages allowed in the FIFO queue/number of discarded
messages)
Last 300 seconds input rate
Average input rate over the last 300 seconds: bytes/sec, bits/sec,
packets/sec
Last 300 seconds output rate
Average output rate over the last 300 seconds: bytes/sec, bits/sec,
packets/sec
Input Input packets
Output Output packets
# Display detailed information about Layer 2 interface GigabitEthernet 3/0/1.
<Sysname> display interface gigabitethernet 3/0/1
GigabitEthernet3/0/1 current state: DOWN ( Administratively )
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e200-8048
Description: GigabitEthernet3/0/1 Interface
Loopback is not set
Media type is twisted pair, port hardware type is 100_BASE_TX
Unknown-speed mode, unknown-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 9022
Broadcast MAX-ratio: 100%
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
Allow jumbo frame to pass
PVID: 100
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 100
Port priority: 0
Peak value of input: 96132560 bytes/sec, at 2007-10-26 07:05:06
Peak value of output: 0 bytes/sec, at 2007-10-26 12:00:12
Last 300 seconds input: 6 packets/sec 678 bytes/sec 20%
Last 300 seconds output: 1 packets/sec 179 bytes/sec 17%
Input (total): 61745144 packets, 12152212250 bytes
- unicasts, 47519150 broadcasts, 12121681 multicasts, 0 pauses
Input (normal): 61745144 packets, - bytes
205227373 unicasts, 47519150 broadcasts, 12121681 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, - overruns, 0 aborts
- ignored, - parity errors
Output (total): 1395522 packets, 183608303 bytes
- unicasts, 13 broadcasts, 1273860 multicasts, 0 pauses
Output (normal): 1395522 packets, - bytes
0 unicasts, 13 broadcasts, 1273860 multicasts, 0 pauses
Output: 0 output errors, - underruns, 1 buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
1-8
0 lost carrier, - no carrier
Table 1-3 display interface command (in bridge mode) output description
Field Description
GigabitEthernet3/0/1 current state Physical state of the Ethernet interface
IP Packet Frame Type Ethernet framing format on the interface
Description Description of the interface
Loopback Loopback testing status of the interface
Unknown-speed mode The interface will negotiate a speed with its peer.
unknown-duplex mode The interface will negotiate a duplex mode with its peer.
The Maximum Frame Length The maximum Ethernet frame length allowed on the interface
Broadcast-suppression ratio
Broadcast suppression threshold as a percentage of the interface
transmission capability. When the threshold is exceeded, the interface
drops broadcast packets.
Unicast MAX-ratio
Unicast suppression threshold as a percentage of the interface
transmission capability. When the threshold is exceeded, the interface
drops unknown unicast packets.
Multicast MAX-ratio
Multicast suppression threshold as a percentage of the interface
transmission capability. When the threshold is exceeded, the interface
drops multicast packets.
PVID Default VLAN ID
Mdi type Cable type
Port link-type Link type of the interface, which could be access, trunk, and hybrid.
Tagged VLAN ID
VLANs for which the interface sends packets without removing VLAN
tags.
Untagged VLAN ID
VLANs for which the interface sends packets after removing VLAN
tags
Peak value of input Peak value of inbound traffic, in bytes/sec.
Peak time of input Time of peak inbound traffic
Peak value of output Peak value of outbound traffic, in bytes/sec.
Peak time of output Time of peak outbound traffic
Last 300 seconds input: 0
packets/sec 0 bytes/sec
Last 300 seconds output: 0
packets/sec 0 bytes/sec
Average rate of input and output traffic in the last 300 seconds, in pps
and Bps
Input(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0
pauses
Inbound traffic statistics (in packets and bytes) for the interface. All
inbound normal and abnormal packets, and pause frames were
counted.
Input(normal): - packets, - bytes
- broadcasts, - multicasts, -
pauses
Inbound normal traffic and pause frame statistics (in packets and
bytes) for the interface.
input errors Inbound packets with errors
runts
Inbound frames shorter than 64 bytes, in correct format, and
containing valid CRCs.
/