EasyManuals Logo
Home>HP>Switch>2920 Series

HP 2920 Series User Manual

HP 2920 Series
83 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #48 background imageLoading...
Page #48 background image
Specifies an integer value that is associated with the route.
It is used to compare a static route to routes in the IP route
table from other sources to the same destination.
metric
Specifies the administrative distance to associate with a static
route. If not specified, this value is set to a default of 1.
(Range: 1 to 255)
distance
Specifies a unique integer value for a given ECMP set
(destination, metric, distance.)
tag
The no form of the command deletes the specified route for the specified destination
next-hop pair.
The following example configures two static routes for traffic delivery and identifies two other null
routes for which traffic should be discarded instead of forwarded.
Example 21 Configuring static routes
HP Switch(config)# ip route 10.10.40.0/24 10.10.10.1
1
HP Switch(config)# ip route 10.10.50.128/27 10.10.10.1
HP Switch(config)# ip route 10.10.20.177/32 reject
2
HP Switch(config)# ip route 10.10.30.0/24 blackhole
3
321
Configures a null route to
drop traffic for the
10.50.10.0 network without
any ICMP notification to the
sender.
Configures a null route to
drop traffic for the device at
10.50.10.177 and return
an ICMP notification to the
sender.
Configures static routes to
two different network
destinations using the same
nexthop router IP address.
Viewing static route information
The show ip route command displays the current static route configuration on the routing
switch. Figure 4 shows the configuration resulting from the static routes configured in the previous
examples.
Figure 4 Displaying the currently configured static routes
Configuring the default route
You can also assign the default route and enter it in the routing table. The default route is used for
all traffic that has a destination network not reachable through any other IP routing table entry.
For example, if 208.45.228.35 is the IP address of your ISP router, all non-local traffic could be
directed to the ISP by entering this command:
48 IP Routing Features

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 2920 Series and is the answer not in the manual?

HP 2920 Series Specifications

General IconGeneral
BrandHP
Model2920 Series
CategorySwitch
LanguageEnglish

Related product manuals