The below commands are very useful to debug the broadcom switches.
| S.No | Purpose | Command |
|---|---|---|
| 1 | To verify the mac address table | l2 show |
| 2 | To verify the ingress vlan translation table | vlan translate show |
| 3 | To verify the egress vlan translation table | vlan translate egress show |
| 4 | To verify the MSTP instances | stg show |
| 5 | To verify the port status | ps |
| 6 | To verify the vlan entires in hardware | vlan show |
| 7 | To verify the trunk port configuration | trunk show |
| 8 | To enable bcm debug messages | dbm bcm +api |
| 9 | To disable bcm debug messages | dbm bcm -api |
| 10 | To get the number of entries in the hardware L2 Table (Mac Address Table) | get SYS_MAC_COUNT |
| 11 | To clear the L2Table entries in hardware | clear L2_ENTRY |
No comments:
Post a Comment