Configuring Static Routing; Configuring A Static Route - HP HPE FlexNetwork 7500 series Configuration Manual

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 the physical parameters for related interfaces.
Configure the link-layer attributes for related interfaces.
Configure the IP addresses for related interfaces.
You can associate Track with a static route to monitor the reachability of the next hops. For more
information about Track, see High Availability Configuration Guide.
To configure a static route:
Step
1.
Enter system view.
2.
(Optional.) Create a
static route group
and enter its view.
3.
(Optional.) Add a
static route prefix to
the static route
group.
4.
(Optional.) Return to
system view.
5.
Configure a static
route.
Command
system-view
ip route-static-group group-name
prefix dest-address { mask-length | mask }
quit
Method 1:
ip route-static { dest-address { mask-length
| mask } | group group-name }
{ interface-type interface-number
[ next-hop-address ] | next-hop-address
[ recursive-lookup host-route ] [ track
track-entry-number ] | vpn-instance
d-vpn-instance-name next-hop-address
[ recursive-lookup host-route ] [ track
track-entry-number ] } [ permanent ]
[ preference preference ] [ tag tag-value ]
[ description text ]
Method 2:
ip route-static vpn-instance
s-vpn-instance-name { dest-address
{ mask-length | mask } | group group-name }
{ interface-type interface-number
[ next-hop-address ] | next-hop-address
[ recursive-lookup host-route ] [ public ]
[ track track-entry-number ] | vpn-instance
d-vpn-instance-name next-hop-address
[ recursive-lookup host-route ] [ track
track-entry-number ] } [ permanent ]
[ preference preference ] [ tag tag-value ]
[ description text ]
10
Remarks
N/A
By default, no static route
group is configured.
By default, no static route
prefix is added to the static
route group.
N/A
By default, no static route is
configured.

Advertisement

Table of Contents
loading

Table of Contents