You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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.

Note

The SBC 52x0 and SBC 7000 systems support creating IP Interface Groups containing sets of IP interfaces that are not "processor friendly" (i.e. carried on physical Ethernet ports served by separate processors). However, restrictions exist regarding the usage of such Interface Groups.

(This ability does not apply to the SBC 51x0 and SBC 5400 systems which have only two physical media ports. IP interfaces from the two physical ports may be configured within the same IP Interface Groups without restriction.)

For complete details, refer to Configuring IP Interface Groups and Interfaces.

Command Syntax

% 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

Static 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:

% 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.

For details on Static IP Routes for Management interfaces, Refer to Management Static Route - CLI.

 

  • No labels