|
Table Of Contents
CE-PE L3 MPLS VPN (BGP with full-mesh)
CE-PE L3 MPLS VPN (BGP with SOO)
N-PE L3 MPLS VPN (IPv4, IOS XR, OSPF)
N-PE L3 MPLS VPN (IPv6, IOS XR, EIGRP)
Sample Configlets
This appendix provides sample configlets for MPLS VPN provisioning in ISC. It contains the following sections:
• Overview
• CE-PE L3 MPLS VPN (BGP with full-mesh)
• CE-PE L3 MPLS VPN (BGP with SOO)
• N-PE L3 MPLS VPN (IPv4, IOS XR, OSPF)
• N-PE L3 MPLS VPN (IPv6, IOS XR, EIGRP)
Overview
The configlets provided in this appendix show the CLIs generated by ISC for particular services and features. Each configlet example provides the following information:
•Service.
•Feature.
•Devices configuration (network role, hardware platform, relationship of the devices and other relevant information).
•Sample configlets for each device in the configuration.
•Comments.
Note The configlets generated by ISC are only the delta between what needs to be provisioned and what currently exists on the device. This means that if a relevant CLI is already on the device, it does not show up in the associated configlet.
Note All examples in this appendix assume an MPLS core.
For information on how to view configlets, see Viewing Configlets Generated by a Service Request.
L2 Access into L3 MPLS VPN
Configuration•Service: L2VPN/Metro Ethernet.
•Feature: Access into L3 MPLS VPN.
•Device configuration:
–The CE is a CISCO3550 with IOS 12.1(22)EA1.
F0/13 <-> F0/4
–The U-PE is a CISCO3550 with IOS 12.1(22)EA1.
F0/14
–The N-PE is a CISCO7609 with IOS 12.2(18)SXF.
F2/8
–VLAN = 3101
Configlets
Comments•IP Numbered scenario with Dot1q encapsulation for VPN Link.
•The VRF is created on the N-PE device (-s designates that VPN is joining as a Hun-n-Spoke.
•On the N-PE, the VRF is added to iBGP routing instance with user configured redistribution of connected and static options.
•The VRF is created on the NPE with forwarding associated with the U-PE facing interface.
CE-PE L3 MPLS VPN (BGP with full-mesh)
Configuration•Service: L3 MPLS VPN.
•Feature: CE-PE BGP with full-mesh.
•Device configuration:
–The PE is a CISCO7609 with IOS 12.2(18)SXF.
F0/12
–The CE is a CISCO3550 with IOS 12.2(22)EA1.
F2/5
–Routing protocol = BGP.
Configlets
Comments•A full-mesh configuration is created by means of the CERC selected for the VPN policy. As a result, route-target import and route-target export are identical.
•BGP is the routing protocol on the CE-PE access link.
•IP Numbered scenario with Dot1q encapsulation for the VPN link.
•The VRF is created on the PE device.
•The VRF is created on the PE with forwarding associated with the CE facing interface.
CE-PE L3 MPLS VPN (BGP with SOO)
Configuration•Service: L3 MPLS VPN.
•Feature: CE-PE.
•Device configuration:
–The PE is a CISCO7609 with IOS 12.2(18)SXF.
F0/5
–The CE created in ISC.
F2/32
–Routing protocol = BGP.
–VPN = Hub
Configlets
Comments•IP Numbered scenario with Dot1q encapsulation for the VPN link.
•The VRF is created on PE device (VPN is joining as a Spoke).
•On PE, the VRF is added to iBGP routing instance with user configured redistribution of connected and static options.
•The VRF is created on the PE with forwarding associated with the CE facing interface.
CE-PE L3 MPLS VPN
Configuration•Service: L3 MPLS VPN.
•Feature: CE-PE.
•Device configuration:
–The PE is a CISCO7609 with IOS 12.2(18)SXF.
F1/0/14
–The CE is an ME-C3750-24TE with IOS 12.2(25)EY.
F2/3
–VPN = Spoke
Configlets
Comments•IP Numbered scenario with Dot1q encapsulation for the VPN link.
•The VRF is created on the PE device.
•neighbor 10.19.19.38 remote-as 10 is created as a result of the policy having
CE BGP AS ID = 10.neighbor 10.19.19.38 allowas-in 2 is created as a result of the policy having
Neighbor Allow-AS in = 2 in the PE-CE Routing information screen.•The VRF is created on the PE with forwarding associated with the CE facing interface.
•On the PE, BGP defines a route-map for the CE neighbor.
•The associated route map sets the extended community attribute to SOO, which is the community value (SOO pool value defined in ISC).
N-PE L3 MPLS VPN (IPv4, IOS XR, OSPF)
Configuration•Service: L3 MPLS VPN.
•Feature: IPv4 with IOS XR.
•Device configuration:
–The N-PE is a Cisco 12000 router with IOS XR.
–Routing protocol = OSPF.
Configlets
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<Delete>
<Configuration Source="CurrentConfig">
<InterfaceConfigurationTable>
<InterfaceConfiguration>
<Naming>
<Name>GigabitEthernet0/1/1/1.856</Name>
<Active>act</Active>
</Naming>
<Shutdown>true</Shutdown>
</InterfaceConfiguration>
</InterfaceConfigurationTable>
</Configuration>
</Delete>
<Set>
<Configuration Source="CurrentConfig">
<VRFTable>
<VRF>
<Naming>
<Name>ICICI_VPN_1</Name>
</Naming>
<AFI_SAFITable>
<AFI_SAFI>
<Naming>
<AFI>IPv4</AFI>
<SAFI>Unicast</SAFI>
</Naming>
<BGP>
<ImportRouteTargets>
<RouteTargetTable>
<RouteTarget>
<Naming>
<Type>AS</Type>
<AS>100</AS>
<ASIndex>1</ASIndex>
</Naming>
<True>true</True>
</RouteTarget>
</RouteTargetTable>
</ImportRouteTargets>
<ExportRouteTargets>
<RouteTargetTable>
<RouteTarget>
<Naming>
<Type>AS</Type>
<AS>100</AS>
<ASIndex>1</ASIndex>
</Naming>
<True>true</True>
</RouteTarget>
</RouteTargetTable>
</ExportRouteTargets>
</BGP>
</AFI_SAFI>
</AFI_SAFITable>
</VRF>
</VRFTable>
<InterfaceConfigurationTable>
<InterfaceConfiguration>
<Naming>
<Name>GigabitEthernet0/1/1/1.856</Name>
<Active>act</Active>
</Naming>
<Description>GigabitEthernet0/1/1/1.856 dot1q vlan id=856. By VPNSC: Job Id# = 116</Description>
<InterfaceModeNonPhysical>Default</InterfaceModeNonPhysical>
<VLANSubConfiguration>
<VLANIdentifier>
<VlanType>VLANTypeDot1q</VlanType>
<FirstTag>856</FirstTag>
</VLANIdentifier>
</VLANSubConfiguration>
<VRF>ICICI_VPN_1</VRF>
<IPV4Network>
<Addresses>
<Primary>
<IPAddress>10.10.56.1</IPAddress>
<Mask>255.255.255.252</Mask>
</Primary>
</Addresses>
</IPV4Network>
</InterfaceConfiguration>
</InterfaceConfigurationTable>
<BGP>
<AS>
<Naming>
<AS>0</AS>
</Naming>
<FourByteAS>
<Naming>
<AS>100</AS>
</Naming>
<VRFTable>
<VRF>
<Naming>
<Name>ICICI_VPN_1</Name>
</Naming>
<VRFGlobal>
<Exists>true</Exists>
<RouteDistinguisher>
<Type>AS</Type>
<AS>100</AS>
<ASIndex>8064</ASIndex>
</RouteDistinguisher>
<VRFGlobalAFTable>
<VRFGlobalAF>
<Naming>
<AF>IPv4Unicast</AF>
</Naming>
<Enabled>true</Enabled>
<Redistribution>
<ConnectedRoutes/>
<OSPFRouteTable>
<OSPFRoutes>
<Naming>
<OSPFInstanceName>100</OSPFInstanceName>
</Naming>
<RedistType>21</RedistType>
<DefaultMetric>20000</DefaultMetric>
</OSPFRoutes>
</OSPFRouteTable>
<StaticRoutes/>
</Redistribution>
</VRFGlobalAF>
</VRFGlobalAFTable>
</VRFGlobal>
</VRF>
</VRFTable>
</FourByteAS>
</AS>
</BGP>
<OSPF>
<ProcessTable>
<Process>
<Naming>
<InstanceName>100</InstanceName>
</Naming>
<Start>true</Start>
<VRFTable>
<VRF>
<Naming>
<VRFName>ICICI_VPN_1</VRFName>
</Naming>
<VRFStart>true</VRFStart>
<Redistribution>
<RedistributeTable>
<Redistribute>
<Naming>
<ProtocolType>rip</ProtocolType>
<InstanceName>rip</InstanceName>
</Naming>
<Classful>false</Classful>
</Redistribute>
<Redistribute>
<Naming>
<ProtocolType>static</ProtocolType>
<InstanceName>static</InstanceName>
</Naming>
<Classful>false</Classful>
</Redistribute>
</RedistributeTable>
</Redistribution>
<AreaTable>
<Area>
<Naming>
<IntegerID>100</IntegerID>
</Naming>
<NameScopeTable>
<NameScope>
<Naming>
<Interface>GigabitEthernet0/1/1/1.856</Interface>
</Naming>
<Running>true</Running>
</NameScope>
</NameScopeTable>
<Running>true</Running>
</Area>
</AreaTable>
<DefaultInformation>
<AlwaysAdvertise>true</AlwaysAdvertise>
</DefaultInformation>
</VRF>
</VRFTable>
</Process>
</ProcessTable>
</OSPF>
</Configuration>
</Set>
<Commit/>
</Request>
Comments•In IOS XR, device configuration is specified in XML format.
•With respect to the XML schemas, different versions of IOS XR will generate different XML configlets. However the configurations will be almost identical, except for changes in the XML schema.
•There are different cases to consider. For example, when a service request is decommissioned or modified, the XML configuration will slightly differ.
N-PE L3 MPLS VPN (IPv6, IOS XR, EIGRP)
Configuration•Service: L3 MPLS VPN.
•Feature: N-PE running IOS XR 3.5.x.
•Device configuration:
–The N-PE is a Cisco 12000 router with IOS XR 3.5.x.
–Routing protocol = EIGRP.
Configlets
<?xml version="1.0" encoding="UTF-8"?>
<Request MajorVersion="1" MinorVersion="0">
<CLI>
<Configuration>
interface GigabitEthernet0/1/1/1.840
ipv6 address fec0:140:9834::/64
exit
</Configuration>
</CLI>
<Delete>
<Configuration Source="CurrentConfig">
<EIGRP>
<ProcessTable>
<Process>
<Naming>
<ASNumber>100</ASNumber>
</Naming>
<VRFTable>
<VRF>
<Naming>
<VRFName>V10:ICICI_VPN</VRFName>
</Naming>
<VRF_AFTable>
<VRF_AF>
<Naming>
<VRF_AFType>IPv4</VRF_AFType>
</Naming>
<AutoSummary/>
</VRF_AF>
</VRF_AFTable>
</VRF>
</VRFTable>
</Process>
</ProcessTable>
</EIGRP>
<InterfaceConfigurationTable>
<InterfaceConfiguration>
<Naming>
<Name>GigabitEthernet0/1/1/1.840</Name>
<Active>act</Active>
</Naming>
<Shutdown>true</Shutdown>
</InterfaceConfiguration>
</InterfaceConfigurationTable>
</Configuration>
</Delete>
<Set>
<Configuration Source="CurrentConfig">
<InterfaceConfigurationTable>
<InterfaceConfiguration>
<Naming>
<Name>GigabitEthernet0/1/1/1.840</Name>
<Active>act</Active>
</Naming>
<Description>GigabitEthernet0/1/1/1.840 dot1q vlan id=840. By VPNSC: Job Id# = 50</Description>
<InterfaceModeNonPhysical>Default</InterfaceModeNonPhysical>
<VLANSubConfiguration>
<VLANIdentifier>
<VlanType>VLANTypeDot1q</VlanType>
<FirstTag>840</FirstTag>
</VLANIdentifier>
</VLANSubConfiguration>
<VRF>V10:ICICI_VPN</VRF>
</InterfaceConfiguration>
</InterfaceConfigurationTable>
<BGP>
<AS>
<Naming>
<AS>0</AS>
</Naming>
<FourByteAS>
<Naming>
<AS>100</AS>
</Naming>
<VRFTable>
<VRF>
<Naming>
<Name>V10:ICICI_VPN</Name>
</Naming>
<VRFGlobal>
<Exists>true</Exists>
<VRFGlobalAFTable>
<VRFGlobalAF>
<Naming>
<AF>IPv6Unicast</AF>
</Naming>
<Enabled>true</Enabled>
<Redistribution>
<EIGRPRouteTable>
<EIGRPRoutes>
<Naming>
<EIGRPInstanceName>120</EIGRPInstanceName>
</Naming>
</EIGRPRoutes>
</EIGRPRouteTable>
</Redistribution>
</VRFGlobalAF>
</VRFGlobalAFTable>
</VRFGlobal>
</VRF>
</VRFTable>
</FourByteAS>
</AS>
</BGP>
<EIGRP>
<ProcessTable>
<Process>
<Naming>
<ASNumber>100</ASNumber>
</Naming>
<VRFTable>
<VRF>
<Naming>
<VRFName>V10:ICICI_VPN</VRFName>
</Naming>
<Enabled>true</Enabled>
<VRF_AFTable>
<VRF_AF>
<Naming>
<VRF_AFType>IPv4</VRF_AFType>
</Naming>
<Enabled>true</Enabled>
<RedistributeTable>
<Redistribute>
<Naming>
<Protocol>BGP</Protocol>
<SecondASNumber>100</SecondASNumber>
</Naming>
<PolicySpecified>false</PolicySpecified>
</Redistribute>
</RedistributeTable>
<DefaultMetric>
<BW>2000</BW>
<Delay>2001</Delay>
<Reliability>200</Reliability>
<Load>201</Load>
<MTU>20000</MTU>
</DefaultMetric>
<InterfaceTable>
<Interface>
<Naming>
<InterfaceName>GigabitEthernet0/1/1/1.840</InterfaceName>
</Naming>
<Enabled>true</Enabled>
</Interface>
</InterfaceTable>
<AutonomousSystem>120</AutonomousSystem>
</VRF_AF>
</VRF_AFTable>
</VRF>
</VRFTable>
</Process>
</ProcessTable>
</EIGRP>
</Configuration>
</Set>
<Commit/>
</Request>Comments
•In IOS XR, device configuration is specified in XML format.
•With respect to the XML schemas, different versions of IOS XR will generate different XML configlets. However the configurations will be almost identical, except for changes in the XML schema.
•There are different cases to consider. For example, when a service request is decommissioned or modified, the XML configuration will slightly differ.
Posted: Mon Feb 18 15:00:40 PST 2008
All contents are Copyright © 1992--2008 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.