HP VPN Firewall Appliances Network Management Configuration Guide

657
b. Configure OSPF on the routers to make sure the routers are interoperable at the network layer
in each AS, and they can dynamically update routing information. (Details not shown.)
2. Enable IP multicast routing, enable PIM-SM and IGMP, and configure a PIM-SM domain border:
# On Router A, enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP
on the host-side interface Ethernet 1/3.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] pim sm
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] pim sm
[RouterA-Ethernet1/2] quit
[RouterA] interface ethernet 1/3
[RouterA-Ethernet1/3] igmp enable
[RouterA-Ethernet1/3] pim sm
[RouterA-Ethernet1/3] quit
# Enable IP multicast routing, PIM-SM, and IGMP on Router B, Router C, Router D, the firewall, and
Router E in the same way. (Details not shown.)
# Configure a PIM domain border on Router B.
[RouterB] interface pos 5/0
[RouterB-Pos5/0] pim bsr-boundary
[RouterB-Pos5/0] quit
# Configure a PIM domain border separately on Router C and the firewall in the same way.
(Details not shown.)
3. Configure C-BSRs and C-RPs:
# Configure Loopback 0 as a C-BSR and a C-RP on Router B.
[RouterB] pim
[RouterB-pim] c-bsr loopback 0
[RouterB-pim] c-rp loopback 0
[RouterB-pim] quit
# Configure C-BSRs and C-RPs on Router C and the firewall in the same way. (Details not shown.)
4. Configure BGP and configure mutual route redistribution between BGP and OSPF:
# Configure an eBGP peer, and redistribute OSPF routes on Router B.
[RouterB] bgp 100
[RouterB-bgp] router-id 1.1.1.1
[RouterB-bgp] peer 192.168.1.2 as-number 200
[RouterB-bgp] import-route ospf 1
[RouterB-bgp] quit
# Configure an eBGP peer, and redistribute OSPF routes on Router C.
[RouterC] bgp 200
[RouterC-bgp] router-id 2.2.2.2
[RouterC-bgp] peer 192.168.1.1 as-number 100
[RouterC-bgp] import-route ospf 1
[RouterC-bgp] quit
# Redistribute BGP routing information into OSPF on Router B.