tech:network:cisco:udld:udld
UDLD
Blueprint
CCIE R&S
Written v5.1
2.0 Layer 2 Technologies
2.1
LAN switching technologies
Configuration & Verification
SW1 Console Log
SW1#udld reset
No ports are disabled by UDLD.
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#conf t
^
% Invalid input detected at '^' marker.
SW1(config)#udl
SW1(config)#udld en
SW1(config)#udld enable
SW1(config)#udld aggre
SW1(config)#udld aggressive me
SW1(config)#udld aggressive ?
<cr>
SW1(config)#udld aggressive
SW1(config)#udld aggressive
SW1(config)#udl
SW1(config)#udld mess
SW1(config)#udld message ti
SW1(config)#udld message time 1
SW1(config)#do sh run | i udld
udld aggressive
udld message time 1
SW1(config)#no ud
SW1(config)#no udld agg
SW1(config)#no udld aggressive
SW1(config)#no udl
SW1(config)#no udld mess
SW1(config)#no udld message t
SW1(config)#no udld message ti
SW1(config)#no udld message time
SW1(config)#do sh run | i udld
SW1(config)#int gig
SW1(config)#do sh int status
Port Name Status Vlan Duplex Speed Type
Fa1/0/1 notconnect 1 auto auto 10/100BaseTX
Fa1/0/2 notconnect 1 auto auto 10/100BaseTX
Fa1/0/3 notconnect 1 auto auto 10/100BaseTX
Fa1/0/4 notconnect 1 auto auto 10/100BaseTX
Fa1/0/5 notconnect 1 auto auto 10/100BaseTX
Fa1/0/6 notconnect 1 auto auto 10/100BaseTX
Fa1/0/7 notconnect 1 auto auto 10/100BaseTX
Fa1/0/8 notconnect 1 auto auto 10/100BaseTX
Fa1/0/9 notconnect 1 auto auto 10/100BaseTX
Fa1/0/10 notconnect 1 auto auto 10/100BaseTX
Fa1/0/11 notconnect 1 auto auto 10/100BaseTX
Fa1/0/12 notconnect 1 auto auto 10/100BaseTX
Fa1/0/13 notconnect 1 auto auto 10/100BaseTX
Fa1/0/14 notconnect 1 auto auto 10/100BaseTX
Fa1/0/15 notconnect 1 auto auto 10/100BaseTX
Fa1/0/16 notconnect 1 auto auto 10/100BaseTX
Fa1/0/17 notconnect 1 auto auto 10/100BaseTX
Fa1/0/18 notconnect 1 auto auto 10/100BaseTX
Fa1/0/19 notconnect 1 auto auto 10/100BaseTX
Fa1/0/20 notconnect 1 auto auto 10/100BaseTX
Fa1/0/21 notconnect 1 auto auto 10/100BaseTX
Port Name Status Vlan Duplex Speed Type
Fa1/0/22 notconnect 1 auto auto 10/100BaseTX
Fa1/0/23 notconnect 1 auto auto 10/100BaseTX
Fa1/0/24 notconnect 1 auto auto 10/100BaseTX
Gi1/0/1 notconnect 1 auto auto Not Present
Gi1/0/2 notconnect 1 auto auto Not Present
SW1(config)#int gig1/0/1
SW1(config-if)#udl
SW1(config-if)#udld po
SW1(config-if)#udld port
SW1(config-if)#udl
SW1(config-if)#do sh run int gig1/0/1
Building configuration...
Current configuration : 49 bytes
!
interface GigabitEthernet1/0/1
udld port
end
SW1(config-if)#udld port agg
SW1(config-if)#udld port aggressive
SW1(config-if)#udl
SW1(config-if)#udld po
SW1(config-if)#udld port ?
aggressive Enable UDLD protocol in aggressive mode on this interface
<cr>
SW1(config-if)#udld ?
port Enable UDLD protocol on this interface
SW1(config-if)#udld me
SW1(config-if)#do sh run int gig1/0/1
Building configuration...
Current configuration : 60 bytes
!
interface GigabitEthernet1/0/1
udld port aggressive
end
SW1(config-if)#^Z
SW1#udl
*Mar 1 00:27:04.722: %SYS-5-CONFIG_I: Configured from console by console
SW1#udld
SW1#udld rese
SW1#udld reset
No ports are disabled by UDLD.
SW1#
SW2 Console Log
SW2#udld reset
No ports are disabled by UDLD.
SW2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#udl
SW2(config)#udld en
SW2(config)#udld enable
SW2(config)#do sh run | i udld
udld enable
SW2(config)#udld
SW2(config)#udld mess
SW2(config)#udld aggre
SW2(config)#udld aggressive
SW2(config)#udl
SW2(config)#udld mess
SW2(config)#udld message ti
SW2(config)#udld message time 1
SW2(config)#do sh run | i udld
udld aggressive
udld message time 1
SW2(config)#no udld agg
SW2(config)#no udld aggressive
SW2(config)#no ud
SW2(config)#no udld mess
SW2(config)#no udld message ?
<cr>
SW2(config)#no udld message
SW2(config)#do sh run | i udld
SW2(config)#do sh run | i udld
SW2(config)#do sh run all | i udld
SW2(config)#int gig1/0/1
SW2(config-if)#do sh int status
Port Name Status Vlan Duplex Speed Type
Fa1/0/1 notconnect 1 auto auto 10/100BaseTX
Fa1/0/2 notconnect 1 auto auto 10/100BaseTX
Fa1/0/3 notconnect 1 auto auto 10/100BaseTX
Fa1/0/4 notconnect 1 auto auto 10/100BaseTX
Fa1/0/5 notconnect 1 auto auto 10/100BaseTX
Fa1/0/6 notconnect 1 auto auto 10/100BaseTX
Fa1/0/7 notconnect 1 auto auto 10/100BaseTX
Fa1/0/8 notconnect 1 auto auto 10/100BaseTX
Fa1/0/9 notconnect 1 auto auto 10/100BaseTX
Fa1/0/10 notconnect 1 auto auto 10/100BaseTX
Fa1/0/11 notconnect 1 auto auto 10/100BaseTX
Fa1/0/12 notconnect 1 auto auto 10/100BaseTX
Fa1/0/13 notconnect 1 auto auto 10/100BaseTX
Fa1/0/14 notconnect 1 auto auto 10/100BaseTX
Fa1/0/15 notconnect 1 auto auto 10/100BaseTX
Fa1/0/16 notconnect 1 auto auto 10/100BaseTX
Fa1/0/17 notconnect 1 auto auto 10/100BaseTX
Fa1/0/18 notconnect 1 auto auto 10/100BaseTX
Fa1/0/19 notconnect 1 auto auto 10/100BaseTX
Fa1/0/20 notconnect 1 auto auto 10/100BaseTX
Fa1/0/21 notconnect 1 auto auto 10/100BaseTX
Port Name Status Vlan Duplex Speed Type
Fa1/0/22 notconnect 1 auto auto 10/100BaseTX
Fa1/0/23 notconnect 1 auto auto 10/100BaseTX
Fa1/0/24 notconnect 1 auto auto 10/100BaseTX
Gi1/0/1 notconnect 1 auto auto Not Present
Gi1/0/2 notconnect 1 auto auto Not Present
SW2(config-if)#udl
SW2(config-if)#udld po
SW2(config-if)#udld port aggre
SW2(config-if)#udld port aggressive
SW2(config-if)#do sh run int gig1/0/1
Building configuration...
Current configuration : 60 bytes
!
interface GigabitEthernet1/0/1
udld port aggressive
end
SW2(config-if)#shutdown
SW2(config-if)#no shut
SW2(config-if)#shut
SW2(config-if)#no shut
SW2(config-if)#
*Mar 1 00:26:44.111: %LINK-5-CHANGED: Interface GigabitEthernet1/0/1, changed state to administratively down
SW2(config-if)#
*Mar 1 00:26:46.217: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/1, changed state to down
SW2(config-if)#exit
SW2(config)#err
SW2(config)#errdisable reco
SW2(config)#errdisable recovery cau
SW2(config)#errdisable recovery cause udl
SW2(config)#errdisable recovery cause udld
SW2(config)#err
SW2(config)#errdisable disa
SW2(config)#errdisable disa
SW2(config)#errdisable reco
SW2(config)#errdisable recovery inter
SW2(config)#errdisable recovery interval 300
SW2(config)#do sh run | i errdisable
errdisable recovery cause udld
SW2(config)#err
SW2(config)#errdisable re
SW2(config)#errdisable recovery inter
SW2(config)#errdisable recovery interval 600
SW2(config)#err
SW2(config)#errdisable re
SW2(config)#errdisable recovery i
SW2(config)#do sh run | i errdisable
errdisable recovery cause udld
errdisable recovery interval 600
SW2(config)#^Z
SW2#
*Mar 1 00:28:43.011: %SYS-5-CONFIG_I: Configured from console by console
SW2#
References
tech/network/cisco/udld/udld.txt · Last modified: 2019/07/20 15:33 by wnoguchi