[H3C-ccluster-member-1]cluster-link data bind interface Ten-GigabitEthernet 1/3/10
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
Check failed for reason:
An cloud-cluster port can't have both hybrid channels and non-hybrid channels.The hybrid channel type applies to an cloud-cluster network interface if you do not specify a channel type for the interface.
部署云集群AC的data口,端口要设置成?
(0)
最佳答案
参考配置:
AC 1和AC 2通过直连链路建立云集群,AC 1作为主设备,云集群和核心交换机之间建立动态聚合链路,用于LACP MAD检测和业务报文的转发。
图20 云集群组网图
使用2台同型号的AC建立云集群。
如果通过其他组网方式升级为云集群,建议先清空AC的配置并重启设备,然后搭建集群组网,最后再配置其它业务。
· Core Switch 1和Core Switch 2为稳定运行的Comware V7 IRF系统。
· 请首先将AC 1和AC 2与交换机相连的业务接口通过shutdown命令关闭,防止在配置动态聚合前设备间产生环路,在集群建立完成并且动态聚合配置完成后再开启接口。
# 创建二层聚合接口1,并配置该聚合接口对应的聚合组工作在动态聚合模式下。
<Core> system-view
[Core] interface bridge-aggregation 1
[Core-Bridge-Aggregation1] link-aggregation mode dynamic
[Core-Bridge-Aggregation1] quit
# 将端口Ten-GigabitEthernet1/0/2加入到聚合组1中。
[Core] interface ten-gigabitethernet 1/0/2
[Core-Ten-GigabitEthernet1/0/1] port link-aggregation group 1
[Core-Ten-GigabitEthernet1/0/1] quit
# 将端口Ten-GigabitEthernet2/0/2加入到聚合组1中。
[Core] interface ten-gigabitethernet 2/0/2
[Core-Ten-GigabitEthernet1/0/2] port link-aggregation group 1
[Core-Ten-GigabitEthernet1/0/2] quit
# 开启聚合流量重定向功能。
[Core] link-aggregation lacp traffic-redirect-notification enable
(1) 配置设备在云集群中的成员编号
# 设备出厂默认的成员编号为1,故不需要配置。
(2) 配置设备在云集群中的成员IP
# 云集群中成员设备的成员IP地址必须同网段,故云集群自身需要单独占用一个IP网段,请依据实际情况提前规划。本文以192.168.10.x/24举例。
[AC1-ccluster-member-1] member-ip 192.168.10.10 24
(3) 指定设备要加入的集群IP地址
# 集群IP地址即Leader的IP地址,本例中AC 1作为Leader,故不需要配置。
(4) 绑定云集群端口
# 云集群需要配置控制通道和数据数据通道的物理接口。在Gigabitethernet1/0/2和Gigabitethernet1/0/3上部署控制通道,以形成冗余备份。
[AC1-ccluster-member-1] cluster-link control bind interface GigabitEthernet 1/0/2
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
[AC1-ccluster-member-1] cluster-link control bind interface GigabitEthernet 1/0/3
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
# 在Ten-Gigabitethernet1/3/9上部署数据通道。为满足数据通道的带宽需求,推荐数据通道使用Ten-Gigabitethernet接口或至少2个Gigabitethernet接口。
[AC1-ccluster-member-1] cluster-link data bind interface Ten-GigabitEthernet 1/3/9
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
[AC1-ccluster-member-1] quit
(5) 激活云集群配置
# 设备重启后配置生效。
[AC1] cloud-cluster configuration active
New cluster configuration:
cloud-cluster service-cluster domain 0
cloud-cluster hello cloud-timeout 3 service-timeout 5
cloud-cluster member 1
member-ip 192.168.10.10/24
join-cluster ip 192.168.10.10
role manager-worker
cluster-link control bind interface GigabitEthernet1/0/2
cluster-link data bind interface Ten-GigabitEthernet 1/3/9
The system will activate and save the configuration, and it might do a restart. Continue? [Y/N]:y
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):test.cfg
(1) 配置设备在云集群中的成员编号
# 每台设备的成员编号必须在云集群内唯一,故将设备在云集群中的成员编号修改为2。在激活云集群配置后生效。
<AC2> system-view
[AC2] cloud-cluster member 1 renumber 2
This command will take effect after the cloud cluster configuration is activated. The command might result in configuration change or loss when it takes effect. Continue? [Y/N]: y
[AC2] cloud-cluster member 1
[AC2-ccluster-member-1]
(2) 配置设备在云集群中的成员IP
# 云集群中成员设备的成员IP地址必须同网段。
[AC2-ccluster-member-1] member-ip 192.168.10.11 24
(3) 指定设备要加入的集群IP地址
# 集群IP地址即Leader的IP地址,本例中AC 1作为Leader,IP地址为192.168.10.10。
[AC2-ccluster-member-1] join-cluster ip 192.168.10.10
(4) 绑定云集群端口
# 云集群需要配置控制通道和数据数据通道的物理接口。在Gigabitethernet1/0/2和Gigabitethernet1/0/3上部署控制通道,以形成冗余备份。
[AC2-ccluster-member-1] cluster-link control bind interface GigabitEthernet 1/0/2
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
[AC2-ccluster-member-1] cluster-link control bind interface GigabitEthernet 1/0/3
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
# 在Ten-Gigabitethernet1/3/9上部署数据通道。为满足数据通道的带宽需求,推荐数据通道使用Ten-Gigabitethernet接口或至少2个Gigabitethernet接口。
[AC2-ccluster-member-1] cluster-link data bind interface Ten-GigabitEthernet 1/3/9
The system will shut down and then bring up the interface after activation the cloud cluster configuration. Continue? [Y/N]: y
[AC2-ccluster-member-1] quit
(5) 激活云集群配置
# 设备重启后配置生效。
[AC2] cloud-cluster configuration active
New cluster configuration:
cloud-cluster service-cluster domain 0
cloud-cluster hello cloud-timeout 3 service-timeout 5
cloud-cluster member 2
member-ip 192.168.10.11/24
join-cluster ip 192.168.10.10
role manager-worker
cluster-link control bind interface GigabitEthernet2/0/2
cluster-link data bind interface Ten-GigabitEthernet 2/3/9
The system will activate and save the configuration, and it might do a restart. Continue? [Y/N]:y
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):test.cfg
# 创建二层聚合接口1,并配置该聚合接口对应的聚合组工作在动态聚合模式下。
<AC1> system-view
[AC1] interface bridge-aggregation 1
[AC1-Bridge-Aggregation1] link-aggregation mode dynamic
# 开启LACP MAD检测功能。
[AC1-Bridge-Aggregation1] mad enable
You need to assign a domain ID (range: 0-4294967295)
[Current domain ID is: 0]: 1
The assigned domain ID is: 1
[AC1-Bridge-Aggregation1] quit
# 将端口Ten-GigabitEthernet1/3/10加入到聚合组1中。
[AC1] interface ten-gigabitethernet 1/3/10
[AC1-Ten-GigabitEthernet1/3/10] port link-aggregation group 1
[AC1-Ten-GigabitEthernet1/3/10] quit
# 将端口Ten-GigabitEthernet2/3/10加入到聚合组1中。
[AC1] interface ten-gigabitethernet 2/3/10
[AC1-Ten-GigabitEthernet2/3/10] port link-aggregation group 1
[AC1-Ten-GigabitEthernet2/3/10] quit
# 配置AP热备份功能
<AC1> system-view
[AC1] wlan ap-backup hot-backup enable global
This operation will enable fast switchover for AP backup.
# 配置客户端热备份功能
[AC1] wlan client-backup hot-backup enable
# 显示物理集群的相关信息,可以看到物理集群中有两台设备,AC 1是Leader,AC 2是Follower。
<AC1> display cloud-cluster
Manager list:
Member ID Role Member IP State Heartbeat(ms)
1 Leader 192.168.10.10 online 100
2 Follower 192.168.10.11 online 0
Worker list:
Member ID State Heartbeat(ms) Joined at
1 online 100 2023-02-12 06:13:28
2 online 200 2023-02-12 06:13:28
# 显示容器集群的相关信息,可以看到AC 1上的容器为Master,AC 2上的容器是Standby。
<AC1> display cloud-cluster service-cluster container
Container ID Slot ID Member ID Role Status
1 1 1 Master Online
2 2 2 Standby Online
(0)
trunk?
案例加上了,参考下吧
# interface Ten-GigabitEthernet1/3/10 port link-mode bridge
我按案例来的,没说要改data端口类型。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
我按案例来的,没说要改data端口类型。