Users Guide

94 Fabric OS Administrator’s Guide
53-1002920-02
Ports
3
switch:admin> ifmodeset eth3
Exercise care when using this command. Forcing the link to an operating mode
not supported by the network equipment to which it is attached may result in an
inability to communicate with the system through its ethernet interface.
It is recommended that you only use this command from the serial console port.
Are you sure you really want to do this? (yes, y, no, n): [no] y
Proceed with caution.
Auto-negotiate (yes, y, no, n): [no] y
Advertise 100 Mbps / Full Duplex (yes, y, no, n): [yes] y
Advertise 100 Mbps / Half Duplex (yes, y, no, n): [yes] y
Advertise 10 Mbps / Full Duplex (yes, y, no, n): [yes] y
Advertise 10 Mbps / Half Duplex (yes, y, no, n): [yes] y
Committing configuration...done.
Example of setting the port mode to 10 Mbps half duplex operation
The following example forces the link for the eth0 interface from autonegotiation to 10 Mbps
half-duplex operation:
switch:admin> ifmodeset eth0
Auto-negotiate (yes, y, no, n): [yes] n
Force 100 Mbps / Full Duplex (yes, y, no, n): [no] n
Force 100 Mbps / Half Duplex (yes, y, no, n): [no] n
Force 10 Mbps / Full Duplex (yes, y, no, n): [no] n
Force 10 Mbps / Half Duplex (yes, y, no, n): [no] y
Committing configuration...done.
Setting port speeds
Use the following procedure to set port speeds.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the portCfgSpeed command.
The following example sets the speed for port 3 on slot 2 to 4 Gbps:
switch:admin> portcfgspeed 2/3 4
The following example sets the speed for port 3 on slot 2 to autonegotiate:
switch:admin> portcfgspeed 2/3 0
Setting all ports on a switch to the same speed
Use the following procedure to set all ports on a switch to the same speed.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the switchCfgSpeed command.
The following example sets the speed for all ports on the switch to 8 Gbps:
switch:admin> switchcfgspeed 8
Committing configuration...done.
The following example sets the speed for all ports on the switch to autonegotiate:
switch:admin> switchcfgspeed 0
Committing configuration...done.