InfraLab
YAMAHA-RTX58 cmd

Yamaha RTX シリーズ チート集

日本市場でよく使う Yamaha RTX の管理モード、LAN/PPPoE、IPoE、DS-Lite、MAP-E、フィルタ、NAT、IPsec、L2TPv3、保存、ログ、ファーム更新をまとめたチート集。

更新日
2026-05-29
参照範囲
公式ドキュメント / man page / 主要ベンダーCLI
対象実装
主要 Linux / BSD / ネットワーク機器 CLI の一般的な実装
免責
OS とバージョン差分は実環境で確認してください。

このチートシートの使いどころ

Yamaha RTX シリーズ チート集は、日本市場でよく使う Yamaha RTX の管理モード、LAN/PPPoE、IPoE、DS-Lite、MAP-E、フィルタ、NAT、IPsec、L2TPv3、保存、ログ、ファーム更新をまとめたチート集。 対象は公式ドキュメント、man page、主要ベンダー CLI で確認できる現行の一般的な実装です。カテゴリは基本、インターフェース、ルーティング、フィルタ・NAT、IPsecを中心に、58件のコマンドや値を用途別に引けます。障害調査、設定変更前の確認、作業メモ作成で、Yamaha、RTX、ヤマハ、PPPoE、IPoEに関連する操作を短時間で探すために使います。

58 / 58

administrator

Yamaha RTX で administrator の設定または操作を実行する

Example
> administrator
console character

Yamaha RTX で console character の設定または操作を実行する

Example
# console character ja.utf8
login password

Yamaha RTX で login password の実務でよく使う操作を実行する

Example
# login password
administrator password

Yamaha RTX で administrator password の設定または操作を実行する

Example
# administrator password
ip lan1 address

Yamaha RTX で ip lan1 address の設定または操作を実行する

Example
# ip lan1 address 192.168.100.1/24
ip lan2 address

Yamaha RTX で ip lan2 address の設定または操作を実行する

Example
# ip lan2 address 203.0.113.2/30
ipv6 lan1 address

Yamaha RTX で ipv6 lan1 address の設定または操作を実行する

Example
# ipv6 lan1 address 2001:db8:100::1/64
pp select 1

Yamaha RTX で pp select 1 の設定または操作を実行する

Example
# pp select 1
pp bind

Yamaha RTX で pp bind の設定または操作を実行する

Example
pp1# pp bind lan2
pp always-on

Yamaha RTX で pp always-on の設定または操作を実行する

Example
pp1# pp always-on on
pppoe use

Yamaha RTX で pppoe use の実務でよく使う操作を実行する

Example
pp1# pppoe use lan2
pp auth accept

Yamaha RTX で pp auth accept の設定または操作を実行する

Example
pp1# pp auth accept pap chap
pp auth myname

Yamaha RTX で pp auth myname の設定または操作を実行する

Example
pp1# pp auth myname user@example.jp password
ip pp mtu

Yamaha RTX で ip pp mtu の設定または操作を実行する

Example
pp1# ip pp mtu 1454
pp enable

Yamaha RTX で pp enable の設定または操作を実行する

Example
# pp enable 1
ip route default gateway

Yamaha RTX で ip route default gateway の設定または操作を実行する

Example
# ip route default gateway pp 1
ip route

Yamaha RTX で ip route の設定または操作を実行する

Example
# ip route 10.10.0.0/16 gateway 192.168.100.254
ipv6 route default gateway

Yamaha RTX で ipv6 route default gateway の設定または操作を実行する

Example
# ipv6 route default gateway dhcp lan2
bgp use

Yamaha RTX で bgp use の設定または操作を実行する

Example
# bgp use on
ospf use

Yamaha RTX で ospf use の設定または操作を実行する

Example
# ospf use on
ip filter

Yamaha RTX で ip filter の設定または操作を実行する

Example
# ip filter 1000 pass * 192.168.100.0/24 tcp * www,https
ip pp secure filter in

Yamaha RTX で ip pp secure filter in の設定または操作を実行する

Example
pp1# ip pp secure filter in 1000 2000
ip pp secure filter out

Yamaha RTX で ip pp secure filter out の設定または操作を実行する

Example
pp1# ip pp secure filter out 3000 dynamic 100
nat descriptor type

Yamaha RTX で nat descriptor type の設定または操作を実行する

Example
# nat descriptor type 1 masquerade
nat descriptor address outer

Yamaha RTX で nat descriptor address outer の設定または操作を実行する

Example
# nat descriptor address outer 1 ipcp
nat descriptor masquerade static

Yamaha RTX で nat descriptor masquerade static の設定または操作を実行する

Example
# nat descriptor masquerade static 1 1 192.168.100.10 tcp www
nat descriptor masquerade incoming

Yamaha RTX で nat descriptor masquerade incoming の設定または操作を実行する

Example
# nat descriptor masquerade incoming 1 discard
tunnel select

Yamaha RTX で tunnel select の設定または操作を実行する

Example
# tunnel select 1
tunnel encapsulation ipsec

Yamaha RTX で tunnel encapsulation ipsec の設定または操作を実行する

Example
tunnel1# tunnel encapsulation ipsec
ipsec tunnel

Yamaha RTX で ipsec tunnel の設定または操作を実行する

Example
tunnel1# ipsec tunnel 101
ipsec sa policy

Yamaha RTX で ipsec sa policy の設定または操作を実行する

Example
# ipsec sa policy 101 1 esp aes256-cbc sha-hmac
ipsec ike pre-shared-key

Yamaha RTX で ipsec ike pre-shared-key の設定または操作を実行する

Example
tunnel1# ipsec ike pre-shared-key 1 text S3cretKey
ipsec ike remote address

Yamaha RTX で ipsec ike remote address の設定または操作を実行する

Example
tunnel1# ipsec ike remote address 1 198.51.100.1
ipsec auto refresh

Yamaha RTX で ipsec auto refresh の設定または操作を実行する

Example
# ipsec auto refresh on
tunnel enable

Yamaha RTX で tunnel enable の設定または操作を実行する

Example
# tunnel enable 1
l2tp service

Yamaha RTX で l2tp service の設定または操作を実行する

Example
# l2tp service on
tunnel encapsulation l2tpv3

Yamaha RTX で tunnel encapsulation l2tpv3 の設定または操作を実行する

Example
tunnel2# tunnel encapsulation l2tpv3
ip route default gateway tunnel

Yamaha RTX で ip route default gateway tunnel の設定または操作を実行する

Example
# ip route default gateway tunnel 1
ipip tunnel remote address

Yamaha RTX で ipip tunnel remote address の設定または操作を実行する

Example
tunnel3# ipip tunnel remote address 198.51.100.2
ip lan2 address dhcp

Yamaha RTX で ip lan2 address dhcp の設定または操作を実行する

Example
# ip lan2 address dhcp
ipv6 prefix

Yamaha RTX で ipv6 prefix の設定または操作を実行する

Example
# ipv6 prefix 1 dhcp-prefix@lan2::/64
ip tunnel nat descriptor

Yamaha RTX で ip tunnel nat descriptor の設定または操作を実行する

Example
tunnel1# ip tunnel nat descriptor 1
nat descriptor masquerade map-e

Yamaha RTX で nat descriptor masquerade map-e の設定または操作を実行する

Example
# nat descriptor type 200 masquerade
tunnel encapsulation map-e

Yamaha RTX で tunnel encapsulation map-e の設定または操作を実行する

Example
tunnel4# tunnel encapsulation map-e
tunnel encapsulation dslite

DS-Lite(IPv4 over IPv6)トンネルを設定し、ISP の AFTR 経由で IPv4 通信を行う。IPoE 環境で IPv4 を提供する代表的方式。

Example
tunnel select 1 tunnel encapsulation dslite tunnel endpoint address 2404:8e00::feed:100 ip route default tunnel 1
tunnel endpoint address

DS-Lite / IPIP トンネルの対向 IPv6 アドレスを指定する。transix では AFTR 例として 2404:8e00::feed:100 が使われるため、ISP 指定値と一致しているか確認する。

Example
tunnel select 1 tunnel endpoint address 2404:8e00::feed:100 tunnel enable 1
tunnel encapsulation ipip

Yamaha RTX で tunnel encapsulation ipip の設定または操作を実行する

Example
tunnel5# tunnel encapsulation ipip
show config

Yamaha RTX で show config の状態や設定を確認する

Example
# show config
show ip route

Yamaha RTX で show ip route の状態や設定を確認する

Example
# show ip route
show status pp

Yamaha RTX で show status pp の状態や設定を確認する

Example
# show status pp 1
show nat descriptor address

Yamaha RTX で show nat descriptor address の状態や設定を確認する

Example
# show nat descriptor address
show ipsec sa

Yamaha RTX で show ipsec sa の状態や設定を確認する

Example
# show ipsec sa
show log

Yamaha RTX で show log の状態や設定を確認する

Example
# show log
ping

Yamaha RTX で ping の実務でよく使う操作を実行する

Example
# ping 8.8.8.8
traceroute

Yamaha RTX で traceroute の実務でよく使う操作を実行する

Example
# traceroute 8.8.8.8
save

Yamaha RTX で save の運用操作を実行する

Example
# save
restart

Yamaha RTX で restart の運用操作を実行する

Example
# restart
firmware update http revision-up go

Yamaha RTX で firmware update http revision-up go の運用操作を実行する

Example
# firmware update http revision-up go
Related