vrrp basic configuration

Definition: Virtual Router Redundancy Protocol.
Action: between a plurality of gateways (interfaces) runs, forming a backup gateway, and load balancing layer 3 forwarding data.
Gateway role / status: master: It should be, at most, can only appear one by. For forwarding user data packets.
backup: There may be multiple.
master election principles: First, prioritized, the bigger the better; the default is 100;.
2. Secondly, compare the IP address, the bigger the better;
configuration: must run on the gateway interface;
both sides must be identical configuration commands, in addition to priority Configuration.
Troubleshooting: multiple master.

vrrp configuration commands with maps and
SW1:
utm
enter a user attempts: sys
change the name: sys SW1
create vlan: vlan 1
vlan 2
to enter vlan1: interface Vlanif1
ip address configuration: ip address 192.168.5.1 24
into the vlan2: interface Vlanif2
ip address configuration : ip address 192.168.1.1 255.255.255.0
provided VRRP: Virtual-IP. 1 VRRP vrid 192.168.1.254
VRRP priority 200 is vrid. 1
VRRP vrid-MODE. 1 preempt Delay Timer 20 is
VRRP vrid Track interface GigabitEthernet0. 1/0/100. 1 reduced
into the interface GigabitEthernet0 / 0/1
to access: port link-type access
into the interface GigabitEthernet0 / 0/2
to trunk: port link-type trunk
allows all vlan by: port trunk allow-pass vlan 2 to 4094
to set the default route: ip route-static 0.0.0.0 0.0.0.0 192.168.5.2

SW2:
utm
enter a user attempts: sys
change the name: sys SW2
create vlan: vlan 2
to enter vlan1: interface Vlanif1
ip address configuration: ip address 192.168.10.1 24
into the vlan2: interface Vlanif2
ip address configuration: ip address 192.168.1.2 255.255.255.0
provided vrrp: vrrp vrid 1 virtual-ip 192.168.1.254
modified priority: vrrp vrid 1 priority 150
enters: interface GigabitEthernet0 / 0/1
to access: port link-type access
enter: interface GigabitEthernet0 / 0/2
to trunk: port link-type trunk
allow all vlan by: port trunk allow-pass vlan 2 to 4094
as the default route: ip route-static 0.0.0.0 0.0.0.0 192.168.10.2

SW3:
utm
enter a user attempts: sys
change the name: sys SW3
create vlan: vlan 2
enter: interface Ethernet0 / 0/1
to access: port link-type access
to vlan2 added to e0 / 0/1: port default vlan 2
to enter : interface GigabitEthernet0 / 0/1
to trunk: port link-type trunk
allow all vlan by: port trunk allow-pass vlan 2 to 4094
to enter: interface GigabitEthernet0 / 0/2
to trunk: port link-type trunk
allows all the vlan by: port trunk allow-pass vlan 2 to 4094

Rl:
UTM
into the user attempts: sys
Review Name: sys Rl
enter: interface GigabitEthernet0 / 0/1
Set ip address: ip address 192.168.5.2 24
entering: interface GigabitEthernet0 / 0/2
provided ip address: ip address 192.168.10.2 24
into the virtual interface: interface LoopBack0
ip address configuration: ip address 1.1.1.1 255.255.255.0
static routing: ip route-static 192.168.1.0 255.255.255.0 192.168.5.1
static route ip route-static 192.168.1.0 255.255.255.0 192.168.10.1 preference 100

Guess you like

Origin blog.51cto.com/13824921/2409440