background image

A route entry includes the following key items:  

 

Destination

—IP address of the destination host or network. 

 

Mask

—Mask length of the IP address. 

 

Pre

—Preference of the route. Among routes to the same destination, the one with the highest 

preference is optimal. 

 

Cost

—If multiple routes to a destination have the same preference, the one with the smallest cost is 

the optimal route.  

 

NextHop

—Next hop. 

 

Interface

—Output interface. 

Routing preference 

Different routing protocols can find different routes to the same destination. However, not all of those 

routes are optimal. For route selection, direct routes and static routes are assigned different preferences. 

The route with the highest preference is preferred.  
The preference of a direct route is always 0 and cannot be changed. You can manually configure 
preferences for any other route type. Each static route can be configured with a different preference. The 

following table lists the types of routes and the default preferences. The smaller the preference value, the 

higher the preference.  

Table 2

 

Route types and their default route preferences 

Routing approach 

Preference 

Direct route

 

Static route 

60 

 

Route backup 

Route backup can improve network availability. Among multiple routes to the same destination, the route 

with the highest preference is the main route and all others are backup routes. 
The router forwards matching packets through the main route. When the main route fails, the route with 

the highest preference among the backup routes is selected to forward packets. When the main route 

recovers, the router uses it to forward packets. 

Displaying and maintaining a routing table 

 

Task Command Remarks 

Display information about the 
routing table.

 

display ip routing-table 

verbose 

] [

 | 

begin 

|

 exclude 

|

 include

 } 

regular-expression 

Available in any view 

Summary of Contents for 3100-16 v2 EI

Page 1: ...JG222A HP 3100 24 v2 SI Switch JG223A HP 3100 8 v2 EI Switch JD318B HP 3100 16 v2 EI Switch JD319B HP 3100 24 v2 EI Switch JD320B HP 3100 8 PoE v2 EI Switch JD311B HP 3100 16 PoE v2 EI Switch JD312B HP 3100 24 PoE v2 EI Switch JD313B Part number 5998 5993 Software version Release 5203P05 Document version 6W100 20140603 ...

Page 2: ...MATERIAL INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE Hewlett Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing performance or use of this material The only warranties for HP products and services are set forth in the express warranty statements accompan...

Page 3: ...ic route configuration items 4 Configuring a static route 5 Displaying and maintaining static routes 5 Configuring IPv6 static routing 7 Overview 7 IPv6 static routes features 7 Default IPv6 route 7 Configuring an IPv6 static route 7 Displaying and maintaining IPv6 static routes 8 Support and other resources 9 Contacting HP 9 Subscription service 9 Related information 9 Documents 9 Websites 9 Conv...

Page 4: ...routes Criterion Categories Destination Network route Destination is a network The subnet mask is less than 32 bits Host route Destination is a host The subnet mask is 32 bits Whether the destination is directly connected Direct route Destination is directly connected Indirect route Destination is indirectly connected Origin Direct route A direct route is discovered by the data link protocol on an...

Page 5: ...references for any other route type Each static route can be configured with a different preference The following table lists the types of routes and the default preferences The smaller the preference value the higher the preference Table 2 Route types and their default route preferences Routing approach Preference Direct route 0 Static route 60 Route backup Route backup can improve network availa...

Page 6: ...table reset ip routing table statistics protocol protocol all Available in user view Display IPv6 routing table information display ipv6 routing table verbose begin exclude include regular expression Available in any view Display routing information for a specified destination IPv6 address display ipv6 routing table ipv6 address prefix length longer match verbose begin exclude include regular expr...

Page 7: ...0 0 The router forwards any packet whose destination address fails to match any entry in the routing table to the next hop of the default static route Static route configuration items Before you configure a static route you must know the following concepts Destination address and mask In the ip route static command an IPv4 address is in dotted decimal notation A mask can be either in dotted decima...

Page 8: ...as 0 0 0 0 with the ip route static command then the route is the default route To configure a static route Step Command Remarks 1 Enter system view system view N A 2 Configure a static route ip route static dest address mask mask length next hop address interface type interface number next hop address preference preference value permanent description description text Required By default preferenc...

Page 9: ...tatic routes delete static routes all Available in system view For more information about the display ip routing table protocol static inactive verbose begin exclude include regular expression command see Layer 3 IP Routing Command Reference ...

Page 10: ...he destination and next hop addresses IPv6 static routes use IPv6 addresses whereas IPv4 static routes use IPv4 addresses Default IPv6 route An IPv6 static route with a destination prefix of 0 is a default IPv6 route The default route is used to forward packets that match no specific routes in the routing table Configuring an IPv6 static route In small IPv6 networks IPv6 static routes can be used ...

Page 11: ...ic routes Task Command Remarks Display IPv6 static route information display ipv6 routing table protocol static inactive verbose begin exclude include regular expression Available in any view Remove all IPv6 static routes delete ipv6 static routes all Available in system view To delete a single IPv6 static route use the undo ipv6 route static command To delete all IPv6 static routes including the ...

Page 12: ...ng you will receive email notification of product enhancements new driver versions firmware updates and other product resources Related information Documents To find related documents browse to the Manuals page of the HP Business Support Center website http www hp com support manuals For related documentation navigate to the Networking section and select a networking category For a complete list o...

Page 13: ...parated by vertical bars from which you select one choice multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be entered 1 to n times A line that starts with a pound sign is comments GUI conventions Convention Description Boldface Window names button names field names and menu items are in bold text For example the New User window appears cli...

Page 14: ... a unified wired WLAN module or the switching engine on a unified wired WLAN switch Represents an access point Represents a mesh access point Represents omnidirectional signals Represents directional signals Represents a security product such as a firewall UTM multiservice security gateway or load balancing device Represents a security card such as a firewall load balancing NetStream SSL VPN IPS o...

Page 15: ...ns 10 D Default IPv6 route 7 Displaying and maintaining a routing table 2 Displaying and maintaining IPv6 static routes 8 Displaying and maintaining static routes 5 I Introduction 4 IPv6 static routes features 7 O Overview 1 Overview 7 R Related information 9 Route backup 2 Routing preference 2 Routing table 1 ...

Reviews: