Predefined conditions – Brocade Network Advisor SAN + IP User Manual v12.3.0 User Manual
Page 1965
Brocade Network Advisor SAN + IP User Manual
1893
53-1003155-01
Configuration rules
47
5. Select the user-defined condition you want to edit and click Edit.
The Edit Condition dialog box displays.
6. Change the user-defined name for the rule in the Name field, if necessary.
The name must be unique. The name cannot be over 128 characters. The only special
character allowed is an underscore (_).
7. Change the description of the rule in the Description field, if necessary.
The description cannot be over 1, 024 ASCII characters.
8. To edit a configuration condition, repeat
through
step 13
9. Click OK on the Edit Condition dialog box.
10. Click OK on the Edit Configuration Rule dialog box.
11. Click OK on the Edit Monitor dialog box.
The updated configuration policy manager displays in the Monitors table.
12. Click Close on the Configuration Policy Manager dialog box.
Predefined conditions
The Management application provides predefined conditions.
Table 169
lists the predefined
conditions that can be used in a block or at the configuration rule level. For example, interface
conditions should be used in a port or LAG interface block and SNMP conditions can be used at the
rule level.
TABLE 169
Predefined conditions
Name
Description
Use
regular
expression
Matches/
Not Matches
Configuration
Lines in
exact
order
Network OS Interface shutdown check Checks whether the interface is
configured as shutdown. This
condition should be used within an
interface block.
No
Matches
shutdown
No
Network OS Interface NOT shutdown
check
Condition test fails if the interface is
shutdown.
No
Not Matches shutdown
No
Network OS Interface sflow Enabled
check
Checks whether sFlow is enabled on
the interface. This condition should
be used within an interface block.
No
Matches
sflow enable
sflow sample-rate
32768
Yes
Network OS Interface All VLANs check Checks whether the interface is
configured to be part of all VLANs.
This condition should be used within
an interface block.
No
Matches
switchport trunk
allowed vlan all
No
Network OS Interface Trunk mode
check
Checks whether the interface is
configured to be in trunk mode. This
condition should be used within an
interface block.
No
Matches
switchport
switchport mode
trunk
Yes