DES-7200 CLI Reference Guide
Chapter 54 ACL Configuration Commands
54-21
Usage
guidelines
N/A.
Examples
The following example shows how to create and display an extended
expert ACL. This expert ACL denies all the TCP packets with the
source IP address 192.168.4.12 and the source MAC address
001300498272.
DES-7210(config)#expert access-list extended
2702
DES-7210(config-exp-nacl)#
deny tcp host
192.168.4.12
host
0013.0049.8272
any any
DES-7210(config-exp-nacl)#
permit any any any any
DES-7210(config-exp-nacl)#
show access-lists
expert access-list extended 2702
10 deny tcp host 192.168.4.12 host 0013.0049.8272 any any
20 permit any any any any
DES-7210(config-exp-nacl)#
This example shows how to use the extended IP ACL. The purpose is
to deny the host with the IP address 192.168.4.12 to provide services
through the TCP port 100 and apply the ACL to Interface 1. The
configuration procedure is as below:
DES-7210(config)#
ip access-list extended
ip
-
ext
-
acl
DES-7210(config-ext-nacl)#
deny tcp host
192.168.4.12
eq
100
any
DES-7210(config-ext-nacl)#
show access-lists
ip access-list extended
ip
-
ext
-
acl
10 deny tcp host 192.168.4.12 eq 100 any
DES-7210(config-ext-nacl)#
exit
DES-7210(config)#interface gigabitethernet
1/1
DES-7210(config-if)#
ip access-group
ip
-
ext
-
acl
in
DES-7210(config-if)#
This example shows how to use the extended MAC ACL. The
purpose is to deny the host with the MAC address 0013.0049.8272 to
send Ethernet frames of the type 100 and apply the rule to Interface
1. The configuration procedure is as below:
DES-7210(config)#mac access-list extended
mac1
DES-7210(config-mac-nacl)#
deny host
0
013.0049.8272
any aarp
DES-7210(config-mac-nacl)#
show access-lists
mac access-list extended
mac1
10 deny host 0013.0049.8272 any aarp
DES-7210(config-mac-nacl)#
exit
DES-7210(config)# interface gigabitethernet
1/1
DES-7210(config-if)#
mac access-group
mac1
in
This example shows how to use the standard IP ACL. The purpose is
Summary of Contents for DES-7200
Page 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Page 40: ......
Page 70: ......
Page 76: ......
Page 80: ......
Page 114: ......
Page 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Page 142: ......
Page 166: ......
Page 180: ......
Page 216: ......
Page 244: ......
Page 306: ......
Page 312: ......
Page 332: ......
Page 352: ......
Page 360: ......
Page 400: ......
Page 474: ......
Page 710: ......
Page 738: ......
Page 776: ......
Page 854: ......
Page 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Page 936: ......
Page 960: ......
Page 970: ......
Page 976: ......
Page 986: ......
Page 990: ......
Page 1100: ......
Page 1108: ......
Page 1118: ......
Page 1126: ......
Page 1134: ......
Page 1172: ......