
CLI user manual
24
Example: display port state information 3, 4, 5
Switch(Port)# show state 3,4,5
Speed Port_status Link_status Interface_type
port 3 10M HALF LOS TX
port 4 10M HALF LOS TX
port 5 100M FULL Link TX
4.3 Port configuration
Port configuration including:
1 To enable or disable the port;
2 Configure the port speed and duplex mode;
3 The allocation of port flow control;
4 Remove the statistics information of port frame;
4.4 To enable or disable the port
The user can use the following command to open or close the port. By default, the port is
enabled.
Table 4.4.1 to enable or disable the port:
Table 4.4.1
Operating
Command
Description
Disable port
switch
<portlist>
disable
<portlist>
:
1, 3 or all
Enable port
switch
<portlist>
enable
Example: 3, 4 closed port
Switch
(
Port
)
#
switch 3
,
4 disable
[OK]
4.5 Configure the port speed and duplex mode
Table 4.5.1 configure the port speed and duplex.
Table 4.5.1
Operating
Command
Description
Configure the
port
speed
and
duplex
mode
Mode
<portlist>
{10h|10f|100h|100f|auto}
<portlist>
:
1,3 or all
mode
:
10h, 10Mbps Half duplex
10f, 10Mbps Full duplex
100h, 100Mbps Half duplex
100f, 100Mbps Full duplex
Auto: Automated negotiation
Example: Rate of 3, 4, 5 100Mbps full duplex port configuration
Switch
(
Port
)
#
Mode 3-5 100f
[OK]