Table 163. Permit Acls Ipv4 Packets Example - Allied Telesis AT-8100L/8 User Manual

Fast ethernet switches at-8100 series management software command line interface user’s guide alliedware plus version 2.2.5
Hide thumbs Also See for AT-8100L/8:
Table of Contents

Advertisement

Table 163. Permit ACLs IPv4 Packets Example

Command
awplus> enable
awplus# configure terminal
awplus(config)# access-list 3021
permit ip 149.124.242.52/32 any
awplus(config)# access-list 3022
permit ip 149.124.242.53/32 any
awplus(config)# access-list 3023
permit ip 149.124.242.54/32 any
awplus(config)# access-list 3018 deny
ip any any
awplus(config)# interface port1.0.21,
port1.0.22
awplus(config_if)# access-group 3021
awplus(config_if)# access-group 3022
awplus(config_if)# access-group 3023
awplus(config_if)# access-group 3018
awplus(config_if)# end
awplus# show access-list
awplus# show interface
port1.0.21,port1.0.22 access-group
Note
The permit ACLS are added to the ports before the deny ACL to
ensure that packets are compared against them first.
AT-8100 Switch Command Line User's Guide
Description
Enter the Privileged Executive
mode from the User Executive
mode.
Enter the Global Configuration
mode.
Create the three permit ACLs with
the ACCESS-LIST command.
Create the deny ACL.
Move to the Port Interface mode
for ports 21 and 22.
Add the ACLs to the port with the
ACCESS-GROUP command,
being sure to add the permit ACLs
first so that ingress packets are
compared against them first.
Return to the Privileged Exec
mode.
Confirm the configuration of the
ACLs.
Confirm that the ACLs have been
added to the port.
1525

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents