Configuration Library
Configuration Library

VRRP configure

‎12-16-2010 04:26 AM

VRRP configure

 

TOPOLOGY

 

 

 

M10-01配置
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/0 unit 10 vlan-id 10
set interfaces fe-0/0/0 unit 10 family inet address 172.27.69.8/24
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.2/24 vrrp-group 0 virtual-address 192.168.10.1
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.2/24 vrrp-group 0 priority 200
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.2/24 vrrp-group 0 preempt hold-time 30
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.2/24 vrrp-group 0 fast-interval 100
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.2/24 vrrp-group 0 accept-data
set interfaces fe-0/0/0 unit 20 vlan-id 20
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.2/24 vrrp-group 1 virtual-address 192.168.20.1
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.2/24 vrrp-group 1 priority 100
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.2/24 vrrp-group 1 fast-interval 100
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.2/24 vrrp-group 1 accept-data

 

 

M10-02配置
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/0 unit 10 vlan-id 10
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.3/24 vrrp-group 0 virtual-address 192.168.10.1
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.3/24 vrrp-group 0 priority 100
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.3/24 vrrp-group 0 fast-interval 100
set interfaces fe-0/0/0 unit 10 family inet address 192.168.10.3/24 vrrp-group 0 accept-data
set interfaces fe-0/0/0 unit 20 vlan-id 20
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.3/24 vrrp-group 1 virtual-address 192.168.20.1
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.3/24 vrrp-group 1 priority 100
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.3/24 vrrp-group 1 fast-interval 100
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.3/24 vrrp-group 1 preempt hold-time 30
set interfaces fe-0/0/0 unit 20 family inet address 192.168.10.3/24 vrrp-group 1 accept-data