User's Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
113
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|al
l} [receive|send] interface ethernet <IF
name>
no debug uldp {hello|probe|echo| unid
ir|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.
12.3 ULDP Function Typical Examples
Fig 4-3 Fiber Cross Connection
In the network topology in Graph, port g1/0/1 and port g1/0/2 of SWITCH A as well as port
g1/0/3 and port g1/0/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/0/1,
g1/0/2 of SWITCH A and port g1/0/3, g1/0/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/0/1
SwitchA(Config-If-Ethernet1/0/1)#uldp enable
SwitchA(Config-If-Ethernet1/0/1)#exit
g1/0/2
Switch B
g1/0/4
g1/0/3
g1/0/1
Switch A
PC1
PC2