You can control OMPROUTE from the operator console using the MODIFY command.
>>-+-MODIFY-+--procname--,--------------------------------------> '-F------' >--+-KILL------------------------------------------------------------------+->< +-RECONFIG--------------------------------------------------------------+ +-ROUTESA=--+-ENABLE--+-------------------------------------------------+ | '-DISABLE-' | +-TRACE=trace_level-----------------------------------------------------+ +-DEBUG=debug_level-----------------------------------------------------+ +-TRACE6=trace6_level---------------------------------------------------+ +-DEBUG6=debug6_level---------------------------------------------------+ +-SADEBUG=sadebug_level-------------------------------------------------+ +-OSPF-| OSPF options |-------------------------------------------------+ +-RIP-| RIP options |---------------------------------------------------+ +-GENERIC-| GENERIC options |-------------------------------------------+ +-RTTABLE-+-----------------------+-+---------------+-------------------+ | '-,PRtable=--+-ALL----+-' +-,DEST=ip_addr-+ | | '-prname-' '-,DELETED------' | +-IPV6OSPF-| IPv6 OSPF options |----------------------------------------+ +-IPV6RIP-| IPv6 RIP options |------------------------------------------+ +-GENERIC6-| GENERIC6 options |-----------------------------------------+ +-RT6TABLE--+-----------------------+--+------------------------------+-+ | '-,PRtable=--+-ALL----+-' +-,DEST=-+-ip_addr-----------+-+ | | '-prname-' | '-ip_addr/prefixlen-' | | | '-,DELETED---------------------' | '-,OPTIONS--------------------------------------------------------------' OSPF options |--+-,LIST--+-,ALL--------+----------------------+--------------| | +-,AREAS------+ | | +-,InterFaceS-+ | | +-,NBMA-------+ | | +-,NeighBoRS--+ | | '-,VLINKS-----' | +-| LSA command |-----------------------------+ +-,AREASUM------------------------------------+ +-,EXTERNAL-----------------------------------+ +-,DATABASE--+-----------------+--------------+ | '-,AREAID=area_id-' | +-,DBSIZE-------------------------------------+ +-,InterFace--+-----------------------------+-+ | '-,NAME=if_name-+-----------+-' | | +-,ACTIVATE-+ | | '-,SUSPEND--' | +-,NeighBoR--+-----------------+--------------+ | '-,IPADDR=ip_addr-' | +-,ROUTERS------------------------------------+ +-,STATiStics---------------------------------+ '-,WEIGHT--,NAME=name--,COST=cost-------------' LSA command |--,LSA--,LSTYPE=ls_type--,LSID=lsid----------------------------> >--,ORIGinator=ad_router--+-----------------+-------------------| '-,AREAID=area_id-' RIP options |--+-,LIST--+-,ALL--------+--------+----------------------------| | +-,InterFaceS-+ | | '-,ACCEPTED---' | +-,InterFace--+---------------+-+ | '-,NAME=if_name-' | '-FILTERS-----------------------' GENERIC options |--+-,LIST--+-,ALL--------+-+-----------------------------------| | '-,InterFaceS-' | '-,InterFace-------------' IPv6 OSPF options |--+-,ALL---------------------------------------------+---------| +-,AREASUM-----------------------------------------+ +-,InterFace--+--------------------------------+---+ | +-,NAME=--if_name--+-----------+-+ | | | +-,ACTIVATE-+ | | | | '-,SUSPEND--' | | | '-,ID=--if_id--+-----------+-----' | | +-,ACTIVATE-+ | | '-,SUSPEND--' | +-,VLINK--+------------------+---------------------+ | '-,ENDPT=router-id-' | +-,NeighBoR--+-----------------------------------+-+ | '-,ID=router-id-+-----------------+-' | | '-,IFNAME=if_name-' | +-,DBSIZE------------------------------------------+ +-| IPv6 LSA command |-----------------------------+ +-,EXTERNAL----------------------------------------+ +-,DATABASE--+-----------------+-------------------+ | '-,AREAID=area_id-' | +-,ROUTERS-----------------------------------------+ +-,STATiStics--------------------------------------+ '-,WEIGHT--,NAME=name--,COST=cost------------------' IPv6 LSA command |--,LSA--,LSTYPE=ls_type--,LSID=lsid--,ORIGinator=ad_router--+-----------------+--+-----------------+--| '-,AREAID=area_id-' '-,IFNAME=if_name-' IPv6 RIP options |--+-,ALL--------------------------+----------------------------| +-,ACCEPTED---------------------+ +-,InterFace--+---------------+-+ | '-,NAME=if_name-' | '-,FILTERS----------------------' GENERIC6 options |--+-,ALL--------------------------+----------------------------| '-,InterFace--+---------------+-' '-,NAME=if_name-'
Rule: If you do not have GLOBAL_OPTIONS IGNORE_UNDEFINED_INTERFACES=YES coded in your OMPROUTE configuration, these new configuration statements must be reread from the configuration file by using this command before the interface is first configured to the TCP/IP stack. If you have coded GLOBAL_OPTIONS IGNORE_UNDEFINED_INTERFACES=YES in your OMPROUTE configuration file, you can use OMPROUTE reconfiguration to add a definition for an interface that has been defined to the stack but that is ignored by OMPROUTE. However, OMPROUTE does not associate the interface with the new definition until the interface has been deleted from the stack and then re-added.
Link State IDs, originators (specified by their router IDs), and area IDs take the same format as IP addresses. For example, the backbone area can be entered as 0.0.0.0
Dynamically change the cost of an OSPF interface. This new cost is flooded quickly throughout the OSPF routing domain, and modifies the routing immediately.
The cost of the interface reverts to its configured value whenever OMPROUTE is restarted. To make the cost change permanent, you must reconfigure the appropriate OSPF interface in the configuration file. This command can be issued only for an OSPF interface that is active in the TCP/IP stack.
Displays routes in an OMPROUTE IPv4 routing table. If this option is used without the PRtable option, the routes that are displayed are from the main routing table.
Each interface has its own set of link LSAs (LSTYPE=0008). IFNAME=interface_name on the command line indicates which link's LSA you want to display.
There is also a separate link state database for each IPv6 OSPF area. AREAID=area_id on the command line indicates which database you want to search. If you do not specify which area to search, the backbone (0.0.0.0) area will be searched. The different kinds of advertisements, which depend on the value given for link state type, are: