Brocade Network OS Command Reference v4.1.0 User Manual

Page 432

Advertising
background image

394

Network OS Command Reference

53-1003115-01

ip route

2

slot

Specifies a valid slot number.

port

Specifies a valid port number.

metric

Cost metric of the route. Valid values range from 1through 16. The default
is 1.

distance distance Specifies the administrative distance of the route. When comparing

otherwise equal routes to a destination, a Brocade device prefers lower
administrative distances over higher ones. Valid values range from 1
through 255. The default is 1.

tag tag

Tag value of the route to use for route filtering with a route map. Valid
values range from 0through 4294967295.

Defaults

Refer to the Operands descriptions for specific defaults.

Command Modes

RBridge ID configuration mode

Description

Use this command to add a route to the IP routing tables.

Usage Guidelines

Enter no ip route followed by the route identifier to remove a static route.

On the Brocade VDX family of switches, VLANs are treated as interfaces from a configuration point
of view. By default, all the DCB ports are assigned to VLAN 1 (VLAN ID equals 1). Valid VLAN IDs
are as follows:

On Brocade VDX 8770 switches: 1 through 4086 for 802.1Q VLANs (VLAN IDs 4087
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

On all other Brocade VDX switches: 1 through 3962 for 802.1Q VLANs (VLAN IDs 3963
through 4095 are reserved on these switches), and 4096 through 8191 for service or
transport VFs in a Virtual Fabrics context.

Examples

To configure a static route to 10.95.7.0, using 10.95.6.157 as the next-hop gateway.

switch (config)# rbridge-id 30

switch (config-rbridge-id-30)# ip route 10.95.7.0/24 10.95.6.157

See Also

None

Advertising