날짜: 11-26-2024 02:03 PM
Hello, I'm leaving a post on the community because of the questions below.
If you run the cisco nexus 9000 series, you can see the following accounting log.
Sat Oct 5 01:39:06 2024:type=start:id=vsh.bin.10027:user=admin:cmd=
Sat Oct 5 01:39:06 2024:type=update:id=vsh.bin.10027:user=admin:cmd=configure terminal ; interface mgmt0 (SUCCESS)
May I know what vsh.bin is here, and how it works in NXOS?
Thank you.
해결되었습니다! 솔루션으로 이동.
날짜: 11-26-2024 02:44 PM
Hello @ggnogame1
The vsh.bin process process in Nexus 9000 series switches represents the Virtual Shell and is primarily used to run NX-OS CLI commands from the Bash shell. It acts as a gateway, allowing the execution of NX-OS commands within the Linux-based environment of the Nexus platform.
날짜: 11-26-2024 02:44 PM
Hello @ggnogame1
The vsh.bin process process in Nexus 9000 series switches represents the Virtual Shell and is primarily used to run NX-OS CLI commands from the Bash shell. It acts as a gateway, allowing the execution of NX-OS commands within the Linux-based environment of the Nexus platform.
날짜: 11-26-2024 02:52 PM
Hello M02@rt37, thank you for your quick and detailed reply!
I have one more question about this.
If so, can I understand that this vsh.bin works by approaching the Bash shell?
In other words, if certain commands are executed in the Bash Shell after the feature bash/run bash, will it be recorded in the accounting log of the NXOS?
Thank you!
날짜: 11-26-2024 04:36 PM
If so, can I understand that this vsh.bin works by approaching the Bash shell?
In other words, if certain commands are executed in the Bash Shell after the feature bash/run bash, will it be recorded in the accounting log of the NXOS?
I am not aware that the command used in the bash shell will be shown in Nexus OS Log as accounting logs.
But in general, you can view a Unix/Linux command as a history command in the shell if that is supported.
날짜: 11-26-2024 04:38 PM
Hello balaji.bandi, Thanks for your quick response! I really appreciate it.
새로운 아이디어를 발견하고 저장하세요. 전문가 답변, 단계별 가이드, 최근 주제 등 다양한 내용을 확인해 보세요.
처음이신가요? 아래 팁들을 확인해 보세요. 시스코 커뮤니티 사용하기 새 멤버 가이드