LoginSignup
1
0

More than 5 years have passed since last update.

Junosでコマンド履歴を触りたい

Last updated at Posted at 2018-09-03

概要

  • 検証環境: Junos: 17.4R1-S4.2

    • クライアント: Ubuntu 18.04
  • junosのルーター機器(MX,SRX)は:arrow_up:キーでコマンド履歴を遡れない。(EXなら出来たりする)

  • とっても困る。

じゃあどうするか

  • Emacs風キーボードショートカットが使えた!!
# ↑キーと同じ。コマンド履歴を一個ずつ遡る
Ctrl + p
# ↓キーと同じ。コマンド履歴を一個ずつ進む
Ctrl + n

ちなみに

history 的なコマンドもある。

user@router>show cli history
  10:20:36 -- show configuration
  10:20:48 -- ping 8.8.8.8
  10:20:56 -- show configuration
  10:26:41 -- show version
  10:47:42 -- show cli history

Reference

どのようなショートカットキーが利用可能ですか?

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0