Enterasys Networks XSR CLI Router User Manual


 
BGP Configuration Commands
XSR CLI Reference Guide 6-105
neighbor weight
ThiscommandspecifiesaweightvalueforaconnectiontoaneighbororaBGPpeergroup.
Syntax
neighbor {ip-address | peer-group-name} weight value
Syntax of the “no” Form
Thenoformofthiscommandremovesaneighbor’sweight:
no neighbor {ip-address | peer-group-name} weight value
Mode
Routerconfiguration:XSR(config-router)#
Example
Thefollowingexamplesetsthespecifiedneighbor’sweightto100:
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 weight 100
ip as-path access-list
Thiscommandcreatesanaspathfilterlistwhichcanbeappliedtofilterinboundandoutbound
BGPupdates.TheaspathvariableintheBGProutingupdatemessageisexaminedagainsta
requiredparameterofthiscommand,whichrepresentsASnumbersidentifiedbymeansofa
regularexpression.Multipleregular
expressionscanbeconfiguredunderaparticularaspath
filterlist.
Syntax
ip as-path access-list access-list-number {permit | deny} as-regular-expression
Note: Perform a clear ip bgp neighbor <IP address> whenever this command is changed.
ip-address
Neighbor’sIPaddress.
peer-group-name
BGPpeergroupbyname.Range:1to64characters.
value
Assignsaweightforallrouteslearnedfromthisneighbor,ranging
from0to65535.
Note: Perform a clear ip bgp whenever this command is changed.
access-list-number
Identifiestheaccesslistbynumber.Rangeis1to199.
permit
InstructsXSRtopermitaccesstopathsmatchingspecif iedconditions.