Files
2026-07-30 11:19:44 +05:30

353 lines
14 KiB
Mathematica

/* 00comp_ipnet_rip.cdf - IPNet RIP configuration file */
/*
* Copyright (c) 2006-2007 Wind River Systems, Inc.
*
* The right to copy, distribute or otherwise make use of this software
* may be licensed only pursuant to the terms of an applicable Wind River
* license agreement. No license to Wind River intellectual property rights
* is granted herein. All rights not licensed by Wind River are reserved
* by Wind River.
*/
/*
modification history
--------------------
01i,29jun10,xhs cdf modification
01h,23sep08,rme Misspelled words corrected
01g,19sep07,rme Added missing backslashes
01f,23jan07,tlu Add RIPng configlette file to INCLUDE_RIPNG (defect 86183)
01e,03jan07,kch Changed IPRIP_FLASH_DELAY default value from 180 to 3.
01d,23sep06.kch Moved INCLUDE_IPRIP_CTRL_CMD and INCLUDE_RIPNG_CTRL_CMD here.
01c,01sep06,tlu rename IPRIPNG to RIPNG for the backward compatiblity
01b,28jul06,tlu clean up and move ipripng_ctrl_show.o to IPNET Shell cmds
01a,22jul06,kch created.
*/
#ifdef _WRS_CONFIG_COMPONENT_IPRIP
Folder FOLDER_RIP {
NAME RIP Components
SYNOPSIS RIP Components
CHILDREN INCLUDE_IPRIP \
SELECT_IPRIP_IFCONFIG \
SELECT_IPRIP_STATIC_ROUTES \
INCLUDE_IPRIP_CTRL_CMD
_CHILDREN FOLDER_NET_L5_APPLICATIONS
}
Component INCLUDE_IPRIP {
NAME RIPv1/v2
SYNOPSIS RIPv1/v2
MODULES iprip.o
REQUIRES INCLUDE_IPCOM INCLUDE_IPCOM_USE_INET \
INCLUDE_IPNET_USE_SOCK_COMPAT SELECT_IPRIP_IFCONFIG
CONFIGLETTES iprip_config.c
CFG_PARAMS IPRIP_UPDATE_INTERVAL IPRIP_UPDATE_DELTA \
IPRIP_EXPIRE_INTERVAL IPRIP_GARBAGE_INTERVAL \
IPRIP_FLASH_DELAY IPRIP_AUTH_ENABLED \
IPRIP_DROP_HOSTROUTE
}
Component INCLUDE_IPRIP_CTRL_CMD {
NAME IPCOM RIPv1/v2 commands
SYNOPSIS IPCOM commands for RIP daemon control
MODULES iprip_cmd_ripctrl.o
REQUIRES INCLUDE_IPCOM_SHELL_CMD INCLUDE_IPRIP
}
Selection SELECT_IPRIP_IFCONFIG {
NAME IPRIP interface configurations
SYNOPSIS IPRIP interface configurations
COUNT 1-
CHILDREN INCLUDE_IPRIP_IFCONFIG_1 \
INCLUDE_IPRIP_IFCONFIG_2 \
INCLUDE_IPRIP_IFCONFIG_3 \
INCLUDE_IPRIP_IFCONFIG_4
DEFAULTS INCLUDE_IPRIP_IFCONFIG_1
}
Component INCLUDE_IPRIP_IFCONFIG_1 {
NAME IPRIP interface #1 configuration
SYNOPSIS IPRIP interface configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_IFCONFIG_1
}
Component INCLUDE_IPRIP_IFCONFIG_2 {
NAME IPRIP interface #2 configuration
SYNOPSIS IPRIP interface configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_IFCONFIG_2
}
Component INCLUDE_IPRIP_IFCONFIG_3 {
NAME IPRIP interface #3 configuration
SYNOPSIS IPRIP interface configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_IFCONFIG_3
}
Component INCLUDE_IPRIP_IFCONFIG_4 {
NAME IPRIP interface #4 configuration
SYNOPSIS IPRIP interface configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_IFCONFIG_4
}
Selection SELECT_IPRIP_STATIC_ROUTES {
NAME Static RIP routes configuration
SYNOPSIS Configures initial static RIP routes which may be useful \
before the system has configured the network using RIP.
COUNT 0-
CHILDREN INCLUDE_IPRIP_STATIC_ROUTE_1 \
INCLUDE_IPRIP_STATIC_ROUTE_2 \
INCLUDE_IPRIP_STATIC_ROUTE_3
}
Component INCLUDE_IPRIP_STATIC_ROUTE_1 {
NAME Static RIP route #1 configuration
SYNOPSIS Specifies static RIP route configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_STATIC_ROUTE_1
}
Component INCLUDE_IPRIP_STATIC_ROUTE_2 {
NAME Static RIP route #2 configuration
SYNOPSIS Specifies static RIP route configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_STATIC_ROUTE_2
}
Component INCLUDE_IPRIP_STATIC_ROUTE_3 {
NAME Static RIP route #3 configuration
SYNOPSIS Specifies static RIP route configuration
REQUIRES INCLUDE_IPRIP
CFG_PARAMS IPRIP_STATIC_ROUTE_3
}
/******************** Configuration Parameters *****************************/
/* INCLUDE_IPRIP configuration parameters */
Parameter IPRIP_UPDATE_INTERVAL {
NAME RIP Update Interval
SYNOPSIS RIP regular update timeout in seconds (minimum interval)
TYPE char *
DEFAULT "20"
}
Parameter IPRIP_UPDATE_DELTA {
NAME RIP Update delta Interval
SYNOPSIS Variation to RIP updates in seconds (20-40 sec)
TYPE char *
DEFAULT "20"
}
Parameter IPRIP_EXPIRE_INTERVAL {
NAME RIP Expire Interval
SYNOPSIS Seconds until a RIP route expires. Default value accordingly \
to RFC 2453.
TYPE char *
DEFAULT "180"
}
Parameter IPRIP_GARBAGE_INTERVAL {
NAME RIP Garbage Interval
SYNOPSIS Seconds until a garbage RIP route is removed. Default value \
accordingly to RFC 2453.
TYPE char *
DEFAULT "120"
}
Parameter IPRIP_FLASH_DELAY {
NAME RIP Flash Interval
SYNOPSIS RIP flash delay in seconds.
TYPE char *
DEFAULT "3"
}
Parameter IPRIP_AUTH_ENABLED {
NAME Authenticate RIP requests
SYNOPSIS Set to 1 to authenticate RIP requests
TYPE char *
DEFAULT "0"
}
Parameter IPRIP_DROP_HOSTROUTE {
NAME Drop host route
SYNOPSIS Set to 1 to drop host route
TYPE char *
DEFAULT "0"
}
/* SELECT_IPRIP_IFCONFIG configuration parameters */
Parameter IPRIP_IFCONFIG_1 {
NAME RIP interface configuration
SYNOPSIS Specifies parameters to configure RIP on an interface. The \
syntax must begin with the name of the interface followed \
by options and their values if required. The wildcard \
interface name any is used to match any interface, \
effectively starting RIP on all interfaces. If a specific \
entry is find, that entry is used instead of the any entry, \
e.g. eth0 is chosen before any. \
Example #1 - "all multicast input-multicast" \
Example #2 - "eth0 multicast input-multicast input=v2" \
Example #3 - "ppp0 silent metric=2 input=no" \
The following options are available to configure RIP on an \
interface: \
(1) broadcast - Use subnet broadcast output. \
(2) multicast - Use multicast output (224.0.0.9). \
(3) silent - Do not output RIP requests/responses. \
(4) auth-md5=<password> - Enable GateD style md5 \
authentication with <password>. \
(5) auth-simple=<password] - Enable simple authentication \
with <password>. \
(6) input=<no|v1|v2> - Change input mode (no,v1 or v2 only). \
No means that no input RIP packets are parsed. \
(7) input-multicast - Accept multicast input (224.0.0.9). \
(8) metric=<num> - Change default metric from 1 to <num>. \
(9) version-1 - Enable RIPv1 (default is RIPv2) \
(10) nopoison - Use simple Split Horizon instead of \
poisonous. \
Note - Only use one of broadcast, multicast or silent options.
TYPE char *
DEFAULT "all multicast input-multicast"
}
Parameter IPRIP_IFCONFIG_2 {
NAME RIP interface configuration
SYNOPSIS Specifies parameters to configure RIP on an interface. The \
syntax must begin with the name of the interface followed \
by options and their values if required. The wildcard \
interface name any is used to match any interface, \
effectively starting RIP on all interfaces. If a specific \
entry is find, that entry is used instead of the any entry, \
e.g. eth0 is chosen before any. \
Example #1 - "all broadcast input-multicast" \
Example #2 - "eth0 broadcast input-multicast input=v2" \
Example #3 - "ppp0 silent metric=2 input=no" \
The following options are available to configure RIP on an \
interface: \
(1) broadcast - Use subnet broadcast output. \
(2) multicast - Use multicast output (224.0.0.9). \
(3) silent - Do not output RIP requests/responses. \
(4) auth-md5=<password> - Enable GateD style md5 \
authentication with <password>. \
(5) auth-simple=<password] - Enable simple authentication \
with <password>. \
(6) input=<no|v1|v2> - Change input mode (no,v1 or v2 only). \
No means that no input RIP packets are parsed. \
(7) input-multicast - Accept multicast input (224.0.0.9). \
(8) metric=<num> - Change default metric from 1 to <num>. \
(9) version-1 - Enable RIPv1 (default is RIPv2) \
(10) nopoison - Use simple Split Horizon instead of \
poisonous. \
Note - Only use one of broadcast, multicast or silent options.
TYPE char *
DEFAULT NULL
}
Parameter IPRIP_IFCONFIG_3 {
NAME RIP interface configuration
SYNOPSIS Specifies parameters to configure RIP on an interface. The \
syntax must begin with the name of the interface followed \
by options and their values if required. The wildcard \
interface name any is used to match any interface, \
effectively starting RIP on all interfaces. If a specific \
entry is find, that entry is used instead of the any entry, \
e.g. eth0 is chosen before any. \
Example #1 - "all broadcast input-multicast" \
Example #2 - "eth0 broadcast input-multicast input=v2" \
Example #3 - "ppp0 silent metric=2 input=no" \
The following options are available to configure RIP on an \
interface: \
(1) broadcast - Use subnet broadcast output. \
(2) multicast - Use multicast output (224.0.0.9). \
(3) silent - Do not output RIP requests/responses. \
(4) auth-md5=<password> - Enable GateD style md5 \
authentication with <password>. \
(5) auth-simple=<password] - Enable simple authentication \
with <password>. \
(6) input=<no|v1|v2> - Change input mode (no,v1 or v2 only). \
No means that no input RIP packets are parsed. \
(7) input-multicast - Accept multicast input (224.0.0.9). \
(8) metric=<num> - Change default metric from 1 to <num>. \
(9) version-1 - Enable RIPv1 (default is RIPv2) \
(10) nopoison - Use simple Split Horizon instead of \
poisonous. \
Note - Only use one of broadcast, multicast or silent options.
TYPE char *
DEFAULT NULL
}
Parameter IPRIP_IFCONFIG_4 {
NAME RIP interface configuration
SYNOPSIS Specifies parameters to configure RIP on an interface. The \
syntax must begin with the name of the interface followed \
by options and their values if required. The wildcard \
interface name any is used to match any interface, \
effectively starting RIP on all interfaces. If a specific \
entry is find, that entry is used instead of the any entry, \
e.g. eth0 is chosen before any. \
Example #1 - "all broadcast input-multicast" \
Example #2 - "eth0 broadcast input-multicast input=v2" \
Example #3 - "ppp0 silent metric=2 input=no" \
The following options are available to configure RIP on an \
interface: \
(1) broadcast - Use subnet broadcast output. \
(2) multicast - Use multicast output (224.0.0.9). \
(3) silent - Do not output RIP requests/responses. \
(4) auth-md5=<password> - Enable GateD style md5 \
authentication with <password>. \
(5) auth-simple=<password] - Enable simple authentication \
with <password>. \
(6) input=<no|v1|v2> - Change input mode (no,v1 or v2 only). \
No means that no input RIP packets are parsed. \
(7) input-multicast - Accept multicast input (224.0.0.9). \
(8) metric=<num> - Change default metric from 1 to <num>. \
(9) version-1 - Enable RIPv1 (default is RIPv2) \
(10) nopoison - Use simple Split Horizon instead of \
poisonous. \
Note - Only use one of broadcast, multicast or silent options.
TYPE char *
DEFAULT NULL
}
/* SELECT_IPRIP_STATIC_ROUTES configuration parameters */
/*
* Don't specify default value so that workbench can prompt user to enter the
* proper static route configuration if the component is explicitly included.
*/
Parameter IPRIP_STATIC_ROUTE_1 {
NAME RIP static route configuration
SYNOPSIS RIP static route configuration. The syntax is: \
"dst=<a.b.c.d> mask=<a.b.c.d> gw=<a.b.c.d> metric=<num>". \
Example: \
"dst=136.35.0.0 mask=255.255.0.0 gw=10.1.2.100 metric=3"
TYPE char *
DEFAULT NULL
}
Parameter IPRIP_STATIC_ROUTE_2 {
NAME RIP static route configuration
SYNOPSIS RIP static route configuration. The syntax is: \
"dst=<a.b.c.d> mask=<a.b.c.d> gw=<a.b.c.d> metric=<num>". \
Example: \
"dst=136.35.0.0 mask=255.255.0.0 gw=10.1.2.100 metric=3"
TYPE char *
DEFAULT NULL
}
Parameter IPRIP_STATIC_ROUTE_3 {
NAME RIP static route configuration
SYNOPSIS RIP static route configuration. The syntax is: \
"dst=<a.b.c.d> mask=<a.b.c.d> gw=<a.b.c.d> metric=<num>". \
Example: \
"dst=136.35.0.0 mask=255.255.0.0 gw=10.1.2.100 metric=3"
TYPE char *
DEFAULT NULL
}
#endif /* _WRS_CONFIG_COMPONENT_IPRIP*/