blob: e87e567f9dd6d732496cbb3bdcf73d2adc322989 [file] [log] [blame]
Everton Marques871dbcf2009-08-11 15:43:05 -03001# $QuaggaId: $Format:%an, %ai, %h$ $
2
3#
4# The Linux Kernel MFC (Multicast Forwarding Cache)
5#
6
7# Check Linux kernel multicast interfaces:
8cat /proc/net/dev_mcast
9
10# Check that interface eth0 is forwarding multicast:
11cat /proc/sys/net/ipv4/conf/eth0/mc_forwarding
12
13# Check Linux kernel multicast VIFs:
14cat /proc/net/ip_mr_vif
15Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote
16
17# Check Linux kernel MFC:
18# Oifs format = vifi:TTL
19cat /proc/net/ip_mr_cache
20Group Origin Iif Pkts Bytes Wrong Oifs
21
Everton Marquesb4711962009-09-11 11:15:42 -030022# iproute2 can display the MFC:
23ip mroute show
24(2.2.2.2, 239.2.2.2) Iif: eth1 Oifs: eth0
25
Everton Marques871dbcf2009-08-11 15:43:05 -030026# -- end-of-file --