博通交换SDK命令速查表
速查表
组播命令
BCM.0> mcast Usage (MCAST): Usages: For Switch Devices: mcast add MACaddress=<val> Vlanid=<val> Cos=<val> PortBitMap=<val> UntagBitMap=<val> Index=<val> mcast delete MACaddress=<val> Vlanid=<val> mcast join MACaddress=<val> Vlanid=<val> PortBitMap=<val> mcast leave MACaddress=<val> Vlanid=<val> PortBitMap=<val> mcast padd MACaddress=<val> Vlanid=<val> PortBitMap=<val> mcast premove MACaddress=<val> Vlanid=<val> PortBitMap=<val> For Fabric Devices: mcast bitmap max mcast bitmap set Port=<val> PortBitMap=<val> Index=<val> mcast bitmap del Port=<val> PortBitMap=<val> Index=<val> mcast bitmap get Port=<val> Index=<val> BCM.0> BCM.0> mcast add MACaddress=01:00:5e:00:00:19 Vlanid=3900 Index=1 BCM.0> BCM.0> l2 show mac=00:0a:c2:22:5e:8c vlan=2333 GPORT=0x1 modid=0 port=1/xe0 Hit mac=00:0a:88:88:88:0a vlan=4087 GPORT=0x0 modid=0 port=0/cpu0 Static Hit CPU mac=01:00:5e:00:00:19 vlan=3900 GPORT=0x0 modid=0 port=0/cpu0 Static CPU MCast=1 mac=00:0a:c2:22:5e:8c vlan=2350 GPORT=0x1 modid=0 port=1/xe0 Hit mac=00:0a:c2:22:5e:8c vlan=4089 GPORT=0x1 modid=0 port=1/xe0 Hit mac=00:0a:88:88:88:0a vlan=4089 GPORT=0x0 modid=0 port=0/cpu0 Static Hit CPU BCM.0> BCM.0> d chg L2MC L2MC.ipipe0[1]: <VALID=1,> BCM.0> BCM.0> BCM.0> mcast join MACaddress=01:00:5e:00:00:19 Vlanid=3900 PortBitMap=ge1,ge3,ge5 port ge1 updated port ge3 updated port ge5 updated BCM.0> BCM.0> d chg L2MC L2MC.ipipe0[1]: <VALID=1,PORT_BITMAP_W0=0x000000000000000000000540,PORT_BITMAP=0x000000000000000000000540,> BCM.0> BCM.0> mcast leave MACaddress=01:00:5e:00:00:19 Vlanid=3900 PortBitMap=ge1 port ge1 updated BCM.0> BCM.0> d chg L2MC L2MC.ipipe0[1]: <VALID=1,PORT_BITMAP_W0=0x000000000000000000000500,PORT_BITMAP=0x000000000000000000000500,> BCM.0> BCM.0> pbmp 0x500 0x0000000000000000000000000000000000000000000000000000000000000500 ==> ge3,ge5 BCM.0> BCM.0> multicast show Group 0x1000001 (L2) port ge3, encap id -1 port ge5, encap id -1