Moxa TN-5510A-2GTX-WV-CT-T [11/148] Acl id ip base

Moxa TN-5510A-2GTX-WV-CT-T [11/148] Acl id ip base
Moxa Command Line Interface Commands
2-2
Usage
Guidelines
N/A
Examples
PT-7828(config-if)# acl 10 in
PT-7828(config-if)# no acl 10
Error
messages
Invalid ID!
Related
commands
acl id ip-base
NOTE
The command is supported only in Layer 3 switches
Use the acl id ip-base global configuration commands on the switch to create an IP-base ACL and add rules.
Use the no form of this command to remove the rule.
Commands
acl id ip-base { permit | deny } srcip [ dstip] [ protocol ] [ port ]
acl id ip-base name name_str
no acl id
no acl id rule ruleindex
Syntax
Description
acl Configure access control list
Id Set ACL ID
ip-base IP-base ACL
permit Forward packets
deny Drop packets
srcip
Set source IP address and subnet mask. Ex: 192.168.1.1/255.255.255.0 or
192.168.127.1
dstip Set destination IP address and subnet mask. Ex: 192.168.1.1/255.255.255.0
or 192.168.127.1
protocol Set protocol number, Ex: ICMP, TCP, UDP, etc.
port Set TCP/UDP port number
name_str ACL name
Defaults N/A
Command
Modes
Global configuration
Usage
Guidelines
The ACL ID is 1 ~ 16.
Examples
PT-7828(config)# acl 8 ip-base permit 172.3.1.1/255.255.255.0
201.16.9.7/255.255.0.0 6 23
Error
messages
Invalid ID!
This ID is used by MAC-base ACL!
Invalid IP address format!
Invalid subnet mask format!
Related
commands
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.

Содержание

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

Скачать