12-25-2019 11:54 PM
Is there any way to do BGP debug in spine switches and also I want to enable terminal monitor in SPINE switch.
I am using gen2 spine ACI code 4.2
03-22-2020 08:29 AM - edited 03-23-2020 08:39 AM
HI Jaya:
In the Spine cli, enter "vsh"
This brings you to an "unsupported" NXOS-like CLI.
edit: a note on vsh. The shell itself is the unsupported thing. When you invoke it, it tells you it could be deprecated at any moment. Some commands (like the ones below) work in normal ACI CLI and also in vsh. Some commands, for example troubleshooting IS-IS (unrelated to this post) have commands that are only available in vsh. My personal take, vsh has been there for 6 years. They will likely never deprecate it. But, you have been reasonably alerted that they could one day.
From there you can try:
-show bgp event-history events
-show bgp event-history logs
and play around with the other options under:
spine-1# show bgp event-history ?
cli Show BGP cli logs
detail Show detailed event logs
errors Show error logs of BGP
events Show event logs
l2rib Show l2rib library logs of BGP
logs Show messages logged via syslog
msgs Show various message logs of BGP
objstore Show objectstore event logs
objstore-oper Show objectstore operational event logs
periodic Show periodic event logs
updates Show updates logs
03-22-2020 11:48 AM
Hi @joezersk ,
I like your suggestins, but suggest you remove/modify the first three lines:
@joezersk wrote:HI Jaya:
In the Spine cli, enter
"vsh"
This brings you to an "unsupported" NXOS-like CLI.
From there you can try:-show bgp event-history events
-show bgp event-history logs
and play around with the other options under:
spine-1# show bgp event-history ?
cli Show BGP cli logs
detail Show detailed event logs
errors Show error logs of BGP
events Show event logs
l2rib Show l2rib library logs of BGP
logs Show messages logged via syslog
msgs Show various message logs of BGP
objstore Show objectstore event logs
objstore-oper Show objectstore operational event logs
periodic Show periodic event logs
updates Show updates logs
03-22-2020 12:08 PM - edited 03-22-2020 12:08 PM
Good point. I can never remember which commands they put in vsh and which ones are standard CLI. I think I will leave it because it is usually a good thing to remind people that vsh and vsh_lc exist.
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