
Layer 3 Routing Protocols
•
•
•
•
•
•
Adding a static IP route
To configure an IP static route with a destination address of 192.0.0.0 255.0.0.0 and a next-hop router IP address of 195.1.1.1, enter
the following.
device(config)# ip route 192.0.0.0 255.0.0.0 195.1.1.1
To configure a default route, enter the following.
device(config)# ip route 0.0.0.0 0.0.0.0
To configure a static IP route with an Ethernet port instead of a next-hop address, enter a command such as the following.
device(config)# ip route 192.128.2.69 255.255.255.0 ethernet 1/4/1
The command configures a static IP route for destination network 192.128.2.69/24. Since an Ethernet port is specified instead of a
gateway IP address as the next hop, the Brocade device always forwards traffic for the 192.128.2.69/24 network to port 1/4/1.
To configure an IP static route that uses virtual interface 3 as its next hop, enter a command such as the following.
device(config)# ip route 192.128.2.71 255.255.255.0 ve 3
Syntax:
[no] ip route
dest-ip-addr
dest-mask
|
dest-ip-addr
/
mask-bits
next-hop-ip-addr
|
ethernet
unit
/
slot
/
port
|
ve
num
[
metric
]
[
tag
num
] [
distance
num
] [
name
string
]
NOTE
Using the
no
form of the command only removes the name if configured. Another
no
command must be issued to remove the
actual Static Route.
The
dest-ip-addr
is the route’s destination. The
dest-mask
is the network mask for the route’s destination IP address. Alternatively, you
can specify the network mask information by entering / followed by the number of bits in the network mask. For example, you can enter
192.0.0.0 255.255.255.0 as 192.0.0.0/.24.
The
next-hop-ip-addr
is the IP address of the next-hop router (gateway) for the route.
For a default route, enter 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx (use 0 for the
mask-bits
if you specify the address in CIDR format).
If you do not want to specify a next-hop IP address, you can instead specify a port or interface number on the Brocade device. The
num
parameter is a virtual interface number. The
unit/slot/port
is the port’s number of the Brocade device. If you specify an Ethernet port, the
Brocade device forwards packets destined for the static route’s destination network to the specified interface. Conceptually, this feature
makes the destination network like a directly connected network, associated with a Brocade device interface.
NOTE
The port or virtual interface you use for the static route’s next hop must have at least one IP address configured on it. The
address does not need to be in the same subnet as the destination network.
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
143
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 ...