BGP: Difference between revisions

19,000 bytes added ,  2 years ago
 
(30 intermediate revisions by the same user not shown)
Line 79:
BGP Table List of All BGP Routes(Can be Huge)
Routing Table List of Best Routes
 
= Loopback Interface =
 
{{UC}}
 
 
= Attributes<ref>www.accenture.com</ref>=
Mnemonics: [[Mnemonics|N-WLLA-OMNI-ORN]]
 
*Full Internet BGP routing table is more than 300K routes and a BGP router can receive multiple copies of that routing table from multiple providers, router has to compare those multiple entries and select only the best route for the routing table.
Line 99 ⟶ 104:
{| class="wikitable"
|-
! Attribute !! Which is better !! Type
|-
|Next Hop reachable || Route cannot be used if next hop is unreachable || Well-known Mandatory
|-
|Weight || Bigger; value local to the router; Cisco proprietary; default is 0 for all routes not originated by local router ||
|Weight || Bigger
|-
|Local Preference || Bigger; used within AS and exchanged bw iBGP routers; default is 100 || Well-known discretionary
|-
|Locally Injected (Originate) || LocallyPrefer injectedpath islocal betterrouter thanoriginated; Locally injected > iBGP/eBGP learned; In BGP table it will hv next hop 0.0.0.0 ||
|-
|AS Path Length || Smaller; e.g: AS path 1 2 3 is preferred over AS path 1 2 3 4 5 || Well-known mandatoryMandatory
|-
|Origin || Prefer IGP(advertised by network cmd - i) > EGP > INCOMPLETE - '?'(reditributed) || Well-known Mandatory
|-
|MED(Metric) || Smaller; used to advertise to neighbors how they should enter your AS; propagated to all routers within the neighbor AS but not passed along any other AS || Optional non-transitive
|-
|Neighbor Type || Prefer eBGP over iBGP ||
|-
|IGP Metric to Next Hop || Smaller; Prefer the path within the AS with the lowest IGP metric to the BGP next hop ||
|-
|Oldest path || Prefer the path that we received first ||
|-
|Router ID || Prefer the path with the lowest BGP neighbor router ID (Manually conf > Highest Loopback IP address > Highest Interface IP address) ||
|-
|Neighbor IP address || Prefer the path with the lowest neighbor IP address ||
|}
</center>
 
 
*Origin - Prefer Internal(advertised by network cmd - 'i') over External(advertised by redistribe cmd -'?')
 
* Directions
Line 138 ⟶ 147:
Higher the local preference value higher the preference
 
'''MED:''' MultiexitdescriptorMulti Exit Discriminator
When your router has connection with two other routers with same AS.
Let's say you have 2 subnets behind your router.
You can use MED value to mention which networks should be accessed through which links.
It is advertised outwards.
Line 224 ⟶ 232:
 
*Config:
 
[Client1]------------------[RR1]------------------[Client2]
 
;RR1 router:
 
Line 229 ⟶ 240:
neighbor 172.16.1.2 remote-as 100
neighbor 172.16.1.2 route-reflector-client
neighbor 172.16.1.2 description Client1
 
;Client1 router:
Line 235 ⟶ 245:
router bgp 100
neighbor 172.16.1.1 remote-as 100
neighbor 172.16.1.1 description RR1
network 11.1.1.1 mask 255.255.255.255 --> Route to be reflected
 
Verification on RR1:
show ip bgp 11.1.1.1
show ip bgp neighbors 172.16.1.2 advertised-routes
 
= Confederation =
Line 263 ⟶ 276:
*AS_PATH attribute contains AS_CONFED_SET parameter which is modified inside the confederation only
*In case the confederation runs one IGP, NEXT_HOP, MED, LOCAL_PREF do not change when routing update traverses Intra-Confederation eBGP
 
; Config:
 
Source: [https://networklessons.com/bgp/bgp-confederation-explained networklessons.com]
 
[R2 AS-2 SubAS-24]------------------------[R3 AS-2 SubAS-35]
 
R2:
 
R2(config)#router ospf 1
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0
R2(config)#router bgp 24
R2(config-router)#bgp confederation identifier 2
R2(config-router)#bgp confederation peers 35
R2(config-router)#neighbor 3.3.3.3 remote-as 35
R2(config-router)#neighbor 3.3.3.3 update-source loopback 0
R2(config-router)#neighbor 3.3.3.3 ebgp-multihop 2
 
 
R3:
 
R3(config)#router ospf 1
R3(config-router)#network 3.3.3.3 0.0.0.0 area 0
R3(config)#router bgp 35
R3(config-router)#bgp confederation identifier 2
R3(config-router)#bgp confederation peers 24
R3(config-router)#neighbor 2.2.2.2 remote-as 24
R3(config-router)#neighbor 2.2.2.2 update-source loopback 0
R3(config-router)#neighbor 2.2.2.2 ebgp-multihop 2
 
;Verification
 
R2(config)#interface loopback 5
R2(config-if)#ip address 55.55.55.55 255.255.255.255
R2(config)#router bgp 35
R2(config-router)#network 55.55.55.55 mask 255.255.255.255
 
R3#show ip bgp 55.55.55.55
~
Origin IGP, metric 0, localpref 100, valid, '''confed-internal''', best
 
= Route Aggregation =
 
Source [https://www.noction.com/knowledge-base/bgp-route-aggregation noction.com]
 
RA also known as BGP Route Summarization
A method to minimize the size of the routing table
Announcing the whole address block received from the Regional Internet Registry (RIR) to other ASes.
RA is opposite to non-aggregation routing, where individual sub-prefixes of the address block are announced to BGP peers.
RA reduces the size of the global routing table, decreases routers’ workload and saves network bandwidth.
 
*BGP Route Aggregation with Static Discard Route:
Firstly create an aggregate address with a static discard route 70.36.0.0/20 pointing to a null interface.
The discard static route 70.36.0.0/20 configured on a router R1 makes the router to discard any packet that matches the route.
However, as long as there are more specific (longer prefix) working routes in a routing table of the router R1, packets matching these routes are not discarded.
The BGP tables of R2 and R3 routers are injected with the network command configured on R1 router, matching the static discard route.
 
router bgp 3695
bgp log-neighbor-changes
network 70.36.0.0 mask 255.255.240.0
neighbor 12.0.0.2 remote-as 11260
!
ip route 70.36.0.0 255.255.240.0 Null0
 
*BGP Route Aggregation with Aggregate-address Command
 
Now make the router R1 advertise the aggregate prefix 70.36.0.0/20 to its BGP neighbor R2.
The aggregate address is advertised to a neighbor as long as it represents at least one part of the aggregate address in the BGP table of a router.
The parts are called components or the contributing routes and represent more specific matches for the aggregated route.
We will inject a single route 70.36.0.0/24 into the BGP table of R1 with the network command.
 
router bgp 3695
bgp log-neighbor-changes
network 70.36.0.0 mask 255.255.255.0
aggregate-address 70.36.0.0 255.255.240.0
neighbor 12.0.0.2 remote-as 11260
 
{{UC}}
*Option summary-only
 
*Option suppress-map
 
*Option unsuppress-map
 
*Option attribute-map
 
*Option advertise-map
 
*Option as-set
 
= Routing Information Base (RIB) =
Line 271 ⟶ 373:
BGP Routing Information Base consists of three parts as explained below:
 
* The Adj-RIBs-In:
The Adj-RIBs-In: BGP RIB-In stores BGP routing information received from different peers. The stored information is used as an input to BGP decision process. In other words this is the information received from peers before applying any attribute modifications or route filtering to them.
BGP RIB-In stores BGP routing information received from different peers.
The Local RIB: The local routing information base stores the resulted information from processing the RIBs-In database’s information. These are the routes that are used locally after applying BGP policies and decision process.
The stored information is used as an input to BGP decision process.
The Adj-RIBs-out: This one stores the routing information that was selected by the local BGP router to advertise to its peers through BGP update messages. Do not forget; BGP only advertises best routes if they are allowed by local outbound policies.
In other words this is the information received from peers before applying any attribute modifications or route filtering to them.
* The Local RIB:
The local routing information base stores the resulted information from processing the RIBs-In database’s information.
These are the routes that are used locally after applying BGP policies and decision process.
* The Adj-RIBs-out:
This one stores the routing information that was selected by the local BGP router to advertise to its peers through BGP update messages.
Do not forget; BGP only advertises best routes if they are allowed by local outbound policies.
 
= Community =
Line 356 ⟶ 465:
 
= Auto-Summarization =
{{UC}}
 
* Normally when you advertise a network in BGP you have to type in the exact network and subnet mask that you want to advertise or it won’t be placed in the BGP table.
<br />
* With auto-summary enabled, you can advertise a classful network and you don’t have to add the mask parameter.
* BGP will automatically advertise the classful network if you have the classful network or a subnet of this network in your routing table.
 
Config:
R1(config)#router bgp 1
R1(config-router)#auto-summary
R1(config-router)#network 1.0.0.0
 
= Next Hop Processing =
 
* eBGP: Changes next hop address on advertized routes.
* iBGP: Do not changes next hop address on advertized routes.
* iBGP was designed to be run in Frame Relay, Ethernet:
 
[R1] [R3]
Line 372 ⟶ 487:
[R2]
 
* Here if Peering is formed between R1-R2 & R2-R3.
* Traffic from R1 can reach R3 directly if the next hop IP is not changed.
* Else it needs to pass through R2 unnecessarily.
* Can be changed with:
# neighbor 1.1.1.1 next-hop-self
 
= BGP Split Horizon =
 
* Do not send updates that you receive from iBGP to other iBGP peers
* Override it as:
 
R1(config)# router bgp 21
R1(config-router-af)# neighbor 192.0.2.1 remote-as 100
R1(config-router-af)# neighbor 192.0.2.1 activate
R1(config-router-af)# neighbor 192.0.2.1 as-override split-horizon
 
= Peer Groups =
Line 397 ⟶ 517:
 
;Multi-Exit Discriminator
*The MED is an optional attribute that comes in handy when there are multiple entrance paths to an AS.
*The remote AS sets MED values to tell the other AS which path to use.
*The MED is passed between the two autonomous systems, but the value is not passed to any other ASs.
*The path with the lowest MED is the preferred path.
*This attribute is only used to influence entry INTO the AS.
 
* The MED is an optional attribute that comes in handy when there are multiple entrance paths to an AS.
;Local Preference
* The remote AS sets MED values to tell the other AS which path to use.
*LOCAL_PREF is a well-known attribute that is also used when multiple paths between autonomous systems exist.
* The MED is passed between the two autonomous systems, but the value is not passed to any other ASs.
*The LOCAL_PREF attribute is just that… local and exclusive to the AS.
* The path with the lowest MED is the preferred path.
*Routers within the local AS are told what path to use to exit that AS.
*The localThis preference valueattribute is passed only amongused iBGPto peers,influence andentry this value never leavesINTO the local AS.
 
 
;Local Preference
*Weight is configured for Outgoing direction:
[R1]-------[R2]
|
|--------[R3]
 
* LOCAL_PREF is a well-known attribute that is also used when multiple paths between autonomous systems exist.
If you want R1 to prefer R3, Configure more weight on R1
* The LOCAL_PREF attribute is just local and exclusive to the AS.
Configured on Per-Neighbor basis.
* Routers within the local AS are told what path to use to exit that AS.
* The local preference value is passed only among iBGP peers, and this value never leaves the local AS.
 
* Local Preference is configured in Incoming direction.
* Configure Local Pref R3 so that R1 will prefer routes learned via R3.
* Local Pref stays inside AS only(use MED if you want to affect AS also).
* ''Configured for the whole BGP process on the router.''
 
 
;Weight:
 
Cisco Proprietary
* Cisco Proprietary
* Weight is configured for Outgoing direction:
[R1]-------[R2]
|
|--------[R3]
 
* If you want R1 to prefer R3, Configure more weight on R1
* Configured on Per-Neighbor basis.
 
 
;Example Scenario:
<--AS3--> <--AS100-->
|------[R2]--------[R4]
Line 434 ⟶ 556:
|------[R3]--------[R5]
 
* Weight R1 to R2 or R3:
|------> Applied
|------> Traffic Impacted
 
* Local Preference R2 to R1 or R3 to R1:
<------| Applied
|------> Traffic Impacted
 
MED R4 to R2 or R5 to R3:
|--------->
 
* MED R4 to R2 or R5 to R3:
|---------> Applied
<---------| Traffic Impacted
<br />
 
= ASPath Prepend =
Source: [https://www.noction.com/blog/as-path-and-as-path-prepending noction.com]
 
* AS path is a well-known mandatory attribute, which means that it’s present for all prefixes exchanged between BGP neighbors.
{{UC}}
* When a BGP router sends out an update to a neighbor in a different autonomous system (i.e., an external or eBGP neighbor), it adds its own AS number to the front (left side) of the AS path.
* So the AS path lists all the ASes that need to be traversed to reach the location where the prefix that the path is attached to is advertised from.
* As such, a traceroute should encounter those same ASes.
* The main purpose of the AS path is to avoid loops.
 
* Prepending means adding one or more AS numbers to the left side of the AS path.
* Normally this is done using one’s own AS number, using someone else’s AS number for this can have unintended side effects.
 
Config:
router bgp 65123
neighbor 198.51.100.90 remote-as 65456
neighbor 198.51.100.90 description IX peer
neighbor 198.51.100.90 route-map prepend out
!
route-map prepend permit 10
set as-path prepend 65123
 
= BGP Route Dampening =
 
Source: [https://www.noction.com/blog/bgp-dampening noction.com]
 
* The unstable route whose availability alters repeatedly is called a flap.
* When flaps occur, excessive number of BGP UPDATE messages are sent to BGP peers which in turn increases the load of the peers and excessively consumes CPU power.
* The goal of BGP route dampening when first introduced was to reduce the propagation of flapping routes without affecting the convergence time of the stable routes.
* It was designed to decrease the load on routers and increase the overall network stability, as the stable prefixes would still be advertised while the propagation of the flapping routes would remain suppressed until such routes become stable again.
* BGP Route dampening was applied locally on the routes learned by the eBGP peers.
* When the command bgp dampening is enabled without configuring any optional arguments, the default values are used.
* The default IOS dampening values are 15 750 2000 60.
 
 
;Config:
router bgp 64501
bgp dampening
neighbor 10.0.0.2 remote-as 64502
 
 
;Verify:
R1# show ip bgp dampening parameters
R1# show ip bgp dampening flap-statistics
R1# debug ip bgp dampening
 
 
;Default dampening parameters:
 
* The penalty will be reduced to half after 15 minutes (Half-life time).
* The routes will not be used when the Suppress penalty 2000 is reached.
* The dampened route will be reused when the penalty is decoyed into 750 (Reuse penalty).
* The routes experiencing route flaps should not be suppressed for more than 60 minutes (Max suppress time).
 
= Multipath =
 
* Unlike most routing protocols, BGP only selects a single best path for each prefix.
* It doesn’t do ECMP (Equal Cost Multi-Path Routing) by default but it is possible to enable this.
* In order for BGP to use the second path, the following attributes have to match:
Weight
Local Preference
AS Path (both AS number and AS path length)
Origin code
MED
IGP metric
 
* Next hop address for each path must be different.
* This comes into play when you are multihomed to the same router.
 
;Config:
R1(config)#router bgp 1
R1(config-router)#maximum-paths 2
 
= BFD =
{{UC}}
 
= Route Health Injection =
{{UC}}
 
Line 562 ⟶ 755:
 
= R&S Quick Notes =
 
When using Communities, don’t forget “neighbor send-community”
* When using Communities, don’t forget “neighbor send-community”
Know your attributes and the direction which applied, when to used what.
* Know your attributes and the direction which applied, when to used what.
“aggregate address” needs a more specific prefix in the BGP table for aggregate to be advertised.
* “aggregate address” needs a more specific prefix in the BGP table for aggregate to be advertised.
Synchronization issue has 3 solutions, 1- Load BGP on all transit routers, 2- GRE tunnel, 3- Redistribution BGP>IGP.
* Synchronization issue has 3 solutions, 1- Load BGP on all transit routers, 2- GRE tunnel, 3- Redistribution BGP>IGP.
“no bgp nexthop trigger” – Disables next-hop tracking between scanner intervals.
* “no bgp nexthop trigger” – Disables next-hop tracking between scanner intervals.
“no bgp fast-ext-fallover” – Force the router to wait for the dead-timer to expire, before generating notification messages , when a connected peer goes down.
* “no bgp fast-ext-fallover” – Force the router to wait for the dead-timer to expire, before generating notification messages , when a connected peer goes down.
“neighbor fall-over” – Will check neighbor connenctivity between scanner intervals, aka BGP Fast Peering.
* “neighbor fall-over” – Will check neighbor connenctivity between scanner intervals, aka BGP Fast Peering.
Only the Holdtime is sent in update-msg. Two neighbors will use the lowest holdtime and then calculate the keepalive from that.
* Only the Holdtime is sent in update-msg. Two neighbors will use the lowest holdtime and then calculate the keepalive from that.
Know your Regular Expressions
* Know your Regular Expressions
Know the difference between Peer-Groups and Peer-Templates
* Know the difference between Peer-Groups and Peer-Templates
 
= BGP Notes 2 =
 
* BGP Synchronization rule -IF the AS is acting transient for other AS routes learn through BGP will not be advertized unless the all the routes learn this routes though IGP.
* If we turned on the synchronisation BGP router will not advertize the route learned from IBGP PEER to EBGP Peer unless that route is learned through IGP.
* Split horizon rule -Routes larn though IBGp nei will not be advertized to other IBGP nei .
* BGP path selection criterion
Route is excluded if next hop is unreachable
hightest wieight
high local pref
route if locally orginated
shortest as path len
prefer lowest origin code (IGP<EGP<Unknown)
lowest MED
ebgp over IBGP
between IBGP closed IGP nei
bet EBGP oldest route
lowest Router ID.
 
* BGP Message types - Keepalive, notification, open, update.
 
* Routes received from a Route-Reflector-client is reflected to other clients and non-client neighbors.So if we have two route reflectors we should also keep in separte clusters ,, to avoide loops .That means that if you have multiple RRs with different cluster ID, optimal path is selected by selecting shorter cluster list. Having multiple RRs in the same cluster creates partial connectivity during failure
 
* The first route reflector also set an additonal BGP attribute called originator id and add it to BGP router -id of client.if any router receive the route which contains its own router id will ignore the route
 
* Confedrations - Breaking As into smaller As so that they can exchange routing updates using intra confedration EBGp Seesion.
but on the intraconfedration EBGP session parmaters for IBGP are still preserved. (like next hop self, metric, preference)
 
* Commands - under BGP process bgp confedration id x.x -Original As
- BGP confederation peers x.x ,y...- Need to specify the the intra confdration with in AS.
 
* MED Vs AS path prepend - MED doesnot goes beyond neibor As while As path prepeend goes beyond that.
* BGP always compare md - compares MED for a path from neighbors in different AS.
* BGP Determinsic-Med -comparison of MEd for a path from differnt Peers advertize in same AS.
 
* BGP conditional advertizement uses two terms advertize-map and non-exist-map, advertize the prefix in adtervertize map only if there is no route in BGPtable defined in non-exist-map.
* BGP conditonal Inject and Exist map -BGP conditional Route injection advertize the specific route defined in inject map from the summary route present in exist map .Its reverse of Aggregation .
* SOO - Site of orgin -is used to prevent routing loops and is used to identify the site from where the route is orginated and does not readvertize same route back to the site .
* SOO is enabled on PE routers - marked the customer prefixes.
* BGP communities are used to TAG the routes and they are used to perform policy routing in upstream router. Community attribute consist of four octets. Inorder to send community
* We need to use send community command under BGP process.
* BGP community are :
Internet: advertise these routes to all neighbors.
Local-as: prevent sending routes outside the local As within the confederation.
No-Advertise: do not advertise this route to any peer, internal or external.
No-Export: do not advertise this route to external BGP peers.
 
* Local AS command can be used in while migration of As - it will genrate BGP open message which is defined in local AS.
* nei x.x.x. local 100 no prepend replace as dual-as.( can be used for remote peer to configue whatever AS no has configured at there side ).
 
* Peers Group -Peer groups are a way of defining templates/groups with settings for neighbor
* Relationships - The same policy that goes to 1 neighbor in the peer group must go to all if it case one neighbor has a slightly different config we do not use peer-group for this neighbor the idea being a group with all required bgp settings and then add the neighbors to this group so they inherit the settings.
* Using BGP peer group one update is sent to peer group instead of individual updates helps in optimisation of updates .Configration makes its simpler.
 
* BGP route relector -Eliminates the need of bgp full mesh ,similar to ospf DR ,BDR elecltion, only peering needs to with RR.
* When RR get the update from its client it sent to other RR and its client .
* Modify the spilt horizon rule .BGP cluster id is used as loop prevention.
* Does not modiy the next hope attributes.
* Route reflectores modify split horizon rule now routes learn through IBGP can be forwarded to other IBGP nei ,route reflectore can do .
* if the client is having IBGP session with multiple routereflectores so each client will receive two copies of all routes.this can create the routing loops to avoid it each route reflector and its client form cluster which is identifed by cluster id which is unique in AS.
* whenver particular route is reflected route reflector router id is added to cluster list attirbute and set cluster id number in cluster -list.if for any reason route is reflected back to route reflectore for some reason it will reconganize cluster id includes its own router id . and will not forward it .
 
* The BGP Link Bandwidth feature used to enable multipath load balancing for external links with unequal bandwidth capacity. This feature is enabled under an IPv4 or VPNv4 address family sessions by entering the bgp dmzlink-bw command. This feature supports both iBGP, eBGP multipath load balancing, and eiBGP multipath load balancing in Multiprotocol Label Switching (MPLS) Virtual Private Networks (VPNs). When this feature is enabled, routes learned from directly connected external neighbor are propagated through the internal BGP (iBGP) network with the bandwidth of the source external link.
 
* The link bandwidth extended community indicates the preference of an autonomous system exit link in terms of bandwidth. This extended community is applied to external links between directly connected eBGP peers by entering the neighbor dmzlink-bw command. The link bandwidth extended community attribute is propagated to iBGP peers when extended community exchange is enabled with the neighbor send-community command.
 
* It should be configured in conjuction with max path command:
bgp dmzlink-bw
neighbor ip-address dmzlink-bw
neighbor ip-address send-community [both | extended | standard
 
* Aggreagate with AS set command - normal aggregation with summary command advertise the summary prefix only and suppress all the specific routes, so router which is performing the aggreagation will include its own AS while sending the update.
*So when Aggreagate with AS set command is used it will include all the AS in updates for summary prefix for those AS route performing the aggregation with AS list, this will prevent routing loop.
 
* Attribute map -can be used to modify the community received in aggregation router to none.(command) MAP. When particular is sending the prefix to router performing aggregation with community like no export attached, Aggregate router will inherit the communtiy and can cause issue to aggregate prefix while propagating, To avoid it we can modifiy the community to none using atrribute map command (aggrgate address x.x.x.x .x.x.x as-set summary only attribute map)
 
* BGP Backdor link - used to modifiy the AD for external route from 20 to 200 so that IGP learned route can be prefered over EBGP.
* Command will be added to router which is learning the prefises from two routing ptotocols .
 
router bgp x.x.x.x
network x.x.x.x mask backdoor
 
= Redistribution from osfp to bgp =
 
* All redistributed routes into bgp takes ad value of BGP ,inorder redistribute all the ospf routes internal ,external (E1&E2) we need to uses redisrtibute ospf process mathc internal external 1 external 2
 
* Redistribution of bgp into Ospf will take metric one ,Reditributio of ospf into BGP take IGP metric
 
* Qos -Each router maintain two queue hardware queue works on FIFO and software queues (LLQ,CBWFQ,Flow based WFq) ,service policy applies only on software queue
 
* Use the tx-ring-limit command to tune the size of the transmit ring to a non-default value (hardware queue is last stop before the packet is transmitted)
 
Note: An exception to these guidelines for LLQ is Frame Relay on the Cisco 7200 router and other non-Route/Switch Processor (RSP) platforms. The original implementation of LLQ over Frame Relay on these platforms did not allow the priority classes to exceed the configured rate during periods of non-congestion. Cisco IOS Software Release 12.2 removes this exception and ensures that non-conforming packets are only dropped if there is congestion. In addition, packets smaller than an FRF.12 fragmentation size are no longer sent through the fragmenting process, reducing CPU utilization.
 
* It's all based upon whether there is or is not congestion on the link.
 
* The priority queue (LLQ) will always be served first, regardless of congestion. It will be both guaranteed bandwidth AND policed if there is congestion. If there is not congestion, you may get more throughput of your priority class traffic.
 
* If the class is underutilized then the bandwidth may get used by other classes. Generally speaking this is harder to quantify than you may think. Because in normal classes, the "bandwidth" command is a minimum of what's guaranteed. So you may get MORE in varying amounts just depending on what is in the queue at any point in time of congestion.
 
* As mentioned before, policers determine whether each packet conforms or exceeds (or, optionally, violates) to the traffic configured policies and take the prescribed action. The action taken can include dropping or re-marking the packet. Conforming traffic is traffic that falls within the rate configured for the policer. Exceeding traffic is traffic that is above the policer rate but still within the burst parameters specified. Violating traffic is traffic that is above both the configured traffic rate and the burst parameters.
 
* An improvement to the single-rate two-color marker/policer algorithm is based on RFC 2697, which details the logic of a single-rate three-color marker.
 
* The single-rate three-color marker/policer uses an algorithm with two token buckets. Any unused tokens in the first bucket are placed in a second token bucket to be used as credits later for temporary bursts that might exceed the CIR. The allowance of tokens placed in this second bucket is called the excess burst (Be), and this number of tokens is placed in the bucket when Bc is full. When the Bc is not full, the second bucket contains the unused tokens. The Be is the maximum number of bits that can exceed the burst siz
 
=LAB=