13-27
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 13 MPLS/VPN Support
Managing MPLS/VPN Support
How to Add Mappings to VPN-based Subscribers
There are three types of mappings that can be added to an existing VPN-based subscriber:
•
A set of IP addresses defined as IP@VPN
•
A complete VPN (this is actually a special case of IP@VPN mappings, in which the mapping is
defined as 0.0.0.0/0@VPN)
•
All the IP addresses of a CE router, defined by a AS:value@VPN-NAME (BGP community)
How to Add IP Address Mappings
Options
The following options are available
•
SUB-NAME
— The name of the subscriber to be associated with the specified community attribute
•
IP1[/RANGE][,...]@VPN-NAME
— IP address or addresses to assign to the VPN
–
IP
= the IP address. This may be any of the following
–
a single IP address (x.x.x.x)
–
a single range of IP addresses (x.x.x.x/y)
–
a list of IP addresses separated by commas (x.x.x.x, y.y.y.y, z.z.z.z)
–
a list of IP address ranges (x.x.x.x/a, y.y.y.y/b, z.z.z.z/c)
–
VPN-NAME
= name of the VPN to which the community attribute will be assigned
•
--additive-mappings
— Use this option to add the new mapping(s) to any existing ones. (Without
this option, any existing mappings are overwritten.)
Step 1
From the shell prompt, type the following command:
p3subs –-add -–subscriber=SUB-NAME
--ip=IP1[/RANGE][,...]@VPN-NAME [--additive-mappings]
How to Add VPN-based Mappings
This option is supported to provide backwards compatibility with MPLS/VPN-based subscribers in
releases before 3.1.5.
Options
The following options are available
•
SUB-NAME
— The name of the subscriber to be associated with the specified community attribute
•
VPN-NAME
— The name of the VPN to which the subscriber will be mapped. (This option is
equivalent to defining the mapping as 0.0.0.0/0@VPN)
•
--additive-mappings
— Use this option to add the new mapping(s) to any existing ones. (Without
this option, any existing mappings are overwritten.)
Step 1
From the shell prompt, type the following command:
p3subs –-add -–subscriber=SUB-NAME
–-vpn=VPN-NAME [--additive-mappings]