In this section:
The mgmtStaticRoute
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.
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 will be used.
% set system mgmtStaticRoute <destinationIpAddress> <prefix> <nextHopIPaddress> mgmtGroup <mgmtIntf1 | mgmtIntf2 | mgmtIntf3 | mgmtIntf4> preference <1-99> % show system mgmtStaticRoute <destinationIpAddress> <prefix> <nextHopIPaddress> mgmtGroup <mgmtIntf1 | mgmtIntf2 | mgmtIntf3 | mgmtIntf4> preference <1-99> % delete system mgmtStaticRoute
Management Static Route Parameters
Parameter | Length/Range | Description |
---|---|---|
| N/A | The destination IP address (IPv4 or IPv6). This may be an Ethernet switch address, but must never be a symbolic IP address. |
| N/A | The IP prefix of this static route entry. |
| N/A | The IPv4 or IPv6 address of the next system enroute to the destination. Default value is 0.0.0.0. |
| N/A | Specifies the name of the management IP interface.
|
| 1-99 | Specifies the route preference, which is used by the lookup engine to decide the route entry to use if multiple equivalent routes exist to the same destination. By default, route preferences on active link interfaces take the values:
|
To display management static route configuration:
% show system mgmtStaticRoute mgmtStaticRoute 0.0.0.0 0 0.0.0.0 mgmtGroup mgmtIntf2 { preference 10; } mgmtStaticRoute 0.0.0.0 0 10.34.26.1 mgmtGroup mgmtIntf1 { preference 10; } mgmtStaticRoute 10.34.26.151 2 10.34.26.153 mgmtGroup mgmtIntf1 { preference 20; }