VPN SERVICE CONFIGURATIONS ARE REPETITIVE TASKS THAT ARE CRITICAL T...

3. VPN service configurations are repetitive tasks that are critical to automate, including:

c. Actual service activation, performed by VPNSC, where a VPN is created and CE sites and

remote access sites are added to it.

Note For VPNSC configuration, refer to the MPLS VPNSC documentation suite at

https://traloihay.net.

Configuring Cisco uBR7200 VHG/PE Routers

Perform the following steps to configure the Cisco uBR7200 VHG/PE routers and cable access routers

at the CPE using SCM.

Note This example is just one way of performing this configuration task.

Step 1 Create a management VPN where three VPNs are established with “management” serving as the

management VPN by entering the following IOS command lines:

a.

Router (config)# ip vrf management

b.

Router (config-vrf)# rd 100:1

c.

Router (config-vrf)# route-target export 100:1

d.

Router (config-vrf)# route-target import 100:1

e.

Router (config-vrf)# route-target import 1000:1000

f.

Router (config)# ip vrf vpn2

g.

Router (config-vrf)# rd 200:1

h.

Router (config-vrf)# route-target export 200:200

i.

Router (config-vrf)# route-target export 1000:1000

j.

Router (config-vrf)# route-target import 200:200

k.

Router (config-vrf)# route-target import 100:1

l.

Router (config)# ip vrf vpn3

m.

Router (config-vrf)# rd 300:1

n.

Router (config-vrf)# route-target export 300:300

o.

Router (config-vrf)# route-target export 1000:1000

p.

Router (config-vrf)# route-target import 300:300

q.

Router (config-vrf)# route-target import 100:1

The management VPN learns the routes from the other VRFs from the import statement. The other two

VPNs (referred to as “vpn2” and “vpn3”) export their routes to the management VPN and import the

management VPN’s routes. Refer to the “Sample VHG/PE Configuration File” section on page 5-8 for

a complete sample Cisco uBR7246 configuration file featuring this type of VPN configuration.

Note The management VPN exports and imports routes to and from each of the other VPNs.

Nonmanagement VPNs do not exchange information with one another, however, thus preserving

isolation between nonmanagement VPNs.

Step 2 Configure the cable subinterfaces on the VHG/PE by entering the following IOS command lines.

For provisioning and management:

a.

Router (config)# interface Cable3/0.1

b.

Router (config-if)# ip vrf forwarding management

c.

Router (config-if)# cable dhcp-giaddr policy

d.

Router (config-if)# cable helper-address 24.25.1.18

For VPN cable access router and VPN users subnets

a.

Router (config)# interface Cable3/0.2

b.

Router (config-if)# ip vrf forwarding vpn2

c.

Router (config-if)# ip address 24.25.12.1 255.255.255.0 secondary

d.

Router (config-if)# ip address 24.25.13.1 255.255.255.0

e.

Router (config-if)# cable dhcp-giaddr policy

f.

Router (config-if)# cable helper-address 24.25.1.18 cable-modem

g.

Router (config-if)# cable helper-address 10.15.20.1 host

For non-VPN cable and users subnets

a.

Router (config)# interface Cable3/0.3

b.

Router (config-if)# ip address 24.25.15.1 255.255.255.0 secondary

c.

Router (config-if)# ip address 24.25.14.1 255.255.255.0

d.

Router (config-if)# cable dhcp-giaddr policy

e.

Router (config-if)# cable helper-address 24.25.1.18 cable-modem

f.

Router (config-if)# cable helper-address 10.19.15.1 host

The first subinterface is placed in the management VPN. It is configured with a cable helper-address that

forwards all DHCP requests to a Cisco Network Register DHCP server. The CNR DHCP server is

connected to a router interface within the management VPN, either on this router or on a remote router.

Create cable subinterfaces for each VPN and for non-VPN users, if required. Create a primary and a

secondary IP address for each subinterface. The primary IP address subnet is used by the cable access

routers and the secondary IP address subnet is used by the hosts connected to the cable access router.

The cable DHCP-GIADDR policy command instructs the VHG/PE to differentiate DHCP requests from

a cable access router and a host behind the cable access router. If different IP addresses are listed by the

cable helper-address for hosts and cable access routers, the request is sent to different DHCP servers.

The DHCP-GIADDR command also causes the VHG/PE to set the GIADDR field of PC DHCP requests

to that of the secondary interfaces IP address. This enhances the network administrators ability to define

DHCP scopes on the Cisco Network Register (CNR) server.

In this configuration, VPN users are connected to cable interface 3/0.2, and non-VPN users attach to