HP (Hewlett-Packard) 6308M-SX Switch User Manual


 
Advanced Configuration and Management Guide
To establish the virtual IP address 192.55.4.1 for interface C defined by IP address 192.55.4.2 and Ethernet port
2/1, enter the following commands:
Router1(config)# inter e 2/1
Router1(config-if-2/1)# ip srp address 192.55.4.2 vir-rtr-ip 192.55.4.1
other-rtr-ip 192.55.4.3
Notice that the latter command also defines the other routing switch used in this configuration by entering the IP
address for Interface D on Router 2 (other-rtr-ip 192.55.4.3).
Configuring Router 2
To define and assign the virtual router IP address for Router 2, you would need to define two separate virtual IP
addresses for interfaces B and D as well as linking those address to the IP addresses of the physical interfaces for
A and C.
This example assumes that interface B corresponds to physical interface 1/7, and interface D corresponds to
physical interface 2/2.
To establish the virtual IP address 192.53.5.1 for interface B defined by IP address 192.53.5.3 and Ethernet port
1/7, you would enter the following commands. Note that you also are defining the other routing switch used in this
configuration by entering the IP address for interface A on Router 1 (other-rtr-ip 192.53.5.2).
Router2(config)# inter e 1/7
Router2(config-if-1/7)# ip srp address 192.53.5.3 vir-rtr-ip 192.53.5.1
other-rtr-ip 192.53.5.2
NOTE: The steps outlined in examples 1 and 2 also should be followed when creating and assigning the virtual
router IP address 192.55.4.1 for interfaces C (192.55.4.2) and D (192.55.4.3).
Assign the Track Port(s)
Track ports monitor the relationship between the active and standby routers.
EXAMPLE:
To assign interface 1 to act as the track port for interface A (e1/7) on Router 1, enter the following commands:
Router1(config)# inter e 1/7
Router1(config-if-1/7)# ip srp address 192.53.5.2 track 1
NOTE: The IP address referenced in the track port assignment command is the IP address of the physical
interface.
NOTE: The track port can also be assigned when assigning the virtual router IP address, as an extension to that
command.
Assigning the Active Router
To establish one routing switch as active, assign it a higher preference level. If the preference level for the two
routing switches is equal, the interface with the higher IP address takes precedence as the active router.
13 - 10