lanset

Use the lanset command to define the port speed — the data transmission rate of an output/input channel. The lanset command is available at the root context of the admin account type.

lanset lanN|admin autoneg_off|autoneg_on 10|100|any full|half

Syntax


      

Parameters

lanN Specifies the data port. N can range from 1 to 4, depending on the controller model.
admin Admin Port.
autoneg_on Allows PHY (Physical Layer) to auto-negotiate the port speed and the duplex mode.
autoneg_off Disallows PHY to auto-negotiate the port speed and the duplex mode.
10 Sets the port speed to 10 Mbps.
100 Sets the port speed to 100 Mbps.
any Allows the PHY to negotiate the port speed from any of the three options — 10, 100 or 1000 Mbps — and the duplex mode from any of the two option options — half-duplex or full-duplex.
full Allows the PHY to operate in full duplex mode.
half Allows the PHY to operate in half-duplex mode.

The following example sets the port speed to 100 Mbps, full duplex mode, and disables auto-negotiation for the admin port:

EWC.extremenetworks.com# lanset admin autoneg_off 100 full

The following example enables auto-negotiation for any port speed and either duplex mode for the admin port:

EWC.extremenetworks.com# lanset admin autoneg_on any

In the case of Data Ports, the lanset command supports multiple options with auto-negotiation enabled. The following example disables auto-negotiation and sets the port speed to 100 Mbps in full duplex mode for data port 1:

EWC.extremenetworks.com# lanset lan1 autoneg_off 100 full