Predefined conditions – Brocade Network Advisor SAN + IP User Manual v12.1.0 User Manual

Page 1737

Advertising
background image

1694

Brocade Network Advisor SAN + IP User Manual

53-1002949-01

Configuration rules

47

Predefined conditions

The Management application provides predefined conditions.

Table 167

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 167

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

Network OS Interface Switchport
mode check

Checks whether the Network OS
interface is configured to be a
switchport or not. If not configured,
the test will fail.

No

Matches

switchport

No

Network OS Interface Access mode
check

Checks whether the interface is
configured to be in access mode. This
condition should be used within an
interface block.

No

Matches

switchport
switchport mode
access

Yes

Network OS Interface Port Profiled
check

Checks whether the interface port is
profiled. This condition should be
used within an interface block.

No

Matches

port-profile-port

No

IronWare OS Interface shutdown
check

Checks whether the IronWare device
port is in shutdown state. (This is not
applicable for Ethernet router
products.) This condition should be
used within an interface block.

No

Matches

disable

No

IronWare OS Interface sflow check

Checks whether sFlow is configured
on the IronWare device port. This
condition should be used within an
interface block.

No

Matches

sflow-forwarding
sflow sample 32768

Yes

IronWare OS SNMP community
Strings configured check

Checks whether SNMP community
strings are configured.

Yes

Matches

snmp-server
community .*

No

Advertising