CLI Reference Guide

Command Groups 136
IP Routing
Command Description Mode
a
encapsulation
Configures the link layer encapsulation type for
the packet.
IC
ip address
Configures an IP address on an interface. IC
ip netdirbcast
E
nables the forwarding of network-directed
broadcasts.
IC
ip policy route-map
Applies a route map on an interface. IC
ip route
Configures a static route. Use the no form of
the command to delete the static route.
GC
ip route default
Configures the default route. Use the no form
of the command to delete the default route.
GC
ip route distance
Sets the default distance (preference) for static
routes.
GC
ip routing
Globally enables IPv4 routing on the router. GC
match length
Configures packet length matching criteria for a
route map.
RM
match mac-list
Configures MAC ACL match criteria for a route
map.
RM
route-map
Creates a policy based route map. GC
match ip address
Specify IP address match criteria for a route
map.
RM
set interface null0
Routes packets to interface null 0. RM
set ip default next-hop
Sets a list of default next-hop IP addresses
to be used if
no explicit route for the packet’s
destination address appears in the routing table.
RM
set ip next-hop
Specifies the adjacent next-hop router in the
path toward the destination to which the
packets should be forwarded.
RM
set ip precedence
Sets the IP precedence bits in the IP packet
header.
RM
show ip brief
Displays all the summary information of the IP. PE
2CSNXXX_SWUM200.book Page 136 Tuesday, December 10, 2013 1:22 PM