Testing a NIC Resolution with the SRC CLI
user@host>test nic resolve<locator locator> <key key>
locator—Name of locator that requests information on behalf of an applicationkey—Value to be resolved. This value must be of the same NIC data type configured in the NIC locator.user@host>
test nic resolve locator /nicLocators/ip key 10.10.10.10Example: 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.2IOR:000000000000003549444C3A736D67742E6A756E697065722E6E65742F7361652F5365727669 636541637469766174696F6E456E67696E653A312E3000000000000000010000000000000068000102000000000F3137322E32382E3233302E31323000 0022610000000000107372632D382F736165504F412F534145000000020000000000000008000000004A414300000000010000001C0000000000010001 0000000105010001000101090000000105010001user@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.2Failed to resolve key 192.168.3.2 for resolver /nicLocators/ip due to net.juniper.smgt.gateway.nic.protocol.NICExcIDL:net/juniper/smgt/gateway/nic/protocol/NICException:1.0user@host>Related Topics