Fib Entry Application Configuration Example - H3C S9500 Series Operation Manual

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

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] import-route static
# Configure PE2: set up IBGP peer relation with PE1 in BGP-VPNv4 sub-address
family view; set up EBGP peer relation with CE3 in BGP-VPN instance view.
[PE2] bgp 100
[PE2-bgp] group 10
[PE2-bgp] peer 1.1.1.9 group 10
[PE2-bgp] peer 1.1.1.9 connect-interface loopback 0
[PE2-bgp] ipv4-family vpnv4
[PE2-bgp-af-vpn] peer 10 enable
[PE2-bgp-af-vpn] peer 1.1.1.9 group 10
[PE2-bgp-af-vpn] quit
[PE2-bgp] ipv4-family vpn-instance vpn1
[PE2-bgp-af-vpn-instance] import-route direct
[PE2-bgp-af-vpn-instance] group 20 external
[PE2-bgp-af-vpn-instance] peer 20.3.1.1 group 20 as-number 65430
[PE2-bgp-af-vpn-instance] quit
[PE2-bgp] quit
Configure multi-role host feature: If a routing protocol is employed between CE2 and
PE1, configure PE1 not to advertise any route information to CE2 to avoid route loops.
Following depicts a way to achieve this. You can also avoid route loops in other ways.
Directly configure a static route to PC2 on PE1 if no routing protocol is employed
between PE1 and CE2.
# Configure a default route pointing to PE1 on CE2.
[CE2] ip route-static 0.0.0.0 0.0.0.0 20.1.1.2
# Configure a multiple-role host route on PE1.
[PE1] ip route-static vpn-instance vpn1 172.16.0.0 16 vpn2 20.1.1.1
# Import the route of VPN1 to VPN2 using the RT attribute.
[PE1] ip vpn-instance vpn2
[PE1-vpn-vpn2] vpn-target 100:1 import-extcommunity

1.4.12 FIB Entry Application Configuration Example

I. Networking requirements
This configuration example applies to an MPLS networking environment where there is
a need to configure a dynamic routing protocol to advertise routes and to configure a
static LSP for MPLS forwarding.
Make sure that the FIB entries generated by the dynamic routing protocol will not affect
the FIB entries advertised by the static LSP for normal MPLS forwarding. After the static
Chapter 1 MPLS L3VPN Configuration
1-85

Advertisement

Table of Contents
loading

Table of Contents