3Com S7906E Configuration Manual page 1161

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[PE1-Vlan-interface11] quit
# Configure an IP address for Loopback 1, and enable PIM-SM.
[PE1] interface loopback 1
[PE1-LoopBack1] ip address 1.1.1.1 32
[PE1-LoopBack1] pim sm
[PE1-LoopBack1] quit
# Configure BGP.
[PE1] bgp 100
[PE1-bgp] group vpn-g internal
[PE1-bgp] peer vpn-g connect-interface loopback 1
[PE1-bgp] peer 1.1.1.2 group vpn-g
[PE1-bgp] peer 1.1.1.3 group vpn-g
[PE1–bgp] ipv4-family vpn-instance a
[PE1-bgp-a] import-route rip 2
[PE1-bgp-a] import-route direct
[PE1-bgp-a] quit
[PE1–bgp] ipv4-family vpnv4
[PE1–bgp-af-vpnv4] peer vpn-g enable
[PE1-bgp-af-vpnv4] peer 1.1.1.2 group vpn-g
[PE1–bgp-af-vpnv4] peer 1.1.1.3 group vpn-g
[PE1–bgp-af-vpnv4] quit
[PE1–bgp] quit
With BGP peers configured on PE 1, the interfaces MTI 0 will automatically obtain an IP address, which
is the loopback interface address specified in the BGP peer configuration. The PIM mode running on
MTI 0 is the same as on the interfaces in VPN instance a.
# Configure OSPF.
[PE1] ospf 1
[PE1-ospf-1] area 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure RIP
[PE1] rip 2 vpn-instance a
[PE1-rip-2] network 10.0.0.0
[PE1-rip-2] import-route bgp
[PE1-rip-2] return
2)
Configure PE 2
# Configure a Router ID, enable IP multicast routing in the public instance, configure an MPLS LSR ID,
and enable the LDP capability.
<PE2> system-view
[PE2] router id 1.1.1.2
[PE2] multicast routing-enable
[PE2] mpls lsr-id 1.1.1.2
[PE2] mpls
1-21

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents