3Com Switch 8800 Configuration Guide Chapter 37 BGP/MPLS VPN Configuration
37-44
[PE-B] vlan 301
[PE-B-vlan301] port gigabitethernet 3/1/1
[PE-B-vlan301] quit
[PE-B] interface Vlan-interface 301
[PE-B-Vlan-interface301] ip binding vpn-instance vpn-instance3
[PE-B-Vlan-interface301] ip address 172.17.0.1 255.255.0.0
[PE-B-Vlan-interface301] quit
Configure loopback interface
[PE-B] interface loopback 0
[PE-B-LoopBack0] ip address 30.1.1.1 255.255.255.255
[PE-B-LoopBack0] quit
Configure MPLS basic capacity.
[PE-B] mpls lsr-id 30.1.1.1
[PE-B] mpls
[PE-B-mpls] quit
[PE-B] mpls ldp
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.
[PE-B] bgp 100
[PE-B-bgp] group 20
[PE-B-bgp] peer 20.1.1.1 group 20
[PE-B-bgp] peer 20.1.1.1 connect-interface loopback 0
[PE-B-bgp] ipv4-family vpnv4
[PE-B-bgp-af-vpn] peer 20 enable
[PE-B-bgp-af-vpn] peer 20.1.1.1 group 20
[PE-B-bgp-af-vpn] quit
37.4.4 Hub&Spoke Configuration Example
I. Network requirements
Hub&Spoke networking is also called central server networking. The site in the center
is called hub-site, while the one not in the center is called spoke-site. The hub-site
knows the routes to all other sites in the same VPN, and the spoke-site must send its
traffic first to hub-site and then to the destination. Hub-site is the central node of
spoke-sites.
A bank has a headquarters network and subsidiary networks, and it requires that the
subsidiaries cannot directly exchange data with each other, but they can exchange data
through the headquarters network which provides uniform control. In this case,
Hub&Spoke networking topology is used: CE2 and CE3 are spoke-sites, while CE1 is a
hub-site in the bank data center. CE1 controls communication between CE2 and CE3.