关键字 PIM 静态RP AutoRP 播组协议
拓朴:
实验步聚:
3COM思科华为网络技术学院 www.3comcom.com
| R1配置 |
| ! hostname R1 ! ip multicast-routing ! interface FastEthernet0/0 ip address 172.16.0.1 255.255.255.0 ip pim sparse-dense-mode duplex half ! interface Serial2/1 ip address 192.168.0.1 255.255.255.0 ip pim sparse-dense-mode serial restart-delay 0 ! router ospf 64 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0 ! ip pim rp-address 172.16.0.1 ! |
| R2配置 |
| ! hostname R2 ! ip multicast-routing ! interface FastEthernet0/0 3COM华为网络.技术学院 http://www.3comcom.com ip address 10.1.1.1 255.255.255.0 ip pim sparse-dense-mode ip igmp join-group 224.2.2.2 duplex half ! interface Serial2/1 ip address 192.168.0.2 255.255.255.0 ip pim sparse-dense-mode serial restart-delay 0 ! router ospf 64 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0 ! ip pim rp-address 172.16.0.1 ! |
| R3配置 |
| ! hostname R3 ! ip multicast-routing ! interface FastEthernet0/0 ip address 172.16.0.3 255.255.255.0 ip pim sparse-dense-mode duplex half ! router ospf 64 log-adjacency-changes network 0.0.0.0 255.255.255.255 area 0 ! ip pim rp-address 172.16.0.1 ! |
| R3上进行调试 |
| R3#show ip pim rp 3COM华为网络.技术学院 http://www.3comcom.com Group: 224.2.2.2, RP: 172.16.0.1, v2, uptime 00:10:51, expires never Group: 224.2.0.22, RP: 172.16.0.1, v2, uptime 00:03:36, expires never Group: 224.0.1.40, RP: 172.16.0.1, v2, uptime 00:10:51, expires never R3#show ip pim rp mapping PIM Group-to-RP Mappings Group(s): 224.0.0.0/4, Static RP: 172.16.0.1 (?) R3#show ip mroute IP Multicast Routing Table Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected, L - Local, P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set, J - Join SPT, M - MSDP created entry, X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement, U - URD, I - Received Source Specific Host Report, Z - Multicast Tunnel, z - MDT-data group sender, Y - Joined MDT-data group, y - Sending to MDT-data group Outgoing interface flags: H - Hardware switched, A - Assert winner 3COM华为.网络技术学院 http://www.3comcom.com Timers: Uptime/Expires Interface state: Interface, Next-Hop or VCD, State/Mode (*, 224.2.2.2), 00:27:59/00:02:40, RP 172.16.0.1, flags: SJPCF Incoming interface: FastEthernet0/0, RPF nbr 172.16.0.1 Outgoing interface list: Null (*, 224.2.0.22), 00:04:04/00:01:55, RP 172.16.0.1, flags: SPF Incoming interface: FastEthernet0/0, RPF nbr 172.16.0.1 Outgoing interface list: Null (*, 224.0.1.40), 00:59:11/00:02:33, RP 172.16.0.1, flags: SJPCL Incoming interface: FastEthernet0/0, RPF nbr 172.16.0.1 Outgoing interface list: Null R3#ping 224.2.2.2 Type escape sequence to abort. Sending 1, 100-byte ICMP Echos to 224.2.2.2, timeout is 2 seconds: Reply to request 0 from 192.168.0.2, 464 ms |
