Using HSRP on Token Ring
Problem
You want to configure HSRP on a Token Ring.
Solution
You can use HSRP on a Token Ring LAN exactly the same as in Recipe 22.1 if the only protocol on the segment is IP. However, if you have any other protocols, and particularly if the ring uses any source-route bridging, you must use a slightly different configuration:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface
Router1(config-if)#
Tokenring0
ip address
Router1(config-if)#
172.22.1.3
standby ip
Router1(config-if)#
172.22.1.1
standby use-bia
Router1(config-if)#standby priority
Router1(config-if)#
120
standby preempt
Router1(config-if)#exit
Router1(config)#end
Router1#
The second router is configured similarly:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface
Router2(config-if)#
Tokenring0
ip address
Router2(config-if)#
172.22.1.2
standby ip
Router2(config-if)#
172.22.1.1
standby use-bia
Router2(config-if)#standby priority
Router2(config-if)#
110
standby preempt
Router2(config-if)#exit
Router2(config)#end
Router2#
Discussion
The biggest functional difference between a Token Ring LAN and an Ethernet LAN is that Token Ring bridging is usually source-routed, while Ethernet almost always uses transparent bridging. Consequently, Token Ring devices use a Routing Information Field (RIF), which contains MAC address information.
This is particularly important when the two HSRP routers reside ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.