S9700交换机无法配置多主检测

发布时间:  2016-01-29 浏览次数:  148 下载次数:  0
问题描述

S9706交换机通过业务口互联方式配置CSS模式,在配置MAD方式多主检测时,无法写入配置。

[S9706-CSS-GigabitEthernet1/1/0/47]mad ?
                                      ^
Error: Unrecognized command found at '^' position.

 

 

告警信息

[S9706-CSS-GigabitEthernet1/1/0/47]mad ?
                                      ^
Error: Unrecognized command found at '^' position.

处理过程

查看端口配置发现:

[S9706-CSS-GigabitEthernet1/1/0/47]dis th
#
interface GigabitEthernet1/1/0/47
undo portswitch
#
删除端口下配置后,配置MAD命令无报错:

<S9706-CSS>dis mad ver
Current MAD domain: 0
Current MAD status: Detect
Mad direct detect interfaces configured:
GigabitEthernet1/1/0/47
GigabitEthernet2/1/0/47
Mad relay detect interfaces configured:
Excluded ports(configurable):
Excluded ports(can not be configured):
XGigabitEthernet1/6/0/0
XGigabitEthernet1/6/0/1
XGigabitEthernet2/6/0/0
XGigabitEthernet2/6/0/1

 

根因
在端口配置视图下发现该端口有配置undo portswitch,将端口修改为portswitch,然后启用MAD配置,在CSS完成后配置多主检测时该端口为portswitch端口。
解决方案

[S9706-CSS-GigabitEthernet1/1/0/47]dis th
#
interface GigabitEthernet1/1/0/47
undo portswitch
#
return
XY-S9706-CSS-GigabitEthernet1/1/0/47]portswitch

配置完成多主检测后查看CSS端口:

<XY-S9706-CSS>dis mad ver
Current MAD domain: 0
Current MAD status: Detect
Mad direct detect interfaces configured:
GigabitEthernet1/1/0/47
GigabitEthernet2/1/0/47
Mad relay detect interfaces configured:
Excluded ports(configurable):
Excluded ports(can not be configured):
XGigabitEthernet1/6/0/0
XGigabitEthernet1/6/0/1
XGigabitEthernet2/6/0/0
XGigabitEthernet2/6/0/1

建议与总结
在配置MAD多主检测之前,检查设备端口下是否有配置。若有配置,请将无关配置清除掉。

END