07-07-2021 07:07 AM
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
Solved! Go to Solution.
07-07-2021 08:16 AM
how about dump full routing table to flash: and upload to Linux ?
07-07-2021 08:30 AM
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.
07-08-2021 07:31 AM
In my experience, not enough to be concerned with.
07-07-2021 08:16 AM
how about dump full routing table to flash: and upload to Linux ?
07-07-2021 08:30 AM
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.
07-07-2021 08:48 AM
In addition to what the other posters have describe, I recall (?) you can redirect output directly to a TFTP/FTP/etc. server.
07-08-2021 06:21 AM
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
07-08-2021 07:31 AM
In my experience, not enough to be concerned with.
07-08-2021 07:46 AM
thanks a lot, i will try
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: