Moxa EDR-810-VPN-2GSFP [37/74] Command sets

Moxa EDR-G903 [37/74] Command sets
CLI Command Set User's Manual NAT, VPN, and Firewall Functions
3-3
Command Sets
Setting Check
Category Commands
Enable/Disable router(config)# settingcheck firewall
router(config)# no settingcheck firewall
router(config)# settingcheck nat
router(config)# no settingcheck nat
router(config)# settingcheck access-ip
router(config)# no settingcheck access-ip
router(config)# settingcheck l2-filter
router(config)# no settingcheck l2-filter
Manual setting router(config)# settingcheck timer seconds
Display settings router# show settingcheck
NAT
Category Commands
Display settings router# show ip nat
Rule settings Default:
The new rule is appended to the last rule if the index field of command is not set,
and it enables by default.
1-1:
router(config)# ip nat static inside lan ip-address outside wan wanID ip-address
[index]
N-1:
router(config)# ip nat dynamic inside lan ip-address1 ip-address2 outside wan
{wanID | auto} [index]
Port Forwarding:
router(config)# ip nat static {all | tcp | udp} inside lan ip-address port outside
wan wanID port [index]
Enable/Disable/Delete rules router(config)# ip nat index {enable | disable}
router(config)# no ip nat index
Policy Setting
Category Commands
Display settings router# show firewall
Create/Enter policy
configuration mode
Default: enable
router(config)# firewall index
Policy settings Default:
The default value of the action is “accept”. The default value of the mode is IP.
The default values of the protocol, IP, port and interface are all. The policy is
enabled by default.
router(config-firewall)# action {accept | drop}
router(config-firewall)# mode {IP | MAC}
router(config-firewall)# protocol {all | tcp | udp | icmp}
router(config-firewall)# src-ip all

Содержание

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

Скачать
Случайные обсуждения