ME60 如何实现基于vlan负载分担的双机热备模式

发布时间:  2017-02-14 浏览次数:  166 下载次数:  0
问题描述

ME60 如何实现基于vlan负载分担的双机热备模式

解决方案

注意:基于vlan负载需要单独启用子接口用于VRRP联动RBS的状态,因为用户接入接口无法配置vrrp;

主、备设备的配置是匹配的,基本相同(除主从优先级),以下为其中一台设备的关键配置:

interface GigabitEthernet5/0/0.1-----作为备状态vlan的vrrp联动
vlan-type dot1q 2
ip address 172.32.0.3 255.255.255.248     //该ip在另外一台ME上需要同网段,同vrrp配置   
vrrp vrid 1 virtual-ip 172.32.0.1
admin-vrrp vrid 1
vrrp vrid 1 track interface GigabitEthernet8/0/0 reduced 30  联动上行接口
vrrp vrid 1 track bfd-session 1 peer    
#
interface GigabitEthernet5/0/0.2-----作为主状态vlan的vrrp联动
vlan-type dot1q 3
ip address 172.32.0.12 255.255.255.248
vrrp vrid 2 virtual-ip 172.32.0.10
admin-vrrp vrid 2
vrrp vrid 2 priority 120
vrrp vrid 2 track interface GigabitEthernet8/0/0 reduced 30
vrrp vrid 2 track bfd-session 1 peer


remote-backup-profile profile1------备用状态RBP
service-type bras
backup-id 10 remote-backup-service servicetest
peer-backup hot
vrrp-id 1 interface GigabitEthernet5/0/0.1     //当对应vrrp状态切换时,RBP也实行切换
 nas logic-ip 5.5.5.5
traffic backup interval 10

remote-backup-profile profile2-----主用状态RBP
service-type bras
backup-id 10 remote-backup-service servicetest
peer-backup hot
vrrp-id 2 interface GigabitEthernet5/0/0.2
 nas logic-ip 5.5.5.5
traffic backup interval 10

 
interface GigabitEthernet5/0/0.3-----vlan1530的备用设备接入端口配置口
description YX-Tel
user-vlan 1530                      
 remote-backup-profile profile1
bas
#
  access-type layer2-subscriber default-domain authentication yx-tel
  authentication-method bind
#
#
interface GigabitEthernet5/0/0.4----vlan1544作为主用设备接入端口配置
description wx-tel
user-vlan 1544                     
 remote-backup-profile profile2
bas
#
  access-type layer2-subscriber default-domain pre-authentication qy_wx-tel authentication wx-tel
  dhcp session-mismatch action offline
  authentication-method web
#

END