Page 346 / 998 Scroll up to view Page 341 - 345
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-44
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set interface ip1 rip multicast enabled
See also
IP LIST INTERFACES
IP SET INTERFACE RIP SEND
4.1.8.2.48 IP SET INTERFACE RIP SEND
Syntax
IP SET INTERFACE {<name>|<number>} RIP SEND {NONE|V1|V2|ALL}
Description
This command specifies whether an existing interface can send RIP messages. You can
specify which version of RIP messages will broadcast routing information on the inter-
face. Routing information is broadcast every 30 seconds or when the RIP routing table is
changed.
Note:
RIP version 1 does not allow specification of subnet masks; a RIP version 1 route that appears to be to
an individual host might in fact be to a subnet, and treating it as a route to the whole network may be the
best way to make use of the information.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Option
Description
Default Value
name
An existing IP interface. To display interface names,
use the IP LIST INTERFACES command.
N/A
number
An existing IP interface. To display interface num-
bers, use the IP LIST INTERFACES command. The
number appears in the first column under the
heading ID.
N/A
enabled
Allows RIP version 2 messages to be sent via multi-
cast.
Disabled
disabled
Disables RIP version 2 messages being sent via mul-
ticast. Messages are sent via broadcast instead.
Option
Description
Default Value
name
An existing IP interface. To display interface names, use
the IP LIST INTERFACES command.
N/A
Page 347 / 998
TCP/IP command reference
IP
4-45
iMG/RG Software Reference Manual (IPNetwork Functions)
Example
--> ip set interface ip1 rip send v1
See also
IP SET INTERFACE RIP ACCEPT
IP SET RIP HOSTROUTES
IP SET RIP POISON
IP SHOW
IP LIST INTERFACES
For information on RFC1058 and RFC1723, see
4.1.8.2.49 IP SET INTERFACE TCPMSSCLAMP
Syntax
IP SET INTERFACE <name> TCPMSSCLAMP {ENABLED|DISABLED}
Description
This command enables/disables TCP MSS (
Maximum Segment Size
) Clamp functionality
on an existing IP interface. When TCP MSS Clamp is enabled on an interface, all TCP
traffic routed through that interface will be examined. If a TCP SYN (synchronize/start)
segment is sent with a maximum segment size larger than the interface MTU (
Maximum
Transmission Unit
), the MSS option will be rewritten in order to allow TCP traffic to
pass through the interface without requiring fragmentation.
number
An existing IP interface. To display interface numbers,
use the IP LIST INTERFACES command. The number
appears in the first column under the heading ID.
N/A
rip send none
The interface does not accept RIP messages.
rip send none (this
command affects
all interfaces
except loopback
interfaces)
rip send v1
The interface only sends RIP v. 1 messages (RFC1058)
rip send v2
The interface only sends RIP version 2 messages
(RFC1723). If set, RIP version 2 is used on all non-loop-
back interfaces.
rip send all
The interface sends RIP version 1 (RFC1058) and RIP
version 2 (RFC1723) messages.
Option
Description
Default Value
Page 348 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-46
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set interface ip2 tcpmssclamp enabled
See also
IP SET INTERFACE MTU
IP SHOW
4.1.8.2.50 IP SET RIP ADVERTISEDEFAULT
Syntax
ip set rip advertisedefault {enabled | disabled}
Description
This command enables/disables the advertising of a default route via RIP. If you set this to
enabled
, then create a default route using the IP ADD DEFAULTROUTE commands, the
route will also be added to those advertised by the RIP protocol. The cost associated
with the route is the value set using the IP SET RIP DEFAULTROUTECOST command.
You must enable default advertising before you create the default route.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set rip advertisedefault enabled
See also
ip add defaultroute gateway
ip add defaultroute interface
ip set rip defaultroutecost
ip set route advertise
Option
Description
Default Value
name
An existing IP interface. To display interface names,
use the IP LIST INTERFACES command.
N/A
enabled
TCP SYN segments routed through this interface will
be examined and, if necessary, modified.
Disabled
disabled
The IP stack will not examine or modify TCP traffic
routed through this interface.
Option
Description
Default Value
enabled
Enables RIP to advertise a default route with the cost
metric set using the IP SET RIP DEFAULTROUTE-
COST command.
Disabled
disabled
Disables advertisement of a default route.
Page 349 / 998
TCP/IP command reference
IP
4-47
iMG/RG Software Reference Manual (IPNetwork Functions)
4.1.8.2.51 IP SET RIP AUTHENTICATION
Syntax
ip set rip authentication {enabled | disabled}
Description
This command enables/disables RIP v2 plain text authentication.
If
enabled
, a plain text authentication string is placed in RIP v2 packets. RIP v2 packets will
only be accepted if they contain an authentication entry with the correct password string.
Packets with no authentication or the wrong password will be rejected.
To set an authentication password, use the IP SET RIP PASSWORD command.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set rip authentication enabled
See also
ip set rip password
ip show
4.1.8.2.52 IP SET RIP DEFAULTROUTECOST
Syntax
IP SET RIP DEFAULTROUTECOST <cost>
Description
This command sets the number of hops counted as the cost of a default route advertised
via RIP.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set rip defaultroutecost 10
See also
IP ADD DEFAULTROUTE GATEWAY
IP ADD DEFAULTROUTE INTERFACE
IP SET RIP ADVERTISEDEFAULT
IP SET ROUTE ADVERTISE
4.1.8.2.53 IP SET RIP HOSTROUTES
Syntax
ip set rip hostroutes {enabled | disabled}
Description
Specifies whether IP interfaces will accept RIP routes to specific routes.
Option
Description
Default Value
cost
The number of hops counted as the cost of the default
route. It can be any positive integer between 1 and 15.
1
Page 350 / 998
IP
TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-48
Note:
RIP version 1 does not allow specification of subnet masks; a RIP version 1 route that appears to be to
an individual host might in fact be to a subnet, and treating it as a route to the whole network may be the
best way to make use of the information.
To display the current state of RIP hostroutes, use the IP SHOW COMMAND.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set rip hostroutes enabled
See also
IP SET INTERFACE RIP ACCEPT
IP SET INTERFACE RIP SEND
IP SHOW
4.1.8.2.54 IP SET RIP PASSWORD
Syntax
IP SET RIP PASSWORD <password>
Description
This command sets an authentication string that is placed in RIP v2 packets if IP SET RIP
AUTHENTICATION is enabled.
Options
The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example
--> ip set rip password vancouver
Option
Description
Default Value
enabled
Sets the hostroutes flag to on. The interface accepts RIP
routes to specific routes.
Disabled
disabled
Sets the hostroutes flag to off:
RIP version 1 routes to individual hosts are
treated as routes to the network containing the
host.
RIP version 2 routes to individual hosts are
ignored.
Option
Description
Default Value
password
An authentication password used by RIP v2 packets if IP
SET RIP AUTHENTICATION is enabled. The password is
a string of 0 to 16 characters.
N/A

Rate

4 / 5 based on 3 votes.

Popular Allied-Telesis Models

Bookmark Our Site

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

Share
Top