380
EES4710BD 10 Slots L2/L3/L4 Chassis Switch
priority according to the priority of routing protocols. At same time, static routes can be introduced
(redistribute) in dynamic route, and change the priority of the static route introduced.
18.2.2 Introduction to Default Route
Default route is a static route, which is used only when no matching route is found. In the route table,
default route in is indicated by a destination address of 0.0.0.0 and a network mask of 0.0.0.0, too. If
the route table does not have the destination of a packet and has no default route configured, the
packet will be dropped, and ICMP packets will be sent to the source address to indicate the
destination address or network is unreachable.
18.2.3 Static Route Configuration 18.2.3.1 Static Route Configuration Task Sequence
1. Static Route Configuration
2. Default Route Configuration
1. Static Route Configuration
Command Explanation
Global Mode
ip route <ip_address> <mask> <gateway>
[<preference>]
no ip route <ip_address> <mask> <gateway>
[<preference>]
Configures a static route; the
no ip route <ip_address>
<mask> <gateway>
[<preference>]” command
deletes a static route entry.
2. Default Route Configuration
Command Explanation
Global Mode
ip route 0.0.0.0 0.0.0.0 <gateway> [<preference>]
no ip route 0.0.0.0 0.0.0.0 <gateway> [<preference>]
Configures a default route;
the “no ip route <ip_address>
<mask> <gateway>
[<preference>]” command
deletes a default route entry.
18.2.3.2 Static Route Configuration Commands
z ip route
z show ip route

18.2.3.2.1 ip route

Command: ip route <ip_address> <mask> <gateway> [<preference>]
no ip route <ip_address> <mask> <gateway> [<preference>]
Function: Configures a static route; the “no ip route <ip_address> <mask> <gateway>