
Access Control List (ACL) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
38.9
Mode
Configure mode
Usage
This command creates an access list for use with hardware classification, such as when applying
QoS. This command can be used to match ICMP packets, IP protocols, or TCP/UDP packets.
For ICMP packets, the <3000-3699> range IP hardware access-list will match any ICMP packet
that has the specified soure and destination IP addresses and ICMP type.
You may apply the
any
parameter if the source or destination IP address is not important. The
ICMP type is an optional parameter.
Examples
Follow the below example commands to configure access-lists for ICMP, IP protocol and TCP.
ICMP
To create an access list that will permit ICMP packets with a source address of 192.168.1.0/24
with any destination address and an ICMP type of 5 issue the below example commands:
To destroy the access list with an access list identity of 3000 issue the below example
commands:
IP protocol
To create an access list that will permit any type of IP packet with a source address of
192.168.1.1 and any destination address, issue the example commands:
To create an access list that will deny all IGMP packets (IP protocol 2) from the 192.168.0.0
network, issue the example commands:
TCP
To create an access list that will permit TCP packets with a destination address of 192.168.1.1,
a destination port of 80 and any source address and source port, issue the example commands:
Related Commands
show running-config
show ip access-list
awplus#
configure terminal
awplus(config)#
access-list 3000 permit icmp 192.168.1.0/24 any
icmp-type 5
awplus#
configure terminal
awplus(config)#
no access-list 3000
awplus#
configure terminal
awplus(config)#
access-list 3000 permit ip 192.168.1.1/32 any
awplus#
configure terminal
awplus(config)#
access-list 3000 deny proto 2 192.168.0.0/16 any
awplus#
configure terminal
awplus(config)#
access-list 3000 permit tcp any 192.168.1.1/32 eq 80
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......