[previous] Clear Spacer [next]


Displaying and Changing Port Information

You can display and change information about the ports on the current Switch unit in the stack using the commands on the Ethernet menu. These commands allow you to:

Enabling and Disabling Ports

You can enable and disable Ethernet ports on the Switch using the portState command on the Ethernet menu.

By default, all ports on the Switch are enabled.

To enable or disable a port:

1 .   At the Top-level menu, enter:

ethernet portState

The following prompt is displayed:
Select Ethernet port(s) (1-24):

2 .   Enter the number of the port to be enabled or disabled.

The following prompt is displayed:
Enter new value (enable, disable) [enable]:

3 .   Enter enable or disable.

Specifying the Speed and Duplex Mode

You can specify the speed and duplex mode of Ethernet ports on the Switch using the portMode command on the Ethernet menu.

To specify the speed and duplex mode of a port:

1 .   At the Top-level menu, enter:

ethernet portMode

The following prompt is displayed:
Select Ethernet port (1-24,all):

2 .   Enter the number of the port to have its speed and duplex mode specified, or enter all for all the ports.

Enter new value (10half,10full,100half,100full):
Enter new value (100half,100full):
Enter new value (10half,10full):

3 .   Enter the new speed and duplex mode.

If you are specifying the speed and duplex mode of all the ports, only the ports which can support the new speed and duplex mode are changed.

CAUTION: To communicate without errors, both ends of a link must use the same duplex mode.

Port speeds and duplex modes specified using the portMode command do not take effect until auto-negotiation is disabled on the port. For more information, see "Enabling and Disabling Auto-negotiation" below.

Enabling and Disabling Auto-negotiation

Auto-negotiation is a system that allows Switch units to automatically detect the speed and duplex mode of twisted pair links, and set the speed and duplex mode of its twisted pair ports accordingly:

You can enable and disable auto-negotiation for Ethernet ports on the Switch using the autoNegotiation command on the Ethernet menu.

To enable or disable auto-negotiation for a port:

1 .   At the Top-level menu, enter:

ethernet autoNegotiation

The following prompt is displayed:
Select Ethernet port (1-24,all):

2 .   Enter the number of the port to have auto-negotiation enabled or disabled, or enter all for all ports.

The following prompt is displayed:
Enter new value (enable,disable) [enable]:

3 .   Enter enable or disable.

If you are enabling or disabling auto-negotiation for all the ports, only the ports which can support auto-negotiation are changed.

Fiber ports and Transceiver Module ports are not auto-negotiating. If the port is one of these ports, auto-negotiation cannot be enabled.

If auto-negotiation is disabled, the speed and duplex mode of the port is set using the portMode command. For more information, see "Specifying the Speed and Duplex Mode".

Enabling and Disabling Flow Control

IEEE 802.3x flow control prevents any packet loss that may occur on congested ports that are operating in full duplex.

You can enable or disable IEEE 802.3x flow control for Ethernet ports on the Switch using the flowControl command on the Ethernet menu.

To enable or disable IEEE 802.3x flow control for a port:

1 .   At the Top-level menu, enter:

ethernet flowControl

The following prompt is displayed:
Select Ethernet port (1-24,all):

2 .   Enter the number of the port to have IEEE 802.3x flow control enabled or disabled, or enter all for all the ports.

The following prompt is displayed:
Enter new value (on,off) [off]:

3 .   Enter on or off.

If you are enabling or disabling IEEE 802.3x flow control for all the ports, only the ports which can support IEEE 802.3x flow control are changed.

For IEEE 802.3x flow control to operate correctly, it must be enabled at both ends of the link.

Displaying Port Statistics

You can display statistical information for a port using the statistics command on the Ethernet menu.

To display the statistical information:

1 .   At the Top-level menu, enter:

ethernet statistics

The following prompt is displayed:
Select Ethernet port (1-24):

2 .   Enter the number of a port.

The statistical information for the port is displayed as shown in Figure 29.

Figure 29 Ethernet Statistics
Port:
1
Port Speed:
10Mbps HD Auto
Received Stats
Unicast Packets:
Non Unicast Packets:
Octets:
Fragments:

0
0
0
0
Transmit Stats
Unicast Packets:
Non Unicast Packets:
Octets:
Collisions:

50
18734
1397087
0
Errors
Undersize:
CRC Errors:

0
0

Oversize
Jabbers

0
0
Packet Size Analysis
64 Octets:
65 to 127 Octets:
128 to 255 Octets:

13752
4404
623

256 to 511 Octets:
512 to 1023 Octets:
1024 to 1518 Octets:

5
0
00

The following statistical information is displayed:

Received Stats

Transmitted Stats

Errors

Packet Size Analysis

Displays the number of packets seen by the port that had a length which was in one of six ranges between 64 and 1518 octets. This information may help you to analyze the efficiency of your network layer protocol.

Displaying Port Summary Information

You can display summary information about Ethernet ports on the Switch using the summary command on the Ethernet menu.

To display the port summary information:

1 .   At the Top-level menu, enter:

ethernet summary

The following prompt is displayed:
Select Ethernet port (1-24,all):

2 .   Enter the number of a port, or enter all for all the ports.

The port summary information for the port(s) is displayed.

An example of the port summary information is shown below:
Port
State
Rx Packets
Rx Octets
Errors
1
Enabled
163542
65439864
4
2
Disabled
0
0
0
3
Enabled
639263
83636219
4
...
24
Enabled
645232
23142514
0

The statistics that are displayed are gathered in the time interval since the last reset, initialization or power-off/on cycle.

[previous] Clear Spacer [next]