beautypg.com

Configuring a default route – H3C Technologies H3C S12500 Series Switches User Manual

Page 35

background image

19

Configuring a default route

A default route is used to forward packets that match no entry in the routing table.
Without a default route, a packet that does not match any routing entries is discarded and an ICMP

destination-unreachable packet is sent to the source.
A default route can be configured in either of the following ways:

The network administrator can configure a default route with both destination and mask being
0.0.0.0. For more information, see

Configuring a static route

.

Some dynamic routing protocols, such as OSPF, RIP, and IS-IS, can generate a default route. For
example, an upstream router running OSPF can generate a default route and advertise it to other

routers, which install the default route with the next hop being the upstream router. For more

information, see configuration guides of relevant routing protocols.