Disabling or re-enabling a port

A port can be made inactive (disable) or active (enable) by selecting the appropriate status option. The default value for a port is enabled.

To disable port 1/1/8 of a device, enter the following.

device(config)# interface ethernet 1/1/8
device(config-if-e1000-1/1/8)# disable

You also can disable or re-enable a virtual interface. To do so, enter commands such as the following.

device(config)# interface ve v1
device(config-vif-1)# disable

To re-enable a virtual interface, enter the enable command in the interface configuration mode.

device(config-vif-1)# enable