High availability

Task 2: Configure Switch B

1. Configure ports.

/cfg/l2/vlan 10

(Select VLAN 10)

>> VLAN 10# ena

(Enable VLAN 10)

>> VLAN 10# add 20

(Add port 20

to VLAN 10)

>> VLAN 10# ..

 

 

>> Layer 2# vlan 20

(Select VLAN 20)

>> VLAN 20# ena

(Enable VLAN 20)

>> VLAN 20# add 21

(Add port 21

to VLAN 20)

2.Configure client and server interfaces.

/cfg/l3/if 1

>>IP Interface 1# addr 192.168.1.101

>>IP Interface 1# vlan 10

>>IP Interface 1# ena

>>IP Interface 1# ..

>>Layer 3# if 2

>>IP Interface 2# addr 192.168.2.100

>>IP Interface 1# vlan 20

>>IP Interface 2# ena

>>IP Interface 2# ..

>>Layer 3# if 3

>>IP Interface 3# addr 10.0.1.101

>>IP Interface 3# mask 255.255.255.0

>>IP Interface 3# ena

>>IP Interface 2# ..

>>Layer 3# if 4

>>IP Interface 4# addr 10.0.2.100

>>IP Interface 4# mask 255.255.255.0

>>IP Interface 4# ena

(Select interface 1)

(Define IP address for interface 1) (Assign VLAN 10 to interface 1) (Enable interface 1)

(Select interface 2)

(Define IP address for interface 2) (Assign VLAN 20 to interface 2) (Enable interface 2)

(Select interface 3)

(Define IP address for interface 3) (Define subnet mask for interface 3) (Enable interface 3)

(Select interface 4)

(Define IP address for interface 4) (Define subnet mask for interface 4) (Enable interface 4)

3.Configure the default gateways. Each default gateway points to one of the Layer 2 routers.

/cfg/l3/gw 1

>>Default gateway 1# addr 192.168.2.1

>>Default gateway 1# ena

>>Default gateway 1# ..

>>Layer 3# gw 2

>>Default gateway 1# addr 192.168.1.1

>>Default gateway 1# ena

(Select default gateway 1)

(Point gateway to the first L2 router) (Enable the default gateway)

(Select default gateway 2)

(Point gateway to the second router) (Enable the default gateway)

4.Turn on VRRP and configure two Virtual Interface Routers.

/cfg/l3/vrrp/on(Turn VRRP on)

>> Virtual Router Redundancy Protocol# vr 1 (Select virtual router 1)

>> VRRP Virtual Router 1# vrid 1

(Set VRID to 1)

>> VRRP Virtual Router 1# if 1

(Set interface 1)

>> VRRP Virtual Router 1# addr 192.168.1.200(Define IP address)

>> VRRP Virtual

Router 1# ena

(Enable virtual router 1)

>> VRRP Virtual

Router 1# ..

(Enable virtual router 1)

>> Virtual Router Redundancy Protocol# vr 2 (Select virtual router 2)

>> VRRP Virtual Router 2# vrid 2

(Set VRID to 2)

>> VRRP Virtual Router 2# if 2

(Set interface 2)

>> VRRP Virtual

Router 2# addr 192.168.2.200(Define IP address)

>> VRRP Virtual

Router 2# ena

(Enable virtual router 2)

180

Page 180
Image 180
HP 445946-001 manual Task 2 Configure Switch B, 180