#configure terminal | Enter configure mode |
(config)#udld enable | Enable UDLD globally |
(config)# udld message-time 7 | Configure message time for UDLD packets |
(config)#interface eth1 | Enter interface mode |
(config-if)#switchport | Configure the interface as switch port |
(config-if)#udld state enable | Enable UDLD on the interface |
(config-if)udld mode normal | Configure udld mode as normal or aggressive |
(config-if)#commit | Commit config. |
(config-if)#exit | Exit from the interface mode |
#configure terminal | Enter configure mode. |
(config)#udld enable | Enable UDLD globally. |
(config)#udld message-time 7 | Configure message time for UDLD packets |
(config)#interface eth2 | Enter interface mode |
(config-if)#switchport | Configure the interface as switch port. |
(config-if)#udld state enable | Enable UDLD on the interface. |
(config-if)udld mode normal | Configure udld mode as normal or aggressive |
(config-if)#commit | Commit config. |
(config-if)#exit | Exit from the interface mode |
#configure terminal | Enter configure mode |
(config)#bridge 1 protocol rstp | Bridge 1 config |
(config)#udld enable | Enable UDLD globally |
(config)#udld message-time 7 | Configure message time for UDLD packets |
(config)#commit | Commit config. |
(config)#interface eth1 | Enter interface mode |
(config-if)#switchport | Configure the interface as switch port |
(config-if)#bridge-group 1 | Bridge group 1 |
(config-if)#udld state enable | Enable UDLD on the interface |
(config-if)#udld mode normal | Configure udld mode as normal or aggressive |
(config-if)#commit | Commit config. |
(config-if)#exit | Exit from the interface mode |
#configure terminal | Enter configure mode. |
(config)#bridge 1 protocol rstp | Bridge 1 config. |
(config)#udld enable | Enable UDLD globally. |
(config)#udld message-time 7 | Configure message time for UDLD packets |
(config)#commit | Commit config. |
(config)#interface eth2 | Enter interface mode |
(config-if)#switchport | Configure the interface as switch port. |
(config-if)#bridge-group 1 | Bridge group 1 |
(config-if)#udld state enable | Enable UDLD on the interface. |
(config-if)#udld mode normal | Configure udld mode as normal or aggressive |
(config-if)#commit | Commit config. |
(config-if)#exit | Exit from the interface mode |