H3C Technologies H3C SecPath F1000-E User Manual

Page 600

Advertising
background image

575

# Configure OSPF on SecPath B.

<SecPathB> system-view

[SecPathB] ospf 1

[SecPathB-ospf-1] area 0

[SecPathB-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255

[SecPathB-ospf-1-area-0.0.0.0] network 30.1.1.0 0.0.0.255

[SecPathB-ospf-1-area-0.0.0.0] quit

[SecPathB-ospf-1] quit

# Configure OSPF on SecPath C.

[SecPathC] ospf 1

[SecPathC-ospf-1] area 0

[SecPathC-ospf-1-area-0.0.0.0] network 30.1.1.0 0.0.0.255

[SecPathC-ospf-1-area-0.0.0.0] network 40.1.1.0 0.0.0.255

[SecPathC-ospf-1-area-0.0.0.0] network 50.1.1.0 0.0.0.255

[SecPathC-ospf-1-area-0.0.0.0] quit

[SecPathC-ospf-1] quit

4.

Enable IP multicast routing, PIM-DM, and IGMP:
# Enable multicast routing on SecPath A and enable PIM-DM on each interface.

[SecPathA] multicast routing-enable

[SecPathA] interface GigabitEthernet 0/1

[SecPathA-GigabitEthernet0/1] pim dm

[SecPathA-GigabitEthernet0/1] quit

[SecPathA] interface GigabitEthernet 0/2

[SecPathA-GigabitEthernet0/2] pim dm

[SecPathA-GigabitEthernet0/2] quit

[SecPathA] interface tunnel 0

[SecPathA-Tunnel0] pim dm

[SecPathA-Tunnel0] quit

# Enable multicast routing on SecPath C, enable PIM-DM on each interface, and enable IGMP on
GigabitEthernet 0/1.

[SecPathC] multicast routing-enable

[SecPathC] interface GigabitEthernet 0/1

[SecPathC-GigabitEthernet0/1] igmp enable

[SecPathC-GigabitEthernet0/1] pim dm

[SecPathC-GigabitEthernet0/1] quit

[SecPathC] interface GigabitEthernet 0/2

[SecPathC-GigabitEthernet0/2] pim dm

[SecPathC-GigabitEthernet0/2] quit

[SecPathC] interface tunnel 0

[SecPathC-Tunnel0] pim dm

[SecPathC-Tunnel0] quit

5.

Configure a static multicast route:
# On SecPath C, configure a static multicast route and specify its RPF neighbor leading toward
Source is Tunnel 0 on SecPath A.

[SecPathC] ip rpf-route-static 10.1.1.0 24 50.1.1.1

6.

Verify the configuration:

Advertising