574
C
49: BGP/MPLS VPN C
HAPTER
ONFIGURATION
# Configure MPLS basic capability.
[P1] mpls lsr-id 3.3.3.3
[P1] mpls
[P1-mpls] quit
[P1] mpls ldp
# Configure the interface Loopback 0.
[P1] interface loopback 0
[P1-LoopBack0] ip address 3.3.3.3 255.255.255.255
# Configure VLAN interface connecting PE1.
[P1] vlan 205
[P1-vlan205] port gigabitethernet 2/1/1
[P1-vlan205] quit
[P1] interface Vlan-interface 205
[P1-Vlan-interface205] mpls
[P1-Vlan-interface205] mpls ldp enable
[P1-Vlan-interface205] ip address 10.1.1.1 255.255.255.0
[P1-Vlan-interface205] quit
# Configure VLAN interface connecting PE2.
[P1] vlan 206
[P1-vlan206] port gigabitethernet 2/1/2
[P1-vlan206] quit
[P1] interface Vlan-interface 206
[P1-Vlan-interface206] mpls
[P1-Vlan-interface206] mpls ldp enable
[P1-Vlan-interface206] ip address 98.98.98.1 255.255.255.0
[P1-Vlan-interface206] quit
# Configure IBGP neighbors and EBGP neighbors.
[P1] bgp 100
[P1-bgp] group 1 internal
[P1-bgp] peer 1.1.1.1 group 1
[P1-bgp] peer 1.1.1.1 connect-interface loopback0
[P1-bgp] group 4 external
[P1-bgp] peer 98.98.98.2 group 4 as-number 200
[P1-bgp] ipv4-family vpnv4
[P1-bgp-af-vpn] peer 1 enable
[P1-bgp-af-vpn] peer 1.1.1.1 group 1
[P1-bgp-af-vpn] peer 1 next-hop-local
[P1-bgp-af-vpn] peer 98 enable
[P1-bgp-af-vpn] peer 98.98.98.2 group 98
[P1-bgp-af-vpn] undo policy vpn-target
Cross-Domain BGP/MPLS
Network requirements
VPN Configuration
CE1 and CE2 belong to the same VPN. CE1 accesses the MPLS network through
Example - Option C
PE1 in AS100; and CE2 accesses the MPLS network through PE2 in AS200.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers