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


Configuring the SAE for External Plug-Ins

You need to configure SAE external plug-ins for SAE plug-in agents in the NIC, for Admission Control Plug-Ins, and for custom plug-ins developed in Common Object Request Broker Architecture (CORBA). For information about external plug-ins, see SRC-PE Network Guide, Chapter 1, Overview of the SAE.

When you use an external plug-in, you need to export its object reference to the SAE. When the SAE sends the first event to a registered plug-in, it resolves the object reference. In case of a failure, the SAE resolves the object reference again. In this case, if a plug-in restarts and instantiates a different object (that is, a different object reference), the SAE learns about the new object through the naming service or the file reference.

You can configure the SAE to resolve the object reference and specify which attributes to send to the external plug-in. To do so with the SRC CLI, use the following configuration statements:

shared sae configuration plug-ins pool name external {
corba-object-reference corba-object-reference;
attr [(host | router-name | interface-name | interface-alias | interface-descr | port-id |
user-ip-address | login-name | accounting-id | auth-user-id | if-radius-class |
if-session-id | service-name | radius-class | event-time | session-id |
terminate-cause | session-time | in-octets | out-octets | in-packets | out-packets |
nas-ip | user-mac-address | service-session-name | service-session-tag | user-type |
user-radius-class | user-session-id | primary-user-name | subscription-name |
login-id | if-index | event-time-millisecond | nas-port | operational | user-inet-address
| nas-inet-address | router-type | interface-speed | service-bundle | user-dn | uid |
domain | retailer-dn | password | service-scope | session-timeout |
downstream-bandwidth | upstream-bandwidth | dhcp-packet | aggr-session-id |
aggr-login-name | aggr-user-dn | aggr-user-inet-address | aggr-accounting-id |
aggr-auth-user-id)...];
}

To configure an external plug-in:

  1. From configuration mode, access the external plug-in configuration.
  2. user@host# edit shared sae configuration plug-ins pool NicAgent external
    
    
    
  3. Configure the object reference of the external plug-in that is exported to the SAE.
  4. [edit shared sae configuration plug-ins pool NicAgent external]
    
    user@host# set corba-object-reference corba-object-reference
    
    
    
  5. Configure the attributes that are sent to the external plug-in.
  6. [edit shared sae configuration plug-ins pool NicAgent external]
    
    user@host# set attr [(host | router-name | interface-name | interface-alias | ...)...]
    
    
    
  7. (Optional) Verify your configuration.
  8. [edit shared sae configuration plug-ins pool NicAgent external]
    
    user@host# show
    
    
    
    corba-object-reference corbaloc:boston:8801/nic;
    
    attributes [ router-name router-type interface-descr interface-speed
    service-bundle ];
    

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