Operation Manual – Routing ProtocolH3C S7500 Series Ethernet Switches Chapter 2 Static Route Configuration2-22.1.2 Default RouteA default route is a special route. You can manually configure a static route as thedefault route. Some dynamic routing protocols, such as OSPF and IS-IS, canautomatically generate a default route.A default route is a route used only when no matching entry is found in the routingtable. That is, the default route is used only when there is no proper route. In a routingtable, both the destination IP address and mask of the default route are 0.0.0.0. Youcan use the display ip routing-table command to view whether the default route hasbeen set. If the destination address of a packet does not match any entry in therouting table, the router will select the default route for the packet; in this case, if thereis no default route, the packet will be discarded, and an Internet control messageprotocol (ICMP) packet will be returned to inform the source host that the destinationhost or network is unreachable.2.2 Static Route Configuration2.2.1 Configuration PrerequisitesBefore configuring a static route, perform the following tasks:z Configuring the physical parameters of the related interfacez Configuring the link layer attributes of the related interfacez Configuring an IP address for the related interface2.2.2 Configuring a Static RouteFollow these steps to configure a static route:To do... Use the command... RemarksEnter system view system-view —Add a static routeip route-static ip-address{ mask | mask-length }{ interface-typeinterface-number |next-hop } [ preferencevalue ] [ reject | blackhole ]RequiredBy default, the system canobtain the route to thesubnet directly connectedto the router.Delete all static routes delete static-routes allOptionalThis command can deleteall static routes, includingthe default route.Configure the defaultpreference for staticroutesip route-staticdefault-preferencedefault-preference-valueOptionalBy default, the preferencevalue is 60.