04-05-2016 12:29 PM - edited 03-08-2019 05:14 AM
Hi Anyone can take a look at the below two lines highlighted bold. What is that meaning? Thank you
Nexus7K1# sh ip bgp neighbors ?
<CR>
> Redirect it to a file
>> Redirect it to a file in append mode
A.B.C.D Display one particular BGP neighbor
A.B.C.D/LEN Display details for a prefix peering
04-05-2016 12:45 PM
Some outputs are very long. To better manage them you can redirect the output to a file (for example, show tech-support > filename ) in the local writable storage file system or the remote file system.
You can use one of the following redirection methods:
> filename —Redirects the output to a file.
>> filename —Redirects the output to a file in append mode.
switch# show tech-support > bootflash:TechSupport.txt
Thanks
James
04-05-2016 01:12 PM
Thanks for your reply.
switch# show tech-support > bootflash:TechSupport.txt
So, do you think this bootflash belongs to this switch?
04-05-2016 01:26 PM
Yes the bootflash is the local memory. type 'dir' and 'dir ?' the next time you are on it and you'll see what what files are on there.
it's just giving the redirect a target i.e. show-command > filesystem://module/output.txt
the 'filesystem' can also be TFTP so i.e. show-command > tftp://10.10.1.1/output.txt
Thanks
James
04-05-2016 02:07 PM
Do you think the command could use a lot resource, such as ram etc? because this response is
" Show tech brief will take 4-6 minutes to complete. Please Wait ...
: Cannot allocate memory
Thank you
04-05-2016 02:41 PM
It shouldn't do but depends on your environment - there's just a lot of information in a show tech. try 'show tech brief'
fyi show tech was just an example - you could use any command.
Can you rate my responses?
Thanks
James
04-07-2016 08:08 PM
thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide