beautypg.com

Port tracking configuration examples, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual

Page 590

background image

1-16

[LSW-A-vlan2] port Ethernet 1/0/6

[LSW-A-vlan2] quit

[LSW-A] interface Vlan-interface 2

[LSW-A-Vlan-interface2] ip address 202.38.160.1 255.255.255.0

# Create VRRP group 1.

[LSW-A-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111

# Set the priority for VRRP group 1.

[LSW-A-Vlan-interface2] vrrp vrid 1 priority 150

# Create VRRP group 2.

[LSW-A-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112

z

Configure Switch B.

# Configure VLAN 3.

system-view

[LSW-B] vlan 3

[LSW-B-vlan3] port Ethernet1/0/10

[LSW-B-vlan3] quit

[LSW-B] interface Vlan-interface 3

[LSW-B-Vlan-interface3] ip address 10.100.10.3 255.255.255.0

[LSW-B-Vlan-interface3] quit

# Configure VLAN 2.

[LSW-B] vlan 2

[LSW-B-vlan2] port Ethernet 1/0/6

[LSW-B-vlan2] quit

[LSW-B] interface Vlan-interface 2

[LSW-B-Vlan-interface2] ip address 202.38.160.2 255.255.255.0

# Create VRRP group 1.

[LSW-B-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111

# Create VRRP group 2.

[LSW-B-Vlan-interface2] vrrp vrid 2 virtual-ip 202.38.160.112

# Set the priority for VRRP group 2.

[LSW-B-Vlan-interface2] vrrp vrid 2 priority 110

Normally, multiple VRRP groups are used in actual use.

Port Tracking Configuration Examples

Network requirements

z

VRRP group 1 comprises two switches, which act as the master and the backup.

This manual is related to the following products: