HP FlexFabric 5940 Configuration Manual page 24

Table of Contents

Advertisement

# Enable BGP in AS 100 on the MCE.
[MCE] bgp 100
# Enter the BGP-VPN instance view of VPN instance vpn1.
[MCE-bgp-default] ip vpn-instance vpn1
# Specify the EBGP peer PE 1 in AS 200.
[MCE-bgp-default-vpn1] peer 30.1.1.2 as-number 200
# Activate the EBGP VPNv4 peer PE 1, and redistribute routing information from OSPF process
10 to BGP.
[MCE-bgp-default-vpn1] address-family ipv4
[MCE-bgp-default-ipv4-vpn1] peer 30.1.1.2 enable
[MCE-bgp-default-ipv4-vpn1] import-route ospf 10
# On PE 1, enable BGP in AS 200, and specify the MCE as its EBGP peer.
[PE1] bgp 200
[PE1-bgp-default] ip vpn-instance vpn1
[PE1-bgp-default-vpn1] peer 30.1.1.1 as-number 100
[PE1-bgp-default-vpn1] address-family ipv4
[PE1-bgp-default-ipv4-vpn1] peer 30.1.1.1 enable
[PE1-bgp-default-ipv4-vpn1] quit
[PE1-bgp-default-vpn1] quit
[PE1-bgp-default] quit
# Use similar procedures to configure VPN 2 settings on MCE and PE 1. (Details not shown.)
Verifying the configuration
# Verify that PE 1 has learned the OSPF route of VPN 1 through BGP.
[PE1] display ip routing-table vpn-instance vpn1
Destinations : 13
Destination/Mask
0.0.0.0/32
30.1.1.0/24
30.1.1.0/32
30.1.1.2/32
30.1.1.255/32
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32 Direct
192.168.0.0/24
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32 Direct
# Verify that PE 1 has learned the OSPF route of VPN 2 through BGP.
[PE1] display ip routing-table vpn-instance vpn2
Destinations : 13
Destination/Mask
Routes : 13
Proto
Pre Cost
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
0
0
BGP
255 3
Direct
0
0
Direct
0
0
0
0
Routes : 13
Proto
Pre Cost
NextHop
127.0.0.1
30.1.1.2
30.1.1.2
127.0.0.1
30.1.1.2
127.0.0.1
127.0.0.1
127.0.0.1
127.0.0.1
30.1.1.1
0.0.0.0
0.0.0.0
127.0.0.1
NextHop
21
Interface
InLoop0
Vlan30
Vlan30
InLoop0
Vlan30
InLoop0
InLoop0
InLoop0
InLoop0
Vlan30
NULL0
NULL0
InLoop0
Interface

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents