API Guide

core(conf-if-lo-103)# ip ospf 100 area 0.0.0.0
core(conf-if-lo-103)# exit
核心和接口的 PIM 邻居以到达邻居
show ip pim neighbor 命令将显示核心和接口的 PIM 邻居以到达邻居。
core# show ip pim neighbor
Neighbor Address Interface Uptime/Expires Ver DR Priority / Mode
----------------------------------------------------------------------
12.0.0.1 vlan12 00:01:06/00:01:43 v2 10 / S
12.0.0.2 vlan12 00:01:03/00:01:42 v2 10 / S
核心中的 PIM 状态
show ip pim tib 命令的输出。
core# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:04:16, expires 00:00:00, RP 103.0.0.3, flags: S
Incoming interface: Null, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:04:16/00:03:13
以下 show 命令输出显示流启动后的流量
show ip pim tib 命令输出将显示 PIM 树信息库 (TIB)
core# show ip pim tib
PIM Multicast Routing Table
Flags: S - Sparse, C - Connected, L - Local, P - Pruned,
R - RP-bit set, F - Register Flag, T - SPT-bit set, J - Join SPT,
K - Ack-Pending state
Timers: Uptime/Expires
Interface state: Interface, next-Hop, State/Mode
(*, 225.1.1.1), uptime 00:09:54, expires 00:00:00, RP 103.0.0.3, flags: S
Incoming interface: Null, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:09:54/00:02:35
(16.0.0.10, 225.1.1.1), uptime 00:00:34, expires 00:02:55, flags: FT
Incoming interface: ethernet1/1/32:1, RPF neighbor 0.0.0.0
Outgoing interface list:
vlan12 Forward/Sparse 00:00:34/00:02:55
show ip pim mcache 命令输出将显示多播路由条目。
core# show ip pim mcache
PIM Multicast Routing Cache Table
(16.0.0.10, 225.1.1.1)
Incoming interface : ethernet1/1/32:1
Outgoing interface list :
vlan12
AG1 上的配置示例
AG1# configure terminal
AG1(config)# ip multicast-routing
AG1 (config)# ip pim rp-address 103.0.0.3 group-address 224.0.0.0/4
AG1(config)# router ospf 100
AG1(config-router-ospf-100)# exit
788
多播