3Com 3C13636 Configuration Manual page 899

Router 3000 ethernet family
Hide thumbs Also See for 3C13636:
Table of Contents

Advertisement

3Com Router 3000 Ethernet Family
Configuration Guide
# Configure vpn-instance for VPN-A on PE1, as well as other associated attributes to
control advertisement of VPN routing information.
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:1
[PE1-vpn- vpna] vpn-target 111:1 both
[PE1-vpn- vpna] quit
# Configure PE1 and CE1 as EBGP neighbors, redistribute CE1 VPN routes learned
into MBGP VPN-instance address family.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-af-vpn-instance] group 168 external
[PE1-bgp-af-vpn-instance] peer 168.1.1.1 group 168 as-number 65410
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-instance] quit
# Bind the interface Ethernet1/0/0 connecting PE1 and CE1 to the VPN-A. Note that
you should first configure association between the interface and VPN-instance, and
then the IP address.
[PE1] interface ethernet 1/0/0
[PE1-Ethernet1/0/0] ip binding vpn-instance vpna
[PE1-Ethernet1/0/0] ip address 168.1.1.2 255.255.0.0
[PE1-Ethernet1/0/0] quit
# Configure loopback interface. (For PE, the IP address for loopback interface must be
a host address with 32-bit mask, to prevent the route is aggregated and then LSP
cannot process correctly interior-layer labels.)
[PE1] interface loopback0
[PE1-LoopBack 0] ip address 202.100.1.1 255.255.255.255
[PE1-LoopBack 0] quit
# Configure MPLS basic capacity and enable LDP on the interface connecting PE1 and
P, create LSP for MPLS packet forwarding.
[PE1] mpls lsr-id 172.1.1.1
[PE1-mpls] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface Serial2/0/0
[PE1-Serial2/0/0] ip address 172.1.1.1 255.255.0.0
[PE1-Serial2/0/0] mpls ldp enable
[PE1-Serial2/0/0] quit
# Enable OSPF on the interface connecting PE1 and P and on the loopback interface,
and allow it to redistribute directly connected routes for intra-PE communication.
[PE1] ospf
[PE1-ospf] area 0
Chapter 3 BGP/MPLS VPN Configuration
3Com Corporation
3-37

Advertisement

Table of Contents
loading

This manual is also suitable for:

3c13636-us - router 30363000 series

Table of Contents