Verification and examples
Action group example
Action groups examples are described.
View a action-group with a given name
Displays the action-group with the given name.
switch(config)# show sma action-group name
<action-group-name>
View default and user-defined action-group
Displays the action-group of class as system or user. Class system refers to system-defined and user refers to user-defined.
switch(config)# show sma action-group class {system | user
}
SMA policy examples
SMA policy examples are described.
SMA default policy
switch# show sma policy active
sma policy name defaultentity-group name eg-switch
counter-group cg-protocol-all monitor-level default action-group
ag-defaultentity-group name eg-fcport-edgecounter
credit-loss-recovery monitor-level default action-group
ag-error-disableentity-group name eg-fcport-allcounter-group
cg-fcport-all monitor-level default action-group ag-default
SMA custom policy
switch# show sma policy active
sma entity-group name eg-interface-rangeentity-type fc-port
interface fc1/1-10,fc1/13-20sma policy name customentity-group name
eg-switchcounter-group cg-protocol-all monitor-level default
action-group ag-defaultentity-group name eg-interface-rangecounter
tx-wait monitor-level default action-group
ag-fpin-congestioncounter-group cg-link-integrity monitor-level
default action-group ag-fpin-link-integrityentity-group name
eg-fcport-edgecounter credit-loss-recovery monitor-level default
action-group ag-error-disableentity-group name
eg-fcport-allcounter-group cg-fcport-all monitor-level default
action-group ag-default
Viewing the Active Policy
Displays the active policy.
switch(config)# show sma policy active
View a policy with a given name
Displays the policy with the given name.
switch(config)# show sma policy name
<policy-name>
Miscellaneous examples
Other examples are described.
View the SMA History
Displays the SMA history. 1MB of memory is reserved for history and contains an average of 11,000 entries of threshold events.
switch# show sma history
Action Legend:
g: FPIN congestion n: FPIN congestion clear
p: FPIN link integrity ss: Congestion signals stop
c: Congestion isolate r: Congestion isolate recovery
d: DIRL l: DIRL recovery
e: error disable f: flap
as: Alarm congestion signal ws: Warning congestion signal
Alert Legend:
s[0-7]: syslog, severity [0-7]
t[0-7]: SNMP trap, level [0-7]
o: OBFL
c: callhome
Entity type: fc-port
----------------------------------------------------------------------------------------------------------------------------------
Counter | Entity | Value | Level | Action | Alerts | Timestamp
----------------------------------------------------------------------------------------------------------------------------------
tx-credit-not-available | fc1/1 | 0 | falling | none | s5,t5 | 2025 Mar 17 09:05:00.779 UTC
tx-credit-not-available | fc1/1 | 100 | alarm | none | s4,t4 | 2025 Mar 17 09:04:59.775 UTC