Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Accesses (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.
      user@host# edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess
    2. (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.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set routing-protocol routing-protocol
    3. (Optional) Configure the description of a router interface.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set interface-alias interface-alias
    4. (Optional) Configure the alternate name of the interface that SNMP uses.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set interface-description interface-description
    5. (Optional) Configure the name of the interface using your router CLI syntax
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set interface-name interface-name
    6. (Optional) Configure the router’s unique ID, which is the index of the router in the SNMP table for all interfaces.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set unique-id unique-id
    7. (Optional) Configure the network access server (NAS) port ID reported by the JunosE router through the Common Open Policy Service (COPS).
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set port-id port-id
    8. (Optional) Configure the name of the router to which this access connects.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set router-name router-name
    9. (Optional) Configure the name that is displayed in enterprise management portals, if different from the service name.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set display-name display-name
    10. (Optional) Configure the value that identifies the service in accounting records.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set accounting-user-id accounting-user-id
    11. (Optional) Configure the actual values for parameters associated with this subscription.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]user@host# set substitution [ substitution... ]
    12. (Optional) Verify your configuration.
      [edit subscribers retailer SP-TM subscriber-folder subscribers enterprise Acme access AcmeAccess]
      user@host# show 
      interface-alias cust123-456;
      interface-name fastethernet6/0.1;

     

    Published: 2014-12-10