Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
Panel

In this section:

Table of Contents

Panel

...

borderColorgreen
bgColortransparent
borderWidth2

...

Back to Table of Contents

Back to CLI Configure Mode

Back to Address Context - CLI

In this section:

Table of Contents

Static IP Routes for IP Interfaces

The staticRoute object is used to configure static IP routes for the IP interfaces. A static route indicates the nextHop gateway and IP interface that is used for a particular peer network IP prefix.

A route preference may be configured for static routes as shown in the command syntax. The lower the preference value, the more likely the route is to be used.

Include Page
IP_IGs_ServedBySeperateProcessors
IP_IGs_ServedBySeperateProcessors

Command Syntax

Code Block
languagenone
% set addressContext <addressContext_name> staticRoute <destinationIpAddress> <ip_prefix_length> <nextHopIPaddress> <ipInterfaceGroupName> <ipInterfaceName> preference <preferenceNumber>
 
% show addressContext <addressContext_name> staticRoute
 
% delete addressContext <addressContext> staticRoute <IpAddress>

Command Parameters

Caption
0Table
1Static Route Parameters

Parameter

Length/Range

Description

addressContext

1-23

<addressContext_name> – The name of the address context. The address context is a container of objects that correspond to a specific IP Addressing domain.

staticRoute

N/A

<destinationIpAddress> – The destination IP address. The following IP address types are supported:

  • IPv4 – This is V4 IP address in dotted decimal form (for example 128.127.50.224).
  • IPv6 – This is V6 IP address in hexadecimal/colon   form (for example, 1280:1276:3350:2224:2222:3333:8888:1245 or   fd00:21:445:128::7880).

<ip_prefix_length>

N/A

The IP prefix length of this static route entry.

<nextHopIPaddress>

N/A

The IPv4 or IPv6 address of the next system en route to the destination.

<ipInterfaceGroupName>

N/A

The name of the IP interface group.

<ipInterfaceName>

N/A

The name of the IP interface for this entry.

preference

N/A

<preferenceNumber> – The route preference value. The management route preference range is 1-99 and the packet route preference range is greater than or equal to 100.

displaylevel

1-64

To display different levels of output information in show commands.

Command Example

To display static routes:

Code Block
languagenone
% show addressContext default staticRoute
staticRoute 10.6.30.105 32 10.34.26.1 LIF2 lif_eth3 {
    preference 10;
}
staticRoute 10.34.9.70 32 10.34.25.1 LIF1 lif_eth2 {
    preference 10;
}
staticRoute 10.34.9.95 32 10.34.26.1 LIF2 lif_eth3 {
    preference 10;
}
staticRoute 10.34.13.194 32 10.34.25.1 LIF1 lif_eth2 {
    preference 1;
}
staticRoute 10.34.13.195 32 10.34.26.1 LIF2 lif_eth3 {
    preference 10;

Static Route for Management Interfaces

The staticRoute object is used to configure static IP routes for the management interfaces. A static route indicates the nextHop gateway and management interface that is used for a particular peer network IP prefix.

Info
For details on Static IP Routes for Management interfaces,

...

Refer to Management Static Route - CLI.

Pagebreak