214
interface
udld port aggressive
This command configures the udld mode to
aggressive mode for the specific port.
interface
no udld port
aggressive
This command configures the udld mode to normal
mode for the specific port.
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
Содержание NGI-M08C4-L2
Страница 1: ......
Страница 285: ...285 9 2 2 Web Configurations...