set interface gigabit-ethernet speed


The set interface gigabit-ethernet speed command sets the force rate of an interface or enable auto-negotiation mode.


Command Syntax

set interface gigabit-ethernet<interface-name> speed [auto | <speed>]


Parameter

Parameter

Description

gigabit-ethernet <interface-name>

Specifies the interface name.

speed [auto | <speed>]

Specifies the interface rate. The values can be auto or <speed>.

  •   auto: Sets the Ethernet interface to work in auto-negotiation mode. See Configuring the Auto-Negotiation Mode for details.
  •   <speed>: Specifies an interface rate. The unit is Mbit/s.


Usage Guidelines

Interface rate can be configured in the two modes: force rate (non-auto-negotiation mode) and auto-negotiation mode.

NOTE:

Interfaces at both ends of a link SHOULD work in the same auto-negotiation mode. Otherwise, the interfaces may not be able to communicate with each other.

Instructions for the switch interface rate configuration:

1.   1G RJ45 port: The interface rate can be configured to 100M, 10M or auto. By default, the interfaces work in auto-negotiation mode.

2.   5G/2.5G RJ45 port: The interface rate can be configured auto and work in auto-negotiation mode.

3.   10G RJ45 port: The interface rate can be configured to 100M or auto. By default, the interfaces work in auto-negotiation mode.

4.   10G optical port:

  •    When a 10G optical module is inserted, the interface rate can be configured to 10G or 1G. When no force rate is configured, the interface recognizes the interface rate of itself as 10G.
  •    When a 1G optical module is inserted, the interface rate can be configured to 1G. When no force rate is configured, the interface recognizes the interface rate of itself as 1G.

5.   40G optical port: The interface rate can be configured to 40G. When no force rate is configured, the interface recognizes the interface rate of itself as 40G. If the interface configured interface split, the split interface rate can be  configured to 10G or 1G.

6.   100G optical port:

  •    When a 100G optical module is inserted, the interface rate can be configured to 100G or 40G. When no force rate is configured, the interface recognizes the interface rate of itself as 100G. If the interface configured interface  split, the split interface rate can be configured to 25G or 10G.
  •    When a 40G optical module is inserted, the interface rate can be configured to 40G. When no force rate is configured, the interface recognizes the interface rate of itself as 40G. If the interface configured interface split, the split interface rate can be configured to 10G.

Only the 10G, 5G/2.5G and 1G RJ45 ports support auto-negotiation mode. By default, these interfaces work in auto-negotiation mode. In auto-negotiation mode the ports negotiate any rate supported by the two devices. If the negotiated interface rate is not the required value, you can use the set interface gigabit-ethernet <interface-name> auto-speeds command to manually specify the auto-negotiation rate to make the interface negotiate the rate within the specified range.


Example

  •   Configure the force rate of the Te-1/1/49 port to 100Mbit/s.
admin@XorPlus# set interface gigabit-ethernet ge-1/1/49 speed 100
admin@XorPlus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.