Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 1105

Advertising
background image

Fabric OS Command Reference

1075

53-1003131-01

snmpTraps

2

Note: The Zone Mib parameters are for restricted usage only.

To block a single port from receiving traps:

switch:admin> snmpTraps --block 17

To unblock a previously blocked port:

switch:admin> snmpTraps --unblock 17

To configure the switch so that only two ports receive the port traps, you block all traps and then unblock
the ports you want to receive the traps:

switch:admin> snmpTraps --block ALL

switch:admin> snmpTraps --unblock 17

switch:admin> snmpTraps --unblock 18

To display the blocked port status:

switch:admin> snmpTraps --show port

Port 0 1 2 3 4 5 6 7 8 9

-------------------------------------------------------------------

Blocked | | | | | | | | | |

Port 10 11 12 13 14 15 16 17 18 19

-------------------------------------------------------------------

Blocked | | | | | | | Y | Y | |

Port 20 21 22 23 24 25 26 27 28 29

-------------------------------------------------------------------

Blocked | | | | | | | | | |

Port 30 31 32 33 34 35 36 37 38 39

-------------------------------------------------------------------

Blocked | | | | | | | | | |

SEE ALSO

snmpConfig

Advertising