Tip & How-To about Computers & Internet

Which BGP show command for internal prefix count?

Question:
I have two WS-C3560V2-48TS-S routers (R1 and R2); R1 has the full BGP table and some local connections to. They are all being advertise to it's iBGP neighour R2. I can't find a command that I can run on R2 that will show the number of prefixes learnt from R1 that are internal to the local AS only. It just says 425~k which is all the Internet routes and the local ones.
What command can I use for this?
Answer:
the local AS originated networks has AS path attribute empty.
So you could define an ip as-path acl matching an empty string
ip as-path access-list 1 permit ^$
then you can invoke the as-path access-list as a filter action on show ip bgp on R2
show ip bgp filter-list 1
see
BGP command reference
http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_bgp/command/bgp-s1.html#GUID-2618748E-42ED-495A-875C-D398A02D79F9

At this point it is enough to count the lines in show ip bgp filter-list 1 output to count the routes that are originated in the local AS at R1 WS-C3560X-24P-L Price and received on R2 and installed on R2.

Original comes from http://switch.blogcindario.com/


Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

2 Answers

running BGP on WS-C3750X-24T-S using IP Services IOS?


http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/15-0_1_se/release/notes/OL25302.html

Apr 29, 2015 | Cisco Catalyst 3750X-24T-S Layer 3 Switch...

4 Answers

Please give me cheat codes for the game GTA : Vice City


Weapon/Health Vice City cheats
aspirine - Max health
canttakeitanymore - Suicide
thugstools - Thug Weapons
professionaltools - Professional weapons
nuttertools - Heavy weapons
preciousprotection - Full armor
youwon'ttakemealive - Increase wanted level
leavemealone - Decrease wanted level

May 28, 2010 | Rockstar Games Grand Theft Auto

1 Answer

cheat codes


R1, R2, L1 , X, Left , Down, Right, Up, Left, Down, Right, Up $250,000, full health and armor (also repairs cars if you are in one) RIGHT, R2, UP, UP, R2, CIRCLE, SQUARE, R2, L1, RIGHT, DOWN, L1 Aggressive Drivers R2, Circle, R1, L2, Left R1, L1, R2, L2 Aggressive Traffic LEFT, TRIANGLE, R1, L1, UP, SQUARE, TRIANGLE, DOWN, CIRCLE, L2, L1, L1 All Cars Nos L1, Circle, Triangle, L1, L1, Square, L2, Up, Down, Left All Pedestrians Are Elvis L2, RIGHT, L1, UP, X, L1, L2, R2, R1, L1, L1, L1 All Traffic is Junk Cars Right, R1, Up, L2, L2, Left, R1, L1, R1, R1 All Traffic Lights Stay Green Triangle, L1, Triangle, R2, Square, L1, L1 All Vehicles Invisible (Except Motorcycles) x, x, square, r1, l1, x, down, left, x Andrenaline mode

Mar 29, 2009 | Rockstar Games Grand Theft Auto III & Vice...

2 Answers

grandautosandandreascheat


Cheat: Infinite Lung Capacity
During game play press DOWN, LEFT, L1, DOWN, DOWN, R2, DOWN, L2, DOWN

Cheat: Cars Fly
During game play press UP, DOWN, L1, R1, L1, RIGHT, LEFT, L1, LEFT

Cheat: Taxis Have Nitrous and L3 Bunny Hop
During game play press UP, X, TRIANGLE, X, TRIANGLE, X, SQUARE, R2, RIGHT

Cheat: Weapon Aiming While Driving
During game play press UP, UP, SQUARE, L2, RIGHT, X, R1, DOWN, R2, CIRCLE

Cheat: Traffic is Fast Cars
During game play press UP, L1, R1, UP, RIGHT, UP, X, L2, X, L1

Cheat: Reduced Traffic
During game play press X, DOWN, UP, R2, DOWN, TRIANGLE, L1, TRIANGLE, LEFT

Cheat: Spawn Dozer
During game play press R2, L1, L1, RIGHT, RIGHT, UP, UP, X, L1, LEFT

Cheat: Gangs Control the Streets
During game play press L2, UP, R1, R1, LEFT, R1, R1, R2, RIGHT, DOWN

Cheat: Massive Bunny Hops
CJ has the ability to bunny hop on the bmx over massive distances: TRIANGLE, SQUARE, CIRCLE, CIRCLE, SQUARE, CIRCLE, CIRCLE, L1, L2, L2, R1, R2

Cheat: Beach Party
Pedestrians turn into girls wearing swimsuits. Vehicles are also beach style and CJ will be dressed in shorts and sandals. While playing Grand Theft Auto: San Andreas enter: UP, UP, DOWN, DOWN, SQUARE, CIRCLE, L1, R1, TRIANGLE, DOWN

Cheat: Spawns a Stunt Plane
CIRCLE, UP, L1, L2, DOWN, R1, L1, L1, LEFT, LEFT, X, TRIANGLE

Cheat: Monster Truck
RIGHT, UP, R1, R1, R1, DOWN, TRIANGLE, TRIANGLE, X, CIRCLE, L1, L1

Cheat: Vehicle of Death
Any vehicle the player is using becomes invincible and gains the ability to instantly destroy anything it touches. L1, L2, L2, UP, DOWN, DOWN, UP, R1, R2, R2

Cheat: Get Parachute
LEFT, RIGHT, L1, L2, R1, R2, R2, UP, DOWN, RIGHT, L1

Cheat: Full Health, Full Armor, $250,000
To have all of the above, press the following while playing GTA: San Andreas: R1, R2, L1, X, LEFT, DOWN, RIGHT, UP, LEFT, DOWN, RIGHT, UP.

Cheat: Weapon Set 2
To unlock the Knife, Pistol, Sawnoff Shotgun, Tec 9, Sniper Rifle, Flamethrower, Grenades, Fire Extinguisher in Unlock some new rides in GTA: San Andreas enter: R1, R2, L1, R2, LEFT, DOWN, RIGHT, UP, LEFT, DOWN, DOWN, LEFT.

Cheat: Weapon Set 3
You can unlock the Chainsaw, Silenced Pistol, Combat Shotgun, M4, Bazooka, Plastic Explosive in Unlock some new rides in GTA: San Andreas during gameplay by pressing R1, R2, L1, R2, LEFT, DOWN, RIGHT, UP, LEFT, DOWN, DOWN, DOWN.

Cheat: Weapon Set 1
To unlock the Bat, Pistol, Shotgun, Mini SMG, AK 47, Rocket Launcher, Molotov Cocktail, Spray Can, Brass Knuckles in Grand Theft Auto: San Andreas enter: R1, R2, L1, R2, Left, Down, Right, Up, Left, Down, Right, Up.

Cheat: Get Rhino
To make a Rhino tank fall from the sky, press the following during gameplay: CIRCLE, CIRCLE, L1, CIRCLE, CIRCLE, CIRCLE, L1, L2, R1, TRIANGLE, CIRCLE, TRIANGLE.

Cheat: Wanted Level Up
To raise your Wanted Level, enter the following during gameplay: R1, R1, CIRCLE, R2, LEFT, RIGHT, LEFT, RIGHT, LEFT, RIGHT.

Cheat: Blow Up All Cars
To make all vehicles explode, press the following during gameplay: R2, L2, R1, L1, L2, R2, SQUARE, TRIANGLE, CIRCLE, TRIANGLE, L2, L1.

Cheat: Wanted Level Down
To erase your Wanted Level, enter the following during gameplay: R1, R1, CIRCLE, R2, UP, DOWN, UP, DOWN, UP, DOWN.

Cheat: Flying boats
During game play press R2, CIRCLE, UP, L1, RIGHT, R1, RIGHT, UP, SQUARE, TRIANGLE

Cheat: Spawn Bloodring Banger
During game play press DOWN, R1, CIRCLE, L2, L2, X, R1, L1, LEFT, LEFT

Cheat: Spawn Ranger
During game play press UP, RIGHT, RIGHT, L1, RIGHT, UP, SQUARE, L2.

Cheat: Spawn Hotring Racer 1
During game play press R1, CIRCLE, R2, RIGHT, L1, L2, X, X, SQUARE, R1.

Cheat: Spawn Hotring Racer 2
During game play press R2, L1, CIRCLE, RIGHT, L1, R1, RIGHT, UP, CIRCLE, R2.

Cheat: Spawn Romero
During game play press DOWN, R2, DOWN, R1, L2, LEFT, R1, L1, LEFT, RIGHT.

Cheat: Spawn Stretch
During game play press R2, UP, L2, LEFT, LEFT, R1, L1, CIRCLE, RIGHT.

Cheat: Spawn Trashmaster
During game play press CIRCLE, R1, CIRCLE, R1, LEFT, LEFT, R1, L1, CIRCLE, RIGHT

Cheat: Spawn Caddy
During game play Press CIRCLE, L1, UP, R1, L2, X, R1, L1, CIRCLE, X

Cheat: Bounty on Your Head
While playing Grand Theft Auto: San Andreas press DOWN, UP, UP, UP, X, R2, R1, L2, L2.

Cheat: Perfect Handling
During game play press TRIANGLE, R1, R1, LEFT, R1, L1, R2, L1.

Cheat: Aggressive Traffic
While playing Grand Theft Auto: San Andreas press R2, CIRCLE, R1, L2, LEFT, R1, L1, R2, L2

Cheat: Drive on Water
During game play press RIGHT, R2, CIRCLE, R1, L2, SQUARE, R1, R2

Cheat: Black traffic
While playing Grand Theft Auto: San Andreas press CIRCLE, L2, UP, R1, LEFT, X, R1, L1, LEFT, CIRCLE

Cheat: Pink Traffic
During game play press CIRCLE, L1, DOWN, L2, LEFT, X, R1, L1, RIGHT, CIRCLE

Cheat: Suicide
RIGHT, L2, DOWN, R1, LEFT, LEFT, R1, L1, L2, L1

Cheat: Faster Clock
CIRCLE, CIRCLE, L1, SQUARE, L1, SQUARE, SQUARE, SQUARE, L1, TRIANGLE, CIRCLE, TRIANGLE

Cheat: Sunny Weather
R2, X, L1, L1, L2, L2, L2, SQUARE

Cheat: Faster Cars
RIGHT, R1, UP, L2, L2, LEFT, R1, L1, R1, R1

Cheat: Pedestrian Riot- Cannot be disabled
DOWN, LEFT, UP, LEFT, X, R2, R1, L2, L1

Cheat: Overcast Weather
R2, X, L1, L1, L2, L2, L2, TRIANGLE

Cheat: Faster Game Play
During game play press TRIANGLE, UP, SQUARE, SQUARE, L2, L1, SQUARE

Cheat: Foggy Weather
During game play press R2, X, L1, L1, L2, L2, L2, X

Cheat: Slower Game Play
During game play press TIRANGLE, UP, RIGHT, DOWN, SQUARE, R2, R1

Cheat: Rainy Weather
During game play press R2, X, L1, L1, L2, L2, L2, CIRCLE

Cheat: Pedestrians Have Weapons
R2, R1, X, TRIANGLE, X, TRIANGLE, UP, DOWN

Mar 23, 2009 | Sony PlayStation 2 Slimline Console

Not finding what you are looking for?

506 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Loading...