debug port up-down

Monitors the status of the ports.
Syntax
debug port up-down decimal
no debug port up-down decimal
Parameters
decimal
Specifies the status of the port.
Modes

Privileged EXEC mode

Global configuration mode

Usage Guidelines

This command disables or enables a port to get output information of the specified port. The port status up, down, and up/down are indicated by 1, 2, and 3 respectively.

Examples
device# debug port up-down 1
Monitor port up
Topology: Port 1/1/31 is connected to port 1/1/32.

If port 1/1/31 is disabled, an output similar to the following is displayed.

device(config)# interface ethernet 1/1/31
device(config-if-e1000-1/1/31)# disable
port_down_indication. port=1/1/31, UNTAG, vlan-idx=1
stack: 4040 2050A970 2050AA44 2060A8FC 20608BEC 2060B5A4 20576A90 20576C74
2057707C 202A50A8 20491E9C 20492DC0 204906D8 2050BF48 204A03C8 204A0418 2011BBC8
20047698 2011CF7C 5008
device(config-if-e1000-1/1/31)# port_down_indication. port=1/1/32, UNTAG,
vlan-idx=3
stack: 4040 2050A970 2050AA44 2060A8FC 20608DA0 20609344 20609AFC 2055FA50
2050A214 200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524
pp_link_change_final. port=1/1/32, up=0

If port 1/1/31 is enabled, an output similar to the following is displayed.

device(config-if-e1000-1/1/31)# enable
device(config-if-e1000-1/1/31)# pp_link_change_final. port=1/1/31, up=1
port_up_indication. port=1/1/31, UNTAG, vlan-idx=1
stack: 4040 2050A970 2050AA44 2060A2C8 20609520 20609AFC 2055FA50 2050A214
200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524
pp_link_change_final. port=1/1/32, up=1
port_up_indication. port=1/1/32, UNTAG, vlan-idx=3
stack: 4040 2050A970 2050AA44 2060A2C8 20609520 20609AFC 2055FA50 2050A214
200478DC 2011BBCC 20047698 2011CF7C 5008 135C8 18524