H3C Technologies H3C S10500 Series Switches User Manual

Page 239

Advertising
background image

224

[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

The configuration on Switch A, Switch B, Switch D, Switch E, Switch F, and Switch G is similar to that on
Switch C. (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

The configuration on Switch C, Switch D, and Switch F is similar to that on Switch B. (details not shown)

3.

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

The configuration on Switch D and Switch G is similar to that on Switch A. (details not shown)

4.

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

[SwitchC-bgp] quit

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

[SwitchF] bgp 200

[SwitchF-bgp] router-id 3.3.3.1

Advertising