User guide
IP TCP/IP command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-50
Example --> ip set route myroute enabled
See also ip list routes, ip add route, ip show route
4.1.8.2.57 IP SET ROUTE ADVERTISE
Syntax IP SET ROUTE {<name>|<number>} ADVERTISE <ENABLED|DISABLED>
Description This command enables/disables the advertising of an existing static route (including a
default route) via RIP. The cost advertised with this route is the cost specified by the IP
SET ROUTE COST command.
If the route being operated on by this command is a default route then the setting of the
IP SET RIP ADVERTISEDEFAULT command also has an effect:
• If the IP SET RIP ADVERTISEDEFAULT command is enabled, then it controls the
advertising of the route and uses the cost set by the IP SET DEFAULTROUTECOST
command.
• If the IP SET RIP ADVERTISEDEFAULT command is disabled, then the IP SET
ROUTE ADVERTISE command controls the advertising of the route and uses the
cost set by the IP SET ROUTE COST command as described above.
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 route myroute advertise enabled
See also IP SET ROUTE COST
IP LIST ROUTES
IP SET RIP ADVERTISEDEFAULT
IP SET RIP DEFAULTROUTECOST
4.1.8.2.58 IP SET ROUTE DESTINATION
Syntax
IP SET ROUTE {<name>|<number>} DESTINATION <dest-network> <netmask>
Description This command sets the destination network address of a route previously created using
the IP ADD ROUTE COMMAND.
disabled Disables a static route.
Option Description Default Value
enabled Enables RIP to advertise a static route. Disabled
disabled Disables advertisement of a static route.
Option Description Default Value