Moxa PM-7200-6MSC [12/155] Acl id mac base

Moxa PT-508-2MTRJ-48 [12/155] Acl id mac base
Moxa Command Line Interface (FW_4.x) Commands
2-3
acl id mac-base
NOTE
The command
is supported only in Layer 3 switches
Use the acl id mac-base global configuration commands on the switch to create an MAC-base ACL and add
rules. Use the no form of this command to remove the rule.
Commands
acl id mac-base { permit | deny } srcmac [ dstmac] [ ethertype ] [ vid ]
acl id mac-base name name_str
no acl id
no acl id rule ruleindex
Syntax
Description
Acl Configure access control list
Id Set ACL ID
mac-base MAC-base ACL
permit Forward packets
Deny Drop packets
srcmac Set source MAC address and MAC mask. Ex:
00:90:E8:1D:24:23/FF:FF:FF:FF:00:00 or 00:90:E8:1D:24:23
dstmac Set destination IP address and subnet mask. Ex:
192.168.1.1/255.255.255.0 or 192.168.127.1
ethertype Set ether type
Vid Set VLAN ID
name_str ACL name
Defaults N/A
Command
Modes
Global configuration
Usage
Guidelines
The ACL ID is 1 ~ 100.
Examples
PT-7828(config)# acl 10 mac-base deny 00:11:22:33:44:55/ff:ff:ff:00:00:00
aa:bb:cc:dd:ee:ff/ff:ff:00:00:00:00 2048 10
Error messages Invalid ID!
This ID is used by IP-base ACL!
Invalid MAC address format!
Invalid MAC mask format!
Related
commands
area
Use the area command in Router configuration mode as OSPF to add an OSPF area and configure its type. Use
the no form of this command to remove the area.
Commands
area area-id [ { stub | nssa } metric value ]
no area area-id
Syntax
Description
area Configure OSPF Area
area-id OSPF Area id, format is ip address
stub Configure OSPF area type to stub
nssa Configure OSPF area type to NSSA
metric Configure OSPF area metric
value Metric value ( 1 to 65535)
Defaults N/A

Содержание

Похожие устройства

Скачать