DXS-1210 Series Smart Managed Switch CLI Reference Guide
42
This example shows how to apply the MAC accesslist daily-profile to Ethernet port 5/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# mac access-group daily-profile in
The remaining applicable MAC access entries are 204
Switch(config-if)#
4-12
mac access-list
This command is used to create or modify an MAC access list and this command will enter the MAC
access list configuration mode. Use the no form of this command todelete a MAC accesslist.
mac access-list extended NAME [NUMBER]
no mac access-list extended {NAME | NUMBER}
Parameters
NAME
Specifies the name of the MAC access-list to be configured. The
maximum length is 32 characters.
NUMBER
Specifies the ID number of the MAC access list, For extended MAC
access lists, this value is from 6000 to 7999.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to enter the MAC access-list configuration mode and use the permit or deny
command to specify the entries. The name must be unique among all access lists. The characters of
the name are case sensitive.If the accesslist number is not specified, the biggest unused number in
the range of the MAC access list numbers will be assigned automatically.
Example
This example shows how to enter the MAC accesslist configuration mode for a MAC access list
named “daily profile”.
Switch# configure terminal
Switch(config)#mac access-list extended daily-profile
Switch(config-mac-ext-acl)#
4-13
permit | deny (expert access-list)
This command is used to add a permit or deny entry. Use the no form of this command toremove an
entry.
Extended Expert ACL:
rule [SEQUENCE-NUMBER] {permit | deny} PROTOCOL {SRC-IP-ADDR SRC-IP-WILDCARD |
host SRC-IP-ADDR | any} {SRC-MAC-ADDR SRC-MAC-WILDCARD | host SRC-MAC-ADDR |
Содержание DXS-1210-10TS
Страница 1: ......
Страница 246: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 243 ...
Страница 260: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 257 ...