To do …
Use the command …
Remarks
Set the port state change
delay
link-delay delay-time
Required
Defaults to 0, which indicates that no
delay is introduced.
The delay configured in this way does not take effect for ports in DLDP down state. For information
about the DLDP down state, refer to
DLDP
.
Displaying and Maintaining Basic Port Configuration
To do...
Use the command...
Remarks
Display port configuration
information
display
interface
[
interface-type |
interface-type interface-number
]
Display the enable/disable
status of port loopback
detection
display loopback-detection
Display brief information about
port configuration
display brief interface
[
interface-type
[
interface-number
] ] [
|
{
begin
|
include
|
exclude
}
regular-expression
]
Display port information about
a specified unit
display unit unit-id interface
Display the Combo ports and
the corresponding
optical/electrical ports
display port
combo
Display the information about
the port with the
link-delay
command configured
display link-delay
Available in any
view
Clear port statistics
reset counters interface
[
interface-type |
interface-type interface-number
]
Available in user
view
After 802.1x is
enabled on a port,
clearing the
statistics on the port
will not work.
Ethernet Port Configuration Example
Network requirements
z
Switch A and Switch B are connected to each other through two trunk port (Ethernet 1/0/1).
z
Configure the default VLAN ID of both Ethernet 1/0/1 to 100.
z
Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass both Ethernet 1/0/1.
12-11