Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Noprint
Panel
borderColorgreen
bgColortransparent
borderWidth2

Back to Table of Contents

Back to CLI Configure Mode

Back to System - CLI

...

Panel

In this section:

Table of Contents
maxLevel2

 

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.

Command Syntax

Code Block
languagenone
% 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

Command Parameters

Caption
0Table
1Management Static Route Parameters

Parameter

Length/Range

Description

<destinationIpAddress>

N/A

The destination IP address (IPv4 or IPv6). This may be an Ethernet switch address, but must never be a symbolic IP address.

<prefix>

N/A

The IP prefix of this static route entry.

<nextHopIPaddress>

N/A

The IPv4 or IPv6 address of the next system enroute to the destination. Default value is 0.0.0.0.

mgmtGroup

N/A

Specifies the name of the management IP interface.

  • mgmtIntf1
  • mgmtIntf2
  • mgmtIntf3
  • mgmtIntf4

preference

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:

  • 1 – local route
  • 5 – direct route
  • 10 – static route

Command Example

To display management static route configuration:

Code Block
languagenone
% 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;  
	}

  

Note
In an environment with two subnet management 
Spacevars
0product
HAs, it is mandatory to add static routes referencing the management interfaces when creating a new management group.