3 ethernet port configuration example, I. network requirements, 3 ethernet port configuration example -12 – H3C Technologies H3C S3100 Series Switches User Manual
Page 134

Operation Manual – Port Basic Configuration
H3C S3100-52P Ethernet Switch
Chapter 1 Port Basic Configuration
1-12
Table 1-15
Display basic port configuration
Operation
Command
Remarks
Display port
configuration
information
display
interface
[ interface-type | interface-type
interface-number
]
Display information
about a specified
optical 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 } string ]
Display the hybrid or
trunk ports
display port
{ hybrid | trunk }
Display port
information about a
specified unit
display unit unit-id interface
You can execute the
display
commands in
any view.
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.
1.3 Ethernet Port Configuration Example
I. Network requirements
z
Switch A and Switch B are connected to each other through two trunk port
(Ethernet1/0/1).
z
Configure the default VLAN ID of both Ethernet1/0/1 to 100.
z
Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet1/0/1.