Command Manual - Port
Quidway S2000 Series Ethernet Switches
Description
Using mdi command, you can configure the network cable type of the Ethernet ports.
Using undo mdi command, you can restore the default type.
By default, the network cable type will be recognized automatically.
Note that this command only has effect 10/100Base-TX port.
Example
# Configure the network cable type of Ethernet port Ethernet0/1 as auto.
[Quidway-Ethernet0/1] mdi auto
1.1.17 port access vlan
Syntax
port access vlan vlan_id
undo port access vlan
View
Ethernet port view
Parameter
vlan_id: VLAN ID defined in IEEE802.1Q, ranging from 2 to 4094.
Description
Using port access vlan command, you can join the access port to a specified VLAN.
Using undo port access vlan command, you can cancel the access port from the
VLAN.
The use condition of this command is the VLAN indicated in vlan_id must exist.
Example
# Join Ethernet0/1 port to VLAN3 (VLAN3 has existed).
[Quidway-Ethernet0/1] port access vlan 3
1.1.18 port hybrid pvid vlan
Syntax
port hybrid pvid vlan vlan_id
undo port hybrid pvid
View
Ethernet port view
Chapter 1 Ethernet Port Configuration Commands
1-13