Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

How do I find out the AS number my eBGP neighbour is using to peer with me?

Hi - is there a way of finding out what AS number an EBGP peer is using to peer with my router? Obviously do a debug and reset the BGP peers, but I wondered if there's any 'show' command which can show me the same thing?

Note - I don't mean the neighbour's AS number but my own router's!

6 REPLIES
New Member

Re: How do I find out the AS number my eBGP neighbour is using t

Hi lucy,

you can see the AS number of neighbor with "show ip bgp Summary" command

rajib

New Member

Re: How do I find out the AS number my eBGP neighbour is using t

Hi - I'm actually after finding out my own AS number that they're peering with: my router's part of a subconfederation.

I know i'd see this in a debug of the OPEN message when establishing neighbours - I just wondered if there's another way of seeing it without resetting the neighbour?

ta

Re: How do I find out the AS number my eBGP neighbour is using t

in addition to previous reply....u will get error message if u trying configure a differnet AS, I dont recommend it in case cisco removed this safety pin and allows the reconfig on a new AS :-)

TST-POP1-NPE01(config)#router bgp 65001

BGP is already running; AS is 64512

TST-POP1-NPE01(config)#

New Member

Re: How do I find out the AS number my eBGP neighbour is using t

Hi - thanks but I'm trying to find out the AS number of my own router that they're peering with. I have subconfederation configured: if I did a debug on BGP and reset the peers then I think we'd see it with the OPEN BGP message, is there another way to see if without resetting peers/debug?

Thanks

Hall of Fame Super Silver

Re: How do I find out the AS number my eBGP neighbour is using t

Hello Lucy,

to see the AS number as seen by others do

sh run | beg router bgp

and look at the line that say

bgp confederation identifier that is the public AS number you are looking for

Hope to help

Giuseppe

New Member

Re: How do I find out the AS number my eBGP neighbour is using t

OK thank you

148
Views
0
Helpful
6
Replies
CreatePlease to create content