Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
admin@XorPlus# set protocols udld disable false
admin@XorPlus# commit 
Commit OK.
Save done.

Configure UDLD aggressive mode on global

Code Block
admin@XorPlus# set protocols udld disable false
admin@XorPlus# set protocols udld aggressive true
admin@XorPlus# commit 
Commit OK.
Save done.

Configure UDLD normal mode on Specific Port

Code Block
admin@XorPlus# set protocols udld interface te-1/1/27 disable false
admin@XorPlus# commit 
Commit OK.
Save done.

Configure UDLD aggressive mode on Specific Port

Code Block
admin@XorPlus# set protocols udld interface te-1/1/27 disable false
admin@XorPlus# set protocols udld interface te-1/1/27 aggressive true
admin@XorPlus# commit 
Merging the configuration.
Commit OK.
Save done.

...

Code Block
admin@Xorplus# run show udld neighbors 
  Port       Device Name     Device ID        Port ID     state
--------     -----------    -----------    ------------   ---------------

admin@Xorplus# run show udld interface te-1/1/27
Interface te-1/1/27
----------------------------------------
Udld enabled
Current bidirectional state: uni-directional
Current phase: linkdown
Message interval: 7s
Timeout interval: 5s
 
admin@XorPlus# run show interface gigabit-ethernet te-1/1/27
Physical interface: te-1/1/27, Enabled, error-discard True(UDLD), Physical link is Down
Interface index: 27, SFP type: SR/850
Description: 
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Enabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit  ingress:0unlimited, egress:unlimited
Interface burst limit ingress:unlimited, egress:0unlimited
Current address: 00:90:4c:06:a5:73, Hardware address: 00:90:4c:06:a5:73
Traffic statistics:
  5 sec input rate 0 bits/sec, 0 packets/sec
  5 sec output rate 0 bits/sec, 0 packets/sec
  Input Packets............................16
  Output Packets...........................1360
  Input Octets.............................1797
  Output Octets............................157178

...

The example is that tx connect with rx on the same port te-1/1/27. The udld status will be transmit-to-receive loop, and the port status will be setted Disabled(UDLD) and down, and there is no udld neighbor.

Code Block
admin@Xorplus# run show udld neighbors
  Port       Device Name     Device ID        Port ID     state
--------     -----------    -----------    ------------   ---------------

admin@Xorplus# run show udld interface te-1/1/27
Interface te-1/1/27
----------------------------------------
Udld enabled, aggressive mode
Current bidirectional state: transmit-to-receive loop
Current phase: linkdown
Message interval: 7s
Timeout interval: 5s

admin@XorPlus# run show interface gigabit-ethernet te-1/1/27
Physical interface: te-1/1/27, Disabled(UDLD), error-discard False, Physical link is Down
Interface index: 27, SFP type: SR/850
Description: 
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Enabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit  ingress:0:unlimited, egress:unlimited
Interface burst limit ingress:unlimited, egress:0unlimited
Precision Time Protocol mode:none
Current address: 00:90:4c:06:a5:73, Hardware address: 00:90:4c:06:a5:73
Traffic statistics:
  5 sec input rate 0 bits/sec, 0 packets/sec
  5 sec output rate 0 bits/sec, 0 packets/sec
  Input Packets............................16
  Output Packets...........................1360
  Input Octets.............................1797
  Output Octets............................157178

...

Code Block
admin@XorPlus# set interface gigabit-ethernet te-1/1/27 disable true
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# set interface gigabit-ethernet te-1/1/27 disable false
admin@XorPlus# commit
Commit OK.
Save done.
admin@XorPlus# run show interface gigabit-ethernet te-1/1/27
Physical interface: te-1/1/27, Enabled, error-discard False, Physical link is DownUp
Interface index: 27, SFP type: SR/850
Description: 
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Enabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit  ingress:unlimited, egress:unlimited
Interface burst limit ingress:0unlimited, egress:0:unlimited
Precision Time Protocol mode:none
Current address: 00:90:4c:06:a5:73, Hardware address: 00:90:4c:06:a5:73
Traffic statistics:
  5 sec input rate 0 bits/sec, 0 packets/sec
  5 sec output rate 0 bits/sec, 0 packets/sec
  Input Packets............................16
  Output Packets...........................1360
  Input Octets.............................1797
  Output Octets............................157178

...

Code Block
admin@XorPlus# run clear udld
admin@XorPlus# run show interface gigabit-ethernet te-1/1/27
Physical interface: te-1/1/27, Enabled, error-discard False, Physical link is DownUp
Interface index: 27, SFP type: SR/850
Description: 
Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Full
Source filtering: Disabled, Flow control: Disabled, Auto-negotiation: Enabled
Interface flags: Hardware-Down SNMP-Traps Internal: 0x0
Interface rate limit  ingress:0unlimited, egress:unlimited
Interface burst limit ingress:unlimited, egress:0unlimited
Precision Time Protocol mode:none
Current address: 00:90:4c:06:a5:73, Hardware address: 00:90:4c:06:a5:73
Traffic statistics:
  5 sec input rate 0 bits/sec, 0 packets/sec
  5 sec output rate 0 bits/sec, 0 packets/sec
  Input Packets............................16
  Output Packets...........................1360
  Input Octets.............................1797
  Output Octets............................157178

...