www.stephen-tele.com
5
Tree Structure
5.1.1
account
path: <account>#
[stop]start Syslog
---syslog [no] start
Configure Syslog server address and port ---syslog server –ip x.x.x.x _port xxx
Example:
#<config-account-syslog>#server –ip 202.112.20.10
Show syslog settings ---syslog show
Show all account settings ---show
5.1.2
config
accesslist firewall config
path: <config-accesslist>#
add firewall rule ---entry –I/O xxx –P/D xxx –proto xxx –srcaddr x.x.x.x
–srcmask x.x.x.x–desaddr x.x.x.x –desmask x.x.x.x –portrange xxx –portnum xxx
Example:
<config-accesslist>#entry –I/O input –P/D deny –proto udp –straddr 202.112.10.1
–srcmask 255.255.255.0 –desaddr 210.25.132.1 –desmask 255.255.255.0 –portrange neq
–portnum 5060
delete firewall rule ---no entry –I/O xxx –index xxx
Example :
<config-accesslist>#no entry –I/O input –index 1
Show firewall settings
---show
[disable] enable input filter ---[no]in-access
[disable] enable output filter ---[no]out-access
DHCP
path:
<config-dhcp>#
add DHCP rule
---entry –name xxx –startip x.x.x.x –endip x.x.x.x
–netmask x.x.x.x –gateway x.x.x.x –dnsserver x.x.x.x _time xxx
Example:
<config-dhcp>#entry –name lan2004 –startip 192.168.1.2 –endip 192.168.1.254
–netmask 255.255.255.0 –gateway 192.168.1.1 –dnsserver 192.168.10.18
delete DHCP rule
---no entry –name xxx
Example:
<config-dhcp>#no entry –name lan2004
Show DHCP settings ---show
[disable]enable DNS-relay ---[no]dns-relay
dialrule
path:
<config-dialrule>#
[disable] enable End with # ---[no]endchar
Set end with fix length ---fixlen xxx
Disable end with fix length ---no fixlen
Set timeout to send
---timeout-send xxx
Disable timeout to send
---no timeout-send
Add digital map
---entry –prefix xxx –length xxx
Example:
<config-dialrule>#entry –prefix 010 –length 11
Delete digital map rule ---no entry –prefix xxx
Example:
<config-dialrule>#no entry –prefix 010
Show current digital map ---show
LAN interface settings
path:
<config-interface-fastethernet-lan>#
[disable]enable bridge mode
---[no]bridgemode
[disable]enable DHCP service ---[no]dhcp-server
[disable]enable NAT ---[no]nat