Switch 7700 Command reference Guide, v2.0

Table Of Contents
Ethernet Port Configuration Commands 53
auto: Enter to configure the use of either straight-through cable or cross-over
cable.
normal: Enter to configure the network cable type to straight-through cable. Not
available on the Switch 7700.
Description
Use the mdi command to configure the network cable type for an Ethernet
port.
Use the undo mdi command to restore the default type. By default, the
network cable type is recognized automatically (the
mdi auto command).
Note that this command only has effect on 10/100BASE-T and
10/100/1000BASE-T ports. The Switch 7700 only supports
auto (auto-sensing). If
you enter another type, the prompt
Not support this operation! displays.
Example
To configure the network cable type of port “Ethernet1/0/1” as cross-over cable,
enter the following:
[SW7700-Ethernet1/0/1]mdi across
port access vlan Syntax
port access vlan vlan_id
undo port access vlan
View
Ethernet port view
Parameter
vlan_id: Enter a VLAN ID in the range 2 to 4094, as defined in IEEE 802.1Q.
Description
Use the port access vlan command to assign the access port to a specified
VLAN.
Use the undo port access vlan command to remove the access port from
the VLAN.
Example
To assign Ethernet port 1/0/1 to VLAN3, enter the following.
[SW7700-Ethernet1/0/1]port access vlan 3
port hybrid pvid vlan Syntax
port hybrid pvid vlan vlan_id
undo port hybrid pvid
View
Ethernet port view