Configuration procedure – H3C Technologies H3C MSR 50 User Manual

Page 93

Advertising
background image

85

Configuration procedure

1.

Configure Router A:

<RouterA> system-view

[RouterA] interface ethernet 1/1

[RouterA-Ethernet1/1] ip address 202.38.160.1 255.255.255.0

# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.

[RouterA-Ethernet1/1] vrrp vrid 1 virtual-ip 202.38.160.111

# Set the priority of Router A in VRRP group 1 to 110, which is higher than that of Router B (100),
so that Router A can become the master in VRRP group 1.

[RouterA-Ethernet1/1] vrrp vrid 1 priority 110

# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.

[RouterA-Ethernet1/1] vrrp vrid 2 virtual-ip 202.38.160.112

2.

Configure Router B:

<RouterB> system-view

[RouterB] interface ethernet 1/1

[RouterB-Ethernet1/1] ip address 202.38.160.2 255.255.255.0

# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.

[RouterB-Ethernet1/1] vrrp vrid 1 virtual-ip 202.38.160.111

# Create VRRP group 2 and configure its virtual IP address as 202.38.160.112.

[RouterB-Ethernet1/1] vrrp vrid 2 virtual-ip 202.38.160.112

# Set the priority of router B in VRRP group 2 to 110, which is higher than that of Router A (100),
so that Router B can become the master in VRRP group 2.

[RouterB-Ethernet1/1] vrrp vrid 2 priority 110

3.

Verify the configuration:
To verify your configuration, use the display vrrp verbose command.
# Display the detailed information about the VRRP group on Router A.

[RouterA-Ethernet1/1] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 2

Interface Ethernet1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 0

Auth Type : None

Virtual IP : 202.38.160.111

Virtual MAC : 0000-5e00-0101

Master IP : 202.38.160.1

Interface Ethernet1/1

VRID : 2 Adver Timer : 1

Admin Status : Up State : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 0

Become Master : 2200ms left

Advertising
This manual is related to the following products: