HPE FlexNetwork HSR6800 Configuration Manual page 125

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

# Configure Router S.
<RouterS> system-view
[RouterS] bfd echo-source-ip 1.1.1.1
[RouterS] ip ip-prefix abc index 10 permit 4.4.4.4 32
[RouterS] route-policy frr permit node 10
[RouterS-route-policy] if-match ip-prefix abc
[RouterS-route-policy] apply fast-reroute backup-interface GigabitEthernet 2/1/1
backup-nexthop 12.12.12.2
[RouterS-route-policy] quit
[RouterS] ospf 1
[RouterS-ospf-1] fast-reroute route-policy frr
[RouterS-ospf-1] quit
# Configure Router D.
<RouterD> system-view
[RouterD] bfd echo-source-ip 4.4.4.4
[RouterD] ip ip-prefix abc index 10 permit 1.1.1.1 32
[RouterD] route-policy frr permit node 10
[RouterD-route-policy] if-match ip-prefix abc
[RouterD-route-policy] apply fast-reroute backup-interface GigabitEthernet 2/1/1
backup-nexthop 24.24.24.2
[RouterD-route-policy] quit
[RouterD] ospf 1
[RouterD-ospf-1] fast-reroute route-policy frr
[RouterD-ospf-1] quit
Verify the configuration:
3.
# Display route 4.4.4.4/32 on Router S, and you can view the backup next hop information.
[RouterS] display ip routing-table 4.4.4.4 verbose
Routing Table : Public
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: OSPF
Preference: 10
IpPrecedence:
NextHop: 13.13.13.2
BkNextHop: 12.12.12.2
RelyNextHop: 0.0.0.0
Tunnel ID: 0x0
BKTunnel ID: 0x0
State: Active Adv
Tag: 0
# Display route 1.1.1.1/32 on Router D. You can find the backup next hop information.
[RouterD] display ip routing-table 1.1.1.1 verbose
Routing Table : Public
Summary Count : 1
Destination: 1.1.1.1/32
Protocol: OSPF
Process ID: 1
Cost: 1
QosLcId:
Interface: GigabitEthernet2/1/2
BkInterface: GigabitEthernet2/1/1
Neighbor : 0.0.0.0
Label: NULL
BKLabel: NULL
Age: 00h01m27s
Process ID: 1
113

Advertisement

Table of Contents
loading

Table of Contents