| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change RIP Attributes command (CHGRIPA) allows you to change the RIP (Routing Information Protocol) global information.
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| AUTOSTART | Autostart server | *SAME, *NO, *YES | Optional, Positional 1 |
| COND | Condition | *SAME, *ALWAYS, *OSPF, *NEVER | Optional |
| ACPDFT | Accept default | *SAME, *NO, *YES | Optional |
| COST | Cost | 1-16, *SAME | Optional |
| SNDONLY | Send only | Values (up to 3 repetitions): *SAME, *ALL, *VIRTUAL, *DEFAULT, *DIRECT, *TRIGGERED | Optional |
| IP6COND | IPv6 condition | *SAME, *ALWAYS, *OSPF, *NEVER | Optional |
| IP6ACPDFT | IPv6 accept default | *SAME, *NO, *YES | Optional |
| IP6COST | IPv6 cost | 1-16, *SAME | Optional |
| IP6SNDONLY | IPv6 send only | Values (up to 3 repetitions): *SAME, *ALL, *VIRTUAL, *DEFAULT, *DIRECT, *TRIGGERED | Optional |
| Top |
Specifies whether to automatically start the OMPROUTED server when TCP/IP is started by the STRTCP command or STRTCPSVR SERVER(*AUTOSTART). The OMPROUTED server handles the RIP and OSPF routing protocols. Since this parameter value refers to the OMPROUTED server, it can also be affected by the Autostart server parameter on the Change OSPF Attributes (CHGOSPFA) command.
| Top |
Specifies the condition for when RIP is going to advertise this router as a default router. This parameter along with the Accept default (ACPDFT) and Cost (COST) parameters indicate under what conditions RIP supports Default route generation. The Default route is considered as destination/mask 0.0.0.0/0.0.0.0 for IPv4.
Note: The parameters mentioned above determine whether or not a default route is considered available by OMPROUTED RIP. The Send default routes (SNDDFTRTE) parameter on a configured RIP Interface determines whether or not an available default route is advertised by that particular RIP interface.
| Top |
Specifies whether or not OMPROUTED RIP accepts default routes from inbound RIP packets whose cost is higher than default routes originated by the host.
Note: OMPROUTED RIP always accept default routes from inbound RIP packets whose cost is lower than default routes originated by the host.
Note: When *YES is set, this router's originated default route is only used if no other default routes are learned from inbound RIP packets.
Note: When this parameter value is set to *NO, the Condition (COND) parameter is set to *ALWAYS and the Cost (COST) parameter is set to 1, OMPROUTED RIP never accepts default routes learned from RIP packets because it is not possible to learn a RIP route whose cost is less than 1.
| Top |
Specifies the cost that RIP advertises with the default route that it originates.
| Top |
Allows for the specification of the types of routes that are going to be included in advertisements sent over RIP interfaces. The value set in this parameter will apply to all RIP interfaces.
Single values
Other values (up to 3 repetitions)
| Top |
Specifies the condition for when RIPng is going to advertise this router as a default router. This parameter along with IPv6 accept default (IP6ACPDFT) and IPv6 cost (IP6COST) indicate under what conditions RIPng supports Default route generation. The Default route is considered as destination/prefix ::/0 for IPv6.
Note: The parameters mentioned above determine whether or not a default route is considered available by OMPROUTED IPv6 RIP. The Send default routes (SNDDFTRTE) parameter on a configured RIPng Interface determines whether or not an available default route is advertised by that particular RIPng interface.
| Top |
Specifies whether or not OMPROUTED IPv6 RIP accepts default routes from inbound RIPng packets whose cost is higher than default routes originated by the host.
Note: OMPROUTED IPv6 RIP always accept default routes from inbound RIPng packets whose cost is lower than default routes originated by the host.
Note: When *YES is set, this router's originated default route is only used if no other default routes are learned from inbound RIPng packets.
Note: When this parameter value is set to *NO, the IPv6 condition (IP6COND) parameter is set to *ALWAYS and the IPv6 cost (IP6COST) parameter is set to 1, OMPROUTED RIP never accepts default routes learned from RIP packets because it is not possible to learn a RIP route whose cost is less than 1.
| Top |
Specifies the cost that RIPng advertises with the default route that it originates.
| Top |
Allows for the specification of the types of routes that are going to be included in advertisements sent over RIPng interfaces. The value set in this parameter will apply to all RIPng interfaces.
Single values
Other values (up to 3 repetitions)
| Top |
Example 1:Changing the Autostart option
CHGRIPA AUTOSTART(*YES)
This command changes the OMPROUTED server to autostart when the STRTCPSRV SERVER(*AUTOSTART) command is executed. This option can also be affected by the AUTOSTART parameter in the Change OSPF Attributes(CHGOSPFA) command.
Example 2:Setting the RIP Default route generation options
CHGRIPA COND(*ALWAYS) ACPDFT(*NO) COST(2)
This command changes the conditions which will be used to generate the IPv4 Default route (destination/mask 0.0.0.0/0.0.0.0). These three parameters are related to the IPv4 Default route.
Example 3:Setting the RIPng Default route generation options
CHGRIPA IP6COND(*ALWAYS) IP6ACPDFT(*NO) IP6COST(3)
This command changes the conditions which will be used to generate the RIPng Default route (destination/prefix ::/0). These three parameters are related to the RIPng (IPv6) Default route.
| Top |
*ESCAPE Messages
| Top |