beautypg.com

Naming a static ip route – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 68

background image

To display the maximum value for your device, enter the show default values command. The
maximum number of static IP routes the system can hold is listed in the ip-static-route row in the
System Parameters section of the display. To change the maximum value, use the system-max ip-
static-route
command at the global CONFIG level.

The ip-addr parameter specifies the network or host address. The Layer 3 switch will drop packets that
contain this address in the destination field instead of forwarding them.

The ip-mask parameter specifies the network mask. Ones are significant bits and zeros allow any
value. For example, the mask 255.255.255.0 matches on all hosts within the Class C subnet address
specified by ip-addr . Alternatively, you can specify the number of bits in the network mask. For
example, you can enter 10.157.22.0/24 instead of 10.157.22.0 255.255.255.0.

The null0 parameter indicates that this is a null route. You must specify this parameter to make this a
null route.

The metric parameter adds a cost to the route. You can specify from 1 through 16. The default is 1.

The distance num parameter configures the administrative distance for the route. You can specify a
value from 1 through 255. The default is 1. The value 255 makes the route unusable.

NOTE
The last two parameters are optional and do not affect the null route, unless you configure the
administrative distance to be 255. In this case, the route is not used and the traffic might be forwarded
instead of dropped.

Naming a static IP route

You can assign a name to a static IP route. A static IP route name serves as a description of the route.
The name can be used to more readily reference or identify the associated static route.

NOTE
The static route name is an optional feature. It does not affect the selection of static routes.

The Brocade device does not check for the uniqueness of names assigned to static routes. Static
routes that have the same or different next hop(s) can have the same or different name(s). Due to this,
the same name can be assigned to multiple static routes to group them. The name is then used to
reference or identify a group of static routes.

The option to assign a name to a static route is displayed after you select either an outgoing interface
type or configure the next hop address.

To assign a name to a static route, enter commands such as the following.

device(config)# ip route 10.22.22.22 255.255.255.255 eth 1/1 name abc

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-addrdest-mask | dest-ip-addr/mask-bitsnext-hop-ip-addr | ethernet slot/
port
| ve num [ metric ] [ tag num ] [ distance num ] [ name string ]

Enter the static route name for namestring. 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.

Naming a static IP route

68

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04