Panel | |
---|---|
In this section:
|
Info | ||
---|---|---|
| ||
Related articles: |
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.
Info | ||||
---|---|---|---|---|
| ||||
|
Include Page | ||||
---|---|---|---|---|
|
Code Block | ||
---|---|---|
| ||
% set addressContext <addressContext_name> staticRoute <destinationIpAddress> <ip_prefix_length> <nextHopIPaddress> <ipInterfaceGroupName> <ipInterfaceName> condition ceName (node name) preference <preferenceNumber><100-2147483647> % show addressContext <addressContext_name> staticRoute % delete addressContext <addressContext> staticRoute <IpAddress> |
Caption | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||
|
To display static routes:
Code Block | ||
---|---|---|
| ||
% 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.
Info |
---|
For details on Static IP Routes for Management interfaces, Refer to Management Static Route - CLI. |
Pagebreak |
---|