FELIXXRT
日本語English

CLI reference

Commands available over SSH (log in as an admin user) and on the console. Output is in English. Any unambiguous prefix works (show int → show interfaces); Tab completes and ? lists the choices.

Permissions are the same as in the web interface: areas your role can only view cannot be changed.

Operational mode

The mode right after login. The prompt is user@hostname>.

CommandDescription
show interfacesInterfaces, addresses and traffic
show configurationRunning configuration [path]
show routesRouting table
show dhcp leasesDHCP leases
show vpn sitesSite-to-site VPN status
show vpn wireguardWireGuard peers
show vpn openvpnConnected OpenVPN clients
show vpn ikev2Connected IKEv2 clients
show vpn l2tpConnected L2TP clients
show historyConfiguration history [count, default 20]
show systemVersion, uptime and time
show logRecent log messages [lines]
show hardwareNetwork interface cards (for request interfaces assign)
request interfaces assignrequest interfaces assign <WAN NIC|none> <LAN NIC>
request lan-addressrequest lan-address <address/prefix> — LAN address and DHCP range
request factory-defaultReplace the configuration with the default
pingping <host> — send 4 pings
traceroutetraceroute <host>
configureEnter configuration mode
confirmKeep the change applied by commit
rollbackrollback <revision> — apply an earlier configuration
rebootReboot the router
poweroffPower off the router
exitLeave configuration mode, or log out
helpThis list

Configuration mode

Enter with configure. The prompt is user@hostname#. Changes go into the candidate and do not affect the router until you commit.

CommandDescription
confirmKeep the change applied by commit
setset <path…> <value> — change the candidate
deletedelete <path…> — remove from the candidate
showshow [path…] — candidate configuration
compareDifferences between the candidate and the running configuration
commitcommit [comment <text>] — apply; reverts in 5 minutes unless confirmed
discardDiscard all uncommitted changes
runrun <command> — an operational command from configuration mode
exitLeave configuration mode, or log out
helpThis list

Example

admin@felixxrt> configure
admin@felixxrt# set dhcp lan lease 24h
admin@felixxrt# set dns upstream [1.1.1.1, 9.9.9.9]
admin@felixxrt# set firewall port_forwards web proto tcp
admin@felixxrt# set firewall port_forwards web wan_port 8080
admin@felixxrt# set firewall port_forwards web to 192.168.1.20:80
admin@felixxrt# compare
admin@felixxrt# commit comment "DHCP and DNS"
Applied. Type confirm within 5 minutes to keep it; otherwise it is reverted automatically.
admin@felixxrt# confirm
admin@felixxrt# exit

Configuration paths (for set)

<name> is a name (interface, zone, …) and <item> is a list item. The meaning of each field is in the “?” next to the field of the same name in the web interface.

system

system hostnametext
system timezonetext
system web_nameslist of text
system update_channeltext

interfaces

interfaces <name> devicetext
interfaces <name> mactext
interfaces <name> vlannumber
interfaces <name> zonetext
interfaces <name> mtunumber
interfaces <name> ipv4 modetext
interfaces <name> ipv4 addresstext
interfaces <name> ipv4 gatewaytext
interfaces <name> ipv4 dnslist of text
interfaces <name> ipv6 modetext
interfaces <name> ipv6 pd_hintnumber
interfaces <name> ipv6 fromtext
interfaces <name> ipv6 subnet_idnumber
interfaces <name> ipv6 raboolean
interfaces <name> ipv6 addresstext
interfaces <name> ipv6 gatewaytext
interfaces <name> pppoe usertext
interfaces <name> pppoe passwordtext
interfaces <name> pppoe mtunumber
interfaces <name> pppoe servicetext
interfaces <name> ds_lite aftrtext
interfaces <name> map_e brtext
interfaces <name> map_e ipv6_prefixtext
interfaces <name> map_e ipv4_prefixtext
interfaces <name> map_e ea_lennumber
interfaces <name> map_e psid_offsetnumber
interfaces <name> map_e formattext

dhcp

dhcp <name> rangelist of text
dhcp <name> leasetext
dhcp <name> dnslist of text
dhcp <name> static <item> nametext
dhcp <name> static <item> mactext
dhcp <name> static <item> iptext

dns

dns upstreamlist of text
dns cache_sizenumber
dns dnssecboolean
dns local_domaintext
dns forward_zones <item> zonetext
dns forward_zones <item> serverslist of text
dns hosts <item> nametext
dns hosts <item> iptext

firewall

firewall zones <name> inputtext
firewall zones <name> forwardtext
firewall zones <name> allow_serviceslist of text
firewall policies <item> fromtext
firewall policies <item> totext
firewall policies <item> actiontext
firewall nat masqueradelist of text
firewall port_forwards <item> nametext
firewall port_forwards <item> prototext
firewall port_forwards <item> fromtext
firewall port_forwards <item> wan_porttext
firewall port_forwards <item> totext
firewall rules <item> nametext
firewall rules <item> fromtext
firewall rules <item> totext
firewall rules <item> srclist of text
firewall rules <item> dstlist of text
firewall rules <item> prototext
firewall rules <item> portstext
firewall rules <item> actiontext
firewall rules <item> disabledboolean
firewall flowtableboolean

routes

routes static <item> totext
routes static <item> viatext

vpn

vpn endpointtext
vpn wireguard enabledboolean
vpn wireguard portnumber
vpn wireguard networktext
vpn wireguard mtunumber
vpn openvpn enabledboolean
vpn openvpn prototext
vpn openvpn portnumber
vpn openvpn networktext
vpn ikev2 enabledboolean
vpn ikev2 networktext
vpn l2tp enabledboolean
vpn l2tp networktext
vpn l2tp psktext
vpn groups <item> nametext
vpn groups <item> labeltext
vpn groups <item> methodslist of text
vpn groups <item> allowlist of text
vpn groups <item> expirestext
vpn sites <item> nametext
vpn sites <item> labeltext
vpn sites <item> enabledboolean
vpn sites <item> typetext
vpn sites <item> zonetext
vpn sites <item> remote_networkslist of text
vpn sites <item> local_networkslist of text
vpn sites <item> tunnel_addresstext
vpn sites <item> mtunumber
vpn sites <item> ipsec versionnumber
vpn sites <item> ipsec peertext
vpn sites <item> ipsec connecttext
vpn sites <item> ipsec local_idtext
vpn sites <item> ipsec remote_idtext
vpn sites <item> ipsec authtext
vpn sites <item> ipsec psktext
vpn sites <item> ipsec remote_catext
vpn sites <item> ipsec proposalstext
vpn sites <item> ipsec ike encryptionlist of text
vpn sites <item> ipsec ike integritylist of text
vpn sites <item> ipsec ike dhlist of text
vpn sites <item> ipsec ike lifetimetext
vpn sites <item> ipsec esp encryptionlist of text
vpn sites <item> ipsec esp integritylist of text
vpn sites <item> ipsec esp dhlist of text
vpn sites <item> ipsec esp lifetimetext
vpn sites <item> ipsec nat_traversaltext
vpn sites <item> ipsec dpdnumber
vpn sites <item> ipsec aggressiveboolean
vpn sites <item> wireguard peertext
vpn sites <item> wireguard public_keytext
vpn sites <item> wireguard listen_portnumber
vpn sites <item> wireguard preshared_keytext
vpn sites <item> wireguard keepalivenumber

monitoring

monitoring zabbix enabledboolean
monitoring zabbix serverslist of text
monitoring zabbix activeboolean
monitoring zabbix hostnametext
monitoring zabbix psk_identitytext
monitoring zabbix psktext
monitoring snmp enabledboolean
monitoring snmp allowlist of text
monitoring snmp versiontext
monitoring snmp communitytext
monitoring snmp usertext
monitoring snmp auth_passwordtext
monitoring snmp priv_passwordtext
monitoring snmp locationtext
monitoring snmp contacttext
monitoring node_exporter enabledboolean
monitoring node_exporter allowlist of text
monitoring node_exporter portnumber