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

    Example: Subscriber Classification Scripts for Enterprise Subscribers

    For enterprise subscribers, you can create one general subscriber classifier script that matches a unique subscriber profile to each managed router interface. The subscriber profile is the access subscription that represents an Internet access in an enterprise. The following examples show two approaches to creating the general classifier script. You can use one of these strategies or a combination of strategies.

    Matching on the Interface Name

    In this scenario, you configure the interface name field in the access subscription for the site to match an interface on the router. The format for the interface name could be: interfaceName@virtualRouterName@routerName. You then create a classification script that searches for subscriber profiles that match a specific interface. For example:

    [edit shared sae group west-region subscriber-classifier rule rule-1]
    user@host# show  
    target ou=Managed CPE,retailerName=Retailer-Two,o=Users,o=UMC??sub?(interfaceName=<-interfaceName->@<-virtualRouterName->);
    condition {
      "loginType==\"INTF\"";
      &interfaceName==\fe*\” ” ;
    }
    

    Matching on the Interface Alias

    For JunosE routers, you can configure the interface description on the router in a format that the classifier script can match to the interface alias in an access subscription. In a simple case, you can configure the interface description only for interfaces that terminate a managed CPE, and match them to the interface alias in the directory. The subscriber classifier could be configured as follows:

    [edit shared sae group west-region subscriber-classifier rule rule-1]
    user@host# show  
    target ou=Managed CPE,retailerName=Retailer-Two,o=Users,o=UMC??sub?(interfaceAlias=<-ifAlias->);
    condition {
       ifAlias != \"\""
    }
    

    Published: 2014-12-10