beautypg.com

Ii. network diagram, Iii. configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 164

background image

Operation Manual – DLDP

H3C S3100-52P Ethernet Switch

Chapter 1 DLDP Configuration

1-10

II. Network diagram

SwitchB

SwitchA

PC

GE2/1/3

GE2/1/3

GE2/1/4

GE2/1/4

SwitchB

SwitchA

PC

GE2/1/3

GE2/1/3

GE2/1/4

GE2/1/4

SwitchB

SwitchA

PC

GE2/1/3

GE2/1/3

GE2/1/4

GE2/1/4

SwitchB

SwitchA

PC

GE2/1/3

GE2/1/3

GE2/1/4

GE2/1/4

Figure 1-3

Fiber cross-connection

III. Configuration procedure

1) Configure Switch A
# Configure the ports to work in mandatory full duplex mode at a rate of 1000 Mbps.

system-view

[SwitchA] interface gigabitethernet 2/1/3

[SwitchA-GigabitEthernet2/1/3] duplex full

[SwitchA-GigabitEthernet2/1/3] speed 1000

[SwitchA-GigabitEthernet2/1/3] quit

[SwitchA] interface gigabitethernet 2/1/4

[SwitchA-GigabitEthernet2/1/4] duplex full

[SwitchA-GigabitEthernet2/1/4] speed 1000

[SwitchA-GigabitEthernet2/1/4] quit

# Enable DLDP globally

[SwitchA] dldp enable

# Set the interval between sending DLDP packets to 15 seconds.

[SwitchA] dldp interval 15

# Configure DLDP to work in enhanced mode

[SwitchA] dldp work-mode enhance

# Set the DLDP handling mode for unidirectional links to auto.

[SwitchA] dldp unidirectional-shutdown auto

# Display the DLDP state

[SwitchA] display dldp 1