Router(config)#access-list 10 permit 192.168.10.0 0.0.0.255
Router(config)#access-list 10 permit 192.168.20.0 0.0.0.255
Router(config)#ip access-list ?
extended Extended Access List
standard Standard Access List
Router(config)#ip access-list standard ?
<1-99> Standard IP access-list number
WORD Access-list name
Router(config)#ip access-list standard 10
Router(config-std-nacl)#5 permit ?
A.B.C.D Address to match
any Any source host
host A single host address
Router(config-std-nacl)#5 permit 192.168.30.0 0.0.0.255
Router(config-std-nacl)#end
Router#show access-list
Standard IP access list 10
5 permit 192.168.30.0 0.0.0.255
10 permit 192.168.10.0 0.0.0.255
20 permit 192.168.20.0 0.0.0.255
Router#show ip access-list
Standard IP access list 10
5 permit 192.168.30.0 0.0.0.255
10 permit 192.168.10.0 0.0.0.255
20 permit 192.168.20.0 0.0.0.255
Router(config)#ip access-list ?
extended Extended Access List
standard Standard Access List
Router(config)#ip access-list standard 10
Router(config-std-nacl)#no 10
Router(config-std-nacl)#end
Router#show ip access-list
Standard IP access list 10
5 permit 192.168.30.0 0.0.0.255
20 permit 192.168.20.0 0.0.0.255
Router#show access-list
Standard IP access list 10
5 permit 192.168.30.0 0.0.0.255
20 permit 192.168.20.0 0.0.0.255
No comments:
Post a Comment