Ethernet Port Configuration Example - Quidway S5012G Operation Manual

S5000 series
Hide thumbs Also See for S5012G:
Table of Contents

Advertisement

Operation Manual - Port
Quidway S5000 Series Ethernet Switches
Table 1-13 Display and debug Ethernet port
Configure to perform loopback test on the Ethernet port.
Display all the information of the port
Display hybrid port or trunk port
Clear the statistics information of the port
Note that the loopback test cannot be performed on the port disabled by the shutdown
command. During the loopback test, the system will disable speed, duplex, and
shutdown operation on the port. Some ports do not support the loopback test. If
performing this command in these ports, you will see the system prompt.

1.4 Ethernet Port Configuration Example

I. Networking requirements
Ethernet Switch (Switch A) is connected to the peer (Switch B) via the trunk port
GigabitEthernet0/1. The following example configures the default VLAN ID for the trunk
port and verifies the port trunk pvid vlan command. As a typical application of the
port trunk pvid vlan command, the trunk port will transmit the packets without tag to
the default VLAN.
II. Networking diagram
Switch A
Figure 1-1 Configure the default VLAN for a trunk port
III. Configuration procedure
The following configurations are used for Switch A. Please configure Switch B in the
similar way.
# Enter the Ethernet port view of GigabitEthernet0/1.
[Quidway] interface gigabitethernet0/1
# Set the GigabitEthernet0/1 as a trunk port and allows VLAN 2, 6 through 50, and 100
to pass through.
[Quidway-GigabitEthernet0/1] port link-type trunk
Operation
Switch B
1-8
Chapter 1 Ethernet Port Configuration
Command
loopback { external | internal }
display interface { interface_type | interface_type
interface_num | interface_name }
display port { hybrid | trunk }
reset counters interface [ interface_type |
interface_type interface_num | interface_name ]

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5012t-12/10gbcS5024g-24/20tp

Table of Contents