You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
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.
Notes
- Static routes using a specific ceName can only be added for packet interfaces.
- The SBC does not allow to delete the
ceName
separately. - A static route is deleted only from the instance in which it is configured, and not from both active and standby instances of a
Unable to show "metadata-from": No such page "_space_variables"
HA pair configuration. - The configuration of a
staticRoute
with respect to a ceName
cannot be edited. If any change is desired in the configuration, delete the staticRoute
and reconfigure it.
Command Syntax
% set addressContext <addressContext_name> staticRoute <destinationIpAddress> <ip_prefix_length> <nextHopIPaddress> <ipInterfaceGroupName> <ipInterfaceName>
condition ceName (node name)
preference <100-2147483647>
% show addressContext <addressContext_name> staticRoute
% delete addressContext <addressContext> staticRoute <IpAddress>
Command 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>
| 0-128 | 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. |
condition | N/A | For an Unable to show "metadata-from": No such page "_space_variables" HA pair configuration (only), use this object to define the routes added to this Unable to show "metadata-from": No such page "_space_variables" HA pair.ceName – The name of the computing element that hosts the port used by the IP interface (length: 1-255 characters).
NOTE: The Unable to show "metadata-from": No such page "_space_variables" supports only the ceName condition in this release.NOTE: Before configuring the condition with a specific ceName , the and parameters must first be configured for this Static Route. These three parameters cannot be configured using the same commit. For further details, refer to IP Interface Group - CLI. NOTE: The condition option is only applicable to non-management interfaces. |
preference
| 100-2147483647 | < preferenceNumber> (default = 100) – 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.
|
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;
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.