45
Show LAN port IP address ---ipshow
Show NAT info ---natshow
Change LAN port IP address ---ip –addr x.x.x.x –mask x.x.x.x
Example:<config-interface-fastethernet-lan>#ip –addr 192.168.1.10 –mask 255.255.255.0
¾ WAN interface settings
path: <config-interface-fastethernet-wan>#
[disable]enable dhcp client ---[no]dhcp
[disable]enable pppoe ---[no]pppoe
[disable]enable QOS ---[no]qos
Set default gateway IP ---gateway x.x.x.x
Clear default gateway IP ---no gateway
Set WAN port IP address ---ip –address x.x.x.x -mask x.x.x.x
Example:<config-interface-fastethernet-wan>#ip –addr 202.112.241.100 –mask 255.255.255.0
You need to reconnect if the WAN port has been changed.
Show WAN port settings ---show
¾ MMI Filter
path: <config-mmifilter>#
add filter rule ---entry –start x.x.x.x –end x.x.x.x
Example:<config-mmifilter>#entry –start 202.112.20.1 –end 202.112.20.255
Delete filter rule ---no entry –start x.x.x.x
Example:<config-mmifilter>#no entry –start 202.112.20.1
Show filter rule ---show
[disable]enable MMI filter ---[no]start-filter
¾ NAT settings
path: <config-nat>#
[disable]enable ftp alg ---[no]ftpalg
[disable]enable ipsec alg ---[no]ipsecalg
[disable]enable pptp alg ---[no]pptpalg
Add TCP mapping rule ---tcp-entry –ip x.x.x.x –lanport xxx –wanport xxx