Configuring SRP
SRP Support on Virtual Interfaces
SRP is supported on both physical and virtual interfaces. Support on a virtual interface allows you to assign a single virtual interface to serve as a redundant link for multiple ports within a VLAN. For example, in Figure 13.2, virtual interface 1 represents ports 1, 2, and 3 for Router 1.
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 must configure track ports as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|
|
|
| |||||||
IP Subnet |
|
|
|
|
|
|
|
|
|
|
|
|
|
| A |
|
|
|
| S |
|
|
|
|
|
|
|
|
| IP Subnet | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||
VLAN |
|
|
|
|
| Virtual |
| A |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| S |
|
|
|
|
|
|
| VLAN | |
|
|
|
| 3 |
| Interface | 1 |
|
| Router |
|
|
|
|
|
|
|
|
|
| Router |
|
|
|
| 3 |
|
|
|
| |||||||
|
|
|
|
|
| 192.147.200.1 |
|
|
|
|
|
|
|
|
|
|
|
|
| Virtual |
|
|
|
|
|
|
|
| |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Interface 1 |
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192.147.200.2 |
|
|
|
|
|
| ||
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Switch
PC2
192.147.200.52
Switch
PC3
192.147.200.51
Switch
PC4
192.147.200.50
Figure 13.2 Virtual interface as a redundant link
Active and Standby Routers
To establish one routing switch as active, you assign a higher preference to the routing switch. If the preference for two routing switches is equal, the interface with the higher IP address takes precedence as the active router. Link status is monitored using a track port.
Track Ports
A track port tracks the status of the ports that are providing redundant paths. You can assign any port to be a track port; however, a port that is providing a redundant path cannot serve as its own track port. A track port should be assigned to track each port that is part of a virtual link. For example, in Figure 13.1, interfaces A, B, C, and D should all be assigned track ports.
13 - 3