03-H3C_S12500-S_DLDP典型配置举例
本章节下载: 03-H3C_S12500-S_DLDP典型配置举例 (194.73 KB)
H3C S12500-S DLDP典型配置举例
Copyright © 2015杭州华三通信技术有限公司 版权所有,保留一切权利。 非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部, 并不得以任何形式传播。本文档中的信息可能变动,恕不另行通知。 |
|
目 录
本文档介绍了DLDP的两种典型案例。
DLDP是H3C自主研发的一种链路层协议,可以监控光纤或铜质双绞线的链路状态。如果发现单向链路存在,DLDP会根据用户配置,自动关闭或通知用户手工关闭相关接口,以防止网络问题的发生。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解DLDP特性。
如图1所示,Device A和Device B之间分别通过一对光纤进行连接。
现要求在这两台设备上配置DLDP自动关闭单向链路功能,实现:
· DLDP能够检测到光纤交叉连接或一条光纤未连接的单向链路故障;
· 当DLDP检测到单向链路故障后,DLDP会自动关闭故障接口;
· 当网络管理员排除故障后,故障接口能够自动恢复正常。
图1 DLDP检测并自动关闭单向链路配置组网图
本举例是在S12500-S-CMW710-R7150P02版本上进行配置和验证的。
为确保DLDP能够正常工作,需要将两端接口的双工模式都配置为全双工模式,速率都配置为相同的强制速率。
为确保DLDP能够正常工作,要保证两端设备的DLDP功能都处于开启状态,且Advertisement报文的发送间隔、DLDP认证模式和密码都相同。
(1) Device A的配置
# 全局开启DLDP功能。
<DeviceA> system-view
[DeviceA] dldp global enable
# 在接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上配置双工模式为全双工、端口速率为10000Mbps,并开启DLDP功能。
[DeviceA] interface ten-gigabitethernet 3/0/1
[DeviceA-Ten-GigabitEthernet3/0/1] duplex full
[DeviceA-Ten-GigabitEthernet3/0/1] speed 10000
[DeviceA-Ten-GigabitEthernet3/0/1] dldp enable
[DeviceA-Ten-GigabitEthernet3/0/1] quit
[DeviceA] interface ten-gigabitethernet 3/0/2
[DeviceA-Ten-GigabitEthernet3/0/2] duplex full
[DeviceA-Ten-GigabitEthernet3/0/2] speed 10000
[DeviceA-Ten-GigabitEthernet3/0/2] dldp enable
[DeviceA-Ten-GigabitEthernet3/0/2] quit
# 配置Advertisement报文的发送间隔为5秒(缺省情况下,Advertisement报文的发送间隔为5秒),配置DLDP认证模式为明文认证,认证密码为abc。
[DeviceA] dldp interval 5
[DeviceA] dldp authentication-mode simple
[DeviceA] dldp authentication-password simple abc
# 配置发现单向链路后接口的关闭模式为自动模式(缺省情况下,关闭模式为自动模式)。
[DeviceA] dldp unidirectional-shutdown auto
(2) Device B的配置
Device B上的配置与Device A上的配置完全一致,此处不再赘述。
配置完成后,通过使用display dldp命令可以查看DLDP的全局配置信息和接口上的DLDP信息。例如:
# 查看Device A上DLDP的全局配置信息和所有接口上的DLDP信息。
[DeviceA] display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
DLDP authentication-password: ******
DLDP unidirectional-shutdown mode: Auto
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet3/0/1
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 1
Neighbor state: Confirmed
Neighbor aged time: 11s
Interface Ten-GigabitEthernet3/0/2
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 2
Neighbor state: Confirmed
Neighbor aged time: 12s
由此可见,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上的DLDP接口状态均为Bidirectional,表明这两个接口所在的链路均处于双通状态。
# 在Device A上配置允许日志信息输出到当前终端,且输出的日志信息最低为6级。
[DeviceA] quit
<DeviceA> terminal monitor
The current terminal is enabled to display logs.
<DeviceA> terminal logging level 6
如图2所示,以Device A和Device B的两对光纤被错误地进行了交叉连接为例。
图2 光纤交叉连接组网图
网络管理员会在Device A上看到如下日志信息:
<DeviceA>%Jul 11 17:40:31:089 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is DOWN.
%Jul 11 17:40:31:091 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is DOWN.
%Jul 11 17:40:31:677 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is DOWN.
%Jul 11 17:40:31:678 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is DOWN.
%Jul 11 17:40:38:544 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is UP.
%Jul 11 17:40:38:836 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is UP.
上述信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2的物理状态都先down后up,而链路状态则都down后未再up。
# 查看Device A上接口Ten-GigabitEthernet3/0/1的运行状态和相关信息。
[DeviceA]display interface ten-gigabitethernet 3/0/1
Ten-GigabitEthernet3/0/1
Current state: UP
Line protocol state: DOWN(DLDP)
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5929
Description: Ten-GigabitEthernet3/0/1 Interface
Bandwidth: 10000000kbps
Loopback is not set
Media type is optical fiber, Port hardware type is 10G_BASE_SR_SFP
10Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is force link
Flow-control is not enabled
The Maximum Frame Length is 10000
Allow jumbo frame to pass
Broadcast MAX-ratio: 100%
Multicast MAX-ratio: 100%
Unicast MAX-ratio: 100%
PVID: 1
Mdi type: automdix
Port link-type: access
Tagged Vlan: none
UnTagged Vlan: 1
Port priority: 0
Last clearing of counters: Never
Peak value of input: 141 bytes/sec, at 2011-01-01 01:37:08
Peak value of output: 84 bytes/sec, at 2011-01-01 05:39:56
Last 300 seconds input: 0 packets/sec 99 bytes/sec 0%
Last 300 seconds output: 0 packets/sec 63 bytes/sec 0%
Input (total): 26470 packets, 2469445 bytes
0 unicasts, 1 broadcasts, 26469 multicasts, 0 pauses
Input (normal): 26470 packets, - bytes
0 unicasts, 1 broadcasts, 26469 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, - overruns, 0 aborts
- ignored, - parity errors
Output (total): 16962 packets, 1165236 bytes
0 unicasts, 0 broadcasts, 16962 multicasts, 0 pauses
Output (normal): 16962 packets, - bytes
0 unicasts, 0 broadcasts, 16962 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, - no carrier
上述信息表明,光纤被交叉连接后,接口Ten-GigabitEthernet3/0/1物理状态最终为up,链路层被DLDP协议自动关闭了。查看Device A上接口Ten-GigabitEthernet3/0/2的运行状态也和Ten-GigabitEthernet3/0/1一样。
# 查看Device A上DLDP的全局配置信息和所有接口上的DLDP信息。
<DeviceA> display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
DLDP authentication-password: ******
DLDP unidirectional-shutdown mode: Auto
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet3/0/1
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
Interface Ten-GigabitEthernet3/0/2
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
上述信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上的DLDP接口状态均为Unidirectional,说明这两个接口所在的链路均处于单通状态。由此可知,DLDP在接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上都检测到了单向链路。
网络管理员将这两对光纤重新进行正确连接后,在设备上可以看到如下日志信息:
<DeviceA>%Jul 11 17:42:57:709 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is DOWN.
%Jul 11 17:42:58:603 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is DOWN.
%Jul 11 17:43:02:342 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is UP.
%Jul 11 17:43:02:343 2014 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was confirmed on interface Ten-GigabitEthernet3/0/1. The neighbor's system MAC is 0023-8956-3600, and the port index is 1.
%Jul 11 17:43:02:344 2014 DeviceA DLDP/6/DLDP_LINK_BIDIRECTIONAL: DLDP detected a bidirectional link on interface Ten-GigabitEthernet3/0/1.
%Jul 11 17:43:02:353 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is UP.
%Jul 11 17:43:02:357 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is UP.
%Jul 11 17:43:02:362 2014 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was confirmed on interface Ten-GigabitEthernet3/0/2. The neighbor's system MAC is 0023-8956-3600, and the port index is 2.
%Jul 11 17:43:02:362 2014 DeviceA DLDP/6/DLDP_LINK_BIDIRECTIONAL: DLDP detected a bidirectional link on interface Ten-GigabitEthernet3/0/2.
%Jul 11 17:43:02:368 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is UP.
上述信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2的物理状态和链路状态均已up,并各自确定了DLDP邻居,所在链路也变为双通状态。
· Device A
#
dldp global enable
dldp authentication-mode simple
dldp authentication-password cipher $c$3$wHDzwD/AZNW+q+otXapfZ/tUB/Wgbg==
#
interface Ten-GigabitEthernet3/0/1
port link-mode bridge
speed 10000
duplex full
dldp enable
#
interface Ten-GigabitEthernet3/0/2
port link-mode bridge
speed 10000
duplex full
dldp enable
#
· Device B
Device B上的配置文件与Device A完全一致,此处不再赘述。
如图3所示,Device A和Device B之间分别通过一对光纤进行连接。
现要求在这两台设备上配置DLDP手动关闭单向链路功能,实现:
· DLDP能够检测到光纤交叉连接或一条光纤未连接的单向链路故障;
· 当DLDP检测到单向链路后,网络管理员可以通过检查链路连接情况来判断是否需要手工关闭接口,避免由于网络性能较差、设备业务量较大或CPU利用率较高等情况造成DLDP对单通的误判而自动关闭接口;
· 当网络管理员排除故障并重新将故障接口打开后,故障接口才能够恢复正常。
图3 DLDP检测并通知用户手动关闭单向链路配置组网图
本举例是在S12500-S-CMW710-R7150P02版本上进行配置和验证的。
为确保DLDP能够正常工作,需要将两端接口的双工模式都配置为全双工模式,速率都配置为相同的强制速率。
为确保DLDP能够正常工作,要保证两端设备的DLDP功能都处于使能状态,且Advertisement报文的发送间隔、DLDP认证模式和密码都相同。
(1) Device A的配置
# 全局开启DLDP功能。
<DeviceA> system-view
[DeviceA] dldp global enable
# 在端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上配置双工模式为全双工、端口速率为10000Mbps,并开启DLDP功能。
[DeviceA] interface ten-gigabitethernet 3/0/1
[DeviceA-Ten-GigabitEthernet3/0/1] duplex full
[DeviceA-Ten-GigabitEthernet3/0/1] speed 10000
[DeviceA-Ten-GigabitEthernet3/0/1] dldp enable
[DeviceA-Ten-GigabitEthernet3/0/1] quit
[DeviceA] interface ten-gigabitethernet 3/0/2
[DeviceA-Ten-GigabitEthernet3/0/2] duplex full
[DeviceA-Ten-GigabitEthernet3/0/2] speed 10000
[DeviceA-Ten-GigabitEthernet3/0/2] dldp enable
[DeviceA-Ten-GigabitEthernet3/0/2] quit
# 配置Advertisement报文的发送间隔为5秒(缺省情况下,Advertisement报文的发送间隔为5秒),配置DLDP认证模式为明文认证,认证密码为abc。
[DeviceA] dldp interval 5
[DeviceA] dldp authentication-mode simple
[DeviceA] dldp authentication-password simple abc
# 配置发现单向链路后端口的关闭模式为手动模式。
[DeviceA] dldp unidirectional-shutdown manual
(2) Device B的配置
Device B上的配置与Device A上的配置完全一致,此处不再赘述。
配置完成后,通过使用display dldp命令可以查看DLDP的全局配置信息和接口上的DLDP信息。例如:
# 查看Device A上DLDP的全局配置信息和所有接口上的DLDP信息。
[DeviceA] display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
DLDP authentication-password: ******
DLDP unidirectional-shutdown mode: Manual
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet3/0/1
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 1
Neighbor state: Confirmed
Neighbor aged time: 11s
Interface Ten-GigabitEthernet3/0/2
DLDP port state: Bidirectional
Number of the port’s neighbors: 1
Neighbor MAC address: 0023-8956-3600
Neighbor port index: 2
Neighbor state: Confirmed
Neighbor aged time: 12s
由此可见,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上的DLDP接口状态均为Bidirectional,说明这两个接口所在的链路均处于双通状态。
# 在Device A上配置允许日志信息输出到当前终端,且输出的日志信息最低为6级。
[DeviceA] quit
<DeviceA> terminal monitor
The current terminal is enabled to display logs.
<DeviceA> terminal logging level 6
如图4所示,以连接Device A和Device B的两对光纤被错误地进行了交叉连接为例。
网络管理员会在Device A上看到如下日志信息:
<DeviceA>%Jul 12 08:29:17:786 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is DOWN.
%Jul 12 08:29:17:787 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is DOWN.
%Jul 12 08:29:17:800 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is DOWN.
%Jul 12 08:29:17:800 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is DOWN.
%Jul 12 08:29:25:004 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is UP.
%Jul 12 08:29:25:005 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is UP.
%Jul 12 08:29:25:893 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is UP.
%Jul 12 08:29:25:894 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is UP.
以上信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2的物理状态和链路状态都先down后up。
# 查看Device A上接口Ten-GigabitEthernet3/0/1的运行状态和相关信息。
[DeviceA]display interface ten-gigabitethernet 3/0/1
Ten-GigabitEthernet3/0/1
Current state: UP
Line protocol state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 00e0-fc00-5929
Description: Ten-GigabitEthernet3/0/1 Interface
Bandwidth: 10000000kbps
Loopback is not set
Media type is optical fiber, Port hardware type is 10G_BASE_SR_SFP
10Gbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is force link
Flow-control is not enabled
The Maximum Frame Length is 10000
Allow jumbo frame to pass
Broadcast MAX-ratio: 100%
Multicast MAX-ratio: 100%
Unicast MAX-ratio: 100%
PVID: 1
Mdi type: automdix
Port link-type: access
Tagged Vlan: none
UnTagged Vlan: 1
Port priority: 0
Last clearing of counters: Never
Peak value of input: 141 bytes/sec, at 2011-01-01 01:37:08
Peak value of output: 104 bytes/sec, at 2011-01-01 06:40:58
Last 300 seconds input: 0 packets/sec 27 bytes/sec 0%
Last 300 seconds output: 1 packets/sec 101 bytes/sec 0%
Input (total): 27226 packets, 2547709 bytes
0 unicasts, 1 broadcasts, 27225 multicasts, 0 pauses
Input (normal): 27226 packets, - bytes
0 unicasts, 1 broadcasts, 27225 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, - overruns, 0 aborts
- ignored, - parity errors
Output (total): 17991 packets, 1260564 bytes
0 unicasts, 0 broadcasts, 17991 multicasts, 0 pauses
Output (normal): 17991 packets, - bytes
0 unicasts, 0 broadcasts, 17991 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, - no carrier
上述信息表明,光纤被交叉连接后,接口Ten-GigabitEthernet3/0/1物理状态最终为up,链路层协议状态最终也为up,由此可知DLDP协议并没有关闭接口Ten-GigabitEthernet3/0/1。查看Device A上接口Ten-GigabitEthernet3/0/2的运行状态也和Ten-GigabitEthernet3/0/1一样。
# 查看Device A上DLDP的全局配置信息和所有接口上的DLDP信息。
<DeviceA> display dldp
DLDP global status: Enabled
DLDP advertisement interval: 5s
DLDP authentication-mode: Simple
DLDP authentication-password: ******
DLDP unidirectional-shutdown mode: Manual
DLDP delaydown-timer value: 1s
Number of enabled ports: 2
Interface Ten-GigabitEthernet3/0/1
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
Interface Ten-GigabitEthernet3/0/2
DLDP port state: Unidirectional
Number of the port’s neighbors: 0 (Maximum number ever detected: 1)
以上信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上的DLDP接口状态均为Unidirectional,说明这两个接口所在的链路均处于单通状态。由此可知,DLDP在接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2上都检测到了单向链路,但并未关闭这两个接口。
网络管理员将故障端口手工关闭:
# 关闭接口Ten-GigabitEthernet3/0/1。
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 3/0/1
[DeviceA-Ten-GigabitEthernet3/0/1] shutdown
Device A上随即输出以下日志信息:
[DeviceA-Ten-GigabitEthernet3/0/1]%Jul 12 08:34:23:717 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is DOWN.
%Jul 12 08:34:23:718 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is DOWN.
%Jul 12 08:34:23:778 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is DOWN.
%Jul 12 08:34:23:779 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is DOWN.
以上信息表明,接口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2的物理状态和链路状态均已变为down。
# 关闭接口Ten-GigabitEthernet3/0/2。
[DeviceA-Ten-GigabitEthernet3/0/1] quit
[DeviceA] interface ten-gigabitethernet 3/0/2
[DeviceA-Ten-GigabitEthernet3/0/2] shutdown
然后,网络管理员将连接Device A和Device B的两对光纤重新进行了正确连接。检查无误后,网络管理员将已排除故障的端口重新打开:
# 打开接口Ten-GigabitEthernet3/0/2。
[DeviceA-Ten-GigabitEthernet3/0/2] undo shutdown
Device A上随即输出以下日志信息:
[DeviceA-Ten-GigabitEthernet3/0/2]%Jul 12 08:46:17:677 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/2 link status is UP.
%Jul 12 08:46:17:678 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/2 is UP.
%Jul 12 08:46:17:959 2014 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was confirmed on interface Ten-GigabitEthernet3/0/2. The neighbor's system MAC is 0023-8956-3600, and the port index is 2.
%Jul 12 08:46:17:959 2014 DeviceA DLDP/6/DLDP_LINK_BIDIRECTIONAL: DLDP detected a bidirectional link on interface Ten-GigabitEthernet3/0/2.
以上信息表明,接口Ten-GigabitEthernet3/0/2的物理状态和链路状态均已up,并确定了DLDP邻居,所在链路也变为双通状态。
# 打开接口Ten-GigabitEthernet3/0/1。
[DeviceA-Ten-GigabitEthernet3/0/2] quit
[DeviceA] interface ten-gigabitethernet 3/0/1
[DeviceA-Ten-GigabitEthernet3/0/1] undo shutdown
Device A上随即输出以下日志信息:
[DeviceA-Ten-GigabitEthernet3/0/1]%Jul 12 08:48:25:952 2014 DeviceA IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet3/0/1 link status is UP.
%Jul 12 08:48:25:952 2014 DeviceA DLDP/6/DLDP_NEIGHBOR_CONFIRMED: A neighbor was confirmed on interface Ten-GigabitEthernet3/0/1. The neighbor's system MAC is 0023-8956-3600, and the port index is 1.
%Jul 12 08:48:25:953 2014 DeviceA IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet3/0/1 is UP.
%Jul 12 08:48:25:953 2014 DeviceA DLDP/6/DLDP_LINK_BIDIRECTIONAL: DLDP detected a bidirectional link on interface Ten-GigabitEthernet3/0/1.
以上信息表明,接口Ten-GigabitEthernet3/0/1的物理状态和链路状态均已up,并确定了DLDP邻居,所在链路也变为双通状态。
· Device A
#
dldp global enable
dldp authentication-mode simple
dldp authentication-password cipher $c$3$wHDzwD/AZNW+q+otXapfZ/tUB/Wgbg==
dldp unidirectional-shutdown manual
#
interface Ten-GigabitEthernet3/0/1
port link-mode bridge
speed 10000
duplex full
dldp enable
#
interface Ten-GigabitEthernet3/0/2
port link-mode bridge
speed 10000
duplex full
dldp enable
#
· Device B
Device B上的配置文件与Device A完全一致,此处不再赘述。
· H3C S12500-S系列交换机 可靠性配置指导-Release 7150P02
· H3C S12500-S系列交换机 可靠性命令参考-Release 7150P02
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!