Tasks to configure the NAS groups are:
Use the following configuration statements to configure the NAS groups:
- shared network nas-group name {
- hosted-by [hosted-by...];
- function (aaa);
- scope [scope...];
- default-peer default-peer;
- update-grace-period update-grace-period;
- initial-ppr-delay initial-ppr-delay;
- }
To configure the group of peers:
- user@host# edit shared network nas-group name
- [edit shared network nas-group name]
- user@host# set hosted-by [hosted-by...]
- [edit shared network nas-group name]
- user@host# set function aaa
- [edit shared network nas-group name]
- user@host# set scope [scope...]
- [edit shared network nas-group name]
- user@host# set default-peer default-peer
- [edit shared network nas-group name]
- user@host# set update-grace-period update-grace-period
- [edit shared network nas-group name]
- user@host# set initial-ppr-delay initial-ppr-delay
Use the following configuration statements to configure the Diameter peers:
- shared network nas-group name peer name {
- protocol [(tcp | sctp)...];
- address [address...];
- local-address local-address;
- connect-timeout connect-timeout;
- watchdog-timeout watchdog-timeout;
- state-machine-timeout state-machine-timeout;
- reconnect-timeout reconnect-timeout;
- port port;
- origin-host origin-host;
- incoming-queue-limit incoming-queue-limit;
- active-peer;
- }
To configure the Diameter peer in the NAS group:
- user@host# edit shared network nas-group name peer name
The peer name must be unique in the NAS group.
- [edit shared network nas-group name peer name]
- user@host# set protocol [(tcp | sctp)...]
- [edit shared network nas-group name peer name]
- user@host# set address [address...]
- [edit shared network nas-group name peer name]
- user@host# set local-address local-address
- [edit shared network nas-group name peer name]
- user@host# set connect-timeout connect-timeout
- [edit shared network nas-group name peer name]
- user@host# set watchdog-timeout watchdog-timeout
- [edit shared network nas-group name peer name]
- user@host# set state-machine-timeout state-machine-timeout
- [edit shared network nas-group name peer name]
- user@host# set reconnect-timeout reconnect-timeout
- [edit shared network nas-group name peer name]
- user@host# set port port
- [edit shared network nas-group name peer name]
- user@host# set origin-host origin-host
- [edit shared network nas-group name peer name]
- user@host# set incoming-queue-limit incoming-queue-limit
- [edit shared network nas-group name peer name]
- user@host# set active-peer
Use the following configuration statements to define interface classification scripts:
- shared network nas-group name interface-classifier rule name {
- script script;
- }
- shared network nas-group name interface-classifier rule name {
- target target;
- }
- shared network nas-group name interface-classifier rule name condition name ...
A classification script can contain either a target and a condition or a script. If you do not define a script, the classifier must have both a target and a condition.
To define interface classification scripts:
- user@host# edit shared network nas-group name interface-classifier
- [edit shared network nas-group name interface-classifier]
- user@host# edit rule name
- [edit shared network nas-group name interface-classifier rule name]
- user@host# set script script
OR
- [edit shared network nas-group name interface-classifier rule name]
- user@host# set target target
- [edit shared network nas-group name interface-classifier rule name]
- user@host# set condition name
Use the following configuration statements to configure the route for messages:
- shared network nas-group name routes name term name {
- precedence precedence;
- }
- shared network nas-group name routes name {
- transaction-variable (request-packet | user-name | realm);
- dictionary-attribute (user-name | user-password | chap-password
| nas-ip-address | nas-port | service-type | framed-protocol | framed-ip-address
| framed-ip-netmask | framed-mtu | framed-compression | login-ip-host
| callback-number | state | vendor-specific | called-station-id |
calling-station-id | nas-identifier | login-lat-service | login-lat-node
| login-lat-group | chap-challenge | nas-port-type | port-limit |
login-lat-port);
- operator (equals | not_equal | present | not_present |
prefix | suffix | range);
- value value;
- low low;
- high high;
- }
To configure route selection for messages from the IMS AAA Server:
- user@host# edit shared network nas-group name routes name
- [edit shared network nas-group name routes name]
- user@host# set precedence precedence
- user@host# edit shared network nas-group name routes name term name
All the criteria must match for this route to be selected.
- [edit shared network nas-group name routes name term name]
- user@host# set transaction-variable (request-packet | user-name | realm)
- [edit shared network nas-group name routes name term name]
- user@host# set dictionary-attribute (user-name | user-password | chap-password | nas-ip-address | nas-port | service-type | framed-protocol | framed-ip-address | framed-ip-netmask | framed-mtu | framed-compression | login-ip-host | callback-number | state | vendor-specific | called-station-id | calling-station-id | nas-identifier | login-lat-service | login-lat-node | login-lat-group | chap-challenge | nas-port-type | port-limit | login-lat-port)
- [edit shared network nas-group name routes name term name]
- user@host# set operator (equals | not_equal | present | not_present | prefix | suffix | range)
- [edit shared network nas-group name routes name term name]
- user@host# set value value
- [edit shared network nas-group name routes name term name]
- user@host# set low low
- [edit shared network nas-group name routes name term name]
- user@host# set high high