Page 676 / 794 Scroll up to view Page 671 - 675
Vigor2860 Series User’s Guide
662
Telnet Command: object ipv6 obj
This comman is used to create an IP object profile.
object ip obj setdefault
object ip obj
INDEX -v
object ip obj
INDEX -n NAME
object ip obj
INDEX -i INTERFACE
object ip obj
INDEX -s INVERT
object ip obj
I
NDEX -a TYPE [START_IP] [END/MASK_IP]
Syntax Description
Parameter
Description
setdefault
It means to return to default settings for all profiles.
INDEX
It means the index number of the specified object
profile.
-v
It means to view the information of the specified object
profile.
Example:
object ip obj 1 -v
-n NAME
It means to define a name for the IP object.
NAME: Type a name with less than 15 characters.
Example:
object ip obj 9 -n bruce
-i INTERFACE
It means to define an interface for the IP object.
INTERFACE=0, means any
INTERFACE=1, means LAN
INTERFACE=3, means WAN
Example:
object ip obj 8 -i 0
-s INVERT
It means to set invert seletion for the object profile.
INVERT=0, means disableing the function.
INVERT=1, means enabling the function.
Example:
object ip obj 3 -s 1
-a TYPE
It means to set the address type and IP for the IP object
profile.
TYPE=0, means Mask
Page 677 / 794
Vigor2860 Series User’s Guide
663
TYPE=1, means Single
TYPE=2, means Any
TYPE=3, means Rang
Example:
object ip obj 3 -a 2
[START_IP]
When the TYPE is set with 2, you have to type an IP
address as a starting point and another IP address as
end point.
Type an IP address.
[END/MASK_IP]
Type an IP address (different with START_IP) as the
end IP address.
Example
> object ip obj 1 -n marketing
> object ip obj 1 -a 1 192.168.1.45
> object ip obj 1 -v
IP Object Profile 1
Name
:[marketing]
Interface:[Any]
Address type:[single]
Start ip address:[192.168.1.45]
End/Mask ip address:[0.0.0.0]
Invert Selection:[0]
Telnet Command: object ipv6 grp
This command is used to integrate several IP objects under an IP group profile.
object ip grp
setdefault
object ip grp
INDEX -v
object ip grp
INDEX -n NAME
object ip grp
INDEX -i INTERFACE
object ip grp
INDEX -a IP_OBJ_INDEX
Syntax Description
Parameter
Description
setdefault
It means to return to default settings for all profiles.
INDEX
It means the index number of the specified group profile.
Page 678 / 794
Vigor2860 Series User’s Guide
664
-v
It means to view the information of the specified group
profile.
Example:
object ip grp 1 -v
-n NAME
It means to define a name for the IP group.
NAME: Type a name with less than 15 characters.
Example:
object ip grp 8 -n bruce
-i INTERFACE
It means to define an interface for the IP group.
INTERFACE=0, means any
INTERFACE=1, means LAN
INTERFACE=2, means WAN
Example:
object ip grp 3 -i 0
-a IP_OBJ_INDEX
It means to specify IP object profiles for the group
profile.
Example:
:object ip grp 3 -a 1 2 3 4 5
The IP object profiles with index number 1,2,3,4 and 5
will be group under such profile.
Example
> object ip grp 2 -n First
IP Group Profile 2
Name
:[First]
Interface:[Any]
Included ip object index:
[0:][0]
[1:][0]
[2:][0]
[3:][0]
[4:][0]
[5:][0]
[6:][0]
[7:][0]
> object ip grp 2 -i 1
Page 679 / 794
Vigor2860 Series User’s Guide
665
> object ip grp 2 -a 1 2
IP Group Profile 2
Name
:[First]
Interface:[Lan]
Included ip object index:
[0:][1]
[1:][2]
[2:][0]
[3:][0]
[4:][0]
[5:][0]
[6:][0]
[7:][0]
Telnet Command: object service obj
This command is used to create service object profile.
object
s
ervice obj setdefault
object service obj
INDEX -v
object
service obj
INDEX -n NAME
object
service obj
INDEX -p PROTOCOL
object
service obj
INDEX -s CHK [START_P] [END_P]
object
service obj
INDEX -d CHK [START_P] [END_P]
Syntax Description
Parameter
Description
setdefault
It means to return to default settings for all profiles.
INDEX
It means the index number of the specified service
object profile.
-v
It means to view the information of the specified service
object profile.
Example:
object service obj 1 -v
-n NAME
It means to define a name for the IP object.
NAME: Type a name with less than 15 characters.
Example:
object service obj 9 -n bruce
-i PROTOCOL
It means to define a PROTOCOL for the service object
Page 680 / 794
Vigor2860 Series User’s Guide
666
profile.
PROTOCOL =0, means any
PROTOCOL =1, means ICMP
PROTOCOL =2, means IGMP
PROTOCOL =6, means TCP
PROTOCOL =17, means UDP
PROTOCOL =255, means TCP/UDP
Other values mean other protocols.
Example:
object service obj 8 -i 0
CHK
It means the check action for the port setting.
0=equal
(=)
, when the starting port and ending port
values are the same, it indicates one port; when the
starting port and ending port values are different, it
indicates a range for the port and available for this
service type.
1=not equal
(!=)
, when the starting port and ending port
values are the same, it indicates all the ports except
the port defined here; when the starting port and ending
port values are different, it indicates that all the ports
except the range defined here are available for this
service type.
2=larger
(>)
, the port number greater than this value is
available..
3=less
(<)
, the port number less than this value is
available for this profile.
-s CHK [START_P]
[END_P]
It means to set souce port check and configure port
range (1~65565) for TCP/UDP.
END_P, type a port number to indicate source port.
Example:
object service obj 3 -s 0 100 200
-d CHK [START_P]
[END_P]
It means to set destination port check and configure port
range (1~65565) for TCP/UDP.
END_P, type a port number to indicate destination port.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top