« The joy of giving (Video) Denphone Digest February 2009 »

Getting started with Yamaha Routers

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:

#console character ascii

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
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 tcp 22 ; for SSH
nat descriptor masquerade static 1 2 udp 4569 ; for IAX2
nat descriptor masquerade static 1 3 udp 5060 ; for SIP
nat descriptor masquerade static 1 4 udp 10000-32768 ; for RTP
nat descriptor masquerade static 1 10 tcp 1723 ; for PPTP
nat descriptor masquerade static 1 11 gre ; for PPTP
nat descriptor masquerade static 1 12 esp ; for IPsec
nat descriptor masquerade static 1 13 udp 500 ; for IPsec

DNS settings

dhcp service server
dhcp scope 1
dhcp scope option 1 tftp_server_name=
dhcp scope 2
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.



Tel: 03-4550-1405 (東京)

Tel: 06-4560-3200 (大阪)

Fax: +81-3-6234-9666





Share/Save/Bookmark Subscribe