13-28
Cisco SCE 2000 and SCE 1000 Software Configuration Guide
OL-7827-12
Chapter 13 MPLS/VPN Support
Managing MPLS/VPN Support
How to Configure the Community Parameter
An optional parameter may be set defining a community attribute. The community attribute provides a
mechanism for defining the BGP community as one subscriber, using the
community@VPN
specification.
The community attribute in the BGP protocol is used to dynamically map IP ranges to subscribers. The
community attribute can be configured in the Provider Edge (PE) router or in the Customer Edge (CE)
router.
The
community@VPN
specification is replaced by an IP@VPN specification by the BGP LEG.
Use the
p3subs
utility to configure the community parameter.
Options
The following options are available:
•
SUB-NAME
— The name of the subscriber to be associated with the specified community attribute
•
AS:value@VPN-NAME
— The community attribute to assign to the VPN
–
AS
= autonomous system. Integer in the range 0-65535 assigned by the network administrator
–
value
= the community attribute. Integer in the range 0-65535 assigned by the network
administrator
–
VPN-NAME
= name of the VPN to which the community attribute will be assigned
Step 1
From the shell prompt, type the following command:
p3subs –-add -–subscriber=SUB-NAME
--community=AS:value@VPN-NAME
How to Remove VPN Mappings from Subscribers
•
To Remove All Existing Mappings from a Specified Subscriber, page 13-28
•
To Remove a Specified IP Mapping from a Specified Subscriber, page 13-28
•
To Remove a Specified VPN Mapping from a Specified Subscriber, page 13-29
•
To Remove a Specified Community-based Mapping from a Specified Subscriber, page 13-29
To Remove All Existing Mappings from a Specified Subscriber
Step 1
From the shell prompt, type the following command:
p3subs –-remove-all-mappings
-–subscriber=SUB-NAME
To Remove a Specified IP Mapping from a Specified Subscriber
Step 1
From the shell prompt, type the following command:
p3psubs –-remove-mappings
-–subscriber=SUB-NAME --ip=IP1[/RANGE][,...]@VPN-NAME