Advanced Configuration and Management Guide
Configuring SRP on Virtual Interfaces
A virtual interface will by default remain active until all underlying links go down. If you want the virtual link to go to SRP standby state when a subset of the ports goes down, you need to configure track ports.
IP Subnet
VLAN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| PC1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| Switch |
|
|
| Router1 |
|
|
|
|
|
|
|
|
| 192.147.201.50 | Router2 |
|
|
| Switch | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
| (ACTIVE) |
|
|
|
|
|
|
|
|
|
| (STANDBY) |
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 8 |
| 7 |
| 6 |
| 5 |
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
| 192.147.201.1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192.147.201.2 |
|
|
|
|
| 4 |
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| A |
|
|
|
|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|
|
|
|
|
|
|
|
|
Switch
PC2
192.147.200.52
Switch
PC3
192.147.200.51
Switch
PC4
192.147.200.50
Figure 13.6 Configuring SRP on virtual interfaces
Configuring Multiple Track Ports for Virtual Interfaces
In Figure 13.6, Router 1 is the active router and Router 2 the standby router for all active SRP interfaces. Suppose you want Router 1 to go into the SRP standby state and establish Router 2 as the active router in case ports 1, 2, 3, or 8 on Router 1 go down. To do so, you would configure track ports for ports 1, 2, 3, and 8 on Router 1.
In preparation for track port configuration on Router 1, you would do the following:
1.Configure an IP
2.Enable SRP on virtual interface 1.
3.Assign an IP address to virtual interface 1.
4.Assign ports 1, 2, 3, and 8 as track ports for virtual interface 1.
5.Assign an IP address to interface 8.
6.Assign ports 1, 2, and 3 as track ports for interface 8.
13 - 14