Ipv4 commands, Ip route, Ip route (1448) – LevelOne GTL-2691 User Manual

Page 1448

Advertising
background image

C

HAPTER

49

| IP Routing Commands

Global Routing Configuration

– 1448 –

IPv4 Commands

ip route

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

routes.

S

YNTAX

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 that this route can

be overridden by dynamic routing information if the distance of the

dynamic route is less than that configured for the static route. Note

that the default administrative distances used by the dynamic

unicast routing protocols is 110 for OSPF and 120 for RIP.

(Range: 1-255, Default: 1)
* – Removes all static routing table entries.

D

EFAULT

S

ETTING

No static routes are configured.

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

Up to 512 static routes can be configured.

Up to eight equal-cost multipaths (ECMP) can be configured for static

routing using the

maximum-paths

command.

If an administrative distance is defined for a static route, and the same

destination can be reached through a dynamic route at a lower

administration distance, then the dynamic route will be used.

show ip route summary

Displays summary information for the routing table

PE

show ip traffic

Displays statistics for IP, ICMP, UDP, TCP and ARP

protocols

PE

IPv6 Commands

ipv6 route

Configures static routes

GC

show ipv6 route

Displays specified entries in the routing table

PE

Table 202: Global Routing Configuration Commands (Continued)

Command

Function

Mode

Advertising