![background image](http://html1.mh-extra.com/html/foundry-networks/fastiron-edge-switch-x424/fastiron-edge-switch-x424_manual_2324269622.webp)
Foundry Configuration Guide for the FESX, FSX, and FWSX
21 - 50
© Foundry Networks, Inc.
December 2005
Specifying the Match Conditions
Use the following command to define the match conditions for instance 1 of the route map GET_ONE. This
instance compares the route updates against BGP4 address filter 11.
FESX424 Router(config-routemap GET_ONE)# match address-filters 11
Syntax:
match
[as-path <num>] |
[address-filters | as-path-filters | community-filters <num,num,...>] |
[community <num>] |
[community <acl> exact-match] |
[ip address <acl> | prefix-list <string>] |
[ip route-source <acl> | prefix <name>]
[metric <num>] |
[next-hop <address-filter-list>] |
[nlri multicast | unicast | multicast unicast] |
[route-type internal | external-type1 | external-type2] |
[tag <tag-value>]
The
as-path
<num> parameter specifies an AS-path ACL. You can specify up to five AS-path ACLs. To configure
an AS-path ACL, use the
ip as-path access-list
command. See “Defining an AS-Path ACL” on page 21-42.
The
address-filters | as-path-filters | community-filters
<num,num,...> parameter specifies a filter or list of
filters to be matched for each route. The router treats the first match as the best match. If a route does not match
any filter in the list, then the router considers the match condition to have failed. To configure these types of filters,
use commands at the BGP configuration level.
•
To configure an address filter, see “Filtering Specific IP Addresses” on page 21-40.
•
To configure an AS-path filter or AS-path ACL, see “Filtering AS-Paths” on page 21-41.
•
To configure a community filter or community ACL, see “Filtering Communities” on page 21-45.
You can enter up to six community names on the same command line.
NOTE:
The filters must already be configured.
The
community
<num> parameter specifies a community ACL.
NOTE:
The ACL must already be configured.
The
community
<acl>
exact-match
parameter matches a route if (and only if) the route's community attributes
field contains the same community numbers specified in the match statement.
The
ip address | next-hop
<acl-num> | prefix-list <string> parameter specifies an ACL or IP prefix list. Use this
parameter to match based on the destination network or next-hop gateway. To configure an IP ACL for use with
this command, use the
ip access-list
command. See “Software-Based IP Access Control Lists (ACLs)” on
page 12-1. To configure an IP prefix list, use the
ip prefix-list
command. See “Defining IP Prefix Lists” on
page 21-47.
The
ip route-source
<acl> |
prefix
<name> parameter matches based on the source of a route (the IP address of
the neighbor from which the Foundry device learned the route).
The
metric
<num> parameter compares the route’s MED (metric) to the specified value.
The
next-hop
<address-filter-list> parameter compares the IP address of the route’s next hop to the specified IP
address filters. The filters must already be configured.
The
nlri multicast | unicast | multicast unicast
parameter specifies whether you want the route map to match on
multicast routes, unicast routes, or both route types.
NOTE:
By default, route maps apply to both unicast and multicast traffic.
Summary of Contents for FastIron Edge Switch X424
Page 36: ...Foundry Configuration Guide for the FESX FSX and FWSX 2 12 Foundry Networks Inc December 2005...
Page 56: ...Foundry Configuration Guide for the FESX FSX and FWSX 3 20 Foundry Networks Inc December 2005...
Page 70: ...Foundry Configuration Guide for the FESX FSX and FWSX 4 14 Foundry Networks Inc December 2005...
Page 198: ...Foundry Configuration Guide for the FESX FSX and FWSX 8 38 Foundry Networks Inc December 2005...
Page 316: ...Foundry Configuration Guide for the FESX FSX and FWSX 12 26 Foundry Networks Inc December 2005...
Page 350: ...Foundry Configuration Guide for the FESX FSX and FWSX 15 12 Foundry Networks Inc December 2005...
Page 458: ...Foundry Configuration Guide for the FESX FSX and FWSX 18 18 Foundry Networks Inc December 2005...
Page 712: ...Foundry Configuration Guide for the FESX FSX and FWSX 22 32 Foundry Networks Inc December 2005...
Page 760: ...Foundry Configuration Guide for the FESX FSX and FWSX A 34 Foundry Networks Inc December 2005...
Page 796: ...Foundry Configuration Guide for the FESX FSX and FWSX C 18 Foundry Networks Inc December 2005...
Page 820: ...Foundry Configuration Guide for the FESX FSX and FWSX E 10 Foundry Networks Inc December 2005...