Permit – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 395

Advertising
background image

Brocade Mobility RFS7000-GR CLI Reference Guide

381

53-1001945-01

Standard ACL Config Commands

15

permit

Standard ACL Config Commands

Use this command to permit specific packets.

Syntax

permit(A.B.C.D/M|any|host)

permit any(log|rule-precedence)

permit any log(rule-precedence)

<1-5000>

permit any rule-precedence

<1-5000>

permit host A.B.C.D

Parameters

Usage Guidelines
Use this command to allow traffic based on the source IP address or network address. The last ACE
in the access list is an implict deny statement.

Whenever the interface receives the packet, its content is checked against all the ACE’s in the ACL.
It is allowed based on the ACL configuration.

NOTE

The log option is functional only for router ACL’s. The log option outputs an informational logging
message about the packet matching the entry sent to the console.

Example

The example below permits all traffic to the interface.

RFS7000(config-std-nacl)#permit any rule-precedence 50

RFS7000(config-std-nacl)#

The example below permits traffic from the source network and provides a log message.

RFS7000(config-std-nacl)#permit xxx.xxx.1.0/24 log rule-precedence 60

RFS7000(config-std-nacl)#

A.B.C.D/M

Source IP address range to match.

any

Any source IP address.

log – Generates log matches against this entry.

rule-precedence<1-500> –

Access-list entry precedence.

host

Single host address.

A.B.C.D – Exact source IP address to match.

Advertising