![HP JH299A Скачать руководство пользователя страница 139](http://html.mh-extra.com/html/hp/jh299a/jh299a_configuration-manual_162851139.webp)
130
[RouterA-GigabitEthernet1/0/1] igmp enable
[RouterA-GigabitEthernet1/0/1] quit
# Enable PIM-SM on the other interfaces.
[RouterA] interface gigabitethernet 1/0/2
[RouterA-GigabitEthernet1/0/2] pim sm
[RouterA-GigabitEthernet1/0/2] quit
[RouterA] interface gigabitethernet 1/0/3
[RouterA-GigabitEthernet1/0/3] pim sm
[RouterA-GigabitEthernet1/0/3] quit
# Enable IP multicast routing, IGMP and PIM-SM on Router B and Router C in the same way
Router A is configured. (Details not shown.)
# Enable IP multicast routing and PIM-SM on Router D and Router E in the same way Router A
is configured. (Details not shown.)
4.
Configure C-BSRs, C-RPs, and the static RP:
# On Router E, configure the service scope of RP advertisements.
<RouterE> system-view
[RouterE] acl basic 2005
[RouterE-acl-ipv4-basic-2005] rule permit source 225.1.1.0 0.0.0.255
[RouterE-acl-ipv4-basic-2005] quit
# Configure GigabitEthernet 1/0/3 as a C-BSR and a C-RP, and configure GigabitEthernet 1/0/2
of Router D as the static RP.
[RouterE] pim
[RouterE-pim] c-bsr 192.168.9.2
[RouterE-pim] c-rp 192.168.9.2 group-policy 2005
[RouterE-pim] static-rp 192.168.1.2
[RouterE-pim] quit
# On Router A, configure GigabitEthernet 1/0/2 of Router D as the static RP.
[RouterA] pim
[RouterA-pim] static-rp 192.168.1.2
[RouterA-pim] quit
# Configure the static RP on Router B, Router C, and Router D in the same way Router A is
configured. (Details not shown.)
Verifying the configuration
# Display PIM information on Router A.
[RouterA] display pim interface
Interface NbrCnt HelloInt DR-Pri DR-Address
GE1/0/1 0 30 1 10.110.1.1 (local)
GE1/0/2 1 30 1 192.168.1.2
GE1/0/3 1 30 1 192.168.9.2
# Display BSR information on Router A.
[RouterA] display pim bsr-info
Scope: non-scoped
State: Accept Preferred
Bootstrap timer: 00:01:44
Elected BSR address: 192.168.9.2
Priority: 64
Hash mask length: 30