Route-map continue clauses for bgp4 routes, Specifying route-map continuation clauses – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 119

Advertising
background image

Multi-Service IronWare Routing Configuration Guide

91

53-1003033-02

Filtering

The first command configures a community ACL containing community numbers 12:99 and 12:86.
The remaining commands configure a route map that matches on routes whose destination
network is specified in ACL 1, and deletes communities 12:99 and 12:86 from those routes. The
route does not need to contain all the specified communities in order for them to be deleted. For
example, if a route contains communities 12:86, 33:44, and 66:77, community 12:86 is deleted.

Syntax: [no] set comm-list acl delete

The acl parameter specifies the name of a community list ACL.

Route-map continue clauses for BGP4 routes

A continuation clause in a route-map directs program flow to skip over route-map instances to
another, user-specified instance. If a matched instance contains a continue clause, the system
looks for the instance that is identified in the continue clause.

The continue clause in a matching instance initiates another traversal at the instance that you
specify in the continue clause. The system records all of the matched instances and, if no deny
statements are encountered, proceeds to execute the set clauses of the matched instances.

If the system scans all route map instances but finds no matches, or if a deny condition is
encountered, then it does not update the routes. Whenever a matched instance contains a deny
parameter, the current traversal terminates, and none of the updates specified in the set clauses
of the matched instances in both current and previous traversals are applied to the routes.

This feature supports a more programmable route map configuration and route filtering scheme for
BGP4 peering. It can also execute additional instances in a route map after an instance is executed
with successful match clauses. You can configure and organize more modular policy definitions to
reduce the number of instances that are repeated within the same route map.

This feature currently applies to BGP4 routes only. For protocols other than BGP4, continue
statements are ignored.

Specifying route-map continuation clauses

This section describes the configuration of route-map continuation clauses. The following
sequence of steps (with referenced items in the screen output in bold) is described:

The configuration context for a route-map named test is entered.

Two route-map continue statements are added to route-map test.

The show route-map output displays the modified route-map test.

Subsequent neighbor commands identify the route map test in the inbound and outbound
directions for the neighbor at 10.8.8.3.

The show ip bgp config output shows inbound and outbound route-map test for the neighbor at
10.8.8.3.

Advertising