Troubleshooting Router Connections and Configuration for the Network Publisher
You can troubleshoot the connection between the network publisher and one or more routers, and the configuration on the routers by providing configuration information to the publisher from a file rather than from JUNOS routing platforms.
To specify that the network publisher obtain router configuration information from a file:
- Edit the /opt/UMC/nic/etc/networkPublisher/config.properties file.
- Specify an input directory for the routers by configuring the following property in the file:
/routers/r<number>/input_dir =<directory>/routers/r1/input_dir =/opt/UMC/nic/myconfig
- Specify that the network publisher obtain properties for a router from a file on the local system, instead of from the directory, by configuring the following property in the file:
/routers/r<number>/session_type = LocalFile/routers/r1/session_type=LocalFileBy default, the input file is /opt/UMC/nic/sample/junos/rt/<router_name>_1.xml where router_name is the hostname of a JUNOS routing platform.
You can change the location of the input directory.
See Changing the Location of an Input Directory for the Network Publisher.