Ip routing commands, Ip route, Chapter 30 – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 673: Table 149, Ip route (623), Route, Comm, Chapter

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

623

53-1002581-01

Chapter

30

IP Routing Commands

To forward traffic to devices on other subnetworks, you can configure fixed paths with static routing
commands. Dynamic routing protocols that exchange information with other routers on the network
to automatically determine the best path to any subnetwork will be supported in a subsequent
release.

This section includes commands for static routing. These commands are used to connect between
different local subnetworks.

ip route

This command configures static routes. Use the no form to remove static routes.

Syntax

ip route destination-ip netmask next-hop [distance]

no ip route {destination-ip netmask [next-hop] | *}

destination-ip – IP address of the destination network, subnetwork, or host.

netmask - Network mask for the associated IP subnet. This mask identifies the host
address bits used for routing to specific subnets.

next-hop – IP address of the next hop router used for this route.

distance – An administrative distance indicating relative weight of a route. This weight is
used to determine the next hop router when there is more than one entry to the same
destination in the static routing table. (Range: 1-255, Default: 1)

* – Removes all static routing table entries.

Default Setting

No static routes are configured.

Command Mode

Global Configuration

Command Usage

Up to 64 static routes can be configured.

TABLE 149

Static Routing Configuration Commands

Command

Function

Mode

ip route

Configures static routes

GC

show ip route

Displays specified entries in the routing table

PE

show ip route database

Displays static or dynamically learned entries in the routing table

PE

Advertising