H3C Technologies H3C S12500 Series Switches User Manual

Page 221

Advertising
background image

205

<SwitchC> system-view

[SwitchC] multicast routing-enable

[SwitchC] interface vlan-interface 102

[SwitchC-Vlan-interface102] pim sm

[SwitchC-Vlan-interface102] quit

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] igmp enable

[SwitchC-Vlan-interface200] pim sm

[SwitchC-Vlan-interface200] quit

[SwitchC] interface vlan-interface 104

[SwitchC-Vlan-interface104] pim sm

[SwitchC-Vlan-interface104] quit

# Enable IP multicast routing, PIM-SM, and IGMP on Switch A, Switch B, Switch D, Switch E,
Switch F, and Switch G in the same way. (Details not shown.)
# Configure PIM domain borders on Switch B.

[SwitchB] interface vlan-interface 103

[SwitchB-Vlan-interface103] pim bsr-boundary

[SwitchB-Vlan-interface103] quit

# Configure PIM domain borders on Switch C, Switch D, and Switch F in the same way. (Details
not shown.)

4.

Configure C-BSRs and C-RPs:
# Configure Loopback 0 as a C-BSR and a C-RP on Switch A.

[SwitchA] pim

[SwitchA-pim] c-bsr loopback 0

[SwitchA-pim] c-rp loopback 0

[SwitchA-pim] quit

# Configure C-BSRs and C-RPs on Switch D and Switch G in the same way. (Details not shown.)

5.

Configure BGP, and redistribute BGP routing information into OSPF, and OSPF routing
information into BGP:
# Configure the EBGP peer, and redistribute OSPF routing information on Switch B.

[SwitchB] bgp 100

[SwitchB-bgp] router-id 1.1.1.2

[SwitchB-bgp] peer 10.110.3.2 as-number 200

[SwitchB-bgp] import-route ospf 1

[SwitchB-bgp] quit

# Configure the EBGP peer, and redistribute OSPF routing information on Switch D.

[SwitchD] bgp 200

[SwitchD-bgp] router-id 2.2.2.2

[SwitchD-bgp] peer 10.110.3.1 as-number 100

[SwitchD-bgp] import-route ospf 1

[SwitchD-bgp] quit

# Configure the EBGP peer, and redistribute OSPF routing information on Switch C.

[SwitchC] bgp 100

[SwitchC-bgp] router-id 1.1.1.3

[SwitchC-bgp] peer 10.110.4.2 as-number 200

[SwitchC-bgp] import-route ospf 1

Advertising