Enable Auto-sense on Port(s)

About this task

Perform this procedure to manually enable Auto-sense on a specific port.

Note

Note

After a switch boots without a configuration file, Auto-sense is enabled on all ports, by default.

Procedure

  1. Enter GigabitEthernet Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]}

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Enable Auto-sense on the port:

    auto-sense enable

Example

Enabling Auto-sense on port 1/2:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#interface gigabitEthernet 1/2
Switch:1(config-if)#auto-sense enable
 Warning: Enabling Auto-Sense will default port configurations.