Table of Contents

Yamaha CLI Commands



Basic Commands

password:
> administrator
#
# show config
# show config | grep ^ip
# show log reverse
# exit
> exit


Show Commands

help
?
show status ?
show config
show config list
show log
show log reverse
show environment Displays the device's temperature, serial number, CPU usage, etc.
show status lan2 #LAN2(WAN)
show status pp1
show status tunnel 1
show ip route
show ip arp
show nat descriptor address
show ip connection
show status switching-hub Display of MAC address table for built-in switches
show status bgp neighbor
show status ospf neighbor
show ip filter
show storage
show vrrp
show history
show ipv6 address Check if IPv6 address information is being received from the top.

Log

# syslog notice on
# syslog info on
# syslog debug on

# syslog notice off
# syslog info off
# syslog debug off
show log reverse |grep Reject
show log reverse | grep -v "443"


Configuration

delete

no xxxxxxx xxxxxx xxxxxx

save

# save
or
# save <num>  # default is 0
# save 0
# save 1
# save 2
# save 5
# show config list
# set-default-config <num>


VPN

show ipsec sa
show ipsec sa gateway
show ipsec sa gateway <tunnel num> detail
show ipsec sa gateway 1 detail

show status tunnel 1
# show ipsec sa gateway
sgw   flags local-id       remote-id        # of sa
---------------------------------------------------------------------------
1     U     x.x.x.x        y.y.y.y       i:1 s:1 r:1
2     U     a.a.a.a        b.b.b.b       i:1 s:1 r:1
# tunnel select 1
tunnel1#
tunnel1# tunnel select none
#

debug

# syslog debug on
# ipsec ike log message-info payload-info key-info

# show log reverse

# no ipsec ike log
# no syslog debug on
# ipsec tunnel 101
# ipsec ike log <gateway_id> key-info message-info payload-info

# syslog debug on
# show log reverse

tunnel down /up

tunnel select 1
tunnel disable 1
tunnel enable 1

delete ipsec tunnel

tunnel select 1
no ipsec tunnel 1