H3C Technologies H3C SecPath F1000-E User Manual

Page 31

Advertising
background image

17

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

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

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

[DeviceA-ospf-1] quit

# Configure OSPF on Device B.

<DeviceB> system-view

[DeviceB] ospf 1

[DeviceB-ospf-1] area 0

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

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

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

[DeviceB-ospf-1] quit

# Configure OSPF on Device C.

[DeviceC] ospf 1

[DeviceC-ospf-1] area 0

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

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

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

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

[DeviceC-ospf-1] quit

Step4

8Enable IP multicast routing, PIM-DM, and IGMP.

# Enable multicast routing on Device A and enable PIM-DM on each interface.

[DeviceA] multicast routing-enable

[DeviceA] interface gigabitethernet 0/1

[DeviceA-GigabitEthernet0/1] pim dm

[DeviceA-GigabitEthernet0/1] quit

[DeviceA] interface gigabitethernet 0/2

[DeviceA-GigabitEthernet0/2] pim dm

[DeviceA-GigabitEthernet0/2] quit

[DeviceA] interface tunnel 0

[DeviceA-Tunnel0] pim dm

[DeviceA-Tunnel0] quit

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

[DeviceC] multicast routing-enable

[DeviceC] interface gigabitethernet 0/1

[DeviceC-GigabitEthernet0/1] igmp enable

[DeviceC-GigabitEthernet0/1] pim dm

[DeviceC-GigabitEthernet0/1] quit

[DeviceC] interface gigabitethernet 0/2

[DeviceC-GigabitEthernet0/2] pim dm

[DeviceC-GigabitEthernet0/2] quit

[DeviceC] interface tunnel 0

[DeviceC-Tunnel0] pim dm

[DeviceC-Tunnel0] quit

Step5

Configure a static multicast route

Advertising
This manual is related to the following products: