Просмотр списка АСL

Команда show access-list выводит на экран содержание списка контроля доступом.

show access-list [list-id]

Пример 68. Просмотр ACL

                access-list 100 permit tcp 192.168.1.0 0.0.0.255 any eq 80 state new
	Rule added to access list '100'.
	RAPIRA: access-list 100 permit tcp 192.168.1.0 0.0.0.255 any eq 110 state new
	Rule added to access list '100'.
	RAPIRA: access-list 100 permit tcp host 192.168.1.25 any eq 25 state new
	Rule added to access list '100'.
	RAPIRA: access-list 100 deny any any
	Rule added to access list '100'.
	RAPIRA: access-list 101 permit tcp any any state established,related
	Rule added to access list '101'.
	RAPIRA: access-list 101 deny any any
	Rule added to access list '101'.
	RAPIRA: show access-list 
	access-list 100
	deny tcp any any 
	permit tcp 192.168.1.0 0.0.0.255 any eq 80 state new
	permit tcp 192.168.1.0 0.0.0.255 any eq 110 state new
	permit tcp host 192.168.1.25 any eq 25 state new
	deny any any 
	access-list 101
	permit tcp any any state established,related
	deny any any 
	RAPIRA: show access-list 101
	access-list 101
	permit tcp any any state established,related
	deny any any
	

Отложено позиций: 0
Просмотреть