Tasks to configure the NIC proxy are:
You create a NIC proxy for each subscriber type to be configured. Subscriber types that have different subscriber ID types can use the same NIC proxy.
Use the following configuration statements to configure the NIC proxy:
- shared ims configuration nic-proxy-configuration name
- shared ims configuration nic-proxy-configuration name resolution {
- resolver-name resolver-name;
- key-type key-type;
- value-type value-type;
- expect-multiple-values;
- constraints constraints;
- }
To configure resolution information for a NIC proxy:
- [edit shared ims configuration nic-proxy-configuration
ip resolution]
- user@host# set key-type key-type
To qualify data types, enter a qualifier within parentheses after the data type; for example, to specify username as a qualifier for the key LoginName:
[edit shared ims configuration nic-proxy-configuration ip resolution] user@host# show resolver-name /realms/ip/A1; key-type Ip; value-type SaeId;
You can modify cache properties for the NIC proxy to optimize the resolution performance for your network configuration and system resources. Typically, you can use the default settings for the cache properties. The configuration statements are available at the Advanced editing level.
Use the following configuration statements to change values for the NIC proxy cache:
- shared ims configuration nic-proxy-configuration name cache {
cache-size cache-size;
cache-cleanup-interval cache-cleanup-interval;
cache-entry-age cache-entry-age;
}
To configure the cache for a NIC proxy:
- [edit shared ims configuration nic-proxy-configuration
ip cache]
- user@host# set cache-size cache-size
If you decrease the cache size or disable the cache while the NIC proxy is running, the NIC proxy removes entries in order of descending age until the cache size meets the new limit.
[edit shared configuration nic-proxy-configuration ip cache] user@host# show cache-size 10000; cache-cleanup-interval 15;
Typically, you configure NIC replication to keep the NIC highly available. You configure NIC host selection to specify the groups of NIC hosts to be contacted to resolve a request, and to define how the NIC proxy handles NIC hosts that the proxy is unable to contact. The configuration statements are available at the Advanced editing level.
Use the following configuration statements to configure NIC host selection for a NIC proxy:
- shared ims configuration nic-proxy-configuration name nic-host-selection {
- groups groups ;
- selection-criteria (roundRobin | randomPick | priorityList);
- }
- shared ims configuration nic-proxy-configuration name nic-host-selection blacklisting {
- try-next-system-on-error;
- number-of-retries-before-blacklisting number-of-retries-before-blacklisting ;
- blacklist-retry-interval blacklist-retry-interval ;
- }
To configure a NIC proxy to use NIC replication:
- [edit shared ims configuration nic-proxy-configuration
ip nic-host-selection]
- user@host# set selection-criteria (roundRobin | randomPick | priorityList)
where:
Priorities are defined by the order in which you specify the groups. You can change the order of NIC hosts in the list by using the insert command.
[edit shared ims configuration nic-proxy-configuration ip nic-host-selection] user@host# show groups ; selection-criteria round-;
[edit shared ims configuration nic-proxy-configuration ip nic-host-selection blacklisting] user@host# show try-next-system-on-error; number-of-retries-before-blacklisting 3; blacklist-retry-interval 15;
To test a resolution without the NIC, you can configure a NIC proxy stub to take the place of the NIC. The NIC proxy stub comprises a set of explicit mappings of data keys and values in the NIC proxy configuration. When the SRC component configured to use a NIC proxy stub passes a specified key to the NIC proxy stub, the NIC proxy stub returns the corresponding value. When you use a NIC proxy stub, no NIC infrastructure is required.
Use the following configuration statements to configure a NIC proxy stub from the [edit] hierarchy level.
- shared ims configuration nic-proxy-configuration name test-nic-bindings
{
- use-test-bindings;
- }
- shared ims configuration nic-proxy-configuration name test-nic-bindings key-values name {
- value ;
- }
To use the NIC proxy stub for IMS:
- [edit shared ims configuration nic-proxy-configuration
ip]
- user@host# set test-nic-bindings key-values name value
where:
For example, to set up a login name to IP mapping for login name jane@virneo.com to the IP address 192.0.2.30: