Denphone | The Voice, Video & Network Specialists



Getting started with Yamaha Routers

Posted: 2009-02-13 3:19 pm by Denphone Admin.

Simon Gibson

Yamaha routers are not that well known outside of Japan, and if you were asked to support one and didn't speak Japanese, it is almost impossible to find documentation in English. So breifly, here is something to get you started. Commands used here were tested on a Yamaha RTX 1000 router, but should be applicable to the following models: RTX3000, RTX2000, RTX1500, RTX1200, RTX1100, RTX1000, RT105i, RT105e, RT300i, RT250i, RT107e, and SRT100.

Yamaha routers are in many ways quite similar to Cisco routers with many of the same concepts applying. The command line interface is a little bit easier to use.

Getting connected.

You can connect to your Yamaha router by serial cable, or by telnet. I connected from ubuntu with minicom (you can install minicom if you don't have it with sudo apt-get install minicom . If you are on windows you can use putty.

Minicom settings:

Bps/Par/Bits : 9600 8N1
Hardware Flow Control : Yes
Software Flow Control : No

Language is initially set to Shift JIS. With putty or minicom this will not display correctly. To fix this:

>administrator
#console character ascii
#save

Useful commands

ctrl-c sends interrupt.

? shows available command options - if there are no options available describes the command.

show config shows saved configuration parameters.

show command lists all the commands with brief explanations.

Help shows basic help, including keys for editing and using the command line interface.

> is "common user" level.

# is administrator (like privileged exec mode on a cisco router).

One good thing about the Yamaha set up is that you can do the equivalent of show run (ie. show config) from either level - unlike in cisco land where you have to ctrl-z out of exec mode.

IP settings

Sets basic networking settings such as IP address. Nice that you don't have to type out the entire mask.

ip filter source-route on ; To block the IP packet with source-route option.
ip filter directed-broadcast on ; To block from smurf attack.
ip lan1 address 192.168.1.1/24
ip lan1 proxyarp on

pp select 1
pp always-on on
pppoe use lan3
pp auth accept pap chap
pp auth myname USERNAME PASSWORD
ppp lcp mru on 1454
ppp ipcp ipaddress on
ppp ipcp msext on
ip pp mtu 1454
ip pp intrusion detection in on reject=on
ip pp nat descriptor 1
pp enable 1

PPTP VPN settings

tunnel select 1
tunnel encapsulation pptp
pptp tunnel disconnect time off
pptp keepalive use off
tunnel enable 1
tunnel select 2
tunnel encapsulation pptp
pptp tunnel disconnect time off
pptp keepalive use off
tunnel enable 2

NAT setting

nat descriptor type 1 masquerade
nat descriptor timer 1 protocol=tcp port=22 604800

nat descriptor sip 1 on ; requires static ip address for sip to work properly
nat descriptor masquerade static 1 1 192.168.1.111 tcp 22 ; for SSH
nat descriptor masquerade static 1 2 192.168.1.127 udp 4569 ; for IAX2
nat descriptor masquerade static 1 3 192.168.1.127 udp 5060 ; for SIP
nat descriptor masquerade static 1 4 192.168.1.127 udp 10000-32768 ; for RTP
nat descriptor masquerade static 1 10 192.168.1.1 tcp 1723 ; for PPTP
nat descriptor masquerade static 1 11 192.168.1.1 gre ; for PPTP
nat descriptor masquerade static 1 12 192.168.1.1 esp ; for IPsec
nat descriptor masquerade static 1 13 192.168.1.1 udp 500 ; for IPsec

DNS settings

dhcp service server
dhcp scope 1 192.168.1.11-192.168.1.70/24
dhcp scope option 1 tftp_server_name=192.168.1.127
dhcp scope 2 192.168.2.11-192.168.2.70/24
dns server pp 1

PPTP server settings

pptp service on

After entering the commands you want. You can save them by typing save. Easy!

The manual for the RTX 1200 and other Yamaha routers as mentioned above can be downloaded here (Japanese - but lots of useful configuration examples, which are of course in English): http://www.rtpro.yamaha.co.jp/RT/manual/Rev.10.01.01/Configs.pdf.

Thanks to Hiwada-san for most of the information reproduced here. You can find a lot more in the manual, although it is only in Japanese. Still if you work through the table of contents you should be able to find what you are looking for. And the manual has a lot of example commands so it is quite easy to modify what they have written to get the router working the way you it want to.

Navigation


Contact

Tel: +81-3-4550-1405 (Tokyo)

Tel: +81-6-4560-3200 (Osaka)

Fax: +81-3-6234-9666

Contact Denphone


Events


Recent News


Recent Case Studies


Share/Save/Bookmark

Subscribe

Contact Denphone