ZXR10T600/T1200UserManual(IPv6Volume)
ConfiguringBGPRoutingMode
TocongureBGProutingmode,performthefollowingsteps.
St-
ep
CommandFunction
1
ZXR10(config)#routerbgp<as-number>
ThisconguresASnumber
andentersBGProute
congurationmode.
ZXR10(config-router)#bgpalways-compare-medThisallowscomparingthe
MEDofvariousneighbor
routesindifferentASs.
ZXR10(config-router)#bgpbestpathas-pathignoreThisdoesnotcomparethe
as-pathattributeduring
routing.
ZXR10(config-router)#bgpbestpathcompare-conf
ed-aspath
Thiscomparesthelengthof
confederationASpathduring
routing.
ZXR10(config-router)#bgpbestpathcompare-route
rid
Thiscomparestherouter-id
duringrouting
ZXR10(config-router)#bgpbestpathmed{confed|
missing-as-worst}
Thisdesignatestherulein
comparingMEDattribute
duringrouting
ZXR10(config-router)#bgpclient-to-clientreflection
Thissetsclienttoclient
reection.
ZXR10(config-router)#bgpcluster-id{<value>|<ip
-address>}
ThissetstheclusterIDofa
routereector .
ZXR10(config-router)#bgpconfederationidentifier
<value>
Thissetstheconfederation
ID.
ZXR10(config-router)#bgpconfederationpeers
<value>[<value>]
Thissetstheconfederation
peerASnumber ,inrange
of1-65535.Utmost25AS
numberscanbeinputfor
onceand255ASnumbers
canbeconguredintotal.
ZXR10(config-router)#bgpdefaultlocal-preference
<value>
Thissetsthelocalpriority
valueoftheroutesadvertised
bytheBGP ,inrangeof
0-4294967295,100by
default.Thelargerthevalue,
thehigherthepriority.
ZXR10(config-router)#enforce-first-asThisforcestoexaminethe
rstASnumberinas-pathof
anEBGProute.
ZXR10(config-router)#bgplog-neighbor-changesThisprintsstatechanging
informationofBGPneighbors
whendebugbgpcommandis
notenabled.
2
58CondentialandProprietaryInformationofZTECORPORATION