speed for Multi-Gigabit switches

This topic explains the command that sets the port speed on MS510TXM and MS510TXUP switches, including autonegotiation.

This command is supported on the MS510TXM and MS510TXUP. This command refers to the ports and their supported speeds as follows:

  • MultiGigabitEthernet: Ports 1–4, supporting 2.5G, 1G, and 100M speed. Note that on these ports, 2.5G speed is available only if you configure the auto parameter.
  • XMultiGigabitEthernet: Ports 5–8, supporting 10G, 5G, 2.5G, 1G, and 100M speed. Note that on these ports, 10G speed is available only if you configure the auto parameter.

Syntax

speed {auto | 100 | 1000 | 2500 | 5000}

Parameter

auto: Sets the port speed to autonegotiation, which is an option for MultiGigabitEthernet ports (1–4) and XMultiGigabitEthernet ports (5–8).

100: Forces the port speed to 100 Mbits/s, which is an option for MultiGigabitEthernet ports (1–4) and XMultiGigabitEthernet ports (5–8).

1000: Forces the port speed to 1000 Mbits/s, which is an option for MultiGigabitEthernet ports (1–4) and XMultiGigabitEthernet ports (5–8).

2500: Forces the port speed to 2500 Mbits/s, which is an option for XMultiGigabitEthernet ports (5–8).

5000: Forces the port speed to 5000 Mbits/s, which is an option for XMultiGigabitEthernet ports (5–8).

Default

auto (autonegotiation) with all available abilities.

Mode

Interface Configuration

Usage

Use this command to change the port speed configuration up to the maximum physical speed. The output of the show interfaces command with the status keyword shows the following:

  • For a port that is connected, if the port speed is set to automatic, the Speed field shows the "a-" prefix before the detected speed. If the speed is set to a specific value, the Speed field shows only the set speed.
  • For a port that is not connected, if the port speed is set to automatic, the Speed field shows "auto." If the speed is set to a specific value, the Speed field shows the set speed.

Example

This example shows how to modify the port speed configuration:

CODE
Switch(config)# interface mg1
Switch(config-if)# speed 1000
Switch(config-if)# exit
Switch(config)# interface xmg5
Switch(config-if)# speed 2500

This example shows how to display the running configuration, which includes the port speed configuration:

CODE
Switch# show running-config interfaces mg1
interface mg1
 speed 1000

This example shows how to display information about interfaces, including the interface link speed:

CODE
Switch# show interfaces mg1,xmg5 status
Port  Name                 Status      Vlan  Duplex  Speed  Type
mg1                        connected   1     a-full  1000M  Copper
xmg5                       notconnect  1     auto    2500M  Copper