OR
device(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name abc
Syntax:
[no] ip route
dest-ip-addr
dest-mask
{
next-hop-ip-addr
|
ethernet
unit
/
slot
/
port
|
ve
num
} [
metric
] [
distance
num
] [
name
static-route-name
] [
tag
tag-num
]
Enter the static route name for
name
string
. The maximum length of the name is 128 bytes.
The output of the
show
commands displays the name of a static IP route if there is one assigned.
The
show run
command displays the entire name of the static IP route. The
show ip static route
command displays an asterisk (*) after
the first twelve characters if the assigned name is thirteen characters or more. The
show ipv6 static route
command displays an asterisk
after the first two characters if the assigned name is three characters or more.
When displayed in
show run
, a static route name with a space in the name will appear within quotation marks (for example, "brcd route").
Changing the name of a static IP route
To change the name of a static IP route, enter the static route as configured. Proceed to enter the new name instead of the previous
name. Refer to the following example.
Static IP route with the original name "abc":
device(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name abc
Change the name of "abc" to "xyz":
device(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
In this example, "xyz" is set as the new name of the static IP route.
Deleting the name of a static IP route
To delete the name of a static IP route, use the
no
command. See the example below.
Static IP route with the name "xyz":
device(config)# ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
To remove the name "xyz" from the static IP route, specify both "name" and the string, in this case "xyz".
device(config)#no ip route 10.22.22.22 255.255.255.255 10.1.1.1 name xyz
The static route no longer has a name assigned to it.
Configuring load balancing and redundancy using multiple static routes to the same destination
You can configure multiple static IP routes to the same destination, for the following benefits:
•
IP load sharing
- If you configure more than one static route to the same destination, and the routes have different next-hop
gateways but have the same metrics, the Layer 3 switch load balances among the routes using basic round-robin. For example,
if you configure two static routes with the same metrics but to different gateways, the Layer 3 switch alternates between the two
routes.
•
Backup Routes
- If you configure multiple static IP routes to the same destination, but give the routes different next-hop
gateways and different metrics, the Layer 3 switch will always use the route with the lowest metric. If this route becomes
unavailable, the Layer 3 switch will fail over to the static route with the next-lowest metric, and so on.
Configuring IP parameters - Layer 3 switches
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
67
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...