Route Map Commands
6-110 Configuring the Border Gateway Protocol
Syntax
timers bgp keep-alive
Syntax of the “no” Form
Thenoformofthiscommanddeletesthetimersvalue:
no timers bgp
Mode
Routerconfiguration:XSR(config-router)#
Defaults
•Keepalivetimer:30seconds
•Holdtimetimer:90seconds
Example
Thefollowingexamplesetstheholdtimerintervalto30seconds:
XSR(config)#router bgp 100
XSR(config-router)#timers bgp 30

Route Map Commands

Routemapsarecomprisedofsetsofmatchandsetcommands.Matchcommandsdefinethematch
criteriaforroutemaps.Routesthatmatchalldefinedmatchcriteriaareprocessedviaset
commandsandthosethatdonotmatchallofthedefinedmatchcriteriaintheroutemapare
ignored.

match as-path

Thiscommandmatchesthevaluesoftheas_pathvariableinBGProutingupdatemessagestothe
valuesofASnumbersidentifiedthroughtheASpathaccesslist.
Aroutemustmatchatleastonematchstatementofa route-map command.Ifaroutedoesnot
matchanymatchstatements,therouteisnotadvertisedonoutboundroutemapsandisnot
acceptedoninboundroutemaps.
Syntax
match as-path path-list-number
keep-alive Keepaliveinterval.Akeepaliveofzeroindicatesnokeepalivesaresent
betweenneighborssothepeersessionwillnottimeout.Range:0‐4294967296
seconds.
path-list-number ASpathaccesslisttomatch,rangingfrom1to199.