Question & Answer
Question
For OMPROUTE, how can I dynamically change the COST value for an existing interface?
Answer
To dynamically change the COST value for an existing interface, use the MODIFY procname,OSPF,WEIGHT,NAME=name,COST=cost command for an IPv4 OSPF interface or the MODIFY procname,IPV6OSPF,WEIGHT,NAME=name,COST=cost command for an IPv6 OSPF interface, where procname is the name of the member in a procedure library that was used to start OMPROUTE and name is the name of the OSPF interface the new cost affects. This new cost is flooded quickly throughout the OSPF routing domain, and modifies the routing immediately.
Issue the command F procname,OSPF,LIST,IFS to verify the new cost value.
To harden that change without recycling OMPROUTE, just update the /etc/omproute.conf file. The next OMPROUTE recycle will use the new cost value.
Product Synonym
ZOSCS COMMSERVER
Was this topic helpful?
Document Information
Modified date:
22 March 2018
UID
dwa1438534