ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Global Routing Configuration
– 1724
IPv4 Commands
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 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, 120 for RIP, 20 for eBGP,
and 200 for iBGP. (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 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 249: Global Routing Configuration Commands (Continued)
Command Function Mode