Sie sind auf Seite 1von 37

Realtek 867x ADSL2+

User Manual
1







867x ADSL2+ Router
Cli User Manual
Realtek 867x ADSL2+
User Manual
2


Realtek 867x ADSL2+
User Manual
3


Contents

1 Introduction .............................................................................................................................................. 5

1.1 Intended Audience .................................................................................................................. 5

1.2 Definitions Of Terms Used In This Document......................................................................... 5

1.3 Acronyms Used Throughout This Document.......................................................................... 5

1.4 Usage Instructions .................................................................................................................. 5

1.5 Questions Or Comments On This Document ......................................................................... 5

2 Command Line Interface Overview.......................................................................................................... 6

3 Config ....................................................................................................................................................... 7

3.1 acl ........................................................................................................................................... 8

3.2 bridge ...................................................................................................................................... 9

3.3 reset ...................................................................................................................................... 10

3.4 dhcp .......................................................................................................................................11

3.5 dns ........................................................................................................................................ 12

3.6 dmz ....................................................................................................................................... 13

3.7 domainblock.......................................................................................................................... 14

3.8 igmpproxy ............................................................................................................................. 15

3.9 ipqos ..................................................................................................................................... 16

3.10 ipportfilter .............................................................................................................................. 17

3.11 lan ......................................................................................................................................... 18

3.12 macfilter ................................................................................................................................ 19

3.13 account ................................................................................................................................. 20

3.14 portforward............................................................................................................................ 21

3.15 portbind ................................................................................................................................. 22

3.16 rip .......................................................................................................................................... 23

3.17 route ...................................................................................................................................... 24

3.18 save ...................................................................................................................................... 25

3.19 snmp ..................................................................................................................................... 26

3.20 tr069 ...................................................................................................................................... 27

3.21 upnp ...................................................................................................................................... 28

3.22 urlblock.................................................................................................................................. 29

3.23 wan ....................................................................................................................................... 30

4 debug ..................................................................................................................................................... 32

5 exit .......................................................................................................................................................... 33

6 reboot ..................................................................................................................................................... 34

7 sh............................................................................................................................................................ 35

8 show ....................................................................................................................................................... 36
Realtek 867x ADSL2+
User Manual
4

Realtek 867x ADSL2+
User Manual
5






1 Introduction

The ADSL2+ Router Cli user manual contains the guidance to configure Realtek RTL867x
ADSL2+ Ethernet Router using console or Telnet terminal.


1.1 Intended Audience

This manual is intended for end users to access ADSL broadband service, and will be of
interest to engineers and product managers of ODM/OEMs, Realteks DSL router
customers.

1.2 Definitions Of Terms Used In This Document

None.


1.3 Acronyms Used Throughout This Document

None.


1.4 Usage Instructions

None.


1.5 Questions Or Comments On This Document

Questions or comments on this document please contact RealTek Semiconductor Corp..
Realtek 867x ADSL2+
User Manual
6






2 Command Line Interface Overview

After inputting correct username and password, you will enter command line interface.
The following is the root command list:


Command Description
config Configure system settings
debug Open some debug log
exit Exit command line interface
\t

Help information
reboot Reboot system
sh Enter linux shell
show Show system status and information


Inputting the above commands, you may see the subordinate commands and help
information. Now we give one command example for convinence:


config routing add destination 192.168.2.0 mask 255.255.255.0 next_hop
192.168.3.254 metric 4 interface vc0 enabled 1


This command is used to add static route. The bold words are command, the italic
words are parameter names, and the underlined words are parameter values. For this
command, parameter interface is optional, and we will brace optional parameters with [
and ] in the following command description.
Realtek 867x ADSL2+
User Manual
7






3 Config

config command is used to configure system. The following are its subcommands:


Command Description
acl Configure access control list
bridge Set bridging ageing time and STP
reset Restore to default setting
dhcp Configure DHCP
dmz Configure DMZ
dns Configure DNS
domainblock Domain blocking
igmpproxy Configure IGMP proxy
ipqos Configure IP QoS
ipportfilter IP port filtering
lan Configure LAN interface
macfilter Set MAC filtering
password Set password
portforward Set port forwarding
portbind Set port mapping
remoteaccess Configure remote access
rip Configure RIP
route Add/Delete routes
save Save configuration
snmp Configure SNMP
tr069 Configure TR069
upnp Configure UpnP
urlblock Set URL blocking
wan Configure WAN interface
Realtek 867x ADSL2+
User Manual
8





3.1 acl



Command Description
add Add access control list entry
delete Delte access control list entry
disable Disable access control list feature
enable Enable access control list feature


The following is command detail:


config acl add ip ***.***.***.*** mask ***.***.***.*** interface string service [wanport port]

enable/disable

interface: LAN or WAN

service: ftp http telnet ping snmp tftp

port: if service is ping, snmp, tftp or interface type is LAN, port cant be set, otherwise port
should be set
config acl delete index number

index: the deleted entrys index in ACL table

config acl disable

config acl enable
Realtek 867x ADSL2+
User Manual
9





3.2 bridge

config bridge [aging number] [stp on|off]

aging: unit: seconds

stp: on(enable); off(disable)
Realtek 867x ADSL2+
User Manual
10




3.3 reset

config reset


This command will set system to default setting and system will restart.
Realtek 867x ADSL2+
User Manual
11





3.4 dhcp



Command Subcommand Description
ipreserve add Assign IP address to designated MAC
delete Delete assigned IP
mode none Disable DHCP function
relay Set to DHCP relay mode
server Set to DHCP server mode
relay

Set DHCP relay server IP
server

Set DHCP server parameter


The following is command detail:


config dhcp ipreserve add ip ***.***.***.*** mac ##:##:##:##:##:##

config dhcp ipreserve delete ip ***.***.***.***
config dhcp mode none

config dhcp mode relay

config dhcp mode server

config dhcp relay server ***.***.***.***

config dhcp server [poolstart number poolend number] [gateway ***.***.***.***] [leasetime

number] [domainname string]
Realtek 867x ADSL2+
User Manual
12




3.5 dns


Command Subcommand Description
server auto Attain DNS automatically
[ip] Set DNS manually


The following is command detail:


config dns server auto

config dns server [***.***.***.***] [***.***.***.***] [***.***.***.***]
Realtek 867x ADSL2+
User Manual
13




3.6 dmz


Command Description
disable Disable DMZ feature
enable Enable DMZ feature
host Set DMZ host IP address


The following is command detail:


config dmz disable

config dmz enable

config dmz host ***.***.***.***
Realtek 867x ADSL2+
User Manual
14




3.7 domainblock


Command Description
add Add blocked domain name
delete Delte blocked domain name
disable Disable domain blocking feature
enable Enable domain blocking feature


The following is command detail:


config domainblock add domainname string

config domainblock delete domainname string

config domainblock disable

config domainblock enable
Realtek 867x ADSL2+
User Manual
15




3.8 igmpproxy


Command Description
disable Disable IGMP proxy
enable Enable IGMP proxy
interface Set IGMP proxy interface, which denoted by interface name


The following is command detail:


config igmpproxy disable

config igmpproxy enable

config igmpproxy interface string
Realtek 867x ADSL2+
User Manual
16




3.9 ipqos


Command Subcommand Description
default 802.1p Set default Qos based on 802.1p
ippred Set default Qos based on IP precedence
stream Set default Qos based on stream
disable

Disable IP QoS feature
enable

Enable IP QoS feature
rule add Add IP QoS rule
delete Delete IP QoS rule


The following is command detail:


config ipqos default 802.1p

config ipqos default ippred

config ipqos default stream

config ipqos disable

config ipqos enable

config ipqos rule add [srcip ***.***.***.***] [srcmask ***.***.***.***] [dstip ***.***.***.***] [dstmask

***.***.***.***] [protocol string [srcport number] [dstport number]] [phyport string] priority number

[802.1p number] [precedence number] [tos number]

protocol: TCP, UDP, ICMP

phyport: same as port name of port binding command

priority: 0(highest), 1, 2 or 3(lowest)

802.1p: from 0 to 7

precedence: from 0 to 7

tos: 0 (normal service)

1 (minimize cost)

2 (maximize reliability)

3 (maximize throughput)

4 (minimize delay)

config ipqos rule delete index number

index: the deleted entrys index in ipqos table
Realtek 867x ADSL2+
User Manual
17




3.10 ipportfilter


Command Description
add Add IP port filtering rule
delete Delete IP port filtering rule
default Set default action for IP port filtering


The following is command detail:


config ipportfilter add direction string [srcip ***.***.***.***] [srcmask ***.***.***.***] [dst_ip

***.***.***.***] [dst_mask ***.***.***.***] [protocol string [srcport number number] [dstport number

number]] action string

driection: incoming or outgoing

protocol: TCP, UDP or ICMP

action: deny or allow

config ipportfilter delete index number

index: the deleted entrys index in IP/port filter table

config ipportfilter default incoming string outgoing string

incoming: deny or allow

outgoing: deny or allow
Realtek 867x ADSL2+
User Manual
18




3.11 lan


Command Subcommand Description
igmpsnooping disable Disable IGMP snooping on LAN interface
enable Enable IGMP snooping on LAN interface
ip

Set LAN IP address


The following is command detail:


config lan igmpsnooping disable

config lan igmpsnooping enable

config lan ip ***.***.***.*** mask ***.***.***.*** [secondip ***.***.***.***] [secondmask ***.***.***.***]
Realtek 867x ADSL2+
User Manual
19




3.12 macfilter


Command Description
add Add MAC filtering rule
delete Delete MAC filtering rule
enable/disable Set default action for MAC filtering
mode Set macfilter mode


The following is command detail:
config macfilter add [srcmac ##:##:##:##:##:##] [dstmac ##:##:##:##:##:##]

config macfilter delete index number

index: the deleted entrys index in mac filter table

macfilter enable/disable

macfilter mode whiterlist/blacklist
Realtek 867x ADSL2+
User Manual
20




3.13 account

config account user string oldpasswd string newpasswd string
Realtek 867x ADSL2+
User Manual
21




3.14 portforward


Command Description
add Add port forwarding rule
delete Delte port forwarding rule
disable Disable port forwarding feature
enable Enable port forwarding feature


The following is command detail:


config portforward add protocol string string comment string localip ***.***.***.*** localport

number (interface string | publicip ***.***.***.***) pubport number

protocol: tcp, udp

enable, disable

interface: interface name, or any for all interfaces

config portforwarding delete index number

index: the deleted entrys index in port forwarding table

config portforwarding disable

config portforwarding enable
Realtek 867x ADSL2+
User Manual
22




3.15 portbind


Command Subcommand Description
disable

Disable port mapping feature
enable

Enable port mapping feature
group add Add interface to group1
delete Delete interface from group1


The following is command detail:
config portbind disable

config portbind enable

config portbind group number add port name string

config portbind group number delete port name string
Realtek 867x ADSL2+
User Manual
23




3.16 rip


Command Description
add Add interface to enable RIP on it
delete delete interface with RIP enabled on it
disable Disable RIP feature
enable Enable RIP feature


The following is command detail:


config rip add interface string recvmode string sendmode string

recvmode: RIP1, RIP2 or both

sendmode: RIP1, RIP2

config rip delete [interface string]

config rip disable

config rip enable
Realtek 867x ADSL2+
User Manual
24




3.17 route


Command Description
add Add static route
delete Delete static route


The following is command detail:


config routing add destination ***.***.***.*** mask ***.***.***.*** nexthop ***.***.***.*** metric

number [interface string] string

interface: interface name, or any for all interfaces

enable or disable

config routing delete destination ***.***.***.*** mask ***.***.***.***
Realtek 867x ADSL2+
User Manual
25




3.18 save

config save

This command used to save configuration to flash.
Realtek 867x ADSL2+
User Manual
26




3.19 snmp

config snmp enable/disable [descriptioin string] [contact string] [systemname string] [location

string] [objectid string] [trapip ***.***.***.***] [readcommunity string] [writecommunity string]
Realtek 867x ADSL2+
User Manual
27




3.20 tr069


Command Description
acs Set tr069 ACS server parameters
connectrequest Set connect request parameters
disable Disable TR069 feature
enable Enable TR069 feature


The following is command detail:


config tr069 acs [url string] [username string] [password string] [inform string] [interval

number]

inform: disable or enable

config tr069 connectrequest [username string] [password string] [path string] [port number]

config tr069 disable

config tr069 enable
Realtek 867x ADSL2+
User Manual
28




3.21 upnp


Command Description
disable Disable UPnP feature
enable Enable UPnP feature
interface Set UPnP interface, which denoted by interface name


The following is command detail:


config upnp disable

config upnp enable

config upnp interface [ string]
Realtek 867x ADSL2+
User Manual
29




3.22 urlblock


Command Description
add Add blocked URL, which can be one keyword or FQDN string
delete Delte blocked URL
disable Disable URL blocking feature
enable Enable URL blocking feature


The following is command detail:


config urlblock add (fqdn string | keyword string)

config urlblock delete (fqdn string | keyword string)

config urlblock disable

config urlblock enable
Realtek 867x ADSL2+
User Manual
30




3.23 wan


Command Subcommand1 Subcommand2 Description
adsl

Configure adsl settings
atm

Configure atm settings
interface add 1483bridge Create one 1483 bridged pvc
mer Create one mer pvc
1483routed Create one 1483 routed pvc
pppoa Create one pppoa pvc
pppoe Create one pppoe pvc




delete

Delete wan interface


The following is command detail:


config wan adsl [g.lite] [g.dmt] [t1.413] [adsl2] [adsl2+] [annexl] [annexm] [bitswap] [sra]

exist means support

config wan atm vpi number vci number qos string pcr number cdvt number [scr number] [mbs

number]

qos: ubr, cbr, rt-vbr or nrt-vbr
config wan interface add 1483bridge vpi number vci number encapsulation string1 string2

string1: llc or vcmux

string2: enable or disable, default enable, if non-exist of string1.

config wan interface add mer vpi number vci number encapsulation string1 napt on|off [dhcp|

static ip ***.***.***.***] [mask ***.***.***.***] [nexthop ***.***.***.***] [defaultgw on|off] [string2]

string1: string1, llc or vcmux

napt: on: napt mode enabled; off: napt mode disabled, just router behavior.

[dhcp]|[static+ip+mask+nexthop] you should select dhcp or static(ip+mask+nexthop) mode

defaultgw: on: act as default route interface, otherwise off.

string2: disable or enable

config wan interface add 1483routed vpi number vci number encapsulation string1 napt on|off
iptype string2 [ip ***.***.***.***] [mask ***.***.***.***] [nexthop ***.***.***.***] [defaultgw on|off]
string3
Realtek 867x ADSL2+
User Manual
31


string1: llc or vcmux

napt: on: act as napt mode, otherwise, just purely route mode.

iptype: string2, fixed: just normal static route mode; unnumbered: open ip
unnumbered features on this interface.
ip+mask+nexthop: to designate the related IP infos to interface.

Defaultgw: on, act as default route interface, otherwise off

string3: disable or enable, let this interface take effect or not.

config wan interface add pppoa vpi number vci number encapsulation string1 napt on|off

username string password string connecttype type [idletime number] defaultgw on|off string2

string1, llc or vcmux

napt: on: act as napt mode, otherwise, just purely route mode.

defaultgw: on, act as default route interface, otherwise off

type: continuous, ondemand or manual

string2: disable or enable, let this interface take effect or not.

config wan interface add pppoe vpi number vci number encapsulation string1 napt on|off

username string password string connecttype type [idletime number] defaultgw on|off string2

string1, llc or vcmux

napt: on: act as napt mode, otherwise, just purely route mode.

defaultgw: on, act as default route interface, otherwise off

type: continuous, ondemand or manual

string2: disable or enable, let this interface take effect or not.

config wan interface delete [name string]
Realtek 867x ADSL2+
User Manual
32




4 debug

This command is used to open some debug logs
Realtek 867x ADSL2+
User Manual
33




5 exit

This command is used to exit command line interface
Realtek 867x ADSL2+
User Manual
34




6 reboot

This command is used to reboot system
Realtek 867x ADSL2+
User Manual
35




7 sh

This command is used to enter linux shell
Realtek 867x ADSL2+
User Manual
36






8 show

show command is used to display system status and information. Its subcommands
are the following:

Command Subcommand1 Subcommand2 Description
acl

Show ACL configuration and tabel
arp

Show ARP table
bridge

Show bridge settings
bridge macs

Show bridge forwarding table
dhcp

Show DHCP setting
dhcp client

Show clients of DHCP server
dmz

Show DMZ settings
dns server

Show DNS server settings
domainblock

Show domain blocking configuration and table
igmpproxy

Show IGMP proxy settings
interface

Show interface list
interface statistics

Show interface rx/tx packets statistics
ipqos

Show IP QoS configuration and table
ipportfilter

Show IP port filtering configuration and table
lan

Show LAN interface configuration
macfilter

Show MAC filtering configuration and table
portforward

Show port forwarding configuration and table
portbind

Show port mapping configuration and groups
rip

Show RIP settings
route

Show current route table
route static

Show static route table
snmp

Show SNMP settings
status

Show system status
tr069

Show TR069 settings
upnp

Show UPnP settings
urlblock

Show URL blocking configuration and table
wan adsl

Show ADSL settings
wan adsl statistics Show ADSL statistics
wan atm

Show ATM settings
Realtek 867x ADSL2+
User Manual

37


wan auto-pvc

Show auto-pvc search table
wan interface

Show WAN interface channels

Das könnte Ihnen auch gefallen