1. Enable service internal (this is a hidden command so it is not available in the parser)
Switch(config)#service internal
2. Specify the asic to capture on:
Switch#show platform capture elam asic superman slot 5
3. Specify the trigger for the flow we want to capture:
Switch#show platform capture elam trigger dbus ipv4 if ip_sa=x.x.x.x ip_da=x.x.x.x <<<<<<<<<<< use other trigger for ARP request/ARP reply. ELAM will not triggered if ARP is incomplete.
4. Start the capture
Switch#show platform capture elam start
5. View the status, we are looking for "elam capture completed"
Switch#show platform capture elam stat
6. After the packet has been caught, view the data
Switch#show platform capture elam data
Decode the ELAM RESULT
1) If Flood bit is set, plus 8 in the destination index to see the ports.
Switch#Remote login switch
Switch-sp#test mcast ltl index info <>
2) We can do elam on egress as well. Just try with IP only . No source/destination MAC in trigger.
3) use OTHER for ARP ELAM.
No comments:
Post a Comment