Example: Creating Router Interface Subscriber Session
Aggregate services or script services can be activated on a router instead of an interface or DHCP address. On JunosE routers that use the COPS-PR or COPS XDR router driver, the SAE automatically creates a router interface; and then a subscriber session as specified by the subscriber classification script.
For example, the following script searches for a router profile in the directory under ou=routers, retailerName=default, o=Users, o=umc, with a routerName attribute that matches the virtual router name (such as default@erx-node1).
[edit shared sae group west-region subscriber-classifier rule rule-1] user@host# show target ou=routers,retailername=default,o=Users,o=UMC??sub?(routerName=<-virtualRouterName->); condition { "interfaceName==\"Router\""; }