CISCO ASAのhostname表示コマンド | インターノウスインフラエンジニアブログ

インターノウスインフラエンジニアブログ

インターノウスのインフラエンジニア奮闘記。
https://www.internous.co.jp/

<CISCO ASAのhostname表示コマンド>
 
CISCO ASAでのデフォルトの設定だとhostnameがそのまま表示されるので、以下、表示させたい場合は設定が必要となる。
 
①failover時のactive/standby、primary/secondary表示
②changeto contextでコンテキストにログインしている際の階層表示
 
①のみ適用
prompt hostname state priority state
 
②と②の両方適用
prompt hostname state priority context
 
表示例:
ciscoasa#
ciscoasa#conf t
ciscoasa(config)#prompt hostname state priority context
ciscoasa(config)#end
 
ciscoasa/act/pri#

changeto context context2

ciscoasa/act/pri/context2#