0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

NEC IX2015コマンド

Posted at

プロンプト

  • telnet したら#表示。

設定モードに入る

configure

保存された設定を確認

configure

show config

アクセスリスト

configure

show ip access-list

設定

  • src と destを逆にしがちなので注意!
configure

// ping許可 : LAN(192.168.10.0/24)からWAN(any)へ
ip access-list my-list permit icmp src any dest 192.168.10.0/24

// UDP許可 : LAN(192.168.10.0/24)からWAN(any)へ
ip access-list sec-list permit udp src any dest 192.168.10.0/24

設定を削除

configure

// ping許可 : LAN(192.168.10.0/24)からWAN(any)へ の設定削除
no ip access-list my-list permit icmp src any dest 192.168.10.0/24

// UDP許可 : LAN(192.168.10.0/24)からWAN(any)へ の設定削除
no ip access-list sec-list permit udp src any dest 192.168.10.0/24

再起動後も有効にする

write memoryしないとshow configで見れないので注意。

write memory
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?