config system interface
注意インターフェース設定
config system interface → edit port2 → set ip 192.168.10.1/24
ポートのIP・許可管理アクセス(allowaccess)を設定。allowaccessの絞り込みは管理面の防御そのもので、変更時は自分の接続経路を残すこと。
実行例
config system interface edit port2 set allowaccess ping https next end管理アクセスを限定
書式
config system interface → edit <port> → set ip <ip/mask> / set allowaccess ping https ssh → next → end
実行前の注意
allowaccess誤りで管理不能になり得る。
関連コマンド
- get system interfaceIF状態/IP確認
- show full-configuration全設定の表示(既定値込み)