beautypg.com

Ipv4 vrrp configuration examples, Single vrrp group configuration example, Network requirements – H3C Technologies H3C S6800 Series Switches User Manual

Page 41: Configuration procedure

background image

33

Task Command

Display the states of IPv6 VRRP
groups.

display vrrp ipv6 [ interface interface-type interface-number [ vrid
virtual-router-id ] ] [ verbose ]

Display statistics for IPv6 VRRP
groups.

display vrrp ipv6 statistics [ interface interface-type interface-number
[ vrid virtual-router-id ] ]

Clear statistics for IPv6 VRRP
groups.

reset vrrp ipv6 statistics [ interface interface-type interface-number [ vrid
virtual-router-id ] ]

IPv4 VRRP configuration examples

This section provides examples of configuring IPv4 VRRP applications on switches.

Single VRRP group configuration example

This section provides an example of configuring a single VRRP group on switches.

Network requirements

Switch A and Switch B form a VRRP group and use the virtual IP address 10.1.1.111/24 to provide gateway

service for the subnet where Host A resides, as shown in

Figure 15

.

Switch A operates as the master to forward packets from Host A to Host B. When Switch A fails, Switch

B takes over to forward packets for Host A.

Figure 15 Network diagram

Configuration procedure

1.

Configure Switch A:
# Configure VLAN 2.

system-view

[SwitchA] vlan 2

[SwitchA-vlan2] port fortygige 1/0/5

[SwitchA-vlan2] quit

[SwitchA] interface vlan-interface 2

This manual is related to the following products: