Вы находитесь на странице: 1из 232

Keenetic Ultra II

-
,
Wi-Fi
AC1200, 8-
Gigabit Ethernet,
USB 3.0 2.0

2.06

www.zyxel.com

2015
ZyXEL

Keenetic Ultra II
.
. ,
,
, .

1

, Keenetic Ultra II .
, Keenetic Ultra II.
root-
Keenetic Ultra II.

2
:


Keenetic Ultra II,
, .

,
Keenetic Ultra II.

3
:


. .
.

,
.
,
, .

[ ]
.


.

Keenetic Ultra II 3

(x | y | z)

.
[x | y | z]

.

, .
.
no
no .
.
.
,
. ,
.
,
. ,

.

, ,

.
, , .
,
. ,
,
.

, .

: ", ".
,
.

: ", !".
.

4 Keenetic Ultra II

......................................................................................................................................... 3
.............................................................................................................................. 15
.................................................................................................. 17
.......................................................................................................................... 23
...................................................................................................... 219
.................................................................................................................................... 223

Keenetic Ultra II 5

6 Keenetic Ultra II

.................................................................................................................................... 3
1 .......................................................................................... 3
2 ............................................................................................................ 3
3 ......................................................................................................... 3
............................................................................................................................... 5
1
....................................................................................................................... 15
1.1 ................................................................................................. 15
2
....................................................................................... 17
2.1 ..................................................................................................................... 17
2.1.1 ........................................................................................................ 18
2.2 ...................................................................... 18
2.3 no ...................................................................................................................... 19
2.4 .......................................................................................................... 20
2.5 ....................................................................................................... 21
2.6 ................................................................................................ 21
3
................................................................................................................... 23
3.1 ............................................................................................................ 23
3.1.1 copy .................................................................................................................... 23
3.1.2 erase ................................................................................................................... 23
3.1.3 ls ......................................................................................................................... 24
3.1.4 more .................................................................................................................... 25
3.2 access ........................................................................................................................... 26
3.3 access-list ...................................................................................................................... 26
3.3.1 access-list deny .................................................................................................. 27
3.3.2 access-list permit ................................................................................................ 29
3.4 cifs ................................................................................................................................. 30
3.4.1 cifs automount .................................................................................................... 31
3.4.2 cifs master .......................................................................................................... 31
3.4.3 cifs permissive .................................................................................................... 32
3.4.4 cifs share ............................................................................................................ 32
3.5 components ................................................................................................................... 33
3.5.1 components commit ........................................................................................... 33

Keenetic Ultra II 7

3.5.2 components install ............................................................................................. 34


3.5.3 components list .................................................................................................. 34
3.5.4 components preset ............................................................................................. 35
3.5.5 components remove ........................................................................................... 36
3.5.6 components sync ............................................................................................... 37
3.5.7 components validity-period ................................................................................ 37
3.6 dlna ................................................................................................................................ 38
3.6.1 dlna directory ...................................................................................................... 38
3.6.2 dlna interface ...................................................................................................... 38
3.6.3 dlna port .............................................................................................................. 39
3.6.4 dlna rescan ......................................................................................................... 40
3.7 dpi shaping .................................................................................................................... 40
3.8 dyndns profile ................................................................................................................ 41
3.8.1 dyndns profile domain ........................................................................................ 41
3.8.2 dyndns profile password .................................................................................... 42
3.8.3 dyndns profile send-address .............................................................................. 43
3.8.4 dyndns profile type ............................................................................................. 43
3.8.5 dyndns profile update-interval ............................................................................ 44
3.8.6 dyndns profile url ................................................................................................ 44
3.8.7 dyndns profile username .................................................................................... 45
3.9 exit ................................................................................................................................. 46
3.10 ftp ................................................................................................................................ 46
3.10.1 ftp permissive ................................................................................................... 46
3.10.2 ftp user root ...................................................................................................... 47
3.11 interface ....................................................................................................................... 47
3.11.1 interface authentication chap ............................................................................ 49
3.11.2 interface authentication eap-md5 ...................................................................... 49
3.11.3 interface authentication eap-ttls ........................................................................ 50
3.11.4 interface authentication identity ........................................................................ 50
3.11.5 interface authentication mschap ....................................................................... 51
3.11.6 interface authentication mschap-v2 .................................................................. 51
3.11.7 interface authentication pap .............................................................................. 52
3.11.8 interface authentication password .................................................................... 52
3.11.9 interface authentication shared ......................................................................... 53
3.11.10 interface authentication wpa-psk .................................................................... 53
3.11.11 interface bandwidth-limit ................................................................................. 54
3.11.12 interface ccp .................................................................................................... 55
3.11.13 interface channel ............................................................................................. 55
3.11.14 interface channel width ................................................................................... 56
3.11.15 interface compatibility ..................................................................................... 57
3.11.16 interface connect ............................................................................................. 57
3.11.17 interface country-code .................................................................................... 58
3.11.18 interface debug ................................................................................................ 58

8 Keenetic Ultra II

3.11.19 interface description ........................................................................................ 59


3.11.20 interface down ................................................................................................. 60
3.11.21 interface dyndns profile ................................................................................... 60
3.11.22 interface dyndns update .................................................................................. 61
3.11.23 interface encryption enable ............................................................................. 61
3.11.24 interface encryption key .................................................................................. 62
3.11.25 interface encryption mppe ............................................................................... 63
3.11.26 interface encryption wpa ................................................................................. 63
3.11.27 interface encryption wpa2 ............................................................................... 64
3.11.28 interface hide-ssid ........................................................................................... 64
3.11.29 interface igmp downstream ............................................................................. 65
3.11.30 interface igmp fork .......................................................................................... 65
3.11.31 interface igmp upstream .................................................................................. 66
3.11.32 interface include .............................................................................................. 66
3.11.33 interface inherit ............................................................................................... 67
3.11.34 interface ip access-group ................................................................................ 68
3.11.35 interface ip address ......................................................................................... 68
3.11.36 interface ip address dhcp ................................................................................ 70
3.11.37 interface ip adjust-ttl ........................................................................................ 70
3.11.38 interface ip alias .............................................................................................. 71
3.11.39 interface ip apn ................................................................................................ 72
3.11.40 interface ip dhcp client debug ......................................................................... 72
3.11.41 interface ip dhcp client displace ...................................................................... 73
3.11.42 interface ip dhcp client dns-routes .................................................................. 74
3.11.43 interface ip dhcp client fallback ....................................................................... 74
3.11.44 interface ip dhcp client hostname ................................................................... 75
3.11.45 interface ip dhcp client name-servers ............................................................. 75
3.11.46 interface ip dhcp client release ........................................................................ 76
3.11.47 interface ip dhcp client renew ......................................................................... 76
3.11.48 interface ip global ............................................................................................ 77
3.11.49 interface ip mru ............................................................................................... 78
3.11.50 interface ip mtu ................................................................................................ 78
3.11.51 interface ip remote ........................................................................................... 79
3.11.52 interface ip tcp adjust-mss .............................................................................. 79
3.11.53 interface ipcp default-route ............................................................................. 80
3.11.54 interface ipcp name-servers ............................................................................ 81
3.11.55 interface ipcp vj ............................................................................................... 81
3.11.56 interface ipv6 address ..................................................................................... 82
3.11.57 interface ipv6 name-servers ............................................................................ 82
3.11.58 interface ipv6 prefix ......................................................................................... 83
3.11.59 interface ipv6cp ............................................................................................... 84
3.11.60 interface lcp acfc ............................................................................................. 84
3.11.61 interface lcp echo ............................................................................................ 85

Keenetic Ultra II 9

3.11.62 interface lcp pfc ............................................................................................... 86


3.11.63 interface mac access-list address ................................................................... 86
3.11.64 interface mac access-list type ......................................................................... 87
3.11.65 interface mac address ..................................................................................... 88
3.11.66 interface mac address factory ......................................................................... 88
3.11.67 interface mac clone ......................................................................................... 89
3.11.68 interface modem connect ................................................................................ 89
3.11.69 interface modem init ........................................................................................ 90
3.11.70 interface name ................................................................................................. 91
3.11.71 interface peer .................................................................................................. 91
3.11.72 interface ping-check profile ............................................................................. 92
3.11.73 interface power ................................................................................................ 92
3.11.74 interface pppoe service ................................................................................... 93
3.11.75 interface preamble-short ................................................................................. 94
3.11.76 interface rf e2p set ........................................................................................... 94
3.11.77 interface security-level .................................................................................... 95
3.11.78 interface ssid ................................................................................................... 96
3.11.79 interface switchport access ............................................................................. 97
3.11.80 interface switchport friend .............................................................................. 97
3.11.81 interface switchport mode ............................................................................... 98
3.11.82 interface switchport trunk ............................................................................... 99
3.11.83 interface tsp ................................................................................................... 100
3.11.84 interface tx-queue .......................................................................................... 102
3.11.85 interface up .................................................................................................... 103
3.11.86 interface usb device-id .................................................................................. 103
3.11.87 interface usb power-cycle .............................................................................. 104
3.11.88 interface wmm ............................................................................................... 104
3.11.89 interface wps ................................................................................................. 105
3.11.90 interface wps auto-self-pin ............................................................................ 105
3.11.91 interface wps button ...................................................................................... 106
3.11.92 interface wps peer ......................................................................................... 106
3.11.93 interface wps self-pin .................................................................................... 107
3.12 ip dhcp host ............................................................................................................... 108
3.13 ip dhcp pool ............................................................................................................... 108
3.13.1 ip dhcp pool bind ............................................................................................ 109
3.13.2 ip dhcp pool default-router .............................................................................. 110
3.13.3 ip dhcp pool dns-server .................................................................................. 110
3.13.4 ip dhcp pool enable ......................................................................................... 111
3.13.5 ip dhcp pool lease ........................................................................................... 111
3.13.6 ip dhcp pool range .......................................................................................... 112
3.13.7 ip dhcp pool wpad ........................................................................................... 113
3.14 ip dhcp relay lan ......................................................................................................... 113
3.15 ip dhcp relay server ................................................................................................... 114

10 Keenetic Ultra II

3.16 ip dhcp relay wan ....................................................................................................... 115


3.17 ip host ........................................................................................................................ 115
3.18 ip name-server ........................................................................................................... 116
3.19 ip nat .......................................................................................................................... 117
3.20 ip nat vpn ................................................................................................................... 118
3.21 ip route ....................................................................................................................... 118
3.22 ip static ...................................................................................................................... 120
3.23 ipv6 local-prefix ......................................................................................................... 121
3.24 ipv6 name-server ....................................................................................................... 122
3.25 ipv6 route ................................................................................................................... 122
3.26 ipv6 subnet ................................................................................................................ 123
3.26.1 ipv6 subnet bind .............................................................................................. 124
3.26.2 ipv6 subnet mode ............................................................................................ 124
3.26.3 ipv6 subnet number ........................................................................................ 125
3.26.4 ipv6 subnet stateless-dhcp ............................................................................. 125
3.27 isolate-private ............................................................................................................ 126
3.28 known host ................................................................................................................ 126
3.29 ntp .............................................................................................................................. 127
3.30 ntp server ................................................................................................................... 127
3.31 ntp sync-period .......................................................................................................... 128
3.32 ping-check profile ...................................................................................................... 128
3.32.1 ping-check profile host ................................................................................... 129
3.32.2 ping-check profile max-fails ............................................................................ 129
3.32.3 ping-check profile min-success ...................................................................... 130
3.32.4 ping-check profile mode .................................................................................. 131
3.32.5 ping-check profile port .................................................................................... 131
3.32.6 ping-check profile power-cycle ....................................................................... 132
3.32.7 ping-check profile restart-interface ................................................................. 132
3.32.8 ping-check profile timeout .............................................................................. 133
3.32.9 ping-check profile update-interval ................................................................... 133
3.33 ppe ............................................................................................................................. 134
3.34 pppoe pass ................................................................................................................ 134
3.35 printer ........................................................................................................................ 135
3.35.1 printer bidirectional ......................................................................................... 136
3.35.2 printer debug ................................................................................................... 136
3.35.3 printer name .................................................................................................... 137
3.35.4 printer port ...................................................................................................... 137
3.35.5 printer type ...................................................................................................... 138
3.36 service cifs ................................................................................................................. 138
3.37 service cloud-control ................................................................................................. 139
3.38 service dhcp .............................................................................................................. 139
3.39 service dhcp-relay ...................................................................................................... 140
3.40 service dlna ................................................................................................................ 140

Keenetic Ultra II 11

3.41 service dns-proxy ...................................................................................................... 141


3.42 service dpi ................................................................................................................. 141
3.43 service ftp .................................................................................................................. 142
3.44 service http ................................................................................................................ 142
3.45 service igmp-proxy .................................................................................................... 143
3.46 service ntp-client ....................................................................................................... 143
3.47 service telnet .............................................................................................................. 144
3.48 service torrent ............................................................................................................ 144
3.49 service udpxy ............................................................................................................. 145
3.50 service upnp .............................................................................................................. 145
3.51 service vpn-server ..................................................................................................... 145
3.52 show .......................................................................................................................... 146
3.52.1 show access .................................................................................................... 146
3.52.2 show associations .......................................................................................... 147
3.52.3 show cifs ......................................................................................................... 148
3.52.4 show clock date .............................................................................................. 148
3.52.5 show clock timezone-list ................................................................................. 149
3.52.6 show dlna ........................................................................................................ 150
3.52.7 show dot1x ...................................................................................................... 150
3.52.8 show dpi hosts ................................................................................................ 151
3.52.9 show drivers .................................................................................................... 151
3.52.10 show ftp ......................................................................................................... 152
3.52.11 show interface ............................................................................................... 153
3.52.12 show interface channels ................................................................................ 154
3.52.13 show interface mac ....................................................................................... 156
3.52.14 show interface rf e2p ..................................................................................... 157
3.52.15 show interface stat ........................................................................................ 158
3.52.16 show interface wps pin .................................................................................. 159
3.52.17 show interface wps status ............................................................................. 160
3.52.18 show ip arp .................................................................................................... 160
3.52.19 show ip dhcp bindings .................................................................................. 161
3.52.20 show ip dhcp pool ......................................................................................... 162
3.52.21 show ip name-server ..................................................................................... 162
3.52.22 show ip nat .................................................................................................... 163
3.52.23 show ip route ................................................................................................. 164
3.52.24 show ipv6 addresses ..................................................................................... 165
3.52.25 show ipv6 prefixes ........................................................................................ 165
3.52.26 show ipv6 routes ........................................................................................... 166
3.52.27 show last-change .......................................................................................... 167
3.52.28 show log ........................................................................................................ 167
3.52.29 show netfilter ................................................................................................. 168
3.52.30 show ntp status ............................................................................................. 169
3.52.31 show ping-check ........................................................................................... 169

12 Keenetic Ultra II

3.52.32 show printers ................................................................................................ 170


3.52.33 show running-config ..................................................................................... 170
3.52.34 show self-test ................................................................................................ 173
3.52.35 show site-survey ........................................................................................... 173
3.52.36 show skydns profiles .................................................................................... 174
3.52.37 show skydns userinfo ................................................................................... 175
3.52.38 show system ................................................................................................. 175
3.52.39 show tags ...................................................................................................... 176
3.52.40 show upnp redirect ........................................................................................ 176
3.52.41 show usb ....................................................................................................... 177
3.52.42 show version ................................................................................................. 178
3.52.43 show vpn-server ............................................................................................ 178
3.53 skydns ....................................................................................................................... 179
3.53.1 skydns assign ................................................................................................. 180
3.53.2 skydns check-availability ................................................................................ 180
3.53.3 skydns enable ................................................................................................. 180
3.53.4 skydns login .................................................................................................... 181
3.53.5 skydns password ............................................................................................ 181
3.54 system ....................................................................................................................... 182
3.54.1 system button ................................................................................................. 182
3.54.2 system clock date ........................................................................................... 184
3.54.3 system clock timezone .................................................................................... 184
3.54.4 system configuration factory-reset ................................................................. 185
3.54.5 system configuration save .............................................................................. 185
3.54.6 system debug .................................................................................................. 186
3.54.7 system domainname ....................................................................................... 186
3.54.8 system hostname ............................................................................................ 187
3.54.9 system log clear .............................................................................................. 187
3.54.10 system log reduction ..................................................................................... 188
3.54.11 system log server .......................................................................................... 188
3.54.12 system log suppress ..................................................................................... 189
3.54.13 system mount ................................................................................................ 189
3.54.14 system reboot ............................................................................................... 190
3.54.15 system set ..................................................................................................... 191
3.54.16 system swap ................................................................................................. 192
3.55 telnet .......................................................................................................................... 192
3.55.1 telnet port ........................................................................................................ 193
3.55.2 telnet session max-count ................................................................................ 193
3.55.3 telnet session timeout ..................................................................................... 194
3.56 tools ........................................................................................................................... 194
3.56.1 tools arping ..................................................................................................... 195
3.56.2 tools ping ........................................................................................................ 195
3.56.3 tools ping6 ...................................................................................................... 196

Keenetic Ultra II 13

3.56.4 tools traceroute ................................................................................................ 198


3.57 torrent ........................................................................................................................ 200
3.57.1 torrent directory .............................................................................................. 200
3.57.2 torrent peer-port .............................................................................................. 201
3.57.3 torrent rpc-port ................................................................................................ 201
3.58 udpxy ......................................................................................................................... 202
3.58.1 udpxy buffer-size ............................................................................................ 202
3.58.2 udpxy buffer-timeout ....................................................................................... 203
3.58.3 udpxy interface ............................................................................................... 203
3.58.4 udpxy port ....................................................................................................... 204
3.58.5 udpxy renew-interval ....................................................................................... 204
3.58.6 udpxy timeout ................................................................................................. 205
3.59 upnp forward .............................................................................................................. 206
3.60 upnp lan ..................................................................................................................... 206
3.61 upnp redirect .............................................................................................................. 207
3.62 user ............................................................................................................................ 208
3.62.1 user password ................................................................................................. 209
3.62.2 user tag ........................................................................................................... 210
3.63 vpn-server .................................................................................................................. 211
3.63.1 vpn-server interface ........................................................................................ 211
3.63.2 vpn-server mppe ............................................................................................. 212
3.63.3 vpn-server mppe-optional ............................................................................... 212
3.63.4 vpn-server mru ................................................................................................ 213
3.63.5 vpn-server mtu ................................................................................................ 213
3.63.6 vpn-server multi-login ..................................................................................... 214
3.63.7 vpn-server pool-range ..................................................................................... 214
3.63.8 vpn-server static-ip ......................................................................................... 215
3.64 yandexdns ................................................................................................................. 216
3.64.1 yandexdns assign ........................................................................................... 216
3.64.2 yandexdns check-availability .......................................................................... 217
3.64.3 yandexdns enable ........................................................................................... 217
4
........................................................................................... 219
4.1 HTTP Core Interface ........................................................................................................ 219
4.1.1 .......................................................................................... 220
4.1.2 .................................................................................................. 221
4.1.3 ................................................................................................. 221
.............................................................................................................................. 223

14 Keenetic Ultra II
1

1.1
Mediatek MT7621AT MIPS 1004Kc 880 MHz, 2 cores

Nanya NT5CB128M16FP-DII 256Mb DDR3-1600

- Macronix MX30LF1G08AA-TI 128Mb NAND

Ethernet
8 Realtek RTL8370M


0 1000 / WAN
1 1000 /
2 1000 /
3 1000 /
4 1000 /
5 1000 /
6 1000 /
7 1000 /

USB
1 USB 2.0
2 USB 3.0

Wi-Fi

2.4 Mediatek MT7602EN 802.11bgn 2x2
5 Mediatek MT7612EN 802.11an+ac 2x2

Keenetic Ultra II 15
1

16 Keenetic Ultra II
2


, (CLI) Keenetic
Ultra II, ,
.

Keenetic Ultra II
(CLI).
, ,
.

Keenetic Ultra II :

running config , , ,
.
(RAM)
. ,

.
,
.

startup config , ,


.

default config , Keenetic Ultra II. RESET



.

startup-config running-config ,
. , !
, , ,
(, ssid "Free Wi-Fi").
.

2.1
Keenetic Ultra II ,
, .
.

Keenetic Ultra II 17
2

. ,
-
( ) .

, IP- Switch0/VLAN2 address ,


interfaceip :

(config)>interface Switch0/VLAN2 ip address 192.168.15.43/24


Network address saved.

2.1.1
, ,
,
, .
, ,
.

exit [Ctrl]+[D]
.

, interface
(config-if):

(config)>interface Switch0/VLAN2
(config-if)>ip address 192.168.15.43/24
Network address saved.
(config-if)>[Ctrl]+[D]
(config)>

2.2
,
, ,
.
[Tab]. :

(config)>in[Tab]

interface - network interface configuration

(config)> interface Sw[Tab]

Usage template:
interface {name}

Variants:
Switch0
Switch0/VLAN1
Switch0/VLAN2

(config)> interface Switch0[Tab]

18 Keenetic Ultra II
2

Usage template:
interface {name}

Variants:
Switch0/VLAN1
Switch0/VLAN2

(config)> interface Switch0/VLAN2[Enter]


(config-if)> ip[Tab]

address - set interface IP address


alias - add interface IP alias
dhcp - enable dhcp client
mtu - set Maximum Transmit Unit size
mru - set Maximum Receive Unit size
access-group - bind access-control rules
apn - set 3G access point name

(config-if)> ip ad[Tab]

address - set interface IP address

(config-if)> ip address[Tab]

Usage template:
address {address} {mask}

(config-if)> ip address 192.168.15.43[Enter]


Configurator error[852002]: address: argument parse error.
(config-if)> ip address 192.168.15.43/24[Enter]
Network address saved.
(config-if)>

, [?]. :

(config)> interface Switch0/VLAN2 [?]

description - set interface description


alias - add interface name alias
mac-address - set interface MAC address
dyndns - DynDns updates
security-level - assign security level
authentication - configure authentication
ip - set interface IP parameters
igmp - set interface IGMP parameters
up - enable interface
down - disable interface

(config)> interface Switch0/VLAN2

2.3 no
no , .

Keenetic Ultra II 19
2

, interface
. no , ,
:

(config)> no interface PPPoE0

, no . ,
service dhcp DHCP : service
, dhcp . no ,
. : .

(config)> no service dhcp


(config)> service no dhcp

2.4
, ,
, .
, service http service http ,
.

, , ,
. , ip
route access-list ,
:

2.1.

(config)> ip route 1.1.1.0/24 PPTP0


Route added.
(config)> ip route 1.1.2.0/24 PPTP0
Route added.
(config)> ip route 1.1.3.0/24 PPTP1
Route added.
(config)> show running-config
...
ip route 1.1.1.0 255.255.255.0 PPTP0
ip route 1.1.2.0 255.255.255.0 PPTP0
ip route 1.1.3.0 255.255.255.0 PPTP0
...

, no ,
, :

(config)> no ip route 1.1.2.0/24


Route deleted.
(config)> show running-config
...
ip route 1.1.1.0 255.255.255.0 PPTP0
ip route 1.1.3.0 255.255.255.0 PPTP0
...

20 Keenetic Ultra II
2

2.5
running-config startup-config.
,
:

(config)> copy running-config startup-config


Copied: running-config -> startup-config

2.6
Keenetic Ultra II
,
.
.

system reboot ,
, .
,
.

Keenetic Ultra II 21
2

22 Keenetic Ultra II
3

3.1
.

3.1.1 copy
.
, ,
.

no

(config)> copy source destination


source ,
.
destination ,
.

, :

(config)> copy running-config startup-config

.
system:running-config flash:startup-config,
.


2.00 copy .

3.1.2 erase
Keenetic Ultra II.

no

Keenetic Ultra II 23
3

(config)> erase filename


filename ,
.

(config)> erase FLASH:swap


Erased FLASH:swap.


2.00 erase .

3.1.3 ls
.

no

(config)> ls [ directory ]


directory .

<
>: < >.
flash, temp, proc, usb . .

(config)> ls temp:

rel: temp:

entry, type = R:
name: resolv.conf
size: 107
entry, type = D:
name: db
entry, type = D:
name: dhcp6c
entry, type = R:

24 Keenetic Ultra II
3

name: TZ
size: 6
entry, type = R:
name: passwd
size: 128
entry, type = D:
name: dnscache
entry, type = D:
name: mnt
entry, type = D:
name: tmp
entry, type = D:
name: ppp
entry, type = D:
name: lib
entry, type = D:
name: run


2.00 ls .

3.1.4 more
.

no

(config)> more filename


filename .

(config)> more temp:resolv.conf


nameserver 82.138.7.15
nameserver 82.138.7.251
nameserver 82.138.7.130
options timeout:1 attempts:3 rotate


2.00 more .

Keenetic Ultra II 25
3

3.2 access
USB-.

no .

no

(config)> access directory user mode [ recursive ]

(config)> no access directory user [ recursive ]


directory USB-.
user .
mode forbidden .
read .
write .
read/write .
inherited
.
recursive
.

(config)> access FLASH:Downloads test read/write


(config)> show access FLASH:Downloads

user:
name: test
assigned: read/write
effective: read/write
exists: yes


2.00 access .

3.3 access-list

. , .
interface
ip access-group .

26 Keenetic Ultra II
3

no .

no

(config-acl)

(config)> access-list name

(config)> no access-list name


name
(Access Control List, ACL).


2.00 access-list .

3.3.1 access-list deny


ACL.

no .

no

(config-acl)> deny (tcp | udp) source source-mask


port [src-port-operator] source-port
destination destination-mask
port [dst-port-operator] destination-port

(config-acl)> deny icmp source source-mask


destination destination-mask

(config-acl)> no deny (tcp | udp) source source-mask


port [src-port-operator] source-port
destination destination-mask
port [dst-port-operator] destination-port

(config-acl)> no deny icmp source source-mask


destination destination-mask

Keenetic Ultra II 27
3


protocol tcp TCP .
udp UDP .
icmp ICMP .
source IP-
IP-.
source-mask IP- ,
IP-,
source.

:
(, 255.255.255.0)

(, /24).
source-port TCP UDP
.
src-port-operator lt

source-port.
eq
source-port.
gt
source-port.
destination IP-
IP-.
destination-mask IP- ,
IP-,
destination.

:
(, 255.255.255.0)

(, /24).
destination-port TCP UDP
.
dst-port-operator lt

destination-port.
eq

destination-port.
gt

destination-port.

28 Keenetic Ultra II
3

(config-acl)> deny icmp 192.168.0.0


255.255.255.0 192.168.1.1 255.255.255.0
ACL rule added.


2.00 access-list deny .

3.3.2 access-list permit


ACL.

no .

no

(config-acl)> permit (tcp | udp) source source-mask


port [src-port-operator] source-port
destination destination-mask
port [dst-port-operator] destination-port

(config-acl)> permit icmp source source-mask


destination destination-mask

(config-acl)> no permit (tcp | udp) source source-mask


port [src-port-operator] source-port
destination destination-mask
port [dst-port-operator] destination-port

(config-acl)> no permit icmp source source-mask


destination destination-mask


protocol tcp TCP .
udp UDP .
icmp ICMP .
source IP-
IP-.
source-mask IP- ,
IP-,
source.

:
(, 255.255.255.0)

(, /24).

Keenetic Ultra II 29
3


source-port TCP UDP
.
src-port-operator lt

source-port.
eq
source-port.
gt
source-port.
destination IP-
IP-.
destination-mask IP- ,
IP-,
destination.

:
(, 255.255.255.0)

(, /24).
destination-port TCP UDP
.
dst-port-operator lt

destination-port.
eq

destination-port.
gt

destination-port.

(config-acl)> permit icmp 192.168.0.0


255.255.255.0 192.168.1.1 255.255.255.0
ACL rule added.


2.00 access-list permit .

3.4 cifs
CIFS .

no

30 Keenetic Ultra II
3

(config-cifs)

(config)> cifs


2.00 cifs .

3.4.1 cifs automount


USB-
CIFS.

no .

no

(config-cifs)> automount

(config-cifs)> no automount

(config-cifs)> automount
Core::Configurator: done.


2.00 cifs automount .

3.4.2 cifs master


- CIFS-.

no -.

no

(config-cifs)> master

(config-cifs)> no master

Keenetic Ultra II 31
3

(config-cifs)> master
CIFS server master browser enabled


2.00 cifs master .

3.4.3 cifs permissive


,
USB-. .

no ,
"cifs".

no

(config-cifs)> permissive

(config-cifs)> no permissive

(config-cifs)> permissive
Core::Configurator: done.


2.00 cifs permissive .

3.4.4 cifs share


USB-.

no .
, USB-
.

no

(config-cifs)> share label mount [ description ]

(config-cifs)> no share [ label ]

32 Keenetic Ultra II
3


label ,
.
mount ,
.
description .

(config-cifs)> share TEST_FAT B4EF-16EA:transmission/torrents


Core::Configurator: done.


2.00 cifs share .

3.5 components
.

no

(config-comp)

(config)> components


2.00 components .

3.5.1 components commit


, components install
components remove .

no

(config-comp)> commit


2.00 components commit .

Keenetic Ultra II 33
3

3.5.2 components install


.
components commit .

no

(config-comp)> install component


component .

components
list .

(config-comp)> install ntfs


Component is queued for installation: ntfs


2.00 components install .

3.5.3 components list



. ,
.

no

(config-comp)> list

(config-comp)> list

webadmin:
queued: yes
name: Silver-Blue
description: Silver-Blue
size: 244112
installed:
webadmin:
queued: no

34 Keenetic Ultra II
3

name: ZyXEL-Intl
description: ZyXEL-Intl
size: 390648

component:
queued: yes
name: accesspoint
description: 802.11 Access Point
details: Allows this appliance to be a Wi-Fi access
point.
group: Wireless networking
priority: important
depend: base,corewireless
version: 2.6.3
script: interface WifiMaster0
country-code RU
compatibility
BGN
up
...
...


2.00 components list .

3.5.4 components preset


.
components commit .

,
components sync .
.

no

(config-comp)> preset preset

,

preset ? .


preset all-components , Keenetic
Ultra II, .

Keenetic Ultra II 35
3


minimal

.
recommended
.

(config-comp)> sync
lib::libndmComponents error[268369923]: this system is up to date.
(config-comp)> preset recommended
lib::libndmComponents error[268369922]: updates are available
for this system.
(config-comp)> commit
Core::System::UConfig: done.


2.00 components preset .

3.5.5 components remove


.
components commit .

no

(config-comp)> remove component


component .

components
list .

(config-comp)> remove ntfs


Component is queued for removal: ntfs


2.00 components remove .

36 Keenetic Ultra II
3

3.5.6 components sync



components list . .

no

(config-comp)> sync

(config-comp)> sync
Command::Base error[268369923]: this system is up to date.


2.00 components sync .

3.5.7 components validity-period


.
components sync
.

no ,
1800.

no

(config-comp)> validity-period seconds

(config-comp)> no validity-period


seconds
.

(config-comp)> validity-period 500


Core::Configurator: done.


2.03 components validity-period .

Keenetic Ultra II 37
3

3.6 dlna
DLNA .

no

(config-dlna)

(config)> dlna


2.00 dlna .

3.6.1 dlna directory


-.

no .

no

(config-dlna)> directory directory

(config-dlna)> no directory


directory -.

(config-dlna)> directory TEST_FAT:transmission


Core::Configurator: done.


2.00 dlna directory .

3.6.2 dlna interface


,
-. 16 .

38 Keenetic Ultra II
3

no .
,
- .

no

IP

(config-dlna)> interface interface

(config-dlna)> no interface [ interface ]


interface .

dlna interface
?.

(config-dlna)> interface GigabitEthernet0/Vlan1


Core::Configurator: done.


2.00 dlna interface .

3.6.3 dlna port


DLNA- HTTP- (, SOAP,
).

no ,
8200.

no

(config-dlna)> port port

(config-dlna)> no port


port .

Keenetic Ultra II 39
3

(config-dlna)> port 443


Core::Configurator: done.


2.00 dlna port .

3.6.4 dlna rescan


-.

: full ,
. -
,
.

no

(config-dlna)> rescan [ full ]


full
.

(config-dlna)> rescan
Core::Configurator: done.


2.00 dlna rescan .

3.7 dpi shaping


. ,
,
. DPI (
service dpi). .

no .

no

40 Keenetic Ultra II
3

(config)> dpi shaping

(config)> no dpi shaping

(config)> dpi shaping


Dpi::Manager: Shaping enabled.


2.06 dpi shaping.

3.8 dyndns profile


DynDns.
, .
32 .

no DynDns.

no

(config-dyndns)

(config)> dyndns profile name

(config)> no dyndns profile name


name .
64 .


2.00 dyndns profile .

3.8.1 dyndns profile domain


.
1
dyndns.com
2
no-ip.com .

1
http:\\www.dyndns.com
2
http:\\www.no-ip.com

Keenetic Ultra II 41
3

no .

no

(config-dyndns)> domain name

(config-dyndns)> no domain


name .
254 .

(config-dyndns)> domain systems


DynDns::Profile: "test": domain saved.


2.00 dyndns profile domain .

3.8.2 dyndns profile password


DynDns.

no

(config-dyndns)> password password

(config-dyndns)> no password


password .
64 .

(config-dyndns)> password 1234


DynDns::Profile: "test": password saved.


2.00 dyndns profile password .

42 Keenetic Ultra II
3

3.8.3 dyndns profile send-address


IP- -
DynDns.

no .

no

(config-dyndns)> send-address

(config-dyndns)> no send-address

(config-dyndns)> send-address
DynDns::Profile: a send address enabled.


2.03 dyndns profile send-address .

3.8.4 dyndns profile type


DynDns- , ,
.

no

(config-dyndns)> type type

(config-dyndns)> no type


type dyndns ,
3
dyndns.com .
noip ,
4
no-ip.com .
rucenter ,
5
rucenter .

3
http:\\www.dyndns.com
4
http:\\www.no-ip.com
5
http:\\www.dns-master.ru

Keenetic Ultra II 43
3


custom ,
(
dyndns profile url).

(config-dyndns)> type dyndns


DynDns::Profile: "test": type saved.


2.00 dyndns profile type .

3.8.5 dyndns profile update-interval


DynDns.

no .

no

(config-dyndns)> update-interval days days [ hours hours ]


[ minutes minutes ] [ seconds seconds ]

(config-dyndns)> no update-interval


days .
hours .
minutes .
seconds .

(config-dyndns)> update-interval 7 days


DynDns::Profile: a timeout set to 604800.


2.03 dyndns profile update-interval .

3.8.6 dyndns profile url


URL DynDns.

44 Keenetic Ultra II
3

no

(config-dyndns)> url url

(config-dyndns)> no url


url URL-
DynDns.

(config-dyndns)> url http://members.dyndns.org/nic/update


DynDns::Profile: "test": url saved.


2.05 dyndns profile url .

3.8.7 dyndns profile username


DynDns.

no

(config-dyndns)> username username

(config-dyndns)> no username


username .
64 .

(config-dyndns)> username test_user


DynDns::Profile: "test": username saved.


2.00 dyndns profile username .

Keenetic Ultra II 45
3

3.9 exit
.

no

(config)> exit

(config-dyndns)> exit
(config)>


2.00 exit .

3.10 ftp
ftp.

no

(config-ftp)

(config)> ftp

(config)> ftp
(config-ftp)>


2.02 ftp .

3.10.1 ftp permissive


FTP .

no .

no

46 Keenetic Ultra II
3

(config-ftp)> permissive

(config-ftp)> no permissive

(config-ftp)> permissive
Core::Configurator: done.


2.02 ftp permissive .

3.10.2 ftp user root


FTP.

no
.

no

(config-ftp)> user name root directory

(config-ftp)> no user name root


name ,
.
directory .

(config-ftp)> user admin root E:\


Ftp::Server: a "admin" user root directory set to "E:\".


2.03 ftp user root .

3.11 interface
.
, .

Keenetic Ultra II 47
3

no .

3.1.

no

(config-if)

(config)> interface name

(config)> no interface name


name .

interface ? .


2.00 interface .

48 Keenetic Ultra II
3

3.11.1 interface authentication chap


CHAP .

no CHAP.

no

Secure

(config-if)> authentication chap

(config-if)> no authentication chap

(config-if)> authentication chap


CHAP authentication enabled.


2.00 interface authentication chap .

3.11.2 interface authentication eap-md5


EAP-MD5.

no EAP-MD5.

no

Secure

(config-if)> authentication eap-md5

(config-if)> no authentication eap-md5

(config-if)> authentication eap-md5


EAP-MD5 authentication enabled.


2.00 interface authentication eap-md5 .

Keenetic Ultra II 49
3

3.11.3 interface authentication eap-ttls


EAP-TTLS.

no EAP-TTLS.

no

Secure

(config-if)> authentication eap-ttls

(config-if)> no authentication eap-ttls

(config-if)> authentication eap-ttls


EAP-TTLS authentication enabled.


2.00 interface authentication eap-ttls .

3.11.4 interface authentication identity



. PPTP, PPPoE L2TP.

no .

no

Secure

(config-if)> authentication identity identity

(config-if)> no authentication identity


identity .

(config-if)> authentication identity test


Identity saved.

50 Keenetic Ultra II
3


2.00 interface authentication identity .

3.11.5 interface authentication mschap


MS-CHAP.

no MS-CHAP.

no

Secure

(config-if)> authentication mschap

(config-if)> no authentication mschap

(config-if)> authentication mschap


MSCHAP authentication enabled.


2.00 interface authentication mschap .

3.11.6 interface authentication mschap-v2


MS-CHAPv2.

no MS-CHAPv2.

no

Secure

(config-if)> authentication mschap-v2

(config-if)> no authentication mschap-v2

(config-if)> authentication mschap-v2


MSCHAPv2 authentication enabled.

Keenetic Ultra II 51
3


2.00 interface authentication mschap-v2
.

3.11.7 interface authentication pap


PAP.

no PAP.

no

Secure

(config-if)> authentication pap

(config-if)> no authentication pap

(config-if)> authentication pap


PAP authentication enabled.


2.00 interface authentication pap .

3.11.8 interface authentication password


.
PPTP, PPPoE L2TP.

no .

no

Secure

(config-if)> authentication password password

(config-if)> no authentication password

52 Keenetic Ultra II
3


password .

(config-if)> authentication password 1234


Password saved.


2.00 interface authentication password
.

3.11.9 interface authentication shared


.
WEP .
interface encryption key .

no .

no

WiFi

(config-if)> authentication shared

(config-if)> no authentication shared

(config-if)> authentication shared


Shared authentication enabled.


2.00 interface authentication shared .

3.11.10 interface authentication wpa-psk



WPA-PSK. 256-
, ASCII-.

().

no .

no

Keenetic Ultra II 53
3

WiFi

(config-if)> authentication wpa-psk psk

(config-if)> no authentication wpa-psk


psk
256-
,
64 ,
ASCII 8 63 .

(config-if)> authentication wpa-psk 12345678


Pre-shared key saved.


2.00 interface authentication wpa-psk .

3.11.11 interface bandwidth-limit


- .

( service dpi).

no .

no

(config-if)> bandwidth-limit limit

(config-if)> no bandwidth-limit


limit
- /.

(config-if)> bandwidth-limit 50000


Dpi::BandwidthLimits: Set bandwidth limit 50000 Kbps to ISP.

54 Keenetic Ultra II
3


2.06 interface bandwidth-limit.

3.11.12 interface ccp


CCP .

no CCP.

no

PPP

(config-if)> ccp

(config-if)> no ccp

(config-if)> ccp
CCP enabled.


2.00 interface ccp .

3.11.13 interface channel


( ) .
Wi-Fi 1
14 ( 2.412 2.484 ) 36 165 (
5.180 5.825 ).
auto .

no .

no

Radio

(config-if)> channel channel

(config-if)> no channel

Keenetic Ultra II 55
3


channel number .
auto
.

(config-if)> channel 8
Channel saved.


2.00 interface channel .

3.11.14 interface channel width


.
40-below .

no .

no

Radio

(config-if)> channel width width

(config-if)> no channel width


width 20 20
.
40-above 40
.
40-below 40
.

(config-if)> channel width 20


Network::Interface::Rtx::WifiMaster: a channel bandwidth setting
applied.


2.04 interface channel width .

56 Keenetic Ultra II
3

3.11.15 interface compatibility


,
().
Wi-Fi A, B, G, N,
IEEE 802.11. ,
N ,
802.11n- .


IEEE 802.11.

2,4 BGN , N
5 .

no

Radio

(config-if)> compatibility annex


annex A, B, G, N.

(config-if)> compatibility GN
Compatibility set.


2.00 interface compatibility .

3.11.16 interface connect


.

no .

no

PPP, IP

(config-if)> connect [ via interface ]

Keenetic Ultra II 57
3

(config-if)> no connect


via ,

. PPPoE
.

(config-if)> connect via UsbModem3


PPP connection enabled.


2.00 interface connect .

3.11.17 interface country-code


,
-. RU .

no

Radio

(config-if)> country-code code


code .

(config-if)> country-code RU
Country code set.


2.00 interface country-code .

3.11.18 interface debug


PPP .
.
.

58 Keenetic Ultra II
3

no .

no

PPP

(config-if)> debug

(config-if)> no debug

(config-if)> debug
Debug enabled.


2.00 interface debug .

3.11.19 interface description


.

no .

no

(config-if)> description description

(config-if)> no description


description .

(config-if)> description 111_2222_33333


Interface description saved.


2.00 interface description .

Keenetic Ultra II 59
3

3.11.20 interface down


down .

no down
.

no

(config-if)> down

(config-if)> no down

(config-if)> down
Interface disabled.


2.00 interface down .

3.11.21 interface dyndns profile


DynDns.
dyndns
profile.

no .

no

He

(config-if)> dyndns profile profile

(config-if)> no dyndns profile


profile DynDns.

(config-if)> dyndns profile test


Core::Configurator: done.

60 Keenetic Ultra II
3


2.02 interface dyndns profile .

3.11.22 interface dyndns update


IP- DynDns.
DynDns,
IP . force IP
.

no He

He

(config-if)> dyndns update [ force ]


force
.

(config-if)> dyndns update


DynDns::Profile: "test" update started.


2.00 interface dyndns update .

3.11.23 interface encryption enable


.
WEP .

no
.

no

He

WiFi

(config-if)> encryption enable

(config-if)> no encryption enable

Keenetic Ultra II 61
3

(config-if)> encryption enable


Wireless encryption enabled.


2.00 interface encryption enable .

3.11.24 interface encryption key


WEP . ,
10 (5 ASCII)
40- , WEP 40- , 26
(13 ASCII) WEP 1 4
,
.

no .

no

WiFi

(config-if)> encryption key id ( value [default] | default)

(config-if)> no encryption key id


id .
.
value
,
10 26 .
default ,
.

(config-if)> encryption key 1 1231231234


Encryption key saved.


2.00 interface encryption key .

62 Keenetic Ultra II
3

3.11.25 interface encryption mppe


MPPE .

no MPPE .

no

PPTP

(config-if)> encryption mppe

(config-if)> no encryption mppe

(config-if)> encryption mppe


MPPE enabled.


2.00 interface encryption mppe .

3.11.26 interface encryption wpa


WPA
.
WPA WPA2, WEP
WPA .

no WPA .

no

He

WiFi

(config-if)> encryption wpa

(config-if)> no encryption wpa

(config-if)> encryption wpa


WPA algorithms enabled.


2.00 interface encryption wpa .

Keenetic Ultra II 63
3

3.11.27 interface encryption wpa2


WPA2 (IEEE 802.11i, RSN)
.
WPA WPA2, WEP
WPA .

no WPA2 .

no

He

WiFi

(config-if)> encryption wpa2

(config-if)> no encryption wpa2

(config-if)> encryption wpa2


WPA2 algorithms enabled.


2.00 interface encryption wpa2 .

3.11.28 interface hide-ssid


SSID . ,
.
SSID,
. .

no .

no

Access Point

(config-if)> hide-ssid

(config-if)> no hide-ssid

(config-if)> hide-ssid
SSID broadcasting disabled.

64 Keenetic Ultra II
3


2.00 interface hide-ssid .

3.11.29 interface igmp downstream


IGMP
.
service igmp-proxy .
downstream .

no .

no

He

IP

(config-if)> igmp downstream

(config-if)> no igmp downstream

(config-if)> igmp downstream


added downstream interface ISP.


2.00 interface igmp downstream .

3.11.30 interface igmp fork


IGMPupstream
. fork .

no .

no

He

IP

(config-if)> igmp fork

(config-if)> no igmp fork

Keenetic Ultra II 65
3

(config-if)> igmp fork


fork role assigned to ISP.


2.00 interface igmp fork .

3.11.31 interface igmp upstream


IGMP
. service
igmp-proxy . upstream .

no .

no

He

IP

(config-if)> igmp upstream

(config-if)> no igmp upstream

(config-if)> igmp upstream


upstream role assigned to ISP.


2.00 interface igmp upstream .

3.11.32 interface include


Ethernet-,
.

no .

no

Bridge

(config-if)> include interface

66 Keenetic Ultra II
3

(config-if)> no include interface


interface Ethernet ,
.

(config-if)> include WifiStation0


Interface acquired.


2.00 interface include .

3.11.33 interface inherit


Ethernet-,
. include , inherit
, IP-,
IP-. ,
, , ,
.

,
, .

no ,
, ,
.

no

Bridge

(config-if)> inherit interface

(config-if)> no inherit interface


interface Ethernet ,
.

(config-if)> inherit WifiStation0


Interface acquired.

Keenetic Ultra II 67
3


2.00 interface inherit .

3.11.34 interface ip access-group


(ACL, . access-list)
. in out
ACL
ACL.

no ACL
.

no

IP

(config-if)> ip access-group acl direction

(config-if)> no ip access-group acl direction


acl ,

access-list .
direction in
.
out
.

(config-if)> ip access-group 111 in


Access group applied.


2.00 interface ip access-group .

3.11.35 interface ip address


IP- .
, , DHCP-
(. interface ip address dhcp),
.

68 Keenetic Ultra II
3

no 0.0.0.0.

no

IP

(config-if)> ip address address mask

(config-if)> no ip address


address IP- .
mask IP- .
:
(, 255.255.255.0)
(, /24).

, IP- ,
:
.

(config)> interface
GigabitEthernet0/Vlan43
Created interface GigabitEthernet0/Vlan43.
(config-if)> ip address 172.17.24.9 255.255.255.0
Network address saved.
(config-if)> ip address 172.17.24.9/24
Network address saved.
(config-if)> [Ctrl]+[D]
(config)> show interface GigabitEthernet0/Vlan43

mac: 00:23:f8:5b:d3:f4
index: 43
type: Vlan
description:
state: up
link: down
address: 172.17.24.9
mask: 255.255.255.0
mtu: 1500
global: no

(config)>


2.00 interface ip address .

Keenetic Ultra II 69
3

3.11.36 interface ip address dhcp


DHCP- :
IP- , DNS .

no DHCP-,

IP- .

no

Ethernet

(config-if)> ip address dhcp [ hostname hostname ]

(config-if)> no ip address dhcp


hostname ,
12- DHCP.
,
,
.

(config-if)> ip address dhcp hostname test-123


Dhcp::Client: started DHCP client on GigabitEthernet1.


2.00 interface ip address dhcp .

3.11.37 interface ip adjust-ttl


TTL
.

no .

no

IP

70 Keenetic Ultra II
3

(config-if)> ip adjust-ttl (inc | dec) value

(config-if)> no ip adjust-ttl


inc ,
TTL.
dec ,
TTL.
value TTL.
1 255
.

(config-if)> ip adjust-ttl inc 10


TTL adjustment enabled.


2.00 interface ip adjust-ttl .

3.11.38 interface ip alias


IP-
().

no 0.0.0.0,
. ,
.

no

IP, Ethernet

(config-if)> ip alias address mask

(config-if)> no ip alias [ address mask ]


address IP-
.
mask IP-
.
: (,

Keenetic Ultra II 71
3


255.255.255.0
(, /24).

(config-if)> ip alias 192.168.1.88/24


IP alias saved.


2.00 interface ip alias .

3.11.39 interface ip apn


3G (APN).

no APN.

no

UsbModem

(config-if)> ip apn apn

(config-if)> no ip apn


apn APN.

(config-if)> ip apn 3G_modem


APN saved.


2.00 interface ip apn .

3.11.40 interface ip dhcp client debug


.
DHCP-.

no .

no

72 Keenetic Ultra II
3

Ethernet

(config-if)> ip dhcp client debug

(config-if)> no ip dhcp client debug

(config-if)> ip dhcp client debug


Dhcp::Client: Home DHCP client debug enabled.


2.01 interface ip dhcp client debug .

3.11.41 interface ip dhcp client displace


interface
, DHCP- .

USB Ethernet
.
.

no .

no

Ethernet

(config-if)> ip dhcp client displace interface

(config-if)> no ip dhcp client displace interface


interface ,
.

(config-if)> ip dhcp client displace Home


Dhcp::Client: added CdcEthernet0 Home displacement.


2.03 interface ip dhcp client displace .

Keenetic Ultra II 73
3

3.11.42 interface ip dhcp client dns-routes


- DNS-,
DHCP-. .

no .

no

Ethernet

(config-if)> ip dhcp client dns-routes

(config-if)> no ip dhcp client dns-routes

(config-if)> ip dhcp client dns-routes


Dhcp::Client: Home DHCP client DNS host routes enabled.


2.00 interface ip dhcp client dns-routes
.

3.11.43 interface ip dhcp client fallback



DHCP.

no ,
0.0.0.0. .

no

Ethernet

(config-if)> ip dhcp client fallback type

(config-if)> no ip dhcp client fallback


type IP-.
static.

74 Keenetic Ultra II
3

(config-if)> ip dhcp client fallback static


Dhcp::Client: a DHCP address fallback is static.


2.05 interface ip dhcp client fallback .

3.11.44 interface ip dhcp client hostname


, DHCP-.

no .

no

Ethernet

(config-if)> ip dhcp client hostname hostname

(config-if)> no ip dhcp client hostname


hostname .

(config-if)> ip dhcp client hostname HostName


Dhcp::Client: Home DHCP client hostname is set to HostName.


2.00 interface ip dhcp client hostname .

3.11.45 interface ip dhcp client name-servers


DNS DHCP.
.

no DNS-
DHCP.

no

Keenetic Ultra II 75
3

Ethernet

(config-if)> ip dhcp client name-servers

(config-if)> no ip dhcp client name-servers

(config-if)> ip dhcp client name-servers


Dhcp::Client: Home DHCP name servers are enabled.


2.00 interface ip dhcp client name-servers
.

3.11.46 interface ip dhcp client release


DHCP- IP- .
DHCP-
IP-.

no

Ethernet

(config-if)> ip dhcp client release

(config-if)> no ip dhcp client release

(config-if)> ip dhcp client release


Dhcp::Client: IP address released.


2.03 interface ip dhcp client release .

3.11.47 interface ip dhcp client renew


DHCP- IP-
.

no

76 Keenetic Ultra II
3

Ethernet

(config-if)> ip dhcp client renew

(config-if)> no ip dhcp client renew

(config-if)> ip dhcp client renew


Dhcp::Client: IP address renewed.


2.03 interface ip dhcp client renew .

3.11.48 interface ip global


global .
, DynDNS-
NAT. global-,
( ).

global
. ,
.

(WAN backup) global.

no .

no

IP

(config-if)> ip global priority

(config-if)> no ip global


priority
.
1 65534.

(config-if)> ip global 10
Interface is set as global.

Keenetic Ultra II 77
3


2.00 interface ip global .

3.11.49 interface ip mru


MRU
PPP (IPCP.
1460 .

no .

no

PPP

(config-if)> ip mru mru

(config-if)> no ip mru


mru MRU .

(config-if)> ip mru 1400


MRU saved.


2.00 interface ip mru .

3.11.50 interface ip mtu


MTU .
PPP (IPCP),
MTU MTU
.

no MTU ,
.

no

78 Keenetic Ultra II
3

IP

(config-if)> ip mtu mtu

(config-if)> no ip mtu


mtu MTU . 64
65535 .

(config-if)> ip mtu 5000


MTU saved.


2.00 interface ip mtu .

3.11.51 interface ip remote


.

no

PPP

(config-if)> ip remote address

(config-if)> no ip remote


address IP- .

(config-if)> ip remote 192.168.2.19


Remote address saved.


2.00 interface ip remote .

3.11.52 interface ip tcp adjust-mss



TCP . MSS , SYN-,

Keenetic Ultra II 79
3

, .
TCP SYN-.

no .

no

IP

(config-if)> ip tcp adjust-mss (pmtu | mss )

(config-if)> no ip tcp adjust-mss


pmtu MSS,
MTU
.
mss MSS .

(config-if)> ip tcp adjust-mss pmtu


TCP-MSS adjustment enabled.


2.00 interface ip tcp adjust-mss .

3.11.53 interface ipcp default-route


.

no .

no

PPP

(config-if)> ipcp default-route

(config-if)> no ipcp default-route

(config-if)> ipcp default-route


Using peer as a default gateway.

80 Keenetic Ultra II
3


2.00 interface ipcp default-route .

3.11.54 interface ipcp name-servers


DNS IPCP.

no DNS
IPCP.

no

PPP

(config-if)> ipcp name-servers

(config-if)> no ipcp name-servers

(config-if)> ipcp name-servers


Using remote name servers.


2.00 interface ipcp name-servers .

3.11.55 interface ipcp vj


TCP/IP .

no .

no

PPP

(config-if)> ipcp vj [cid]

(config-if)> no ipcp vj

Keenetic Ultra II 81
3


cid Connection ID
.

(config-if)> ipcp vj cid


VJ compression enabled.

Network::Interface::PPP: done.


2.03 interface ipcp vj .

3.11.56 interface ipv6 address


IPv6- . auto,
. .

no .

no

(config-if)> ipv6 address ( address | auto)

(config-if)> no ipv6 address [ address | auto]


address IPv6- DNS-.
auto
.

(config-if)> ipv6 address 2001:db8::1


Static IPv6 address saved.


2.00 interface ipv6 address .

3.11.57 interface ipv6 name-servers


DNS . auto ,
DNS- DHCPv6.

82 Keenetic Ultra II
3

no .

no

(config-if)> ipv6 name-servers (auto)

(config-if)> no ipv6 name-servers [auto]


auto DNS.

(config-if)> ipv6 name-servers auto


Name servers provided by the interface network are accepted.


2.00 interface ipv6 name-servers .

3.11.58 interface ipv6 prefix


. auto ,
DHCPv6-PD.

no .

no

(config-if)> ipv6 prefix ( prefix | auto)

(config-if)> no ipv6 prefix [ prefix | auto]


auto .

prefix .

(config-if)> ipv6 prefix 2001:db8:43:ab12::/64


Static IPv6 prefix added.

Keenetic Ultra II 83
3


2.00 interface ipv6 prefix .

3.11.59 interface ipv6cp


IPv6CP .

no IPv6CP.

no

PPP

(config-if)> ipv6cp

(config-if)> no ipv6cp

(config-if)> ipv6cp
IPv6CP enabled.


2.00 interface ipv6cp .

3.11.60 interface lcp acfc


Address
Control.

no
ACFC .

no

PPP

(config-if)> lcp acfc [cid]

(config-if)> no lcp acfc

84 Keenetic Ultra II
3


cid Connection ID
.

(config-if)> lcp acfc cid


ACFC compression enabled.

Network::Interface::PPP: done.


2.03 interface lcp acfc .

3.11.61 interface lcp echo


PPP LCP echo.

no LCP echo.

no

PPP

(config-if)> lcp echo interval count

(config-if)> no lcp echo


interval LCP echo,
.

LCP ,

LCP reply.
count
LCP echo
LCP reply. count
LCP echo ,
.

(config-if)> lcp echo 5 3


LCP echo parameters updated.

Keenetic Ultra II 85
3


2.00 interface lcp echo .

3.11.62 interface lcp pfc


Protocol PPP.

no
PFC .

no

PPP

(config-if)> lcp pfc [cid]

(config-if)> no lcp pfc


cid Connection ID
.

(config-if)> lcp pfc cid


PFC compression enabled.

Network::Interface::PPP: done.


2.03 interface lcp pfc .

3.11.63 interface mac access-list address


MAC- .
interface mac access-list type .

no MAC- ACL.

no

Access Point

86 Keenetic Ultra II
3

(config-if)> mac access-list address address

(config-if)> no mac access-list address address


address MAC- MAC-,
ACL.

(config-if)> mac access-list address 4C:0F:6E:4B:3C:BA


mac address added


2.00 interface mac access-list address .

3.11.64 interface mac access-list type


.
( none ).

no

Access Point

(config-if)> mac access-list type type


type none
.
permit
MAC-.
deny
MAC-.

(config-if)> mac access-list type permit


set access-policy: permit


2.00 interface mac access-list type .

Keenetic Ultra II 87
3

3.11.65 interface mac address


MAC- .
00:00:00:00:00:00.
, ,
multicast OUI enforced .

no MAC-.

: MAC- Wi-Fi .

no

MAC

(config-if)> mac address address

(config-if)> no mac address


mac MAC- MAC- .

(config-if)> mac address 3C:1F:6E:2A:1C:BA


MAC address saved.


2.00 interface mac address .

3.11.66 interface mac address factory


MAC- .

no

MAC

(config-if)> mac address factory name

88 Keenetic Ultra II
3


name lan "LAN"
MAC-.
wan "WAN"
MAC-.
wlan5 "WLAN5"
MAC-.

(config-if)> mac address factory lan


Core::System::UConfig: done.


2.00 interface mac address factory .

3.11.67 interface mac clone


MAC- .

no

MAC, IP

(config-if)> mac clone

(config-if)> mac clone


MAC address saved.


2.00 interface mac clone .

3.11.68 interface modem connect


USB-.
modem init .

no .

no

Keenetic Ultra II 89
3

UsbModem

(config-if)> modem connect ( dial phone | string )

(config-if)> no modem connect


phone .
string .

(config-if)> modem connect dial *99#


Connect sequence saved.


2.00 interface modem connect .

3.11.69 interface modem init


index.

no

UsbModem

(config-if)> modem init [ index ] string

(config-if)> no modem init [ index ]


index ,
.
string .

(config-if)> modem init 1 AT+CGDCONT=1,"IP","internet"


Initialization string inserted.


2.00 interface modem init .

90 Keenetic Ultra II
3

3.11.70 interface name


.
ID.

no .

no

(config-if)> name new

(config-if)> no name


new .

(config-if)> name Access_Point


Interface renamed.


2.00 interface name .

3.11.71 interface peer



PPP .
. , PPPoE interface peer
, PPTP IP-.

no .

no

PPP

(config-if)> peer peer

(config-if)> no peer

Keenetic Ultra II 91
3


peer
.

(config-if)> peer 111


Core::Configurator: done.


2.00 interface peer .

3.11.72 interface ping-check profile


Ping Check .

no .

no

(config-if)> ping-check profile profile

(config-if)> no ping-check profile


profile .

(config-if)> ping-check profile TEST


PingCheck::Client: added "ISP" to "TEST" profile.


2.04 interface ping-check profile .

3.11.73 interface power


-.

.

,
.

no

92 Keenetic Ultra II
3

Radio

(config-if)> power power


power
( 1 100).

(config-if)> power 90
Power level applied.


2.00 interface power .

3.11.74 interface pppoe service


PPPoE. , PPPoE-
.

no

PPPoE

(config-if)> pppoe service service

(config-if)> no pppoe service


service PPPoE.

(config-if)> pppoe service test


Core::Configurator: done.


2.05 interface pppoe service .

Keenetic Ultra II 93
3

3.11.75 interface preamble-short


.

no

Radio

(config-if)> preamble-short

(config-if)> no preamble-short

(config-if)> preamble-short
Short preamble enabled.


2.00 interface preamble-short .

3.11.76 interface rf e2p set


,
offset value .

no

Radio

(config-if) rf e2p set offset value


offset .
1E0 1FE.
value
. 0
FFFF.

(config-if)> rf e2p set 1f6 0


Network::Interface::Rtx::WifiMaster: EEPROM [0x01F6]:0000 set.

94 Keenetic Ultra II
3


2.04 interface rf e2p set .

3.11.77 interface security-level


.
:

private public
.

, public
, . . public private public public.

( )
private .

private

isolate-private .

:
public .

access-list ,
,
.

no

IP

(config-if)> security-level (public | private)

,
, . ,
Home
PPPoE0.
private isolate-private .

(config)> interface Home security-level private


(config)> interface PPPoE0 security-level private
(config)> no isolate-private

: ,

. NAT Home PPPoE0
, ,

Keenetic Ultra II 95
3

Home .
ip nat
Home PPPoE0
Home .


2.00 interface security-level .

3.11.78 interface ssid


(SSID)
.
SSID -.

SSID ,
.

SSID ,
. SSID
.

no .

no

SSID

(config-if)> ssid (auto | ssid )

(config-if)> no ssid


ssid (SSID).
auto SSID .

(config-if)> ssid WIRELESS


SSID saved.


2.00 interface ssid .

96 Keenetic Ultra II
3

3.11.79 interface switchport access


VLAN .
VLAN
VLAN .

no .

no

Port

(config-if)> switchport access vlan vid

(config-if)> no switchport access vlan


vid VLAN .
1 4094
.

(config-if)> switchport access vlan 2


Access vlan identifier saved.


2.06 interface switchport access.

3.11.80 interface switchport friend


VLAN
VLAN . VLAN .
VLAN
( "friend"). "friend" .

no .

no

Port

(config-if)> switchport friend vlan vid

Keenetic Ultra II 97
3

(config-if)> no switchport friend vlan


vid "friend" VLAN.
1 4094
.

(config-if)> switchport friend vlan 2


Friend vlan identifier saved.


2.06 interface switchport friend.

3.11.81 interface switchport mode


access trunk VLAN.
access.

no .

no

Port

(config-if)> switchport mode [ (access [q-in-q] ) | trunk]

(config-if)> no switchport mode


mode access VLAN,
,
.
PVID,
switchport
access.
VLAN PVID.
, VLAN
.
trunk
VLAN, ,
VLAN.
.
VLAN,

98 Keenetic Ultra II
3


,
switchport trunk.
q-in-q .

(config-if)> switchport mode access


Access mode enabled.


2.06 interface switchport mode.

3.11.82 interface switchport trunk


VLAN.
VLAN , VLAN .
trunk VLAN.

no VLAN.
, VLAN.

no

Port

(config-if)> switchport trunk vlan vid

(config-if)> no switchport trunk vlan [ vid ]


vid VLAN.
1 4094.

(config-if)> switchport trunk vlan 100


Vlan added to trunk.


2.06 interface switchport trunk.

Keenetic Ultra II 99
3

3.11.83 interface tsp


TSP.

no TSP.

no

TunnelSixInFour

(config-if-tsp)

(config-if)> tsp

(config-if)> no tsp


2.00 interface tsp .

3.11.83.1 interface tsp password


TSP.

no .

no

TunnelSixInFour


(config-if-tsp)> password password

(config-if-tsp)> no password


password TSP .


2.00 interface tsp password .

100 Keenetic Ultra II


3

3.11.83.2 interface tsp prefix-length


.

no .

no

TunnelSixInFour

(config-if-tsp)> prefix-length length

(config-if-tsp)> no prefix-length


length .
48, 56 64.


2.00 interface tsp prefix-length .

3.11.83.3 interface tsp server


IPv4- , .

no IP .

no

TunnelSixInFour

(config-if-tsp)> server server

(config-if-tsp)> no server


server IPv4- IPv4- .


2.00 interface tsp server .

Keenetic Ultra II 101


3

3.11.83.4 interface tsp user


TSP.

no .

no

TunnelSixInFour


(config-if-tsp)> user user

(config-if-tsp)> no user


user TSP .


2.00 interface tsp user .

3.11.84 interface tx-queue


.
1000.

no .

no


(config-if)> tx-queue length

(config-if)> no tx-queue


length 0 65536.

(config-if)> tx-queue 255


Tx queue length saved.

102 Keenetic Ultra II


3


2.02 interface tx-queue .

3.11.85 interface up
up .

no up
. interface down .

no

(config-if)> up

(config-if)> no up

(config-if)> up
Interface enabled.


2.00 interface up .

3.11.86 interface usb device-id


USB- .
.

UsbModem[N] DeviceID,
.
, DeviceID
.

no .

no

Usb

(config-if)> usb device-id vendor model

(config-if)> no usb device-id

Keenetic Ultra II 103


3


vendor .
model .

(config-if)> usb device-id 12d1 1001


Device ID saved.


2.00 interface usb device-id .

3.11.87 interface usb power-cycle


usb- .
usb-
.

no

Usb


(config-if)> usb power-cycle pause


pause
usb- .

(config-if)> usb power-cycle 3000


Core::Configurator: done.


2.03 interface usb power-cycle .

3.11.88 interface wmm


WMM .

no

104 Keenetic Ultra II


3

Access Point

(config-if)> wmm

(config-if)> no wmm

(config-if)> wmm
WMM extensions enabled.


2.00 interface wmm .

3.11.89 interface wps


WPS .

no

WiFi

(config-if)> wps

(config-if)> no wps

(config-if)> wps
WPS functionality enabled.


2.00 interface wps .

3.11.90 interface wps auto-self-pin


WPS auto-self-pin. auto-self-pin .

no .

no

WiFi

Keenetic Ultra II 105


3

(config-if)> wps auto-self-pin

(config-if)> no wps auto-self-pin

(config-if)> wps auto-self-pin


Network::Interface::Rtx::Wps: an auto self PIN mode enabled.


2.04 interface wps auto-self-pin .

3.11.91 interface wps button


WPS . 2 ,
, .

no

WiFi


(config-if)> wps button direction


direction send WiFi.
receive WiFi Keenetic Ultra
II.

(config-if)> wps button send


Sending WiFi configuration process started (software button mode).


2.00 interface wps button .

3.11.92 interface wps peer


WPS PIN . 2
, , .

no

106 Keenetic Ultra II


3

WiFi

(config-if)> wps peer direction pin


direction send WiFi.
receive WiFi Keenetic Ultra
II.
pin PIN- .

(config-if)> wps peer receive 99586683


Receiving WiFi configuration process started (peer PIN mode).


2.04 interface wps peer .

3.11.93 interface wps self-pin


WPS PIN . 2 ,
, .

no

WiFi

(config-if)> wps self-pin direction


direction send WiFi.
receive WiFi Keenetic Ultra
II.

(config-if)> wps self-pin receive


Receiving WiFi configuration process started (self PIN mode).


2.00 interface wps self-pin .

Keenetic Ultra II 107


3

3.12 ip dhcp host


IP- MAC- .
, .
IP- ,
, DHCP .

MAC-,
IP-, IP-,
MAC-.

no .

no


(config)> ip dhcp host host [ mac ] [ ip ]

(config)> no ip dhcp host host


host ,
MAC-IP
.
mac MAC- MAC-
IP-. ,

.
ip IP- IP- . ,
.

(config)> ip dhcp host HOST 192.168.1.44


new host "HOST" has been created.


2.00 ip dhcp host .

3.13 ip dhcp pool


DHCP-. ,
. DNS-
(dns-server ), (default-router )
(lease ), IP-
(range ).

108 Keenetic Ultra II


3

DHCP
service dhcp .

32 . 64
.

:
.
DHCP , IP-,
range , ,
Ethernet- .

no .

no

(config-dhcp-pool)

(config)> ip dhcp pool name

(config)> no ip dhcp pool name


name DHCP.

(config)> ip dhcp pool test_pool


pool "test_pool" has been created.


2.00 ip dhcp pool .

3.13.1 ip dhcp pool bind


.

no

Ethernet

(config-dhcp-pool)> bind interface

(config-dhcp-pool)> no bind interface

Keenetic Ultra II 109


3


interface .

(config-dhcp-pool)> bind GigabitEthernet1


pool "test_pool" bound to interface GigabitEthernet1.


2.00 ip dhcp pool bind .

3.13.2 ip dhcp pool default-router


IP- . ,
, Ethernet-,
range .

no .

no


(config-dhcp-pool)> default-router address

(config-dhcp-pool)> no default-router


address IP- .

(config-dhcp-pool)> default-router 192.168.1.88


pool "test_pool" router address has been saved.


2.00 ip dhcp pool default-router .

3.13.3 ip dhcp pool dns-server


IP- DNS. ,
, Ethernet-,
range .

no .

110 Keenetic Ultra II


3

no

(config-dhcp-pool)> dns-server address1 [ address2 ]

(config-dhcp-pool)> no dns-server


address1 IP- DNS-.
address2 IP- DNS-.

(config-dhcp-pool)> dns-server 192.168.1.88


pool "test_pool" name server list has been saved.


2.00 ip dhcp pool dns-server .

3.13.4 ip dhcp pool enable


.

no .

no

(config-dhcp-pool)> enable

(config-dhcp-pool)> no enable

(config-dhcp-pool)> enable
Dhcp::Server: pool "111" is enabled.


2.03 ip dhcp pool enable .

3.13.5 ip dhcp pool lease


IP- DHCP.

Keenetic Ultra II 111


3

no ,
86400.

no


(config-dhcp-pool)> lease lease

(config-dhcp-pool)> no lease


lease .

(config-dhcp-pool)> lease 100500


pool "test_pool" lease has been changed.


2.00 ip dhcp pool lease .

3.13.6 ip dhcp pool range


, DHCP-
. IP-,
. ,
, .
DNS-,
ip dhcp pool default-router ip
dhcp pool dns-server.

no .

no


(config-dhcp-pool)> range begin ( end | size )

(config-dhcp-pool)> no range


begin IP- .
end IP- .
size .

112 Keenetic Ultra II


3

(config-dhcp-pool)> range 192.168.15.43 3


pool "_WEBADMIN" range has been saved.


2.00 ip dhcp pool range .

3.13.7 ip dhcp pool wpad


DHCP 252 WPAD .
.

no .

no

(config-dhcp-pool)> wpad wpad

(config-dhcp-pool)> no wpad


wpad URL- -.

(config-dhcp-pool)> wpad http://wpad/wpad.dat


Dhcp::Pool: WPAD option has been saved.


2.05 ip dhcp pool wpad .

3.14 ip dhcp relay lan


, DHCP
.
lan , ,
.

no DHCP
. ,
DHCP .

no

Keenetic Ultra II 113


3


(config)> ip dhcp relay lan interface

(config)> no ip dhcp relay lan [ interface ]


interface
Ethernet , DHCP
.

(config)> ip dhcp relay lan Home


added LAN interface Home.


2.00 ip dhcp relay lan .

3.15 ip dhcp relay server


IP- DHCP,
.

no .

no


(config)> ip dhcp relay server address

(config)> no ip dhcp relay server [ address ]


address IP- IP- DHCP.

(config)> ip dhcp relay server 192.168.1.11


using DHCP server 192.168.1.11.


2.00 ip dhcp relay server .

114 Keenetic Ultra II


3

3.16 ip dhcp relay wan


, DHCP
DHCP.
. (.ip
dhcp relay server), .
.

no .

no

(config)> ip dhcp relay wan interface

(config)> no ip dhcp relay wan [ interface ]


interface
Ethernet ,
DHCP-.

(config)> ip dhcp relay wan GigabitEthernet1


using WAN interface GigabitEthernet1.


2.00 ip dhcp relay wan .

3.17 ip host
DNS.

no

(config)> ip host domain address

(config)> no ip host [ domain address ]


domain .

Keenetic Ultra II 115


3


address IP- IP- .

(config)> ip host zydata 192.168.1.22


added record zydata, address 192.168.1.22.


2.00 ip host .

3.18 ip name-server
IP- DNS.
,
PPP DHCP .

, ,
, .
,
PPP DHCP .
DNS . ,

, ,
.

ip name-server ,
DNS-. ,

, ,
.

no DNS
, ,
, .

no


(config)> ip name-server address [ domain [ on interface ] ]

(config)> no ip name-server [ address ] [ domain [ on interface ] ]


address IP- .
domain ,
. DNS-

116 Keenetic Ultra II


3




. ,

.
interface .

(config)> ip name-server 192.168.1.33


added name server 192.168.1.33, domain (default).


2.00 ip name-server .

3.19 ip nat
network
interface. , ip nat Home ,
Home, ,
.

no

IP

(config)> ip nat ( interface | address mask )

(config)> no ip nat ( interface | address mask )


interface (
).
address IP- mask
IP- ,
.
mask IP- .
:
(, 255.255.255.0)
(, /24).

Keenetic Ultra II 117


3

(config)> ip nat PPTP0


NAT rule added.


2.00 ip nat .

3.20 ip nat vpn


VPN-.

no .

no

IP

(config)> ip nat vpn

(config)> no ip nat vpn

(config)> ip nat vpn


VPN NAT rule added.


2.04 ip nat vpn .

3.21 ip route
,
IP-
.

default .
.

no .

no

IP

118 Keenetic Ultra II


3

(config)> ip route ( network mask | host | default) ( gateway [


interface ] | interface ) [auto] [ metric ]

(config)> no ip route ( network mask | host | default) [ gateway |


interface ] [ metric ]


network IP- IP- .
mask IP- .
:
(, 255.255.255.0)
(, /24).
host IP- IP- .
default
.
interface .

,
-,

.


interface ip global ,
,


.
gateway IP- IP-
.

,
interface ip global .
,

IP.
auto ,

.
metric .
.

(config)> ip route default Home


static route added.


2.00 ip route .

Keenetic Ultra II 119


3

3.22 ip static
IP- .
interface network c
public,
(DNAT). to-address c
public,
(SNAT). TCP/UDP .

network , to-address,
,
ip nat.

ip static
ip nat .

no

IP


(config)> ip static [tcp | udp] ( interface | ( address mask) ) ( (
port through end-port to-address) | ( port to-address [to-port])
| to-address )

(config)> no ip static [ [tcp | udp] ( interface | ( address mask) ) ( (


port through end-port to-address) | ( port to-address [to-port])
| to-address ) ]


protocol tcp TCP .
udp UDP protocol.
interface (
).
address IP- mask
IP- ,
.
mask IP- .
:
(, 255.255.255.0)
(, /24).
port TCP/UDP,
, .
,
.
end-port .
to-address IP- .

120 Keenetic Ultra II


3


to-port TCP/UDP .
,
.

172.16.1.0/24
( private) 10.0.0.0/16 (
public). , ,
80 ,
172.16.1.33. ,
, :

interface Home
ip address 172.16.1.1/24
!
interface Internet
ip address 10.0.0.1/16
ip global 1
!
ip nat Home
ip static tcp Internet 80 172.16.1.33 80


2.00 ip static .

3.23 ipv6 local-prefix


(ULA).
default,
.

no

(config)> ipv6 local-prefix (default | prefix )

(config)> no ipv6 local-prefix [default | prefix ]


default
.
prefix (ULA).

fd00::/8 48.

Keenetic Ultra II 121


3

(config)> ipv6 local-prefix fd01:db8:43::/48


ULA prefix saved.


2.00 ipv6 local-prefix .

3.24 ipv6 name-server


IP- DNS.
,
PPP DHCP .

ipv6 name-server ,
DNS-.

no DNS
, ,
, .

no


(config)> ipv6 name-server address

(config)> no ipv6 name-server [ address ]


address IPv6- .

(config)> ipv6 name-server 2001:db8::2


added name server 2001:db8::2, domain (default).


2.00 ipv6 name-server .

3.25 ipv6 route


,
IPv6-
.

default .
.

122 Keenetic Ultra II


3

no .

no

(config)> ipv6 route ( prefix | default) interface

(config)> no ipv6 route ( prefix | default) interface


prefix IPv6.
default .

interface .

(config)> ipv6 route


added name server 2001:db8::2, domain (default).


2.00 ipv6 route .

3.26 ipv6 subnet


IPv6.
, .

no

(config-subnet)

(config)> ipv6 subnet name

(config)> no ipv6 subnet [ name ]


name .

Keenetic Ultra II 123


3


2.00 ipv6 subnet .

3.26.1 ipv6 subnet bind


.

no .

no


(config-subnet)> bind interface

(config-subnet)> no bind [ interface ]


interface .

(config-subnet)> bind WifiMaster0/AccessPoint1


Interface bound.


2.00 ipv6 subnet bind .

3.26.2 ipv6 subnet mode


.
dhcp slaac DHCPv6-
, SLAAC (
).

no


(config-subnet)> mode mode

(config-subnet)> no mode mode

124 Keenetic Ultra II


3


mode slaac SLAAC (
).
dhcp DHCPv6-.

(config-subnet)> mode slaac


Mode changed.


2.00 ipv6 subnet mode .

3.26.3 ipv6 subnet number


,
. .

no

(config-subnet)> number n

(config-subnet)> no number [ n ]


n .

(config-subnet)> number 3
Number changed.


2.00 ipv6 subnet number .

3.26.4 ipv6 subnet stateless-dhcp


DHCPv6-
.

no

Keenetic Ultra II 125


3

(config-subnet)> stateless-dhcp

(config-subnet)> no stateless-dhcp


2.00 ipv6 subnet stateless-dhcp .

3.27 isolate-private

private.

no ,
private .

no

(config)> isolate-private

(config)> no isolate-private

(config)> isolate-private
Applied.


2.00 isolate-private .

3.28 known host


.

no


(config)> known host name mac

(config)> no known host [ mac ]


name .

126 Keenetic Ultra II


3


mac MAC- MAC- .

(config)> known host 123 4C:0F:6E:4B:3C:BA


Core::KnownHosts: new host "123" has been created.


2.00 known host .

3.29 ntp
NTP-.

no NTP-
.

no

(config)> ntp

(config)> no ntp


2.00 ntp .

3.30 ntp server


NTP-. 8
NTP-.

no NTP- .
, NTP- .

no

(config)> ntp server host

(config)> no ntp server [ host ]

Keenetic Ultra II 127


3


host NTP-.

(config)> ntp server 2.ru.pool.ntp.org


server "2.ru.pool.ntp.org" has been added.


2.00 ntp server .

3.31 ntp sync-period


.
1 .

no .

no


(config)> ntp sync-period time

(config)> no ntp sync-period


time , .
60 1
.

(config)> ntp sync-period 365


a synchronization period set to 365 minutes.


2.00 ntp sync-period .

3.32 ping-check profile


Ping Check .
, .

no Ping Check .

no

128 Keenetic Ultra II


3

(config-pchk)

(config)> ping-check profile name

(config)> no ping-check profile name


name .

ping-check profile ? .


2.04 ping-check profile .

3.32.1 ping-check profile host


.

no

(config-pchk)> host hostname


hostname .

(config-pchk)> host 8.8.8.8


PingCheck::Profile: profile "TEST" uses host 8.8.8.8 for testing.


2.04 ping-check profile host .

3.32.2 ping-check profile max-fails



,
. 5.

no .

Keenetic Ultra II 129


3

no


(config-pchk)> max-fails count

(config-pchk)> no max-fails


count .
1
10 .

(config-pchk)> max-fails 7
PingCheck::Profile: profile "TEST" uses 7 fail count for
disabling interface.


2.04 ping-check profile max-fails .

3.32.3 ping-check profile min-success


,
.
1.

no .

no


(config-pchk)> min-success count

(config-pchk)> no min-success


count .
1
10 .

(config-pchk)> min-success 3
PingCheck::Profile: profile "123" uses 3 success count for
enabling interface.

130 Keenetic Ultra II


3


2.04 ping-check profile min-success .

3.32.4 ping-check profile mode


Ping Check . icmp .

no .

no

(config-pchk)> mode mode

(config-pchk)> no mode


mode icmp

ICMP-echo request (ping).
connect

TCP-
.

(config-pchk)> mode connect


PingCheck::Profile: profile "TEST" uses connect mode.


2.04 ping-check profile mode .

3.32.5 ping-check profile port


.
connect Ping Check (ping-check mode ).

no

(config-pchk)> port number

Keenetic Ultra II 131


3


number .

(config-pchk)> port 80
PingCheck::Profile: profile "TEST" uses port 80 for testing.


2.04 ping-check profile port .

3.32.6 ping-check profile power-cycle


USB.
.

no .

no

(config-pchk)> power-cycle

(config-pchk)> no power-cycle

(config-pchk)> power-cycle
PingCheck::Profile: profile "123" enable usb power cycle.


2.04 ping-check profile power-cycle .

3.32.7 ping-check profile restart-interface


.
.

no .

no

(config-pchk)> restart-interface

132 Keenetic Ultra II


3

(config-pchk)> no restart-interface

(config-pchk)> restart-interface
PingCheck::Profile: Profile "test" enabled restarting interface.


2.05 ping-check profile restart-interface
.

3.32.8 ping-check profile timeout



. 1.

no .

no

(config-pchk)> timeout time

(config-pchk)> no timeout


time .
1 10
.

(config-pchk)> timeout 4
PingCheck::Profile: profile "TEST" timeout is changed to 4
seconds.


2.04 ping-check profile timeout .

3.32.9 ping-check profile update-interval


Ping Check .

no

Keenetic Ultra II 133


3


(config-pchk)> update-interval time


time .
3 3600
.

(config-pchk)> update-interval 60
PingCheck::Profile: profile "TEST" interval is changed to 60
seconds.


2.04 ping-check profile update-interval .

3.33 ppe
(PPE).

no

(config)> ppe

(config)> no ppe

(config)> ppe
PPE enabled


2.00 ppe .

3.34 pppoe pass


. 10
.

no .

no

134 Keenetic Ultra II


3

Ethernet

(config)> pppoe pass through from to

(config)> no pppoe pass through


from .

to .

(config)> pppoe pass through Home ISP


PPPoE pass-through enabled.


2.00 pppoe pass .

3.35 printer
.
, .

no .

no

(config-printer)

(config)> printer id

(config)> no printer id


id .


2.00 printer .

Keenetic Ultra II 135


3

3.35.1 printer bidirectional


.

no .

no

(config-printer)> bidirectional

(config-printer)> no bidirectional

(config-printer)> bidirectional
Bidirectional mode enabled.


2.04 printer bidirectional .

3.35.2 printer debug


. ,
1.

no .

no


(config-printer)> debug [ level level ]

(config-printer)> no debug


level .
1 3 .

(config-printer)> debug level 3


Printer::Manager: a debug level set to 3.


2.04 printer debug .

136 Keenetic Ultra II


3

3.35.3 printer name


.

no

(config-printer)> name name

(config-printer)> no name name


name .

(config-printer)> name Canon


Name changed.


2.00 printer name .

3.35.4 printer port


, direct.

no

(config-printer)> port port


port .

(config-printer)> port 2012


Port changed.


2.00 printer port .

Keenetic Ultra II 137


3

3.35.5 printer type


.

no


(config-printer)> type type


type cifs CIFS.
direct
.

(config-printer)> type direct


Type changed.


2.00 printer type .

3.36 service cifs


CIFS-.

no

(config)> service cifs

(config)> no service cifs

(config)> service cifs


CIFS server enabled.


2.00 service cifs .

138 Keenetic Ultra II


3

3.37 service cloud-control


Cloud Control.
-.

no .

no

(config)> service cloud-control

(config)> no service cloud-control

(config)> service cloud-control


CloudControl::Agent: The cloud control service enabled.


2.05 service cloud-control .

3.38 service dhcp


DHCP-.
(.ip dhcp pool), .
, .

no .

no

(config)> service dhcp

(config)> no service dhcp

(config)> service dhcp


service enabled.


2.00 service dhcp .

Keenetic Ultra II 139


3

3.39 service dhcp-relay


-DHCP.
(. ip dhcp relay lan, ip dhcp relay server, ip dhcp relay wan),
. ,
.

no .

no

(config)> service dhcp-relay

(config)> no service dhcp-relay

(config)> service dhcp-relay


service enabled.


2.00 service dhcp-relay .

3.40 service dlna


DLNA .
(. dlna), .
, .

no .

no

(config)> service dlna

(config)> no service dlna

(config)> service dlna


DLNA server enabled.


2.00 service dlna .

140 Keenetic Ultra II


3

3.41 service dns-proxy


DNS- .

no .

no

(config)> service dns-proxy

(config)> no service dns-proxy

(config)> service dns-proxy


DNS proxy enabled.


2.00 service dns-proxy .

3.42 service dpi


DPI. .

no .

no

(config)> service dpi

(config)> no service dpi

(config)> service dpi


Dpi::Manager: Enabled.


2.06 service dpi.

Keenetic Ultra II 141


3

3.43 service ftp


FTP-
USB-,
.

no .

no

(config)> service ftp

(config)> no service ftp

(config)> service ftp


FTP server enabled.


2.00 service ftp .

3.44 service http


HTTP-,
Web- .Keenetic Ultra II.

no .

no

(config)> service http

(config)> no service http

(config)> service http


HTTP server enabled.


2.00 service http .

142 Keenetic Ultra II


3

3.45 service igmp-proxy


IGMP-.
upstream downstream .
, .
, .

no .

no

(config)> service igmp-proxy

(config)> no service igmp-proxy

(config)> service igmp-proxy


IGMP proxy enabled.


2.00 service igmp-proxy .

3.46 service ntp-client


NTP-.

no .

no

(config)> service ntp-client

(config)> no service ntp-client

(config)> service ntp-client


NTP client enabled.


2.00 service ntp-client .

Keenetic Ultra II 143


3

3.47 service telnet


telnet,
.

no .

no

(config)> service telnet

(config)> no service telnet

(config)> service tel


Telnet server enabled.


2.00 service telnet .

3.48 service torrent


BitTorrent-
(, -)
.

no .

no

(config)> service torrent

(config)> no service torrent

(config)> service torrent


server enabled.


2.00 service torrent .

144 Keenetic Ultra II


3

3.49 service udpxy


udpxy .

no .

no

(config)> service udpxy

(config)> no service udpxy

(config)> service udpxy


Udpxy::Manager: a service enabled.


2.03 service udpxy .

3.50 service upnp


UPnP .

no .

no

(config)> service upnp

(config)> no service upnp


2.00 service upnp .

3.51 service vpn-server


VPN.

no .

no

Keenetic Ultra II 145


3

(config)> service vpn-server

(config)> no service vpn-server

(config)> service vpn-server


Core::Configurator: done.


2.04 service vpn-server .

3.52 show

. .

no

(show)

(config)> show


2.00 show .

3.52.1 show access


USB-.

no


(show)> access directory


directory USB-.

146 Keenetic Ultra II


3

(show)> access PENDRIVE:doc

user:
name: admin
assigned: write
effective: write
exists: yes
user:
name: test
assigned: read
effective: read
exists: yes


2.00 show access .

3.52.2 show associations


, .
,
.

no

Access Point

(show)> associations [ name ]


name .

associations ? .

(show)> associations GuestWiFi

station:
mac: 10:0b:a9:2f:d7:d0
ap: 1
authenticated: 1
txrate: 54
station:
mac: a0:88:b4:40:9c:98
ap: 1
authenticated: 1
txrate: 54

Keenetic Ultra II 147


3


2.00 show associations .

3.52.3 show cifs


CIFS-.

no

(show)> cifs

(show)> cifs

enabled: yes

master: no

automount: yes

permissive: yes

share:
mount: 9430B54530B52EDC:
label: 9430B54530B52EDC
description:
active: no


2.00 show cifs .

3.52.4 show clock date


.

no

(show)> clock date

(show)> clock date

148 Keenetic Ultra II


3

date:
weekday: 4
day: 24
month: 5
year: 2012
hour: 23
min: 50
sec: 6
msec: 275
dst: inactive
tz:
locality: Moscow
stdoffset: 14400
dstoffset: -1


2.00 show clock date .

3.52.5 show clock timezone-list


.

no

(show)> clock timezone-list

(show)> clock timezone-list

timezones:
tz:
locality: Adak
stdoffset: -36000
dstoffset: -32400
tz:
locality: Aden
stdoffset: 10800
dstoffset: -1
tz:
locality: Almaty
stdoffset: 21600
dstoffset: -1
tz:
locality: Amsterdam
stdoffset: 3600
dstoffset: 7200
tz:
locality: Anadyr

Keenetic Ultra II 149


3

stdoffset: 43200
dstoffset: -1
...
...
...


2.00 show clock timezone-list .

3.52.6 show dlna


DLNA-.

no

(show)> dlna

(show)> dlna

running: yes


2.00 show dlna .

3.52.7 show dot1x


802.1 .
802.1
interface authentication
.

no

Ethernet

(show)> dot1x [ interface ]

150 Keenetic Ultra II


3


interface Ethernet.

dot1x ? .

(config)> show dot1x ISP

dot1x:
id: GigabitEthernet1
state: CONNECTING

Core::Configurator: done.


2.02 show dot1x .

3.52.8 show dpi hosts


, DPI,
.

no

(show)> dpi hosts

(show)> dpi hosts

host:
mac: 20:aa:4b:5c:09:0e
class_name: unknown
device_name: unknown

flow_types:
flow_type: skype


2.06 show dpi hosts .

3.52.9 show drivers


.

Keenetic Ultra II 151


3

no

(show)> drivers

(show)> drivers

module:
name: rt2860v2_sta
size: 546736
used: 0
subs: -
module:
name: rt2860v2_ap
size: 554192
used: 2
subs: -
module:
name: rndis_host
size: 5024
used: 0
subs: -
module:
name: dwc_otg
size: 68416
used: 0
subs: -
module:
name: lm
size: 1344
used: 1
subs: dwc_otg,[permanent]
...
...
...


2.00 show drivers .

3.52.10 show ftp


, ftp .

no

152 Keenetic Ultra II


3

(show)> ftp

(show)> ftp

enabled: yes
permissive: yes

user:
name: admin
root: E:/
path: /tmp/mnt/E//

user:
name: torrent
root:
path:

Core::Configurator: done.


2.03 show ftp .

3.52.11 show interface


.
, .

no

IP

(show)> interface name


name ,

.

3.1.

show interface
. , GigabitEthernet0
,
.

Keenetic Ultra II 153


3

config)> show interface GigabitEthernet0

index: 0
type: Switch
description:
state: up
link: up
port, index = 1:
link: up
speed: 100M
duplex: full
port, index = 2:
link: down
speed:
duplex:
port, index = 3:
link: down
speed:
duplex:
port, index = 4:
link: down
speed:
duplex:
port, index = 5:
link: up
speed: 100M
duplex: full


2.00 show interface .

3.52.12 show interface channels


.

no

Radio


(show)> interface name channels


name ,

.

154 Keenetic Ultra II


3

(show)> interface WifiMaster0 channels

channels:
channel, index = 0:
number: 1
ext-40-above: yes
ext-40-below: no

channel, index = 1:
number: 2
ext-40-above: yes
ext-40-below: yes

channel, index = 2:
number: 3
ext-40-above: yes
ext-40-below: yes

channel, index = 3:
number: 4
ext-40-above: yes
ext-40-below: yes

channel, index = 4:
number: 5
ext-40-above: yes
ext-40-below: yes

channel, index = 5:
number: 6
ext-40-above: yes
ext-40-below: yes

channel, index = 6:
number: 7
ext-40-above: yes
ext-40-below: yes

channel, index = 7:
number: 8
ext-40-above: yes
ext-40-below: yes

channel, index = 8:
number: 9
ext-40-above: yes
ext-40-below: yes

channel, index = 9:
number: 10
ext-40-above: yes
ext-40-below: yes

channel, index = 10:

Keenetic Ultra II 155


3

number: 11
ext-40-above: yes
ext-40-below: yes

channel, index = 11:


number: 12
ext-40-above: yes
ext-40-below: yes

channel, index = 12:


number: 13
ext-40-above: no
ext-40-below: yes

Core::Configurator: done.


2.03 show interface channels .

3.52.13 show interface mac


MAC- .

no

Switch


(show)> interface name mac


name ,

.

(show)> interface GigabitEthernet0 mac


===========================================
Port MAC Aging
===========================================
1 20:6a:8a:1a:58:e9 1
3 cc:5d:4e:4f:aa:b2 1
3 cc:5d:4e:4f:aa:b2 3
1 01:00:5e:00:00:fc 7

156 Keenetic Ultra II


3


2.00 show interface mac .

3.52.14 show interface rf e2p


.

no

Radio

(show)> interface name rf e2p


name ,

.

(show)> interface WifiMaster0 rf e2p

[0x0000]:5392 [0x0002]:0103 [0x0004]:43EC [0x0006]:04F6


[0x0008]:042B [0x000A]:5392 [0x000C]:1814 [0x000E]:8001
[0x0010]:0000 [0x0012]:5392 [0x0014]:1814 [0x0016]:0000
[0x0018]:0001 [0x001A]:FF6A [0x001C]:0213 [0x001E]:FFFF
[0x0020]:FFFF [0x0022]:FFC1 [0x0024]:9201 [0x0026]:FFFF
[0x0028]:43EC [0x002A]:04F6 [0x002C]:052B [0x002E]:FFFF
[0x0030]:758E [0x0032]:4301 [0x0034]:FF22 [0x0036]:0025
[0x0038]:FFFF [0x003A]:012D [0x003C]:FFFF [0x003E]:FAD9
[0x0040]:88CC [0x0042]:FFFF [0x0044]:FF0A [0x0046]:0000
[0x0048]:0000 [0x004A]:0000 [0x004C]:0000 [0x004E]:FFFF
[0x0050]:FFFF [0x0052]:1111 [0x0054]:1111 [0x0056]:1111
[0x0058]:1011 [0x005A]:1010 [0x005C]:1010 [0x005E]:1010
[0x0060]:1111 [0x0062]:1211 [0x0064]:1212 [0x0066]:1312
[0x0068]:1313 [0x006A]:1413 [0x006C]:1414 [0x006E]:2264
[0x0070]:00F1 [0x0072]:1133 [0x0074]:0000 [0x0076]:FC62
[0x0078]:0000 [0x007A]:0000 [0x007C]:0000 [0x007E]:0000
[0x0080]:FFFF [0x0082]:FFFF [0x0084]:FFFF [0x0086]:FFFF
[0x0088]:FFFF [0x008A]:FFFF [0x008C]:FFFF [0x008E]:FFFF
[0x0090]:FFFF [0x0092]:FFFF [0x0094]:FFFF [0x0096]:FFFF
[0x0098]:FFFF [0x009A]:FFFF [0x009C]:FFFF [0x009E]:FFFF
[0x00A0]:FFFF [0x00A2]:FFFF [0x00A4]:FFFF [0x00A6]:FFFF
[0x00A8]:FFFF [0x00AA]:FFFF [0x00AC]:FFFF [0x00AE]:FFFF
[0x00B0]:FFFF [0x00B2]:FFFF [0x00B4]:FFFF [0x00B6]:FFFF
[0x00B8]:FFFF [0x00BA]:FFFF [0x00BC]:FFFF [0x00BE]:FFFF
[0x00C0]:FFFF [0x00C2]:FFFF [0x00C4]:FFFF [0x00C6]:FFFF
[0x00C8]:FFFF [0x00CA]:FFFF [0x00CC]:FFFF [0x00CE]:FFFF

Keenetic Ultra II 157


3

[0x00D0]:FFFF [0x00D2]:FFFF [0x00D4]:FFFF [0x00D6]:FFFF


[0x00D8]:FFFF [0x00DA]:FFFF [0x00DC]:FFFF [0x00DE]:6666
[0x00E0]:AAAA [0x00E2]:6688 [0x00E4]:AAAA [0x00E6]:6688
[0x00E8]:AAAA [0x00EA]:6688 [0x00EC]:AAAA [0x00EE]:6688
[0x00F0]:FFFF [0x00F2]:FFFF [0x00F4]:FFFF [0x00F6]:FFFF
[0x00F8]:FFFF [0x00FA]:FFFF [0x00FC]:FFFF [0x00FE]:FFFF
[0x0100]:FFFF [0x0102]:FFFF [0x0104]:FFFF [0x0106]:FFFF
[0x0108]:FFFF [0x010A]:FFFF [0x010C]:FFFF [0x010E]:FFFF
[0x0110]:FFFF [0x0112]:FFFF [0x0114]:FFFF [0x0116]:FFFF
[0x0118]:FFFF [0x011A]:FFFF [0x011C]:FFFF [0x011E]:FFFF
[0x0120]:FFFF [0x0122]:FFFF [0x0124]:FFFF [0x0126]:FFFF
[0x0128]:FFFF [0x012A]:FFFF [0x012C]:FFFF [0x012E]:FFFF
[0x0130]:FFFF [0x0132]:FFFF [0x0134]:FFFF [0x0136]:FFFF
[0x0138]:FFFF [0x013A]:FFFF [0x013C]:0000 [0x013E]:FFFF
[0x0140]:FFFF [0x0142]:FFFF [0x0144]:FFFF [0x0146]:FFFF
[0x0148]:FFFF [0x014A]:FFFF [0x014C]:FFFF [0x014E]:FFFF
[0x0150]:FFFF [0x0152]:FFFF [0x0154]:FFFF [0x0156]:FFFF
[0x0158]:FFFF [0x015A]:FFFF [0x015C]:FFFF [0x015E]:FFFF
[0x0160]:FFFF [0x0162]:FFFF [0x0164]:FFFF [0x0166]:FFFF
[0x0168]:FFFF [0x016A]:FFFF [0x016C]:FFFF [0x016E]:FFFF
[0x0170]:FFFF [0x0172]:FFFF [0x0174]:FFFF [0x0176]:FFFF
[0x0178]:FFFF [0x017A]:FFFF [0x017C]:FFFF [0x017E]:FFFF
[0x0180]:FFFF [0x0182]:FFFF [0x0184]:FFFF [0x0186]:FFFF
[0x0188]:FFFF [0x018A]:FFFF [0x018C]:FFFF [0x018E]:FFFF
[0x0190]:FFFF [0x0192]:FFFF [0x0194]:FFFF [0x0196]:FFFF
[0x0198]:FFFF [0x019A]:FFFF [0x019C]:FFFF [0x019E]:FFFF
[0x01A0]:FFFF [0x01A2]:FFFF [0x01A4]:FFFF [0x01A6]:FFFF
[0x01A8]:FFFF [0x01AA]:FFFF [0x01AC]:FFFF [0x01AE]:FFFF
[0x01B0]:FFFF [0x01B2]:FFFF [0x01B4]:FFFF [0x01B6]:FFFF
[0x01B8]:FFFF [0x01BA]:FFFF [0x01BC]:FFFF [0x01BE]:FFFF
[0x01C0]:FFFF [0x01C2]:FFFF [0x01C4]:FFFF [0x01C6]:FFFF
[0x01C8]:FFFF [0x01CA]:FFFF [0x01CC]:FFFF [0x01CE]:FFFF
[0x01D0]:FFFF [0x01D2]:FFFF [0x01D4]:FFFF [0x01D6]:FFFF
[0x01D8]:FFFF [0x01DA]:FFFF [0x01DC]:FFFF [0x01DE]:FFFF
[0x01E0]:FFFF [0x01E2]:FFFF [0x01E4]:FFFF [0x01E6]:FFFF
[0x01E8]:FFFF [0x01EA]:FFFF [0x01EC]:FFFF [0x01EE]:FFFF
[0x01F0]:FFFF [0x01F2]:FFFF [0x01F4]:FFFF [0x01F6]:FFFF
[0x01F8]:FFFF [0x01FA]:FFFF [0x01FC]:FFFF [0x01FE]:FFFF


2.04 show interface rf e2p .

3.52.15 show interface stat


.

no

158 Keenetic Ultra II


3

(show)> interface name stat


name .

(show)> interface Home stat

rxpackets: 564475

rxbytes: 68729310

rxerrors: 0

rxdropped: 0

txpackets: 796849

txbytes: 870960214

txerrors: 0

txdropped: 0


2.00 show interface stat .

3.52.16 show interface wps pin


WPS PIN .

no

WiFi

(show)> interface name wps pin


name .

Keenetic Ultra II 159


3

(show)> interface AccessPoint wps pin

pin: 60180360


2.00 show interface wps pin .

3.52.17 show interface wps status


WPS .

no

WiFi


(show)> interface name wps status


name .

(show)> interface AccessPoint wps status

wps:
configured:
status: active
direction: send
mode: pbc
left: 113


2.00 show interface wps status .

3.52.18 show ip arp


ARP .

no

160 Keenetic Ultra II


3

(show)> ip arp

(show)> ip arp
===================================================
IP MAC Interface
===================================================
192.168.75.209 9c:b7:0d:91:e7:31 Home
82.135.72.150 00:0e:0c:09:db:60 ISP
192.168.75.106 88:53:2e:5e:07:1d Home
192.168.75.201 7c:61:93:eb:6c:77 Home
192.168.75.203 00:19:d2:48:d6:dc Home
10.10.30.34 a0:88:b4:40:9c:98 GuestWiFi
192.168.75.203 7c:61:93:ee:88:67 Home
192.168.75.211 00:26:c7:4a:e0:16 Home
82.138.72.163 34:51:c9:c6:53:cf ISP
192.168.75.200 60:d8:19:cb:1b:36 Home
192.168.75.204 4c:0f:6e:4b:3c:ba Home
82.138.72.129 00:30:48:89:b5:9f ISP


2.00 show ip arp .

3.52.19 show ip dhcp bindings


DHCP-server . ,
IP .

no

(show)> ip dhcp bindings [ pool ]


pool .

(show)> ip dhcp bindings _WEBADMIN

lease:
ip: 192.168.15.211
mac: 00:26:c7:4a:e0:16
expires: 289
hostname: lenovo
lease:
ip: 192.168.15.208
mac: 00:19:d2:48:d6:dc

Keenetic Ultra II 161


3

expires: 258
hostname: evo
...
...


2.00 show ip dhcp bindings .

3.52.20 show ip dhcp pool


.
, .

no


(show)> ip dhcp pool [ pool ]


pool .

(show)> ip dhcp pool 123

pool, name = 123:


interface, binding = auto:
network: 0.0.0.0/0
begin: 0.0.0.0
end: 0.0.0.0
router, default = yes: 0.0.0.0
lease, default = yes: 25200
state: down
debug: no


2.03 show ip dhcp pool .

3.52.21 show ip name-server


DNS-
.

no

162 Keenetic Ultra II


3

(show)> ip name-server

(show)> ip name-server

server:
address: 82.131.72.251
domain:
global: no
server:
address: 82.131.72.15
domain:
global: no
server:
address: 82.132.76.130
domain: zydata.ru
global: yes


2.00 show ip name-server .

3.52.22 show ip nat


.

no

(show)> ip nat [tcp]


tcp TCP
.

(show)> ip nat
===================================================================
Type | In | Source Port Destination Port Packets
| Out |
===================================================================
udp 10.1.30.34 6482 111.221.77.159 40005 1
111.221.77.159 40005 82.138.7.164 6482 1
-------------------------------------------------------------------
udp 220.27.130.179 6896 82.138.7.164 28197 1

Keenetic Ultra II 163


3

192.168.15.204 28197 220.27.130.179 6896 1


-------------------------------------------------------------------
tcp 10.1.30.33 57474 78.141.179.15 12350 12
78.141.179.15 12350 82.138.7.164 57474 11
-------------------------------------------------------------------
udp 10.1.30.34 6482 84.201.228.162 44423 11
84.201.228.162 44423 82.138.7.164 6482 16
-------------------------------------------------------------------
tcp 10.1.30.34 46655 96.55.147.21 443 2
96.55.147.21 443 82.138.7.164 46655 0
-------------------------------------------------------------------
udp 10.1.30.34 6482 213.199.179.158 40006 1
213.199.179.158 40006 82.138.7.164 6482 1
-------------------------------------------------------------------


2.00 show ip nat .

3.52.23 show ip route


.

no


(show)> ip route [ sort criteria direction ]


direction ascending
.
descending
.
criteria interface
.
gateway
.
destination
.

(show)> ip route sort destination ascending


============================================================
Destination Gateway Interface Metric
============================================================
0.0.0.0/0 82.138.7.129 ISP 0
10.1.30.0/24 0.0.0.0 GuestWiFi 0

164 Keenetic Ultra II


3

82.138.7.27/32 0.0.0.0 PPTP0 0


82.138.7.32/32 0.0.0.0 PPTP0 0
82.138.7.128/26 0.0.0.0 ISP 0
82.138.7.132/32 82.138.7.129 ISP 0
82.138.7.141/32 82.138.7.129 ISP 0
89.179.183.128/26 82.138.7.138 ISP 0
192.168.15.0/24 0.0.0.0 Home 0


2.00 show ip route .

3.52.24 show ipv6 addresses


IPv6-.

no

(show)> ipv6 addresses

(show)> ipv6 addresses

address:
address: 2001:db8::1
interface: ISP
valid-lifetime: infinite
address:
address: 2001:db8::ce5d:4eff:fe4f:aab2
interface: Home
valid-lifetime: infinite
address:
address: fd3c:4268:1559:0:ce5d:4eff:fe4f:aab2
interface: Home
valid-lifetime: infinite
address:
address: fd01:db8:43:0:ce5d:4eff:fe4f:aab2
interface: Home
valid-lifetime: infinite


2.00 show ipv6 addresses .

3.52.25 show ipv6 prefixes


IPv6-.

Keenetic Ultra II 165


3

no

(show)> ipv6 prefixes

(show)> ipv6 prefixes

prefix:
prefix: 2001:db8::/64
interface: ISP
valid-lifetime: infinite
preferred-lifetime: infinite
prefix:
prefix: fd3c:4268:1559::/48
interface:
valid-lifetime: infinite
preferred-lifetime: infinite
prefix:
prefix: fd01:db8:43::/48
interface:
valid-lifetime: infinite
preferred-lifetime: infinite


2.00 show ipv6 prefixes .

3.52.26 show ipv6 routes


IPv6-.

no

(show)> ipv6 routes

(show)> ipv6 routes

route_:
destination: 2001:db8::/64
gateway: ::
interface: Home
route_:
destination: fd3c:4268:1559::/64
gateway: ::

166 Keenetic Ultra II


3

interface: Home
route_:
destination: fd01:db8:43::/64
gateway: ::
interface: Home


2.00 show ipv6 routes .

3.52.27 show last-change


.

no

(show)> last-change

(show)> last-change

date: Thu, 12 Jul 2012 10:01:47 GMT

agent: cli


2.00 show last-change .

3.52.28 show log


(,
), .
,
[Ctrl]+[C].

no

(show)> log [ max-lines ] [once]


max-lines .

Keenetic Ultra II 167


3


once CLI.

(show)> log
================================================================================
Time Message
================================================================================
I [Jul 12 12:08:39] radvd[228]: attempting to reread config file
I [Jul 12 12:08:39] radvd[228]: resuming normal operation
I [Jul 12 12:08:40] wmond: WifiMaster0/AccessPoint0:
STA(d8:b3:77:36:05:c1)
occurred MIC different in key handshaking.
I [Jul 12 12:08:40] radvd[228]: attempting to reread config file
I [Jul 12 12:08:40] radvd[228]: resuming normal operation
I [Jul 12 12:08:41] wmond: WifiMaster0/AccessPoint0:
STA(d8:b3:77:36:05:c1)
occurred MIC different in key handshaking.
I [Jul 12 12:08:41] radvd[228]: attempting to reread config file
I [Jul 12 12:08:41] radvd[228]: resuming normal operation
I [Jul 12 12:08:44] wmond: WifiMaster0/AccessPoint0:
STA(d8:b3:77:36:05:c1)
pairwise key handshaking timeout.
I [Jul 12 12:08:44] wmond: WifiMaster0/AccessPoint0:
STA(d8:b3:77:36:05:c1) had
deauthenticated.


2.00 show log .

3.52.29 show netfilter


.
.

no

(show)> netfilter


2.00 show netfilter .

168 Keenetic Ultra II


3

3.52.30 show ntp status


NTP .

no

(show)> ntp status

(show)> ntp status

status:
elapsed: 168141
server: 2.pool.ntp.org
synchronized: yes


2.00 show ntp status .

3.52.31 show ping-check


Ping Check .
.

no

(show)> ping-check [ profile_name ]


profile_name .

(show)> ping-check

pingcheck:
profile: TEST
host: 8.8.8.8
port: 80
max-fails: 7
timeout: 1
mode: connect

interface: ISP

Keenetic Ultra II 169


3

fail count: 0
status: pass

pingcheck:
profile: TEST1
mode: icmp

pingcheck:
profile: TEST2
mode: icmp


2.04 show ping-check .

3.52.32 show printers


.

no

(show)> printers

(show)> printers

printers:
printer: Canon MF8300C Series


2.00 show printers .

3.52.33 show running-config


,
system:running-config , more .

no

(show)> running-config

170 Keenetic Ultra II


3

(show)> running-config
! $$$ Model: ZyXEL Keenetic
! $$$ Version: 2.0
! $$$ Agent:
! $$$ Last change: Fri, 13 Jul 2012 07:23:56 GMT
system
set net.ipv4.ip_forward 1
set net.ipv4.netfilter.ip_conntrack_max 4096
set net.ipv4.netfilter.ip_conntrack_tcp_timeout_established
1200
set net.ipv4.netfilter.ip_conntrack_udp_timeout 60
set net.ipv4.tcp_fin_timeout 30
set net.ipv4.tcp_keepalive_time 120
set net.ipv6.conf.all.forwarding 1
hostname Keenetic
clock timezone Moscow
domainname WORKGROUP
!
ntp server 0.pool.ntp.org
ntp server 1.pool.ntp.org
ntp server 2.pool.ntp.org
ntp server 3.pool.ntp.org
access-list _WEBADMIN_GuestWiFi
deny tcp 0.0.0.0 0.0.0.0 10.1.30.1 255.255.255.255
!
access-list _WEBADMIN_ISP
permit tcp 0.0.0.0 0.0.0.0 192.168.15.200 255.255.255.255
port eq 3389
permit icmp 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0
!
isolate-private
dyndns profile _ABCD
!
dyndns profile _WEBADMIN
type dyndns
!
interface GigabitEthernet0
up
!
interface GigabitEthernet0/0
switchport mode access
switchport access vlan 1
!
interface GigabitEthernet0/1
switchport mode access
switchport access vlan 1
!
interface Bridge0
name Home
description "Home network"
inherit GigabitEthernet0/Vlan1
include AccessPoint
security-level private
ip address 192.168.15.43 255.255.255.0

Keenetic Ultra II 171


3

up
!
interface WiMax0
description Yota
security-level public
ip address auto
ip global 400
up
!
interface PPTP0
description "Office VPN"
peer crypton.zydata.ru
lcp echo 30 3
ipcp default-route
ipcp name-servers
ccp
security-level public
authentication identity "00441"
authentication password 123456
authentication mschap
authentication mschap-v2
encryption mppe
ip tcp adjust-mss pmtu
connect via ISP
up
!
ip route 82.138.7.141 ISP auto
ip route 82.138.7.132 ISP auto
ip route 82.138.7.27 PPTP0 auto
ip dhcp pool _WEBADMIN
range 192.168.15.200 192.168.15.219
bind Home
!
ip dhcp pool _WEBADMIN_GUEST_AP
range 10.1.30.33 10.1.30.52
bind GuestWiFi
!
ip dhcp host A 00:01:02:03:04:05 1.1.1.1
ip dhcp host B 00:01:02:03:04:06 1.1.1.2
ip nat Home
ip nat GuestWiFi
ipv6 subnet Default
bind Home
number 0
mode slaac
!
ipv6 local-prefix default
no ppe
upnp lan Home
torrent
rpc-port 8090
peer-port 51413
!
user admin

172 Keenetic Ultra II


3

password md5 2320924ba6e5c1fec3957e587a21535b


tag cli
tag cifs
tag http
tag ftp
!
user test
password md5 baadfb946f5d516379cfd75e31e409d9
tag readonly
!
service dhcp
service dns-proxy
service ftp
service cifs
service http
service telnet
service ntp-client
service upnp
cifs
share 9430B54530B52EDC 9430B54530B52EDC:
automount
permissive
!
!
!


2.00 show running-config.

3.52.34 show self-test


.
.

no

(show)> self-test


2.00 show self-test .

3.52.35 show site-survey


.

Keenetic Ultra II 173


3

no

Radio


(show)> site-survey name


name .


site-survey ? .

(show)> site-survey WifiStation0


======================================================================
ESSID MAC Ch Rate Q
======================================================================
ZyXEL Keenetic 00:23:f8:5b:d3:f5 11 300Mbit/s 100
NDM Systems, Inc. 00:23:f8:5b:d3:f4 11 300Mbit/s 100
NATS 40:4a:03:b4:5d:18 4 54Mbit/s 34


2.00 show site-survey .

3.52.36 show skydns profiles


SkyDNS .

no

(show)> skydns profiles

(show)> skydns profiles

profile:
name: Main
token: 821766297

profile:
name: Kids
token: 840106815

174 Keenetic Ultra II


3

SkyDns::Client: Profile list is loaded.


2.01 show skydns profiles .

3.52.37 show skydns userinfo


SkyDNS .

no

(show)> skydns userinfo

(config)> skydns userinfo

plan:
name: Premium
code: PREMIUM

SkyDns::Client: SkyDNS info is loaded.


2.01 show skydns userinfo .

3.52.38 show system


.

, .
, .
, .
, .

no

(show)> system

Keenetic Ultra II 175


3

(config)> show system

hostname: Undefined
domainname: WORKGROUP
cpuload: 0
memory: 13984/28976
swap: 0/0
uptime: 153787


2.00 show system .

3.52.39 show tags


.

no

(show)> tags

(show)> tags

tag: cli
tag: readonly
tag: printers
tag: cifs
tag: http
tag: ftp
tag: torrent


2.00 show tags .

3.52.40 show upnp redirect


UPnP .
, .

no

176 Keenetic Ultra II


3

IP

(show)> upnp redirect [( protocol interface port) | index ]


protocol tcp TCP .
udp UDP .
interface
.
port
.
index
.

(show)> upnp redirect udp ISP 11175

entry:
index: 1
interface: ISP
protocol: udp
port: 11175
to-address: 192.168.15.206
to-port: 11175
description: Skype UDP at 192.168.12.286:11175 (2024)
packets: 0
bytes: 0


2.00 show upnp redirect .

3.52.41 show usb


USB-.

no

(show)> usb

(show)> usb

device:
name: 12F6-312F:
label: PENDRIVE

Keenetic Ultra II 177


3

subsystem: storage
device:
name: 69f2894d-56a1-4632-9521-dbdc8ab5c53d:
label: EXT3
subsystem: storage
device:
name: 4FCC-A585:
label: FAT32
subsystem: storage
device:
name: 226F114C088FC43D:
label: NTFS
subsystem: storage


2.00 show usb .

3.52.42 show version


.

no

(show)> version

(show)> version

release: v2.00(BFW.3)B7
date: 20 Jun 2012
arch: mips
manufacturer: ZyXEL Communications Corp.
vendor: ZyXEL
series: Keenetic series
model: Keenetic
hw_revision: A
device: Keenetic
class: Internet Center


2.00 show version .

3.52.43 show vpn-server


VPN.

178 Keenetic Ultra II


3

no

(show)> vpn-server

(show)> vpn-server

tunnel:
clientaddress: 172.16.1.33
username: printer
uptime: 94

statistic:
rxpackets: 1627
rxbytes: 276543
rxerrors: 0
rxdropped: 0
txpackets: 1504
txbytes: 652230
txerrors: 0
txdropped: 0

Core::Configurator: done.


2.04 show vpn-server .

3.53 skydns
SkyDNS .

no

(skydns)

(config)> skydns


2.01 skydns .

Keenetic Ultra II 179


3

3.53.1 skydns assign


(MAC-).

no


(skydns)> assign ( mac token | token )

(skydns)> no assign [ mac ]


mac MAC- MAC-, .
token
.


2.01 skydns assign .

3.53.2 skydns check-availability


SkyDNS .

no

(skydns)> check-availability

(skydns)> check-availability
available


2.06 skydns check-availability .

3.53.3 skydns enable


SkyDNS .

no .

180 Keenetic Ultra II


3

no

(skydns)> enable

(skydns)> no enable

(skydns)> enable
SkyDns::Client: SkyDNS is enabled.


2.01 skydns enable .

3.53.4 skydns login


SkyDNS .

no .

no

(skydns)> login login [ password ]

(skydns)> no login


login SkyDNS .
password SkyDNS .

(skydns)> login test_user 1234


2.01 skydns login .

3.53.5 skydns password


SkyDNS .

no

Keenetic Ultra II 181


3


(skydns)> password password

(skydns)> no password


password SkyDNS .

(skydns)> password 7654


2.01 skydns password .

3.54 system
.

no

(system)

(config)> system


2.00 system .

3.54.1 system button



.
.

no .

no

182 Keenetic Ultra II


3

(system)> button button on action do handler

(system)> no button button


button RESET .
WLAN WLAN.
FN FN.
action click .
double-click .
hold
3 .
RESET
10 .
handler FactoryReset
.
Reboot .
WifiToggle / Wi-Fi.
WifiGuestApToggle /
Wi-Fi.
WpsStartGuestAp WPS
Wi-Fi ( Wi-Fi
).
WpsStartMainAp WPS (
2,4 ).
WpsStartMainAp5 WPS ( 5
).
WpsStartAllMainAp WPS (
).
UnmountAll
.
DlnaDirectoryRescan .
DlnaDirectoryFullRescan .
TorrentAltSpeedToggle
BitTorrent- (

BitTorrent-
Transmission).
TorrentClientStateToggle /
BitTorrent- (

BitTorrent-
Transmission).

Keenetic Ultra II 183


3

(system)> button WLAN on double-click do WifiGuestApToggle


Peripheral::Manager: "WLAN/double-click" handler set.


2.03 system button .

3.54.2 system clock date


.

no


(system)> clock date date-and-time


date-and-time DD MM
YYYY HH:MM:SS .

(system)> clock date 18 07 2012 09:52:33


System date and time has been changed.


2.00 system clock date .

3.54.3 system clock timezone


.

no (GMT).

no


(system)> clock timezone locality

(system)> no clock timezone locality

184 Keenetic Ultra II


3


locality ,
.

(system)> clock timezone Dublin


the system timezone is set to "Dublin".


2.00 system clock timezone .

3.54.4 system configuration factory-reset


.

no

(system)> configuration factory-reset

(system)> configuration factory-reset


Core::Configuration: the system configuration reset to factory
defaults.


2.00 system configuration factory-reset
.

3.54.5 system configuration save


.

no

(system)> configuration save

(system)> configuration save


Saving configuration.

Keenetic Ultra II 185


3


2.00 system configuration save .

3.54.6 system debug


. .

no .

no


(system)> debug

(system)> no debug

(system)> debug
Core::Debug: System debug enabled.


2.03 system debug .

3.54.7 system domainname


.

no .

no


(system)> domainname domain

(system)> no domainname


domain .

(system)> domainname zydata


Domainname saved.

186 Keenetic Ultra II


3


2.00 system domainname .

3.54.8 system hostname


.
.
, CIFS.

no ,
.

no

(system)> hostname hostname

(system)> no hostname


hostname .

(system)> hostname zyxel


Hostname saved.


2.00 system hostname .

3.54.9 system log clear


.

no

(system)> log clear

(system)> log clear


Syslog: the system log has been cleared.

Keenetic Ultra II 187


3


2.00 system log clear .

3.54.10 system log reduction


.
.

no .

no

(system)> log reduction

(system)> no log reduction

(system)> log reduction


Core::Configurator: done.


2.04 system log reduction .

3.54.11 system log server


.

no


(system)> log server address [: port]

(system)> no log server [ address [: port] ]


address IP-
.
port .

(system)> log server 192.168.1.1:8080


Syslog: server 192.168.1.1:8080 added.

188 Keenetic Ultra II


3


2.00 system log server .

3.54.12 system log suppress


.

no

(system)> log suppress ident

(system)> no log suppress [ ident ]


ident ,

.

(system)> log suppress kernel


Syslog: added suppression "kernel".


2.04 system log suppress .

3.54.13 system mount


USB-.
show usb .

no .

no

(system)> mount filesystem

(system)> no mount filesystem

Keenetic Ultra II 189


3


filesystem
/.

(system)> mount 9430B54530B52EDC:


Filesystem mounted


2.00 system mount .

3.54.14 system reboot


. ,
.

.

,
,
- .

, .
,
.

no .

no

(system)> reboot [ interval ]

(system)> no reboot


interval ,
.
,
.

(system)> reboot 20
Rebooting in 20 seconds.

190 Keenetic Ultra II


3


2.00 system reboot .

3.54.15 system set



.

no ,
, .

no

(system)> set name value

(system)> no set name


name .
value .

(config)> system
(system)> set net.ipv4.ip_forward 1
(system)> set net.ipv4.tcp_fin_timeout 30
(system)> set net.ipv4.tcp_keepalive_time 120
(system)> set
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established 1200
(system)> set net.ipv4.netfilter.ip_conntrack_udp_timeout 60
(system)> set net.ipv4.netfilter.ip_conntrack_max 4096
(system)> exit
(config)> show running-config
system
set net.ipv4.ip_forward 1
set net.ipv4.tcp_fin_timeout 30
set net.ipv4.tcp_keepalive_time 120
set net.ipv4.netfilter.ip_conntrack_tcp_timeout_established
1200
set net.ipv4.netfilter.ip_conntrack_udp_timeout 60
set net.ipv4.netfilter.ip_conntrack_max 4096
!
...
(config)>

Keenetic Ultra II 191


3


2.00 system set .

3.54.16 system swap


. , .

no .

no


(system)> swap area size

(system)> no swap


area .
size , .

(system)> swap 9430B54530B52EDC:swaparea 200


swap is being initialized in background.
enabled swap area 9430B54530B52EDC:swaparea.


2.00 system swap .

3.55 telnet
Telnet-.

no

(config-telnet)

(config)> telnet


2.04 telnet .

192 Keenetic Ultra II


3

3.55.1 telnet port


telnet-.
23 .

no
.

no

(config-telnet)> port number

(config-telnet)> no port


number .
1 65535 .


2.04 telnet port .

3.55.2 telnet session max-count



telnet-. 4
.

no .

no

(config-telnet)> session max-count count

(config-telnet)> no session max-count


count
.
1 4 .

Keenetic Ultra II 193


3

(config-telnet)> session max-count 2


Telnet::Server: the maximum session count set to 2.


2.04 telnet session max-count .

3.55.3 telnet session timeout


telnet-.
0,
.

no .

no


(config-telnet)> session timeout timeout

(config-telnet)> no session timeout


timeout .

32
5 2 -1 .

(config-telnet)> session timeout 6


Telnet::Server: a session timeout value set to 6 seconds.


2.04 telnet session timeout .

3.56 tools
.

no

(tools)

194 Keenetic Ultra II


3

(config)> tools


2.00 tools .

3.56.1 tools arping


tools ping ,
OSI ARP .

no

(tools)> arping address source-interface source-interface [ count


count ] [ wait-time wait-time ]


address IP- IP-.
source-interface - .

count . ,

.
wait-time ,
.

(tools)> arping 192.168.15.51 source-interface Home count 4


wait-time 3000
Starting the ARP ping to "192.168.15.51"...
ARPING 192.168.15.51 from 192.168.15.1 br0.
Unicast reply from 192.168.15.51 [9c:b7:0d:ce:51:6a] 1.884 ms.
Unicast reply from 192.168.15.51 [9c:b7:0d:ce:51:6a] 1.831 ms.
Sent 4 probes, received 2 responses.
Process terminated.


2.00 tools arping .

3.56.2 tools ping


Echo-Request ICMP
Echo-Reply.

Keenetic Ultra II 195


3

Round Trip Time (RTT)


,

.

ICMP- ,
( - ) ICMP
Echo-Reply ICMP Echo-Request.

no


(tools)> ping host [ count count ] [ size packetsize ]


host IP- .
count ICMP Echo.
,
.
packetsize ICMP Echo-Request
. 56,
8-
ICMP- 64 .

(tools)> ping 192.168.1.33 count 3 size 100


Sending ICMP ECHO request to 192.168.1.33
PING 192.168.1.33 (192.168.1.33) 72 (100) bytes of data.
100 bytes from 192.168.1.33: icmp_req=1, ttl=128, time=2.35 ms.
100 bytes from 192.168.1.33: icmp_req=2, ttl=128, time=1.07 ms.
100 bytes from 192.168.1.33: icmp_req=3, ttl=128, time=1.06 ms.
--- 192.168.1.33 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss,
0 duplicate(s), time 2002.65 ms.
Round-trip min/avg/max = 1.06/1.49/2.35 ms.
Process terminated.


2.00 tools ping .

3.56.3 tools ping6


Echo-Request ICMPv6
Echo-Reply.
Round Trip Time (RTT)
,

196 Keenetic Ultra II


3

ICMPv6- ,
( - ) ICMP
Echo-Reply ICMP Echo-Request.

no

(tools)> ping6 host [ count count ] [ size packetsize ]


host IPv6- .
count ICMPv6 Echo.
,
.
packetsize ICMPv6 Echo-Request
. 56,
8-
ICMPv6- 64 .

(tools)> ping6 fd4b:f12b:5d59:0:1108:4407:b772:20cd count 3 size


100
Sending ICMPv6 ECHO request to
fd4b:f12b:5d59:0:1108:4407:b772:20cd
PING fd4b:f12b:5d59:0:1108:4407:b772:20cd
(fd4b:f12b:5d59:0:1108:4407:b772:20cd) 52 (60) bytes of data.
60 bytes from fd4b:f12b:5d59:0:1108:4407:b772:20cd
(fd4b:f12b:5d59:0:1108:4407:b772:20cd): icmp_req=1, ttl=64,
time=7.18 ms.
60 bytes from fd4b:f12b:5d59:0:1108:4407:b772:20cd
(fd4b:f12b:5d59:0:1108:4407:b772:20cd): icmp_req=2, ttl=64,
time=8.42 ms.
60 bytes from fd4b:f12b:5d59:0:1108:4407:b772:20cd
(fd4b:f12b:5d59:0:1108:4407:b772:20cd): icmp_req=3, ttl=64,
time=1.51 ms.
--- fd4b:f12b:5d59:0:1108:4407:b772:20cd ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss,
0 duplicate(s), time 2002.61 ms.
Round-trip min/avg/max = 1.51/5.70/8.42 ms.
Process terminated.


2.00 tools ping6 .

Keenetic Ultra II 197


3

3.56.4 tools traceroute


.

no


(tools)> traceroute host [count count] [interval interval]
[wait-time wait-time] [packet-size packet-size]
[max-ttl max-ttl] [port port] [source-address source-address]
[source-interface source-interface] [type type] [tos tos]


host .
count
.
3.
[1;10].
interval
.
0.
[0;15].
wait-time
( ).
1.

[1, 15].
packet-size
type.

tcp
52.
[52].

udp icmp

60. [28;65535].
max-ttl
(
)
.
30.
[1;255].
port .

tcp
80.

198 Keenetic Ultra II


3


udp
33434.

icmp
1.
source-address .
source-interface
-
.
type tcp TCP .
udp UDP .
.
icmp ICMP .
tos .
0.
[0;255]

(tools)> traceroute ya.ru count 5 interval 5


starting traceroute to ya.ru...
traceroute to ya.ru (213.180.193.3), 30 hops maximum, 60 byte
packets.
1 192.168.111.1 (192.168.111.1) 0.958 ms 0.885 ms 2.946 ms
11.275 ms 10.934 ms
2 test1.ru (193.0.111.3) 9.125 ms 7.263 ms 5.352 ms 2.146
ms 12.224 ms
3 test2.ru (193.0.111.2) 11.610 ms 9.378 ms 7.236 ms 15.399
ms 6.327 ms
4 178.108.133.57 (178.108.133.57) 4.325 ms 20.235 ms 10.831
ms 8.463 ms 7.232 ms
5 iki-crs.comcor.ru (62.117.100.134) 5.153 ms 10.526 ms
5.738 ms 3.137 ms 13.886 ms
6 213.79.127.21 (213.79.127.21) 30.260 ms 2.883 ms * 27.922
ms 3.487 ms
7 * * * * *
8 fol2-c4-ae8.yndx.net (87.250.239.80) 9.815 ms 8.340 ms
fol5-c2-ae7.yndx.net (87.250.239.84) 5.451 ms 3.637 ms 5.221 ms
9 * fol5-c2-ae15.yndx.net (87.250.239.24) 2.990 ms * 19.063
ms *
10 * * * www.yandex.ru (213.180.193.3) 2.017 ms *
process terminated


2.00 tools traceroute .

Keenetic Ultra II 199


3

3.57 torrent
BitTorrent.

no

(config-torrent)

(config)> torrent


2.00 torrent .

3.57.1 torrent directory


. ,
.

no .

no


(config-torrent)> directory directory

(config-torrent)> no directory


directory
. temp:,
system:, flash:, sys:, proc:, usb:.

(config-torrent)> directory TEST_FAT:transmission


Core::Configurator: done.


2.00 torrent directory .

200 Keenetic Ultra II


3

3.57.2 torrent peer-port


. 51413
.

no

(config-torrent)> peer-port port


port TCP .
1024
65535.

(config-torrent)> peer-port 1122


Core::Configurator: done.


2.00 torrent peer-port .

3.57.3 torrent rpc-port


RPC . 8090 .

no

(config-torrent)> rpc-port port [public]


port RPC .
1024 65535.
public BitTorrent-
.

(config-torrent)> rpc-port 1133


Core::Configurator: done.

Keenetic Ultra II 201


3


2.00 torrent rpc-port .

3.58 udpxy
udpxy .

no

(udpxy)

(config)> udpxy


2.03 udpxy .

3.58.1 udpxy buffer-size


udpxy .
2048 .

no
.

no


(udpxy)> buffer-size size

(udpxy)> no buffer-size


size .
1 1048576.

(udpxy)> buffer-size 500


Udpxy::Manager: a buffer size set to 500 bytes.

202 Keenetic Ultra II


3


2.04 udpxy buffer-size .

3.58.2 udpxy buffer-timeout


udpxy .
1 .

no .

no

(udpxy)> buffer-timeout timeout

(udpxy)> no buffer-timeout


timeout .
-1 60. -1
.

(udpxy)> buffer-timeout 10
Udpxy::Manager: a hold data timeout set to 10 sec.


2.04 udpxy buffer-timeout .

3.58.3 udpxy interface


udpxy .
.

no .

no

(udpxy)> interface interface

(udpxy)> no interface

Keenetic Ultra II 203


3


interface .


interface ? .

(udpxy)> interface ISP


Udpxy::Manager: bound to GigabitEthernet1.


2.02 udpxy interface.

3.58.4 udpxy port


HTTP-.
4022 .

no .

no


(udpxy)> port port

(udpxy)> no port


port .
0 65535.

(udpxy)> port 2323


Udpxy::Manager: a port set to 2323.


2.03 udpxy port .

3.58.5 udpxy renew-interval


-.
0, .

no .

204 Keenetic Ultra II


3

no

(udpxy)> renew-interval renew-interval

(udpxy)> no renew-interval


renew-interval
.
0 3600.

(udpxy)> renew-interval 120


Udpxy::Manager: a renew subscription interval value set to 120
sec.


2.03 udpxy renew-interval .

3.58.6 udpxy timeout


. 5 .

no .

no

(udpxy)> timeout timeout

(udpxy)> no timeout


timeout .
5 60.

(udpxy)> timeout 10
Udpxy::Manager: a stream timeout set to 10 sec.


2.03 udpxy timeout .

Keenetic Ultra II 205


3

3.59 upnp forward


UPnP .

no .

no

IP


(config)> upnp forward protocol [ interface ] address port

(config)> no upnp forward [ index | ( protocol address port) ]


protocol tcp /
TCP .
udp /
UDP .
interface
.
address IP- /
IP-.
port /
.
index
.


2.00 upnp forward .

3.60 upnp lan


LAN- UPnP.

no .

no

IP

206 Keenetic Ultra II


3

(config)> upnp lan interface

(config)> no upnp lan


interface .


upnp lan ? .

(config)> upnp lan PPTP0


using LAN interface: PPTP0.


2.00 upnp lan .

3.61 upnp redirect


UPnP .

no .
, .

no

IP

(config)> upnp redirect protocol interface port to-address [


to-port ]

(config)> no upnp redirect [and forward | [ index | ( protocol port)


]]


protocol tcp /
TCP .
udp /
UDP .
interface
.
port /
.

Keenetic Ultra II 207


3


to-address IP- /
.
to-port /
.
and forward
.
index
.


2.00 upnp redirect .

3.62 user

. , .

: admin
. , admin
.

no .

no

(config-user)


(config)> user name

(config)> no user name


name .


2.00 user .

208 Keenetic Ultra II


3

3.62.1 user password


. MD5-,
:ndm: .


-.
.

no ,
. admin
no 1234.

no

(config-user)> password ( md5 hash | password )

(config-user)> no password


hash MD5-.
password ,

.

(config-user)> password 1111

event, class = Event::User, raise_time =


690.903618:
action: changed
name: test
realm: ZyXEL Keenetic 4G
password, type = md5:
6b749df384a736c29e48e0be225876e3
password, type = nt:
e84d037613721532e6b6d84d215854b6
tag: cli
tag: http

(config-user)>
password set has been changed for user "test".


2.00 user password .

Keenetic Ultra II 209


3

3.62.2 user tag


,

.
. .

,
.
.

no .

: admin readonly
cli.

no


(config-user)> tag tag

(config-user)> no tag tag


tag cli .
http Web-.
ftp FTP-.
cifs
Windows.
torrent
BitTorrent.
readonly ,
.
vpn VPN-.

(config-user)> tag http


user "test" tagged with "http".
(config-user)>

event, class = Event::User, raise_time =


567.225033:
action: changed
name: test
realm: ZyXEL Keenetic 4G
password, type = md5:
6b749df384a736c29e48e0be225876e3

210 Keenetic Ultra II


3

password, type = nt:


e84d037613721532e6b6d84d215854b6
tag: cli
tag: http


2.00 user tag .

3.63 vpn-server
VPN.

no

(vpn-server)

(config)> vpn-server


2.04 vpn-server .

3.63.1 vpn-server interface


VPN .

no .

no

(vpn-server)> interface interface

(vpn-server)> no interface


interface .


interface ? .

Keenetic Ultra II 211


3

(vpn-server)> interface GigabitEthernet0/Vlan1


Core::Configurator: done.


2.04 vpn-server interface .

3.63.2 vpn-server mppe


MPPE .
40 .

no .

no


(vpn-server)> mppe mode

(vpn-server)> no mppe mode


mode 40 40 .
128 128 .

(vpn-server)> mppe 40
VpnServer::Manager: Set encryption 40.


2.05 vpn-server mppe .

3.63.3 vpn-server mppe-optional


MPPE .

no .

no

(vpn-server)> mppe-optional

212 Keenetic Ultra II


3

(vpn-server)> no mppe-optional

(vpn-server)> mppe-optional
Core::Configurator: done.


2.04 vpn-server mppe-optional .

3.63.4 vpn-server mru


MRU PPTP-.
1350 .

no .

no

(vpn-server)> mru value

(vpn-server)> no mru


value MRU .
128 1500 .

(vpn-server)> mru 200


VpnServer::Manager: mru set to 200.


2.04 vpn-server mru .

3.63.5 vpn-server mtu


MTU PPTP-.
1350 .

no .

no

Keenetic Ultra II 213


3


(vpn-server)> mtu value

(vpn-server)> no mtu


value MTU .
128 1500 .

(vpn-server)> mtu 200


VpnServer::Manager: mtu set to 200.


2.04 vpn-server mtu .

3.63.6 vpn-server multi-login


VPN
.

no .

no

(vpn-server)> multi-login

(vpn-server)> no multi-login

(vpn-server)> multi-login
VpnServer::Manager: multi login enabled.


2.04 vpn-server multi-login .

3.63.7 vpn-server pool-range


, VPN.

no .

no

214 Keenetic Ultra II


3

(vpn-server)> pool-range begin [ size ]

(vpn-server)> no pool-range


begin IP- .
size . ,
10 .

(vpn-server)> pool-range 192.168.1.22 7


Core::Configurator: done.


2.04 vpn-server pool-range .

3.63.8 vpn-server static-ip


IP- .
vpn .

no .

no

(vpn-server)> static-ip name address

(vpn-server)> no static-ip name


name .
address IP- IP-.

(vpn-server)> static-ip admin 192.168.1.22


Core::Configurator: done.


2.04 vpn-server static-ip .

Keenetic Ultra II 215


3

3.64 yandexdns
Yandex.DNS .

no

(yandexdns)

(config)> yandexdns


2.01 yandexdns .

3.64.1 yandexdns assign


.
safe . default .

no .

no


(yandexdns)> assign [ host ] type

(yandexdns)> no assign [ host ]


host MAC- ,
. ,
.
type default .
safe
.
family
,
.


2.01 yandexdns assign .

216 Keenetic Ultra II


3

3.64.2 yandexdns check-availability


Yandex.DNS .

no

(yandexdns)> check-availability

(yandexdns)> check-availability
available


2.06 yandexdns check-availability .

3.64.3 yandexdns enable


Yandex.DNS .

no .

no

(yandexdns)> enable

(yandexdns)> no enable

(yandexdns)> enable
YandexDns::Client: Yandex DNS is enabled.


2.01 yandexdns enable .

Keenetic Ultra II 217


3

218 Keenetic Ultra II


4

4.1 HTTP Core Interface
Keenetic Ultra II HTTP XML API. API /ci ,
POST- XML XML ,
.

Keenetic Ultra II .

4.1. XML API

show interface WAN- ISP.


Keenetic Ultra II.

POST /ci HTTP/1.1


Host: 192.168.1.1
Connection: keep-alive
Content-Length: 177
Origin: http://192.168.1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
Content-Type: application/xml
Referer: http://192.168.1.1/

<packet ref="/">
<request id="1" ref="former.ifaces[load]">
<command name="show interface">
<name>ISP</name>
</command>
</request>
</packet>

ISP:

HTTP/1.0 200 OK
Server: Ag [47]
Set-Cookie: _authorized=*; path=/
Content-type: text/xml
Content-Length: 760

<packet>
<response id="1">
<interface name="ISP">
<mac>ec:43:f6:d3:22:d9</mac>
<id>Switch0/VLAN2</id>
<index>2</index>
<type>VLAN</type>

Keenetic Ultra II 219


4

<description>Broadband connection</description>
<link>down</link>
<connected>no</connected>
<state>up</state>
<mtu>1500</mtu>
<tx-queue>1000</tx-queue>
<global>yes</global>
<defaultgw>no</defaultgw>
<priority>700</priority>
<security-level>public</security-level>
<auth-type>none</auth-type>
</interface>
<message code="268370345" ident="Network::Interface::Base"
source="">done</message>
</response>
</packet>

<request>
. <response> id
.

4.1.

<request id="identifier">
<!-- request content -->
</request>

4.2.

<response id="identifier">
<!-- response content -->
</response>

XML:

.
3 23

, .

4.1.1
command .

4.3.

<request id="identifier">
<command name="command">
<no/>
<argument>value</argument>
...
</command>
</request>

220 Keenetic Ultra II


4

command , .
3 23.

argument .
3 23. -
.

value .

no ,
. , no, . 2.3 19.

4.1.2
config . -
HTML-.

4.4.

<request id="identifier">
<config name="command"/>
</request>

4.1.3
.

4.5.

<packet>
<request id="1">
<!-- request content -->
</request>
<request id="2">
<!-- request content -->
</request>
...
</packet>

.
. ,
<response/> .

4.6.

<packet>
<response id="1">
<!-- response content -->
</response>
<response id="2"/>
<!-- no response for id=2 -->
...
</packet>

Keenetic Ultra II 221


4

222 Keenetic Ultra II


Access Control List , ,


,
.
ACL ,
,
OSI, / ,
. ACL
, ,
, .

Address and Control Field Address


Compression Control.
Address Control .

Address Resolution Protocol , ,


MAC-
IP-.
IP, Ethernet,
100%
ARP.
, ARP-.
. IP- Ethernet-.
IP- Ethernet-,
IP-.

Challenge-Handshake ,
Authentication Protocol ,
.

CHAP
.

1.
- MD5 .

2. , ,
-,
.

3.
.
CHAP- ,
.

Command Line Interface ,


,

Keenetic Ultra II 223


().
.

Common Internet File System ,


. CIFS
/.
( ,
)
, .
.

Compression Control
Protocol PPP.

Deep Packet Inspection ,


. ,
Deep Packet Inspection ,
OSI
. Deep Packet Inspection
, ,
.

Deep Packet Inspection


, ,
BitTorrent. Deep Packet Inspection ,
,
- . , Deep
Packet Inspection
. , quality of
service Deep Packet Inspection
, , , .

DHCP-server DHCP- IP-


, ,
, , ,
. ,
IP-, ( , IP-
) IP,
. ,
DHCP- IP-:

:
IP- DHCP,
IP-
DHCP- .
,
DHCP- ( )
IP-, .

: DHCP-
IP-
.
, DHCP-
IP-,
IP-, .

224 Keenetic Ultra II


: DHCP IP-
MAC/IP-,
(, ). IP-
, MAC-
. (
DHCP) DHCP
(DD-WRT), ( dhcpd),
(Netgear), DHCP
DHCP (Cisco/Linksys) IP MAC/IP
( ).

DHCP , ,
IP-
, TCP/IP.
-.
-
DHCP,
.
, .

. DHCP
TCP/IP.

DLNA ,
- (,
, ), .
,
,
. , DLNA,

.

-
(IP-). DLNA-
(Ethernet),
(Wi-Fi).

Domain Name System ,


.
IP- ( ),
,
.

, ,
.

Internet Control Message , ,


Protocol TCP/IP. ICMP

, , ,
, , .
ICMP .

Keenetic Ultra II 225


Internet Group Management -,


Protocol
.
,
.
,
,
, " "
,
"" .


(OSI), IGMP .

Internet Protocol Control ,


Protocol IP PPP . IPCP
, LCP. IPCP
, PPP
. IPCP, ,
, .

IPv6CP ,
IPv6 -. IPv6CP
LCP.
IPv6CP , PPP
. IPv6CP,
, , .

Link Control Protocol , LCP


Point-to-Point Protocol. PPP
LCP
,
.

LCP :

Microsoft Point-to-Point , PPP.


Encryption RSA RC4. MPPE 40-, 56-
128- , (
PPP,
). MPPE
PPTP
VPN- VPN-.

226 Keenetic Ultra II


Maximum Receive Unit ( ) ,


.

Maximum segment size TCP


TCP ().
TCP IP.
TCP-
: MSS + TCP +
IP MTU. , MSS = MTU
IPv4 TCP.

MSS -,
-. -
(TCP),
MTU, .
MTU TCP
576 1500 . 40 ; MSS
, 536 1460 .
MTU 576 ,
536 .

,
. ,
.
- ,
, .
,
. .

MSS , .
MSS
.

Maximum transmission unit ( ),


OSI. MTU
( Ethernet),
(
-). MTU,
,
.

Network Time Protocol


. NTP
UDP.
NTP .

Ping Check
.

.

Point-to-Point Protocol (Data Link)


OSI.
,
, .

Keenetic Ultra II 227


PPP , Point-to-Point Protocol over Ethernet


(PPPoE), Ethernet,
DSL; Point-to-Point Protocol over ATM (PPPoA),
ATM Adaptation Layer 5 (AAL5),
PPPoE DSL.

PPP :
(LCP), (NCP),
(PAP, CHAP),
PPP (MLPPP).

, , PPP .

Preamble (PDU)
(PLCP).
, ,
, ,
.

PLCP 1 M/

-
192

IEEE* 802.11
1 2 M/

1 M/, 2
M/


96

IEEE* 802.11
1 2 M/

Protocol-Field-Compression Protocol PPP.


,
Protocol.

Remote Procedure Call , ,



( , ).
, RPC :
-
( , RPC).
RPC TCP
UDP, , HTTP (
ISO/OSI, HTTP
).

228 Keenetic Ultra II


Service Set Identifier ,


(WLAN).
,
.

Shared key ,
, Wired Equivalent Privacy.
,
, WEP
.

SkyDNS ,
.

Transmission Control ,
Protocol ,
TCP/IP.
OSI. TCP ,
,
,
,

(. T/TCP). UDP

.

Tunnel Setup Protocol ,


IP
.

User Datagram Protocol ,


IP .

OSI. TCP, UDP ,
.
UDP Unreliable
Datagram Protocol ( ).
,
,
, ,
..

udpxy (daemon)
( UDP) HTTP
.

Universal Plug and Play


, ,
, . UPnP
, TCP/IP, HTTP XML,

, (,
)
.

Keenetic Ultra II 229


Virtual LAN ("") ,


,
,
,
. VLAN ,
,
, .

.

Web Proxy Auto-Discovery , URL-


Protocol DHCP / DNS .
,
URL-.

Wi-Fi Multimedia Wi-Fi Alliance,


IEEE 802.11e. QoS (quality
of service) IEEE 802.11
.
.

:

.

: , WMM

- -
(SDTV) - (HDTV)
WLAN.

: ,

.

Wi-Fi Protected Access


. WPA
WEP. WPA

.

, . WPA
WPA2 Wi-Fi Alliance.

Wi-Fi Protected Setup ( )


Wi-Fi, Wi-Fi Alliance.
WPS ,
Wi-Fi Simple Config.
,
,
, . WPS
,

230 Keenetic Ultra II


,
.

Wired Equivalent Privacy Wi-Fi.



.
WEP: WEP-40 WEP-104,
.
,
. ,
.

Yandex.DNS .
:

-
,

Keenetic Ultra II 231


232 Keenetic Ultra II

Оценить