beautypg.com

Mac filter entry commands, Action, Forward – Alcatel-Lucent 7750 SR OS User Manual

Page 372: Http-r

background image

Page 372

7750 SR OS Router Configuration Guide

MAC Filter Entry Commands

action

Syntax

action [drop]
action forward [sap sap-id |sdp sdp-id]
action http-redirect url
no action

Context

config>filter>mac-filter>entry

Description

This command configures no action, drop or forward for a MAC filter entry. The action keyword
must be entered for the entry to be active. Any filter entry without the action keyword will be
considered incomplete and will be inactive.

If neither drop nor forward is specified, this is considered a No-Op filter entry used to explicitly set a
filter entry inactive without modifying match criteria or removing the entry itself.

Multiple action statements entered will overwrite previous actions parameters when defined. To
remove a parameter, use the no form of the action command with the specified parameter.

The no form of the command removes the specified action statement. The filter entry is considered
incomplete and hence rendered inactive without the action keyword.

Default

No action is specified, thus rendering the entry inactive.

Parameters

drop — Specifies packets matching the entry criteria will be dropped.

forward — Specifies packets matching the entry criteria will be forwarded. Only Ethernet SAPs are

supported (including q-in-q, BCP, bridged Ethernet in Frame Relay or ATM).

If neither drop nor forward is specified, the filter action is no-op and the filter entry is inactive.

sap sap-idSpecifies the physical port identifier portion of the SAP definition.

Values

sap-id:

null

[port-id | bundle-id | lag-id | aps-id]

dot1q

[port-id | bundle-id | lag-id | aps-id]:qtag1

qinq

[port-id | bundle-id | lag-id]:qtag1.qtag2

atm

[port-id | bundle-id][:vpi/vci | vpi | vpi1.vpi2]

frame [port-id | bundle-id]:dlci
cisco-hdlc

slot/mda/port.channel

ima-grp

bundle-id[:vpi/vci | vpi | vpi1.vpi2]

port-id

slot/mda/port[.channel]

aps-id aps-group-id[.channel]

aps

keyword

group-id

1 — 64

bundle-type-slot/mda.bundle-num

bundle

keyword

type

ima, ppp

bundle-num 1 — 128

ccag-id

ccag-id.path-id[cc-type]:cc-id
ccag keyword