227
Case 1: To configure UDLD on port 1 only then disable udld port configuration on all
interfaces except port 1 and enable global UDLD.
L2SWITCH#
configure terminal
L2SWITCH(config)#
interface <id> //All interfaces one by one except port 1
L2SWITCH(config-if)#
no udld port enable
L2SWITCH(config-if)#
exit
L2SWITCH(config)#
udld enable
Case 2: To configure UDLD on all ports
L2SWITCH#
configure terminal
L2SWITCH(config)#
udld enable
Case 3: To disable UDLD on all ports
L2SWITCH#
configure terminal
L2SWITCH(config)# no
udld enable
Case 4: To disable UDLD on a specific port; example port 1
L2SWITCH#
configure terminal
L2SWITCH(config)#
interface <port_1>
L2SWITCH(config-if)#
no udld port enable
Case 5: To enable aggressive mode on a specific port; example port 1
L2SWITCH#
configure terminal
L2SWITCH(config)#
interface <port_1>
L2SWITCH(config-if)#
udld port aggressive
Case 6: To disable aggressive mode on a specific port; example port 1
L2SWITCH#
configure terminal
L2SWITCH(config)#
interface <port_1>
L2SWITCH(config-if)# no
udld port aggressive
Display Commands:
L2SWITCH#
show udld status
UDLD state : enabled.
UDLD message interval time : 7 seconds.
UDLD neighbor expiry time : 35 seconds
It displays UDLD global configuration, message interval time and neighbor hold time.
L2SWITCH#
show udld neighbors
Port Device Name Device ID Port ID Time Status
---- --------------- ----------------- ------------- ---- -----------
1 L2SWITCH 005043717AAA Fa1/0/1 32 Active
4 L2SWITCH 005043717AAB Fa1/0/3 31 Active
1.
Show udld neighbor displays received neighbor information in the switch.
2.
Device name is as same as the hostname of the switch, from where neighbor
information received.
3.
Device ID is as same as cpu port’s MAC address of the switch, from where neighbor
Summary of Contents for NGI-M08C4POE8-2
Page 1: ......
Page 197: ...197 Clear Clear the statistics of the valn ...
Page 298: ...298 9 2 2 Web Configurations ...