![SNR S2940-8G-v2 Configuration Manual Download Page 285](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630285.webp)
SNR S2940-8G-v2 Switch Configuration Guide
ACL Configuration
(f) Creates a numbered MAC extended access-list
Command
Explanation
Global Mode
access-list<num> { deny | permit } { any-
source-mac | { host-source-mac<host_smac> }
| { <smac><smac-mask> } } { any-destination-
mac | { host-destination-mac<host_dmac> } |
{ <dmac><dmac-mask> } } [ { untagged-eth2
| tagged-eth2 | untagged-802-3 | tagged-802-
3 } [ <offset1> <length1> <value1> [ <off-
set2> <length2> <value2> [ <offset3> <length3>
<value3> [ <offset4> <length4> <value4> ]]]]]
no access-list <num>
Creates
a
numbered
MAC
extended
access-list,
if
the
access-list
already
exists, then a rule will add to the current
access-list; the 'no access-list <num>' com-
mand deletes a numbered MAC extended
access-list.
(g) Configuring a extended MAC access-list based on nomenclature
i. Create an extensive MAC access-list based on nomenclature
Command
Explanation
Global Mode
mac-access-list extended <name>
no mac-access-list extended <name>
Creates an extended name-based MAC ac-
cess rule for other IP protocols; the no
form command deletes this name-based
extended MAC access rule.
ii. Specify multiple 'permit' or 'deny' rule entries
Command
Explanation
Extended name-based MAC access rule Mode
[no] { deny | permit } { any-source-mac | { host-
source-mac <host_smac> } | { <smac><smac-mask>
}
}
{
any-destination-mac
|
{
host-destination-mac
<host_dmac> } | { <dmac> <dmac-mask> } } [cos
<cos-val>
[<cos-bitmask>]
[vlanId
<vid-value>
[<vid-
mask>][ethertype<protocol>[<protocol-mask>]]]]
[no] { deny | permit } { any-source-mac | { host-source-
mac<host_smac> } | { <smac><smac-mask> } } { any-
destination-mac | { host-destination-mac<host_dmac> } | {
<dmac><dmac-mask> } } [ethertype <protocol> [<protocol-
mask>]]
[no] { deny | permit } { any-source-mac | { host-source-
mac<host_smac> } | { <smac><smac-mask> } } { any-
destination-mac | { host-destination-mac<host_dmac> }
| { <dmac><dmac-mask> } } [vlanid <vid-value> [<vid-
mask>][ethertype <protocol> [<protocol-mask>]]]
Creates an extended name-
based MAC access rule match-
ing MAC frame; the no form
command deletes this name-
based extended MAC access
rule.
285
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...