36 Configuration rules

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 policy monitor displays in the Monitors table.

12.Click Close on the Policy Monitor dialog box.

Predefined conditions

The Management application provides predefined conditions. Table 95 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 95

Predefined conditions

 

 

 

 

 

 

 

 

 

 

 

 

Name

 

Description

Use

Matches/

Configuration

Lines in

 

 

 

regular

Not Matches

 

exact

 

 

 

expression

 

 

order

 

 

 

 

 

 

Network OS Interface shutdown check

Checks whether the interface is

No

Matches

shutdown

No

 

 

configured as shutdown. This

 

 

 

 

 

 

condition should be used within an

 

 

 

 

 

 

interface block.

 

 

 

 

 

 

 

 

 

 

Network OS Interface NOT shutdown

Condition test fails if the interface is

No

Not Matches

shutdown

No

check

 

shutdown.

 

 

 

 

 

 

 

 

 

 

Network OS Interface sflow Enabled

Checks whether sFlow is enabled on

No

Matches

sflow enable

Yes

check

 

the interface. This condition should

 

 

sflow sample-rate

 

 

 

be used within an interface block.

 

 

32768

 

 

 

 

 

 

 

Network OS Interface All VLANs check

Checks whether the interface is

No

Matches

switchport trunk

No

 

 

configured to be part of all VLANs.

 

 

allowed vlan all

 

 

 

This condition should be used within

 

 

 

 

 

 

an interface block.

 

 

 

 

Network OS Interface Trunk mode check

Checks whether the interface is

No

Matches

switchport

Yes

configured to be in trunk mode. This

 

 

switchport mode

 

condition should be used within an

 

 

trunk

 

interface block.

 

 

 

 

Network OS Interface Switchport

Checks whether the Network OS

No

Matches

switchport

No

mode check

interface is configured to be a

 

 

 

 

 

switchport or not. If not configured,

 

 

 

 

 

the test will fail.

 

 

 

 

Network OS Interface Access mode check

Checks whether the interface is

No

Matches

switchport

Yes

configured to be in access mode. This

 

 

switchport mode

 

condition should be used within an

 

 

access

 

interface block.

 

 

 

 

Network OS Interface Port Profiled check

Checks whether the interface port is

No

Matches

port-profile-port

No

profiled. This condition should be

 

 

 

 

used within an interface block.

 

 

 

 

1128

Brocade Network Advisor IP User Manual

 

53-1003056-01

Page 1180
Image 1180
Brocade Communications Systems IP250 user manual Predefined conditions