beautypg.com

Setting port speeds, Setting all ports on a switch to the same speed – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 76

background image

Example of setting the port mode to full autonegotiate

The following example sets the mode for eth3 to autonegotiate, and permits
both full and half duplex modes to be selected at both 10 and 100 Mbps. Note
that the caution shown in this example is not displayed when the command is
entered using the serial console port.

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.

If the specified speed is not supported on a particular port or blade, then that port or blade is
skipped and the speed is not changed.

Setting port speeds

76

Fabric OS Administrators Guide

53-1003130-01