Match Access-Group - Allied Telesis CentreCOM FS980M/9 Command Reference Manual

Centrecom fs980m series fast ethernet managed access switches alliedware plus version 5.4.7-0.x
Hide thumbs Also See for CentreCOM FS980M/9:
Table of Contents

Advertisement

Q
S C
O
OMMANDS
-
MATCH ACCESS
GROUP

match access-group

Overview
Use this command to apply an ACL to a class-map.
Use the no variant of this command to remove the match.
Syntax
match access-group {<hw-IP-ACL>|<hw-MAC-ACL>|<hw-named-ACL>}
no match access-group
{<hw-IP-ACL>|<hw-MAC-ACL>|<hw-named-ACL>}
Mode
Class Map
Usage
First create an access-list that applies the appropriate action to matching packets.
Then use the match access-group command to apply this access-list as desired.
Note that this command will apply the access-list matching only to incoming data
packets.
Examples
To configure a class-map named "cmap1", which matches traffic against access-list
3001, which allows IP traffic from any source to any destination, use the
commands:
awplus#
awplus(config)#
awplus(config)#
awplus(config-cmap)#
To configure a class-map named "cmap2", which matches traffic against access-list
4001, which allows MAC traffic from any source to any destination, use the
commands:
awplus#
awplus(config)#
awplus(config)#
awplus(config-cmap)#
613-50157-01 Rev C
Parameter
Description
<hw-IP-ACL>
Specify a hardware IP ACL number in the range <3000-3699>.
<hw-MAC-ACL>
Specify a hardware MAC ACL number in the range <4000-4699>.
<hw-named-ACL>
Specify a hardware named ACL (IP, IPv6 or MAC address entries).
configure terminal
access-list 3001 permit ip any any
class-map cmap1
configure terminal
access-list 4001 permit any any
class-map cmap2
Command Reference for FS980M Series
AlliedWare Plus™ Operating System - Version 5.4.7-0.x
match access-group 3001
match access-group 4001
858

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents