Route map commands, Route map commands -110, Match as-path – Enterasys Networks X-Pedition XSR CLI User Manual

Page 306

Advertising
background image

Route Map Commands

6-110 Configuring the Border Gateway Protocol

Syntax

timers bgp keep-alive

Syntax of the “no” Form

The no form of this command deletes the timers value:

no timers bgp

Mode

Router configuration: 

XSR(config-router)#

Defaults

Keepalive timer: 30 seconds

Holdtime timer: 90 seconds

Example

The following example sets the hold‐timer interval to 30 seconds:

XSR(config)#router bgp 100
XSR(config-router)#timers bgp 30

Route Map Commands

Route maps are comprised of sets of match and set commands. Match commands define the match 
criteria for route maps. Routes that match all defined match criteria are processed via set 
commands and those that do not match all of the defined match criteria in the route map are 
ignored.

match as-path

This command matches the values of the as_path variable in BGP routing update messages to the 
values of AS numbers identified through the AS‐path access list.

A route must match at least one match statement of a

route-map

command. If a route does not 

match any match statements, the route is not advertised on outbound route maps and is not 
accepted on inbound route maps.

Syntax

match as-path path-list-number

keep-alive

Keepalive interval. A keep alive of zero indicates no keepalives are sent 
between neighbors so the peer session will not time out. Range: 0 ‐ 4294967296 
seconds.

path-list-number

AS‐path access list to match, ranging from 1 to 199.

Advertising