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:
To add a virtual router:
From configuration mode, access the configuration statements for virtual routers. 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 vr1Specify 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!](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(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(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 ...](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(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(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 ...](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 ...](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 ...]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(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)(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;