The Virtual Router Redundancy Protocol (VRRP) Host mobility feature solves the Asymmetric routing problem associated with VRRP where the path to return to an end host may be different and longer than necessary. This feature uses host-routes to indicate where in the network an end host resides. Using other routing protocols such as OSPF, other routers then pick the shortest path back to the end host when multiple paths are available using Equal Cost Multi Path (ECMP) route entries.
Changes are underlined.
configure vrrp {vlan} vlan_name vrid vridval host-mobility [{on | off} {exclude-ports [add | delete] port_list}]
configure iproute {ipv4} priority [static | blackhole | rip | bootp | icmp | ospf-intra | ospf-inter | ospf-as-external| ospf-extern1 | ospf-extern2 | ebgp | ibgp | mpls | isis | isis-level-1 | isis-level-2 | isis-level-1-external | isis-level-2-external | host-mobility] priority {vr vrname}
unconfigure iproute {ipv4} priority [static | blackhole | rip | bootp | icmp | ospf-intra | ospf-inter | ospf-as-external | ospf-extern1 | ospf-extern2 | ebgp | ibgp | mpls | isis | isis-level-1 | isis-level-2 | isis-level-1-external | isis-level-2-external | host-mobility | all ] {vr vrname}
configure iproute ipv6 priority [static | blackhole | ripng | icmp | ospfv3-intra | ospfv3-inter | ospfv3-as-external| ospfv3-extern1 | ospfv3-extern2 | isis | isis-level-1 | isis-level-2 | isis-level-1-external | isis-level-2-external | host-mobility] priority {vr vrname}
unconfigure iproute ipv6 priority [static | blackhole | ripng | icmp | ospfv3-intra | ospfv3-inter | ospfv3-as-external | ospfv3-extern1 | ospfv3-extern2 | isis | isis-level-1 | isis-level-2 | isis-level-1-external| isis-level-2-external | host-mobility | all ] {vr vrname}
The existing enable ospf export, disable ospf export, and configure ospf export commands are expanded to allow a new route type of "host-mobility." Configuring host-mobility to be exported causes OSPF to redistribute host-mobility routes.
The existing enable ospfv3 export and disable ospfv3 commands are expanded to allow a new route type of "host-mobility." Configuring host-mobility to be exported causes OSPFv3 to redistribute host-mobility routes.
The output of the following show commands is changed (shown in bold):
# show vrrp detail VLAN: vlan23 VRID: 1 VRRP: Disabled State: INIT Virtual Router: VR-Default Priority: 100(backup) Advertisement Interval: 1 sec Version: v3-v2 Preempt: Yes Preempt Delay: 0 sec Virtual IP Addresses: Accept mode: Off Host-Mobility: On Host-Mobility Exclude-Ports: 1, 10 Checksum: Include pseudo-header Tracking mode: ALL Tracked Pings: - Tracked IP Routes: - Tracked VLANs: - Fabric Routing: Off
# show ospf OSPF : Disabled MPLS LSP as Next-Hop: No RouterId : 0.0.0.0 RouterId Selection : Automatic ASBR : No ABR : No ExtLSA : 0 ExtLSAChecksum : 0x0 OriginateNewLSA : 0 ReceivedNewLSA : 0 SpfHoldTime : 3 Lsa Batch Interval : 30s CapabilityOpaqueLSA : Enabled 10M Cost : 10 100M Cost : 5 1000M Cost (1G) : 4 10000M Cost (10G) : 2 40000M Cost (40G) : 2 100000M Cost (100G) : 1 Router Alert : Disabled Import Policy File : ASExternal LSALimit : Disabled Timeout (Count) : Disabled (0) Originate Default : Disabled SNMP Traps : Disabled VXLAN Extensions : Disabled Redistribute: Protocol Status cost Type Tag Policy direct Disabled 0 0 0 None static Disabled 0 0 0 None rip Disabled 0 0 0 None e-bgp Disabled 0 0 0 None i-bgp Disabled 0 0 0 None isis-level-1 Disabled 0 0 0 None isis-level-2 Disabled 0 0 0 None isis-level-1-external Disabled 0 0 0 None isis-level-2-external Disabled 0 0 0 None host-mobility Enabled 0 2 0 None
# show ospfv3 OSPFv3 : Disabled RouterId : 0.0.0.0 RouterId Selection : Automatic ASBR : No ABR : No ExtLSAs : 0 ExtLSAChecksum : 0x0 OriginateNewLSAs : 0 ReceivedNewLSAs : 0 SpfHoldTime : 3s Num of Areas : 1 LSA Batch Interval : 0s 10M Cost : 100 100M Cost : 50 1000M Cost (1G) : 40 10000M Cost (10G) : 20 40000M Cost (40G) : 20 100000M Cost (100G) : 10 Graceful Restart : None Grace Period : 120s Import Policy File : none Redistribute: Protocol Status Cost Type Tag Policy direct Disabled 20 2 --- none e-bgp Disabled 20 2 --- none i-bgp Disabled 20 2 --- none ripng Disabled 20 2 --- none static Disabled 20 2 --- none isis-level-1 Disabled 20 2 --- none isis-level-2 Disabled 20 2 --- none isis-level-1-external Disabled 20 2 --- none isis-level-2-external Disabled 20 2 --- none host-mobility Enabled 0 2 --- none
show iproute Ori Destination Gateway Mtr Flags VLAN Duration d 192.168.24.0/24 192.168.24.44 1 -------um---- vlan24 0d:4h:20m:48s *hm 192.168.23.1/32 192.168.23.1 1 UGHD---u---f- vlan23 0d:0h:16m:5s (mo) MOSPF (o) OSPF, (o1) OSPFExt1, (o2) OSPFExt2, (oa) OSPFIntra, (oe) OSPFAsExt, (or) OSPFInter, (pd) PIM-DM, (ps) PIM-SM, (r) RIP, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (hm) Host-mobility, (un) UnKnown, (*) Preferred unicast route (@) Preferred multicast route, (#) Preferred unicast and multicast route. Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed, (D) Dynamic, (f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP, (L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing, (R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP, (T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route. MPLS Label: (S) Bottom of Label Stack Mask distribution: 1 routes at length 24 Route Origin distribution: 1 routes from Direct Total number of routes = 1 Total number of compressed routes = 0
# show iproute ipv6 Ori Destination Mtr Flags Duration Gateway Interface *hm 2000::/128 1 UGHD---u---f- 0d:0h:0m:7s 2000::2 vlan23 #d 2000::/64 1 U------um--f- 0d:20h:19m:46s 2000::1 vlan23 #d fe80::%vlan23/64 1 U------um--f- 0d:20h:19m:46s fe80::204:96ff:fe51:f96d vlan23 Origin(Ori):(b) BlackHole, (be) EBGP, (bg) BGP, (bi) IBGP, (bo) BOOTP, (ct) CBT, (d) Direct, (df) DownIF, (dv) DVMRP, (e1) ISISL1Ext, (e2) ISISL2Ext, (h) Hardcoded, (i) ICMP, (i1) ISISL1 (i2) ISISL2, (is) ISIS, (mb) MBGP, (mbe) MBGPExt, (mbi) MBGPInter, (ma) MPLSIntra, (mr) MPLSInter, (mo) MOSPF (o) OSPFv3, (o1) OSPFv3Ext1, (o2) OSPFv3Ext2, (oa) OSPFv3Intra, (oe) OSPFv3AsExt, (or) OSPFv3Inter, (pd) PIM-DM, (ps) PIM-SM, (r) RIPng, (ra) RtAdvrt, (s) Static, (sv) SLB_VIP, (hm) Host-mobility, (un) UnKnown, (*) Preferred unicast route (@) Preferred multicast route, (#) Preferred unicast and multicast route. Flags: (b) BFD protection requested, (B) BlackHole, (c) Compressed Route, (D) Dynamic, (f) Provided to FIB, (G) Gateway, (H) Host Route, (l) Calculated LDP LSP, (L) Matching LDP LSP, (m) Multicast, (p) BFD protection active, (P) LPM-routing, (R) Modified, (s) Static LSP, (S) Static, (t) Calculated RSVP-TE LSP, (T) Matching RSVP-TE LSP, (u) Unicast, (U) Up, (3) L3VPN Route. Mask distribution: 2 routes at length 64 Route Origin distribution: 2 routes from Direct Total number of routes = 3 Total number of compressed routes = 0
# show iproute priority Direct 10 MPLS 20 Blackhole 50 Static 1100 HostMobility 1150 ICMP 1200 EBGP 1700 IBGP 1900 OSPFIntra 2200 OSPFInter 2300 Isis 2350 IsisL1 2360 IsisL2 2370 RIP 2400 OSPFAsExt 3100 OSPFExt1 3200 OSPFExt2 3300 IsisL1Ext 3400 IsisL2Ext 3500 Bootp 5000
# show iproute ipv6 priority Direct 10 Blackhole 50 Static 1100 HostMobility 1150 ICMP 1200 EBGP 1700 IBGP 1900 OSPFv3Intra 2200 OSPFv3Inter 2300 Isis 2350 IsisL1 2360 IsisL2 2370 RIPng 2400 OSPFv3AsExt 3100 OSPFv3Ext1 3200 OSPFv3Ext2 3300 IsisL1Ext 3400