【中兴交换机MC-LAG配置】

本文档详细介绍了如何配置中兴交换机的MC-LAG(多-chassis链路聚合组),包括Keepalive链路、Peer-Link链路、业务成员口配置、生成树配置和三层逃生策略。配置涉及了LACP协议、冗余组、MAC/ARP/ND同步以及VLAN和STP设置,旨在实现高可用性和故障切换。

主设备配置如下:

Keepalive链路

interface smartgroup1023   //用作MC-LAG的Keepalive链路接口
  switch attribute disable
yes
  description For_Keepalived
exit

interface xgei-0/1/1/47
  switch attribute disable
yes
  description For_Keepalived
exit

interface xgei-0/1/1/48
  switch attribute disable
yes
  description For_Keepalived
exit

smartgroup fast-switch 1023 enable   //开启smartgroup口快速切换功能

lacp
  interface smartgroup1023
    lacp mode 802.3ad
    lacp fast respond    //lacp快速收敛 
  exit
  interface xgei-0/1/1/47
    smartgroup 1023 mode active
  exit
  interface xgei-0/1/1/48
    smartgroup 1023 mode active
  exit
exit

ip vrf keepalive 
  rd 1:1
    address-family ipv4
  exit 
exit

interface smartgroup1023    //配置keepalive链路的三层接口地址
 ip vrf forwarding keepalive
 ip address 1.1.1.1 255.255.255.252
exit

samgr
  track zte interface smartgroup1023
exit

Peer-Link链路

interface smartgroup1024
  description For_PeerLink
exit

interface xlgei-0/1/1/53
  description For_PeerLink
exit

interface xlgei-0/1/1/54
  description For_PeerLink
exit

smartgroup fast-switch 1024 enable   //开启smartgroup口快速切换功能

lacp
  interface smartgroup1024
    lacp mode 802.3ad
    lacp fast respond
    exit
  interface xlgei-0/1/1/53
    smartgroup 1024 mode active
    exit 
  interface xlgei-0/1/1/54
    smartgroup 1024 mode active
    exit
  exit
  lacp peer-link smartgroup1024    // 将smartgroup1024设置为peerlink
    exit
exit

switchvlan-configuration
  interface smartgroup1024
    switchport mode trunk
    switchport trunk vlan xx      //peer-link透传下行业务VLAN
    switchport trunk native vlan 4094   //将ICCP通道使用的VLAN作为本地vlan
    acceptable frame types tag
  exit
exit

iccp peerlink vlan 4094

interface vlan 4094
  ip address 1.1.1.5 255.255.255.252
exit

MC-LAG配置

mpls ldp instance 1 
  router-id 1.1.1.5
exit

redundancy interchassis group 1   //配置RG组,用于TOR链路同步mac表项,每一个RG组绑定10个SG。
  peer 1.1.1.6
  apply mac        //表明这个rg会用于同步mac
  apply arp        //表明这个rg会用于同步arp
  apply nd        //表明这个rg会用于同步nd
  apply stp        //表明这个rg会用于同步stp
exit

redundancy interchassis group 2    //配置RG组,用于TOR链路同步mac表项,每一个RG组绑定10个SG。
  peer 1.1.1.6
  apply mac        //表明这个rg会用于同步mac
  apply arp        //表明这个rg会用于同步arp
  apply nd        //表明这个rg会用于同步nd
  apply stp        //表
中兴2826S系列交换机常用配置命令 发表于 2009-12-24 22:10:26 以下命令只包含一些常用的命令[//]后面的表示注解,即说明本条命令所产生的意义。 以下命令适用于中兴ZXR10 2609/2818S/2826S/2852S系列交换机 命令如下: 创建VLAN命令: view sourceprint?1 set vlan 10 enable ///创建vlan 2 set vlan 10 add port 1-24 untag ///在创建的vlan内添加用户端口 3 set vlan 10 add port 25 tag ///把级联端口添加到vlan10中,需打tag标签,即为trunk端口。 4 set port 1-24 pvid 10 ///把添加到vlan10的用户端口,pvid至vlan10中。交换机用户端口必须在所添加的vlan中做此项命令。(默认的pvid为vlan10) 删除vlan命令如下: view sourceprint?1 set vlan 10 delete port 1-24 ///删除用户端口 2 set vlan 10 delete port 25 ///删除级联端口 3 set vlan 10 disable ///删除vlan 4 set port 1-24 pvid 1 ///恢复默认设置,该项命令必须添加,不然还会在show running-config信息中显示 5 set port 1-24 pvid 10的信息,会导致vlan用户使用不正常 ENABLE密码配置: view sourceprint?1 zte>enable //进入全局配置模式 2 password:***** //输入进入全局配置模式的密码,缺省没有密码 3 zte(cfg)#adminpass zxr10 //配置进入全局配置模式的密码为zxr10 TELNET 用户名密码配置(为了便于对设备的维护,有时需要修改登录用户名或密码,配置如下:) view sourceprint?1 zte(cfg)#create user zxr10 //创建名为zxr10的用户 2 zte(cfg)#loginpass zxr10 //设置登录密码为zxr10 3 zte(cfg)#show user //显示telnet登录用户信息和当前用户名
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值