Adding JunosE Routers and Virtual Routers (SRC CLI)

The SAE uses router and virtual router objects to manage interfaces on JunosE virtual routers. Each JunosE router in the SRC network and its virtual routers (VRs) must have a configuration.

There are three ways to add routers:

  1. Adding Operative JunosE Routers and Virtual Routers
  2. Adding Routers Individually (SRC CLI)
  3. Adding Virtual Routers Individually (SRC CLI)

Adding Operative JunosE Routers and Virtual Routers

To add routers and JunosE VRs that are currently operative and have an operating SNMP agent:

If you add a router using the discover network feature, the software adds the IP address of the first SNMP agent on the router to respond to the discover request.

After you add routers and JunosE VRs through network discovery, configure the virtual router’s managing SAE address.

Adding Routers Individually (SRC CLI)

Use the following configuration statements to add a router:

shared network device name {accounting-per-attachment;description description ;device-type (junose | junos | pcmm ); management-address management-address ; no-accounting-per-attachment;qos-profile [ qos-profile ...];}

To add a router:

  1. From configuration mode, access the configuration statements that configure network devices. You must specify the name of a device with lowercase characters. This procedure uses junose_boston as the name of the router.
    user@host# edit shared network device junose_boston

    The same procedure can be used for routers running Junos OS.

  2. (Optional) Disable the accounting-per-attachment feature to calculate accounting for each policy list on the basis of the accounting flag status of each policy rule in the policy list.
    [edit shared network device junose_boston]user@host# set no-accounting-per-attachment

    Note:

    • To enable the accounting-per-attachment feature, configure the accounting-per-attachment option at the [edit shared network device] hierarchy.
    • By default, the accounting-per-attachment feature is not set.
    • You must restart the sscc connection for the configuration changes to take effect.
    • You can configure the accounting-per-attachment feature under the [edit shared sae group group-name configuration driver junose] or [edit shared network device] hierarchy. The settings configured under the [edit shared network device] hierarchy override the settings under the [edit shared sae group group-name configuration driver junose] hierarchy.
  3. (Optional) Add a description for the router.
    [edit shared network device junose_boston] user@host# set description description
  4. (Optional) Add the IP address of the router.
    [edit shared network device junose_boston] user@host# set management-address management-address
  5. (Optional) Specify the type of device that you are adding.
    [edit shared network device junose_boston] user@host# set device-type junose
  6. (Optional) Specify quality of service (QoS) profiles that are configured on the router.
    [edit shared network device junose_boston] user@host# set qos-profile [ qos-profile ...]
  7. (Optional) Verify your configuration.
    [edit shared network device junose_boston] 
    user@host# show 
    no-accounting-per-attachment;
    description "Juniper Networks E320";
    management-address 10.10.8.27;
    device-type junose;
    qos-profile dhcp-default;
    interface-classifier {
     rule rule-0 {
        script #;
      }
    }

Adding Virtual Routers Individually (SRC CLI)

You can add a virtual router to an existing router.

Use the following configuration statements to add a virtual router:

shared network device name virtual-router name {sae-connection [ sae-connection ...]; snmp-read-community snmp-read-community ; snmp-write-community snmp-write-community ; scope [ scope ...]; local-address-pools local-address-pools ; static-address-pools static-address-pools ; tracking-plug-in [ tracking-plug-in ...];user-tracking-plug-in user-tracking-plug-in ...];authentication-plug-in [ authentication-plug-in ...];dual-stack-delay delayvpn-id vpn-id;}

To add a virtual router:

  1. From configuration mode, access the configuration statements for virtual routers. You must specify the name of a device with lowercase characters. This procedure uses junose_boston as the name of the router and vr1 as the name of the virtual router.
    user@host# edit shared network device junose_boston virtual-router vr1
  2. Specify the addresses of SAEs that can manage this router. This step is required for the SAE to work with the router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set sae-connection [ sae-connection ...]

    To specify the active SAE and the redundant SAE, enter an exclamation point (!) after the hostname or IP address of the connected SAE. For example:

    [edit shared network device junose_boston virtual-router vr1]user@host# set sae-connection [sae1! sae2!]
  3. (Optional) Specify an SNMP community name for SNMP read-only operations for this virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set snmp-read-community snmp-read-community
  4. (Optional) Specify an SNMP community name for SNMP write operations for this virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set snmp-write-community snmp-write-community
  5. (Optional) Specify service scopes assigned to this virtual router. The scopes are available for subscribers connected to this virtual router for selecting customized versions of services.
    [edit shared network device junose_boston virtual-router vr1] user@host# set scope [ scope ...]
  6. (Optional) Specify the list of IP address pools that a virtual router currently manages and stores.
    [edit shared network device junose_boston virtual-router vr1] user@host# set local-address-pools local-address-pools
  7. (Optional) Specify the list of IP address pools that a virtual router manages but does not store.
    [edit shared network device junose_boston virtual-router vr1] user@host# set static-address-pools static-address-pools
  8. (Optional) Specify the plug-ins that track interfaces that the SAE manages on this virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set tracking-plug-in [ tracking-plug-in ...]
  9. (Optional) Specify a list of plug-ins that are notified of interface events for this virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set authentication-plug-in [ authentication-plug-in ...]
  10. (Optional) Specify a single-tracking plug-in or a list of tracking plug-ins used to track subscriber sessions associated with this virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set user-tracking-plug-in [ user-tracking-plug-in ...]

    Set the user-tracking-plug-in option to the name of the configuration plug-in you configured with the edit shared sae configuration plug-ins name name ssr-writer statement.

  11. Configure the delay time (in milliseconds) for dual-stack interfaces. dual-stack-delay is not configured by default.
    [edit shared sae group west-region configuration driver junose] user@host# dual-stack-delay delay
  12. (Optional) Specify the VPN identifier used by this virtual router. For edge devices, you can specify VRF instead of a string to use the VRF instance reported by the device as the VPN identifier. For example, if you specify VRF for a JunosE router, the VPN identifier is the name of the virtual router.
    [edit shared network device junose_boston virtual-router vr1] user@host# set vpn-id (vpn-id | VRF)
  13. (Optional) Verify your configuration.
    [edit shared network device junose_boston virtual-router vr1] 
    user@host# show 
    authentication-plug-in ldap-auth;
    dual-stack-delay 1000;
    local-address-pools 10.0.0.1;
    sae-connection 10.212.10.2;
    scope POP-Ottawa;
    snmp-read-community ********;
    snmp-write-community ********;
    static-address-pools 10.10.0.1;
    user-tracking-plug-in fileAuth;
    vpn-id 123;
    

Related Documentation