3 uldp function typical examples, Uldp, Unction – PLANET WGSW-52040 User Manual
Page 101: Ypical, Xamples
![background image](https://www.manualsdir.com/files/865181/content/doc101.png)
debug uldp event
no debug uldp event
Enable or disable the debug switch of
event information.
debug uldp packet {receive|send}
no debug uldp packet {receive|send}
Enable or disable the type of messages
can be received and sent on all ports.
debug uldp {hello|probe|echo| unidir|all}
[receive|send] interface ethernet
<IFname>
no debug uldp {hello|probe|echo|
unidir|all} [receive|send] interface
ethernet <IFname>
Enable or disable the content detail of a
particular type of messages can be
received and sent on the specified port.
10.3 ULDP Function Typical Examples
Switch A
g1/2
Switch B
g1/4
g1/3
g1/1
PC2
PC1
Figure 10-3 Fiber Cross Connection
In the network topology in Graph, port g1/1 and port g1/2 of SWITCH A as well as port g1/3
and port g1/4 of SWITCH B are all fiber ports. And the connection is cross connection. The
physical layer is connected and works normally, but the data link layer is abnormal. ULDP can
discover and disable this kind of error state of link. The final result is that port g1/1, g1/2 of
SWITCH A and port g1/3, g1/4 of SWITCH B are all shut down by ULDP. Only when the
connection is correct, can the ports work normally (won’t be shut down).
Switch A configuration sequence:
SwitchA(config)#uldp enable
SwitchA(config)#interface ethernet 1/1
SwitchA(Config-If-Ethernet1/1)#uldp enable
10-23