Operation Manual

Vigor2133 Series User’s Guide
524
-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
matched
> 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 WAN1
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
l
l
a
a
n
n
D
D
N
N
S
S
R
R
e
e
s
s
This command is used to set LAN DNS profiles. With such feature, the user can configure some
services (such as ftp, www or database) with domain name which is easy to be accessed.
S
S
y
y
n
n
t
t
a
a
x
x
ip lanDNSRes [-<command> <parameter> | ... ]
Parameter Description
-a <IP Address> It is used to configure IP address mapping (IPv4/IPv6 Address or
multiple subnet addresses).
IP Address: type the IP address (e.g., 192.168.1.56).
-c <CNAME> It is used to set CNAME for such profile.
-d <address mapping index
number>
It means to delete index number with address mapping configured.
address mapping index number : type the index number which
represents the address mapping profile.
-e <0/1> It means to enable or disable the function of LAN DNS or DNS
Forwarding Profile.
0: disable
1: enable