cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1754
Views
5
Helpful
3
Replies

ACI BGP Debug in spine

Jaya_tv
Level 1
Level 1

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

3 Replies 3

joezersk
Cisco Employee
Cisco Employee

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

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


 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.

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.

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:

Save 25% on Day-2 Operations Add-On License