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

# Testing a NIC Resolution (SRC CLI)

To test a NIC resolution:

- Run the test nic resolve command.
  `
  user@host> test nic resolve <locator locator> <key key>
  `

  where:

  - locator —Name of locator that requests information on behalf of an application
  - key —Value to be resolved. This value must be of the same NIC data type configured in the NIC locator.

    For example:

    user@host> test nic resolve locator /nicLocators/ip key 10.10.10.10

Example: Testing a NIC Resolution

The following example shows a successful resolution for an IP key that has the value 192.168.8.2:

    user@host> test nic resolve locator /nicLocators/ip key 192.168.8.2
    IOR:
    000000000000003549444C3A736D67742E6A756E697065722E6E65742F7361652F5365727669636541637469766174696F6E456E67696E653A312E3000
    000000000000010000000000000068000102000000000F3137322E32382E3233302E313230000022610000000000107372632D382F736165504F412F53
    4145000000020000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001
    user@host>

The following example shows an unsuccessful resolution for an IP key that has the value 192.168.8.2:

    user@host> test nic resolve locator /nicLocators/ip key 192.168.3.2
    Failed to resolve key 192.168.3.2 for resolver /nicLocators/ip due to net.juniper.smgt.gateway.nic.protocol.NICExc
    IDL:net/juniper/smgt/gateway/nic/protocol/NICException:1.0
    user@host>

#### Related Topics

- Configuring NIC Test Data (SRC CLI)
- Testing a NIC Resolution (C-Web Interface)
- Stopping a NIC Host on a C Series Controller (SRC CLI)

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