3Com Switch 7750 Configuration Guide Guide

174 CHAPTER 21: 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
(Ethernet1/0/1).
Configure the default VLAN ID of both Ethernet1/0/1 to 100.
Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet1/0/1.
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 110 Allow a port to output the UP/Down log information
Operation Command Description
Tabl e 111 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 information about a
specified optical port
display
transceiver-information
interface interface-type
interface-number
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 the hybrid or trunk
ports
display port { hybrid | trunk
}
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.