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


Configuring Accesses with the SRC CLI

You must configure an access for an enterprise or a site. An access determines the way that the enterprise or site accesses Internet services, and specifies a set of services that are available to the particular access.

Subscriber classification scripts can use access subscription properties to match the interface in the network with an access in the directory. Typically, the interface alias, interface description, interface name, unique ID, NAS port ID, and router name are used to match an interface to an access.

You can specify multiple accesses; for example, you might want to specify primary and secondary services for Internet access.

subscribers retailer name subscriber-folder folder-name enterprise name access name 
{
routing-protocol routing-protocol; 

interface-alias interface-alias; 

interface-description interface-description; 

interface-name interface-name; 

unique-id unique-id; 

port-id port-id; 

device-name device-name; 

display-name display-name; 

accounting-user-id accounting-user-id; 

substitution [substitution...]; 
}

subscribers retailer name subscriber-folder folder-name enterprise name site name 
access name {
routing-protocol routing-protocol; 

interface-alias interface-alias; 

interface-description interface-description; 

interface-name interface-name; 

unique-id unique-id; 

port-id port-id; 

device-name device-name; 

display-name display-name; 

accounting-user-id accounting-user-id; 

substitution [substitution...]; 
}

To configure a subscription to an access service:

  1. From configuration mode, enter the subscription configuration. In this procedure, Acme is the name of the enterprise and AcmeAccess is the name of the access.
  2. user@host# edit subscribers retailer SP-TM subscriber-folder subscribers 
    enterprise Acme access AcmeAccess 
    
    
    
  3. (Optional) Record routing protocols used at the enterprise or site. If you build a custom enterprise manager application, you can access this information through the enterprise portal APIs.
  4. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set routing-protocol routing-protocol 
    
    
    
  5. (Optional) Configure the description of a router interface.
  6. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set interface-alias interface-alias 
    
    
    
  7. (Optional) Configure the alternate name of the interface that SNMP uses.
  8. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set interface-description interface-description 
    
    
    
  9. (Optional) Configure the name of the interface using your router CLI syntax
  10. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set interface-name interface-name 
    
    
    
  11. (Optional) Configure the router's unique ID, which is the index of the router in the SNMP table for all interfaces.
  12. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set unique-id unique-id 
    
    
    
  13. (Optional) Configure the network access server (NAS) port ID reported by the JUNOSe router through the Common Open Policy Service (COPS).
  14. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set port-id port-id 
    
    
    
  15. (Optional) Configure the name of the router to which this access connects.
  16. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set router-name router-name 
    
    
    
  17. (Optional) Configure the name that is displayed in enterprise management portals, if different from the service name.
  18. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set display-name display-name 
    
    
    
  19. (Optional) Configure the value that identifies the service in accounting records.
  20. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set accounting-user-id accounting-user-id 
    
    
    
  21. (Optional) Configure the actual values for parameters associated with this subscription.
  22. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme 
    access AcmeAccess]
    
    user@host# set substitution [substitution...] 
    
    
    
  23. (Optional) Verify your configuration.
  24. [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise 
    Acme access AcmeAccess]
    
    user@host# show 
    
    interface-alias cust123-456;
    
    interface-name fastethernet6/0.1;
    
    
    


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