beautypg.com

Network requirements, Configuration procedure, The uplink interface) – H3C Technologies H3C S7500E Series Switches User Manual

Page 206

background image

12-25

PING 20.1.1.1: 56 data bytes, press CTRL_C to break

Reply from 20.1.1.1: bytes=56 Sequence=1 ttl=254 time=2 ms

Reply from 20.1.1.1: bytes=56 Sequence=2 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=3 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=4 ttl=254 time=1 ms

Reply from 20.1.1.1: bytes=56 Sequence=5 ttl=254 time=1 ms

--- 20.1.1.1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 1/1/2 ms

VRRP-Track-Interface Management Collaboration Configuration Example (The
Master Monitors the Uplink Interface)

Network requirements

z

As shown in

Figure 12-7

, Host A needs to access Host B on the Internet. The default gateway of

Host A is 10.1.1.10/24.

z

Switch A and Switch B belong to VRRP group 1, whose virtual IP address is 10.1.1.10.

z

When Switch A works normally, packets from Host A to Host B are forwarded through Switch A.

When VRRP detects that there is a fault on the uplink interface of Switch A through the interface

management module, packets from Host A to Host B are forwarded through Switch B.

Figure 12-7 Network diagram for VRRP-track-interface management collaboration configuration

Host A

Switch A

Switch B

Virtual IP address:

10.1.1.10/24

Vlan-int2

10.1.1.1/24

Vlan-int2

10.1.1.2/24

Host B

10.1.1.3/24

20.1.1.1/24

Internet

Vlan-int3
10.1.2.1/24

Vlan-int3
10.1.3.1/24

Vlan-int3

10.1.3.2/24

Vlan-int3

10.1.2.2/24

Switch C

Switch D

Configuration procedure

1) Create VLANs, and assign corresponding ports to the VLANs, and configure the IP address of

each VLAN interface as shown in

Figure 12-7

. The configuration procedure is omitted.

2) Configure a track entry on Switch A.

# Configure track entry 1, and associate it with the physical status of the uplink interface

VLAN-interface 3.

[SwitchA] track 1 interface vlan-interface 3

3) Configure VRRP on Switch A.

# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.

[SwitchA] interface vlan-interface 2

This manual is related to the following products: