H3C S9500 Series Operation Manual page 43

Routing switches mpls l3vpn
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
# Set up EBGP adjacency between PE1 and CE1, import intra-CE1 VPN routes
learned into MBGP VPN-instance address family, with one routing loop permitted.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn-instance2
[PE1-bgp-af-vpn-instance] import-route static
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] group 17216 external
[PE1-bgp-af-vpn-instance] peer 172.16.1.1 group 17216 as-number 65002
[PE1-bgp-af-vpn-instance] quit
[PE1-bgp] ipv4-family vpn-instance vpn-instance3
[PE1-bgp-af-vpn-instance] import-route static
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] group 17217 external
[PE1-bgp-af-vpn-instance] peer 172.17.1.1 group 17217 as-number 65002
[PE1-bgp-af-vpn-instance] peer 172.17.1.1 allow-as-loop 1
[PE1-bgp-af-vpn] quit
[PE1-bgp] quit
# Bind the VLAN interface connecting PE1 and CE1 to different VPN-instances. Bind
the interface of the VLAN to which the Ethernet port Gigabitethernet 2/1/1 belongs to
VPN-instance2, bind the interface of the VLAN to which the Ethernet port
Gigabitethernet 2/1/2 belongs to VPN-instance3.
[PE1] vlan 201
[PE1-vlan201] port gigabitethernet 2/1/1
[PE1-vlan201] quit
[PE1] interface Vlan-interface 201
[PE1-Vlan-interface201] ip binding vpn-instance vpn-instance2
[PE1-Vlan-interface201] ip address 172.16.0.1 255.255.0.0
[PE1-Vlan-interface201] quit
[PE1] vlan 202
[PE1-vlan202] port gigabitethernet 2/1/2
[PE1-vlan202] quit
[PE1] interface Vlan-interface 202
[PE1-Vlan-interface202] ip binding vpn-instance vpn-instance3
[PE1-Vlan-interface202] ip address 172.17.0.1 255.255.0.0
[PE1-Vlan-interface202] quit
# Configure Loopback interface
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 11.1.1.1 255.255.255.255
[PE1-LoopBack0] quit
# Set up MP-IBGP adjacency between PEs to exchange inter-PE VPN routing
information and activate MP-IBGP peer in VPNv4 sub-address family view.
Chapter 1 MPLS L3VPN Configuration
1-42

Advertisement

Table of Contents
loading

Table of Contents