cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1451
Views
0
Helpful
6
Replies

show bgp with full routing table in ASR9k

j.restaino
Level 1
Level 1

Hi,

 

I am trying to analyse the complete full routing table in my network by capturing this dumping in a txt file.

 

So i try
ssh <host> | tee file.txt

 

But i could not reach the final line, the attempt that i was more close i reach the network 203.142.34.0/24 and the file has 2688582 lines.

 

I will be appreciate if something could help me to obtain the full routing table. The IOSXr that i am using is 6.5.3 and the linux terminal is GNOME 3.36.2

 

Regards

3 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

how about dump full routing table to flash: and upload to Linux ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

uwe.kadner
Level 1
Level 1

I would recommend to redirect the command output rather than trying to capture everything in a simple Linux console.
On your device just run 

 

RP/0/RSP0/CPU0:router#sh bgp vrf test | file harddisk:bgp-vrf-test.txt

 

You then can copy the file from the harddisk: via FTP or TFTP.

View solution in original post

In my experience, not enough to be concerned with.

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

how about dump full routing table to flash: and upload to Linux ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

uwe.kadner
Level 1
Level 1

I would recommend to redirect the command output rather than trying to capture everything in a simple Linux console.
On your device just run 

 

RP/0/RSP0/CPU0:router#sh bgp vrf test | file harddisk:bgp-vrf-test.txt

 

You then can copy the file from the harddisk: via FTP or TFTP.

Joseph W. Doherty
Hall of Fame
Hall of Fame

In addition to what the other posters have describe, I recall (?) you can redirect output directly to a TFTP/FTP/etc. server.

j.restaino
Level 1
Level 1

Thanks a lot for all the responses; i will try. Just a one more question, in terms of cpu and memory is costly dump to a file?

Regards

In my experience, not enough to be concerned with.

j.restaino
Level 1
Level 1

thanks a lot, i will try

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: