beautypg.com

11 remark – CANOGA PERKINS 9175 Command Reference User Manual

Page 598

background image

CanogaOS Command Reference

33-7

[time-range time-range-name] [stats]

<1-2147483646>: the sequence number of the filter in MAC ACL. An auto-generated sequence number

will be assigned to the filter if this field is not presented.

src-mac: source MAC address

any: any host

mac mask: the mac address and its wildcard bits

host mac: the host with a specified MAC address

dst-mac: destination MAC address

vlan vlan: vlan-id, <1-4094>

cos value: CoS, <0-7>

protocol: the protocol type including ARP, RARP, MPLS, MPLS-MCAST

type: the L2 type including ETH2, SNAP, SAP

time-range: the time-range used by the MAC filter

stats: statistic function will be enabled if this field is presented

Command Mode

MAC ACL configuration

Usage

An auto-generated sequence number will be assigned to the filter if the sequence-num field is not

presented. The auto-generated sequence number is incremented by 10 on the maximum existing

sequence number in the MAC ACL. i.e. when the maximum existing sequence number is 100, the

sequence number of subsequent created MAC filter is 110

Examples

This example shows how to create a filter in MAC ACL to permit the packets with source MAC address

001A.A02C.A1DF.

Switch(config-mac-acl)# 1 permit src-mac host 001A.A02C.A1DF

This example shows how to create a filter in MAC ACL to permit all the packets.

Switch(config-mac-acl)# 2 permit src-mac any

This example shows how to create a filter in MAC ACL to permit the packets with source MAC address

between the ranges specified.

Switch(config-mac-acl)# 3 permit src-mac 001A.A02C.A1DF 001A.A02C.0000

Related Commands

deny

33.11 remark

Use this command to add remarks for the MAC ACL.

To remove remarks of the MAC ACL, use the no form of this command.

Command Syntax

remark remark

no remark