
Foundry Switch and Router Installation and Configuration Guide
19 - 70
December 2000
USING THE CLI
To construct a route map that matches based on the next-hop router, enter commands such as the following:
BigIron(config)# route-map HopMap permit 1
BigIron(config-routemap HopMap)# match ip next-hop 2
Syntax:
match ip next-hop <num>
Syntax:
match ip next-hop prefix-list <name>
The <num> parameter with the first command specifies an IP ACL and can be a number from 1 – 199 or the ACL
name if it is a named ACL. To configure an IP ACL, use the
ip access-list
or
access-list
command. See “Using
Access Control Lists (ACLs)” on page 13-1.
The <name> parameter with the second command specifies an IP prefix list name. To configure an IP prefix list,
see “Defining IP Prefix Lists” on page 19-58.
USING THE WEB MANAGEMENT INTERFACE
Use the procedure in “Matching Based on AS-Path ACL” on page 19-67, but select IP Next Hop Access (Name
and/or Number) List instead of AS Path Access List.
Setting Parameters in the Routes
Use the following command to define a set statement that prepends an AS number to the AS path on each route
that matches the corresponding match statement.
BigIron(config-routemap GET_ONE)# set as-path prepend 65535
Syntax:
set as-path [prepend <as-num,as-num,...>] | [automatic-tag] |
[community <num>:<num> | <num> | internet | local-as | no-advertise | no-export] |
[dampening [<half-life> <reuse> <suppress> <max-suppress-time>]]
[[default] interface null0 | pos <portnum>] [interface null0 | pos <portnum>] | [ip [default] next hop <ip-addr>]
[local-preference <num>] | [metric [+ | - ]<num> | none] | [next-hop <ip-addr>] | [origin igp | incomplete] |
[tag <tag-value>] | [weight <num>]
The
as-path prepend
<num,num,...> parameter adds the specified AS numbers to the front of the AS-path list for
the route.
The
automatic-tag
parameter calculates and sets an automatic tag value for the route.
NOTE:
This parameter applies only to routes redistributed into OSPF.
The
community
parameter sets the community attribute for the route to the number or well-known type you
specify.
The
dampening
[<half-life> <reuse> <suppress> <max-suppress-time>] parameter sets route dampening
parameters for the route. The <half-life> parameter specifies the number of minutes after which the route’s
penalty becomes half its value. The <reuse> parameter specifies how low a route’s penalty must become before
the route becomes eligible for use again after being suppressed. The <suppress> parameter specifies how high a
route’s penalty can become before the Layer 3 Switch suppresses the route. The <max-suppress-time>
parameter specifies the maximum number of minutes that a route can be suppressed regardless of how unstable
it is. For information and examples, see “Configuring Route Flap Dampening” on page 19-73.
The
[default] interface null0 | pos
<portnum> parameter redirects the traffic to the specified interface. You can
send the traffic to the null0 interface, which is the same as dropping the traffic. Alternatively, you can send the
traffic to a POS interface. You can specify more than one interface, in which case the Layer 3 Switch uses the first
available port. If the first port is unavailable, the Layer 3 Switch sends the traffic to the next port in the list. If you
specify
default
, the route map redirects the traffic to the specified interface only if the Layer 3 Switch does not
already have explicit routing information for the traffic. This option is used in Policy-Based Routing (PBR). See
“Policy-Based Routing (PBR)” on page 13-25.
The
ip [default] next hop
<ip-addr> parameter sets the next-hop IP address for traffic that matches a match
statement in the route map. If you specify
default
, the route map sets the next-hop gateway only if the Layer 3
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...