Value: Available settings include,
0: Disable the function of “failback”.
1: Enable the function of “failback”.
-v: View current failback setting.
Diagnose for Policy Route
-s [value] It means “source IP”.
Value: Available settings include:
Any: It indicates any IP address can be used as source IP address.
“xxx.xxx.xxx.xxx”: The type format (e.g, 192.168.1.0).
-d [value] It means “destination IP”.
Value : Available settings include:
Any: It indicates any IP address can be used as destination IP address.
“xxx.xxx.xxx.xxx”: Specify an IP address.
-p [value] It means “destination port”.
Value: Specify a number or type Any (indicating any number).
-t [value] It means “protocol”.
Value: Available settings include “ICMP”, “TCP”, “UDP” and “Any”.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
> ip policy_rt diagnose -s 192.168.1.100 -d any -p any -t ICMP
-------------------------------------------------
Matched Route (Priority)
-------------------------------------------------
* No_Match
-------------------------------------------------
Matched Policy (Priority)
-------------------------------------------------
* Policy_1 (200)
* Conclusion:The packet was dropped because the send-to interface
of the mat
ched policy "policy 1" was inactive and there was no failover setting
>
ip policy_rt -i -1 -o add -1 range -s 192.168.1.10 -S 192.168.1.20 -2
ip_range –d 202.211.100.10 -D 202.211.100.20 -g 202.211.100.1 -I WAN2
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
i
i
p
p
d
d
n
n
s
s
f
f
o
o
r
r
w
w
a
a
r
r
d
d
This command is used to set LAN DNS profile for conditional DNS forwarding.
ip dnsforward [-<command> <parameter> | ... ]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
[<command>
<parameter>|…]
The available commands with parameters are listed below.
[…] means that you can type in several commands in one line.
-a <IP Address> Set forwarded DNS server IP Address.
-d <DNS server mapping
index number>
Delete the selected LAN DNS profile.
-e <0/1> 0: disable such function.
1: enable such function.