User Manual
55
8.4 Net Configuration
8.4.1 LAN interface Settings
Path: <config-interface-fastethernet-lan>#
Function Command
[disable]enable bridge mode
[no]bridgemode
[disable]enable DHCP service
[no]dhcp-server
[disable]enable NAT
[no]nat
Show current DHCP rules
dhcpshow
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 interfact fastethernet lan
<config-interface-fastethernet-lan>#ip –addr 192.168.1.10 –mask 255.255.255.0
8.4.2 WAN Interface Settings
path: <config-interface-fastethernet-wan>#
Function Command
[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 –addr x.x.x.x _mask x.x.x.x
Show WAN port settings
show
Example:
# config interface fastethernet wan
<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.
8.5 Net Service
path: <config-netservice>#
Function Command
Set DNS address
dns -ip x.x.x.x _domain xxx
Set alternate DNS address
alterdns -ip x.x.x.x
Set hostname
hostname xxx
Set http access port
http-port xxx
Show http access setting
http-port
Set telnet access port
telnet-port xxx
Show telnet access port
telnet-port
Set RTP initial port and
quantity
media-port –startport xxx –number xxxx
Add route rule
route –gateway x.x.x.x –addr x.x.x.x –mask x.x.x.x
Delete route rule
no route –gateway x.x.x.x –addr x.x.x.x –mask x.x.x.x
Show route info
Route
Show netservice info
show
Example:
#config netservice
<config-netservice>#dns –ip 202.112.10.36 _domain voip.com