API Guide

(16.0.0.10, 225.1.1.1), uptime 00:00:55, expires 00:02:34, flags: CT
Incoming interface: vlan12, RPF neighbor 12.0.0.3
Outgoing interface list:
vlan11 Forward/Sparse 00:00:55/Never
show ip pim mcache 命令将显示多播路由条目。
AG1# show ip pim mcache
PIM Multicast Routing Cache Table
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
(16.0.0.10, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
show ip pim mcache vlt 命令将显示多播路由条目。
AG1# show ip pim mcache vlt
PIM Multicast Routing Cache Table
Flags: S - Synced
(*, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
(16.0.0.10, 225.1.1.1)
Incoming interface : vlan12
Outgoing interface list :
vlan11
AG2 上的配置示例
AG2# configure terminal
AG2(config)# ip multicast-routing
AG2 (config)# ip pim rp-address 103.0.0.3 group-address 224.0.0.0/4
AG2(config)# router ospf 100
AG2(config-router-ospf-100)# exit
AG2(config)# vlt-domain 255
AG2(conf-vlt-255)# backup destination 10.16.132.153
AG2(conf-vlt-255)# discovery-interface ethernet1/1/31:1,1/1/31:4
AG2(conf-vlt-255)# peer-routing
AG2(conf-vlt-255)# vlt-mac 00:00:00:11:11:11
AG2(conf-vlt-255)# exit
AG2(config)# interface ethernet 1/1/32:1
AG2(conf-if-eth1/1/32:1)# no shutdown
AG2(conf-if-eth1/1/32:1)# no switchport
AG2(conf-if-eth1/1/32:1)# ip address 16.0.0.1/24
AG2(conf-if-eth1/1/32:1)# flowcontrol receive off
AG2(conf-if-eth1/1/32:1)# ip pim sparse-mode
AG2(conf-if-eth1/1/32:1)# ip ospf 100 area 0.0.0.0
AG2(conf-if-eth1/1/32:1)# exit
AG2(config)# interface vlan 11
AG2(conf-if-vlan-11)# no shutdown
AG2(conf-if-vlan-11)# ip address 11.0.0.2/24
AG2(conf-if-vlan-11)# ip pim sparse-mode
AG2(conf-if-vlan-11)# ip pim dr-priority 10
AG2(conf-if-vlan-11)# ip ospf 100 area 0.0.0.0
AG2(conf-if-vlan-11)# ip ospf cost 3000
AG2(conf-if-vlan-11)# exit
AG2(config)# interface vlan 12
多播
791