33 match access-group, 34 policy-map – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 648

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 648 of 855

This command is used to define the match criterion for the traffic.

Examples

Create a class-map
Switch(config)#class-map match-any cm1
Remove a class-map
Switch(config)#no class-map cm1

Related Commands

Show class-map (NAME|)

32.33 match access-group

Use this command to configure an access-list for match criterion.

Command Syntax

(no)Match access-group NAME
match: configure classification criteria
access-group: configure access list
NAME: Specify an access-list name

Command Mode

Class-map mode

Usage

Use access-list for match criterion in a class-map.

Examples

Switch(config)#class-map match-any cm2
Configure an access-list match criterion
Switch(config-cmap)#match access-group acl1
Remove an access-list match criterion
Switch(config-cmap)#no match access-group acl1

Related Commands

32.34 policy-map

Use the policy-map global configuration command to create or modify a policy map that can be
attached to multiple interfaces and to enter policy-map configuration mode.

Command Syntax

Advertising