[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring Information to Test the Network Publisher

You can use an input file to verify that the network publisher is collecting information as configured or to set up a demonstration for an application.

To configure the network publisher to use an input file:

1. Enable the network publisher to use an input file for all routers or for a specific router.

   Sample syntax for all routers:

   `
   [edit slot 0 network-publisher routers test-mode]
   user@host# set enable-file-input
   `

   Sample syntax to collect information for a router named my-router:

   `
   [edit slot 0 network-publisher routers router my-router test-mode]
   user@host# set enable-file-input
   `
2. Run the network publisher.
   `
   user@host> request network-publisher execute
   `

#### Related Topics

- Configuring Information to Test the Network Publisher (C-Web Interface)
- Overview of the Network Publisher
- Overview of Files to Test Network Publisher
- Troubleshooting Network Publisher Operations

[Contents] [Prev] [Next] [Index] [Report an Error]