3Com 3C13636 Configuration Manual page 912

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

Advertisement

3Com Router 3000 Ethernet Family
Configuration Guide
# Configure two VPN-instances on PE1, add the specified VPN-target attribute to the
routes received from PE2 and PE3.
[PE1] ip vpn-instance vpn-instance2
[PE1-vpn- vpn-instance2] route-distinguisher 100:2
[PE1-vpn- vpn-instance2] vpn-target 100:1 import-extcommunity
[PE1-vpn- vpn-instance2] quit
[PE1] ip vpn-instance vpn-instance3
[PE1-vpn- vpn-instance3] route-distinguisher 100:3
[PE1-vpn- vpn-instance3] vpn-target 100:2 export-extcommunity
[PE1-vpn- vpn-instance3] quit
# Set up EBGP adjacency between PE1 and CE1, redistribute intra-CE1 VPN routes
learned into MBGP VPN-instance address family, with one routing loop permitted.
[PE1] bgp 100
[PE1-bgp] group 17216 external
[PE1-bgp] ipv4-family vpn-instance vpn-instance2
[PE1-bgp-af-vpn-instance] peer 172.16.1.1 group 17216 as-number 65002
[PE1-bgp-af-vpn-instance] peer 172.16.1.1 allow-as-loop 1
[PE1-bgp-af-vpn-instance] import-route static
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] quit
[PE1-bgp] group 17217 external
[PE1-bgp] ipv4-family vpn-instance vpn-instance3
[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-instance] import-route static
[PE1-bgp-af-vpn-instance] import-route direct
[PE1-bgp-af-vpn-instance] quit
[PE1-bgp] quit
# Bind Ethernet1/0/0.1 with VPN-instance 2 and Ethernet1/0/0.2 with VPN-instance 3.
[PE1] interface ethernet 1/0/0.1
[PE1-Ethernet1/0/0.1] ip binding vpn-instance vpn-instance2
[PE1-Ethernet1/0/0.1] ip address 172.16.0.1 255.255.0.0
[PE1-Ethernet1/0/0.1] quit
[PE1] interface ethernet 1/0/0.2
[PE1-Ethernet1/0/0.2] ip binding vpn-instance vpn-instance3
[PE1-Ethernet1/0/0.2] ip address 172.17.0.1 255.255.0.0
[PE1-Ethernet1/0/0.2] quit
# Configure loopback interface.
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 11.1.1.1 255.255.255.255
[PE1-LoopBack0] quit
Chapter 3 BGP/MPLS VPN Configuration
3Com Corporation
3-50

Advertisement

Table of Contents
loading

This manual is also suitable for:

3c13636-us - router 30363000 series

Table of Contents