Import Upstream version 1.2.2
[quagga-debian.git] / pimd / LINUX_KERNEL_MROUTE_MFC
1 # $QuaggaId: $Format:%an, %ai, %h$ $
2
3 #
4 # The Linux Kernel MFC (Multicast Forwarding Cache)
5 #
6
7 # Check Linux kernel multicast interfaces:
8 cat /proc/net/dev_mcast
9
10 # Check that interface eth0 is forwarding multicast:
11 cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding
12
13 # Check Linux kernel multicast VIFs:
14 cat /proc/net/ip_mr_vif
15 Interface      BytesIn  PktsIn  BytesOut PktsOut Flags Local    Remote
16
17 # Check Linux kernel MFC:
18 # Oifs format = vifi:TTL
19 cat /proc/net/ip_mr_cache
20 Group    Origin   Iif     Pkts    Bytes    Wrong Oifs
21
22 # iproute2 can display the MFC:
23 ip mroute show
24 (2.2.2.2, 239.2.2.2)             Iif: eth1       Oifs: eth0
25
26 # -- end-of-file --