104 CHAPTER 9: PORT BASIC CONFIGURATION
# After you disable Ethernet 1/0/1 from outputting Up/Down log information and
execute the shutdown command or the undo shutdown command on Ethernet
1/0/1, no Up/Down log information is output for Ethernet 1/0/1.
[4210-Ethernet1/0/1] undo enable log updown
[4210-Ethernet1/0/1] shutdown
[4210-Ethernet1/0/1] undo shutdown
Displaying and
Maintaining Basic Port
Configuration
Ethernet Port
Configuration
Example
Network requirements
■ Switch A and Switch B are connected to each other through two trunk port
(Ethernet 1/0/1).
■ Configure the default VLAN ID of both Ethernet 1/0/1 to 100.
■ Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet 1/0/1.
Network diagram
Figure 37 Network diagram for Ethernet port configuration
Tabl e 69 Display and maintain basic port configuration
Operation Command Remarks
Display port configuration
information
display interface [
interface-type | interface-type
interface-number ]
You can execute the display
commands in any view.
Display information about SFP
module on a specified port
display
transceiver-information
interface 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 the ports that are of a
specific type
display port { hybrid | trunk
| combo }
Display port information
about a specified unit
display unit unit-id
interface
Clear port statistics reset counters interface [
interface-type | interface-type
interface-number ]
You can execute the reset
command in user view.
After 802.1x is enabled on a
port, clearing the statistics on
the port will not work.
Eth1/0/1 Eth1/0/1
Switch A
Switch B
Eth1/0/1 Eth1/0/1
Switch A
Switch B