Switching Commands
25
ProSAFE M7100 Managed Switches
no shutdown all
This command enables all ports.
speed
This command sets the speed and duplex setting for the interface.
speed all
This command sets the speed and duplex setting for all interfaces.
show port advertise
Use this command to display the local administrative link advertisement configuration, local
operational link advertisement, and the link partner advertisement for an interface. It also
displays priority Resolution for speed and duplex as per 802.3 Annex 28B.3. It displays the
autonegotiation state, Phy Master/Slave Clock configuration, and Link state of the port.
If the link is down, the Clock is displayed as No Link, and a dash is displayed against the Oper Peer
adver
tisement, and Priority Resolution. If autonegotiation is disabled, the admin Local Link
advertisement, operational local link advertisement, operational peer advertisement, and Priority
resolution fields are not displayed.
If this command is executed without the optional slot/port parameter, it displays the
autonego
tiation state and operational Local link advertisement for all the ports. Operational link
advertisement will display speed only if it is supported by both local as well as link partner. If
autonegotiation is disabled, operational local link advertisement is not displayed.
Example: The following commands show the command output with and without the optional
parameter:
(switch)#show port advertise 0/1
Port: 0/1
Type: Gigabit - Level
Format no shutdown all
Mode Global Config
Format speed [auto] [{<100 | 10 | 10G> {half-duplex | full-duplex>}}]
Mode Interface Config
Format speed all [auto] [{<100 | 10> {<half-duplex | full-duplex>}}]
Mode Global Config
Format show port advertise [slot/port]
Mode Privileged EXEC