Configuring Static Routing; Configuring A Static Route - HPE FlexNetwork HSR6800 Configuration Manual

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

Advertisement

Configuring static routing

Static routes are manually configured. If a network's topology is simple, you only need to configure
static routes for the network to work correctly.
Static routes cannot adapt to network topology changes. If a fault or a topological change occurs in
the network, the network administrator must modify the static routes manually.

Configuring a static route

Before you configure a static route, complete the following tasks:
Configure physical parameters for related interfaces.
Configure link-layer attributes for related interfaces.
Configure IP addresses for related interfaces.
Follow these guidelines when you configure a static route:
The next hop address of a static route cannot be the IP address of a local interface.
You can associate a track entry with a static route to monitor the reachability of the next hops.
For more information about track, see High Availability Configuration Guide.
The device supports VPN instances and MTR for static routes. For information about specifying
VPN instances for static routes, see MPLS Configuration Guide. For information about
configuring static route MTR, see "Configuring MTR."
To configure a static route:
Step
Enter system view.
1.
Configure a static
2.
route.
Command
system-view
Method 1:
ip route-static dest-address { mask | mask-length }
{ next-hop-address [ track track-entry-number ] |
interface-type interface-number
[ next-hop-address ] | vpn-instance
d-vpn-instance-name next-hop-address [ track
track-entry-number ] } [ preference
preference-value ] [ tag tag-value ] [ permanent ]
[ description description-text ]
Method 2:
ip route-static vpn-instance
s-vpn-instance-name&<1-6> dest-address { mask |
mask-length } { next-hop-address [ public ] [ track
track-entry-number ] | interface-type
interface-number [ next-hop-address ] |
vpn-instance d-vpn-instance-name
next-hop-address [ track track-entry-number ] }
[ preference preference-value ] [ tag tag-value ]
[ permanent ] [ description description-text ]
Method 3:
ip route-static multiple-topology topology-name
dest-address { mask | mask-length }
{ next-hop-address | interface-type
interface-number [ next-hop-address ] }
[ preference preference-value ] [ tag tag-value ]
[ description description-text ]
6
Remarks
N/A
Use one of the
methods.
By default, no static
route is configured.

Advertisement

Table of Contents
loading

Table of Contents