Specifying the match conditions – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 268

Advertising
background image

254

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Filtering

8

Virtual ADX(config)# no route-map Map1 permit 10

This command deletes the specified instance from the route map but leaves the other instances of
the route map intact.

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.

Virtual ADX(config-routemap GET_ONE)# match address-filters 11

Syntax: [no] match

[as-path name]
[community acl exact-match] |
[ip address acl | prefix-list string] |
[ip route-source acl | prefix name]
[metric num] |
[next-hop address-filter-list] |
[route-type internal | external-type1 | external-type2] | [level-1 | level-2 | level-1-2]
[tag tag-value] |
interface interface interface interface...
protocol bgp static-network
protocol bgp external
protocol bgp internal

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. Refer to

“Defining an AS-path

ACL”

on page 247.

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 community
attributes field contains the same community numbers specified in the match statement.

The ip address | next-hop acl-num | prefix-list string parameters specify 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. To configure an IP prefix list, use
the ip prefix-list command.

The ip route-source acl | prefix name parameters match based on the source of a route (the IP
address of the neighbor from which the device learned the route).

The metric num parameter compares the route MED (metric) to the specified value.

The next-hop address-filter-list parameter compares the IP address of the route next-hop to the
specified IP address filters. The filters must already be configured.

The route-type internal | external-type1 | external-type2 parameters apply only to OSPF routes.
These parameters compare the route type to the specified value. The level-1 parameter compares
IS-IS routes only with routes within the same area. The level-2 parameter compares IS-IS routes
only with routes in different areas, but within a domain. The level-1-2 parameter compares IS-IS
routes with routes in the same area and in different areas, but within a domain.

The tag tag-value parameter compares the route tag to the specified tag value.

Advertising