3Com Switch 7750 Configuration Guide
180 CHAPTER 22: PORT BASIC CONFIGURATION
Displaying Basic Port
Configuration
After the above configurations, you can execute the display commands in any
view to display information about Ethernet ports, so as to verify your
configurations.
You can execute the reset counters interface command in user view to clear the
statistics of Ethernet ports.
Ethernet Port
Configuration
Example
Network requirements
■ Switch A and Switch B are connected to each other through two trunk port
(Ethernet2/0/1).
■ Configure the default VLAN ID of both Ethernet2/0/1 to 100.
■ Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet2/0/1.
Table 117 Allow a port to output the UP/Down log information
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Allow the port to output the
UP/Down log information
enable log updown Required
By default, a port is allowed to
output the UP/Down log
information.
Table 118 Display basic port configuration
Operation Command Description
Display port configuration
information
display interface
[ interface-type |
interface-type
interface-number ]
You can execute the display
commands in any view.
Display the information about
port loopback detection
display loopback-detection
[ port-loopbacked ]
[ | { begin | include |
exclude } regular-expression ]
Display brief information
about port configuration
display brief interface
[ interface-type
interface-number ] [ | { begin
| include | exclude } string ]
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.