> - Downloads
> - Creating Virtual Routers for the CMTS Device (SRC CLI)
> - Related Topics
> - Adding Objects for CMTS Devices (SRC CLI)
> - Configuring CMTS-Specific RKS Plug-Ins (SRC CLI)
> - Associating Security Names with a Community

> # Creating Virtual Routers for the CMTS Device (SRC CLI)

> You need to add a virtual router object called default to the CMTS device.

> 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 ...];
> }
> `

> 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. In this sample procedure, pcmm_dtr is the name of the router and default is the name of the virtual router.
>    `
>    user@host# edit shared network device pcmm_dtr virtual-router default
>    `
> 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 pcmm_dtr virtual-router default]
>    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 pcmm_dtr virtual-router default]
>    user@host# set sae-connection [sae1! sae2!]
>    `
> 3. (Optional) Specify an SNMP community name for SNMP read-only operations for this VR.
>    `
>    [edit shared network device pcmm_dtr virtual-router default]
>    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 pcmm_dtr virtual-router default]
>    user@host# set snmp-write-community snmp-write-community
>    `
> 5. (Optional) Specify service scopes assigned to this virtual router.

>    See Configuring Service Scopes (SRC CLI).

>    `
>    [edit shared network device pcmm_dtr virtual-router default]
>    user@host# set scope [ scope ...]
>    `
> 6. (Optional) Specify the list of IP address pools that a CMTS virtual router currently manages and stores.

>    If you are using assigned IP subscribers along with the network information collector (NIC), you need to configure either a local or static address pool so that the NIC can resolve the IP-to-SAE mapping.

>    `
>    [edit shared network device pcmm_dtr virtual-router default]
>    user@host# set local-address-pools local-address-pools
>    `
> 7. (Optional) Specify the list of IP address pools that a CMTS VR manages but does not store.

>    If you are using assigned IP subscribers along with the NIC, you need to configure either a local or static address pool so that the NIC can resolve the IP-to-SAE mapping.

>    `
>    [edit shared network device pcmm_dtr virtual-router default]
>    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 pcmm_dtr virtual-router default]
>    user@host# tracking-plug-in [ tracking-plug-in ...]
>    `
> 9. (Optional) Verify your configuration.

>        [edit shared network device pcmm_dtr virtual-router default]
>        user@host# show
>        sae-connection [ 10.14.39.2 10.10.5.30 ];
>        snmp-read-community ********;
>        snmp-write-community ********;
>        scope POP-Westford;
>        local-address-pools "10.25.8.0 10.25.20.255";
>        tracking-plug-in rksPlugin;

> #### Published: 2009-09-23

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.