R3303-HP HSR6800 Routers High Availability Configuration Guide

45
<RouterA> system-view
[RouterA] dldp enable
# Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and
enable DLDP on the port.
[RouterA] interface gigabitethernet 3/0/1
[RouterA-GigabitEthernet3/0/1] duplex full
[RouterA-GigabitEthernet3/0/1] speed 1000
[RouterA-GigabitEthernet3/0/1] dldp enable
[RouterA-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 to operate in full duplex mode and at 1000 Mbps, and
enable DLDP on the port.
[RouterA] interface gigabitethernet 3/0/2
[RouterA-GigabitEthernet3/0/2] duplex full
[RouterA-GigabitEthernet3/0/2] speed 1000
[RouterA-GigabitEthernet3/0/2] dldp enable
[RouterA-GigabitEthernet3/0/2] quit
# Set the DLDP mode to enhanced.
[RouterA] dldp work-mode enhance
# Set the port shutdown mode to auto.
[RouterA] dldp unidirectional-shutdown auto
2. Configure Router B:
# Enable DLDP globally.
<RouterB> system-view
[RouterB] dldp enable
# Configure GigabitEthernet 3/0/1 to operate in full duplex mode and at 1000 Mbps, and
enable DLDP on it.
[RouterB] interface gigabitethernet 3/0/1
[RouterB-GigabitEthernet3/0/1] duplex full
[RouterB-GigabitEthernet3/0/1] speed 1000
[RouterB-GigabitEthernet3/0/1] dldp enable
[RouterB-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 to operate in full duplex mode and at 1000 Mbps, and
enable DLDP on it.
[RouterB] interface gigabitethernet 3/0/2
[RouterB-GigabitEthernet3/0/2] duplex full
[RouterB-GigabitEthernet3/0/2] speed 1000
[RouterB-GigabitEthernet3/0/2] dldp enable
[RouterB-GigabitEthernet3/0/2] quit
# Set the DLDP mode to enhanced.
[RouterB] dldp work-mode enhance
# Set the port shutdown mode to auto.
[RouterB] dldp unidirectional-shutdown auto
3. Verify the configuration:
After the configurations are complete, you can use the display dldp command to display the DLDP
configuration information on ports.
# Display the DLDP configuration information on all the DLDP-enabled ports of Router A.