access-list
Syntax
Standard IP access list:
access-list
accessListName
{ permit | deny }
{
srcIP srcWildIp
| [ host ]
srcIPHost
| any } [ log ]
no access-list
accessListName
[ { permit | deny }
{
srcIP srcWildIp
| [ host ]
srcIPHost
| any } [ log ] ]
Extended IP access list:
access-list
accessListName
{ permit | deny } ip {
srcIP srcWildIp
|
host
srcIPHost
| any } {
dstIP dstWildIp
| host
dstIPHost
| any } [ log ]
no access-list
accessListName
[ { permit | deny } ip {
srcIP srcWildIp
|
host
srcIPHost
| any } {
dstIP dstWildIp
| host
dstIPHost
| any } [ log ] ]
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Defines a standard or extended IP access list. The extended access list enables you to
specify a destination address or host, precedence, and type of service. This command
imposes an implicit last rule of “ deny ip any any” to deny all routes that do not match
previous rules in the access list. The
no
version removes the IP access list, the specified
entry in an access list, or the log for a specified entry.
Options
•
accessListName
—String of up to 32 alphanumeric characters
•
permit—Permits access if the conditions are matched
•
deny—Denies access if the conditions are matched
•
srcIP—
Source IP address from which the packet is being sent
•
srcWildIp—
Wildcard mask IP address
•
host
—
Identifies the address as a host
•
srcIPHost—
Source host IP address; assumes a wildcard mask of 0
•
any
—
Creates an address of 0.0.0.0 with a wildcard mask of 255.255.255.255
•
dstIP
—Destination IP address
•
dstWildIp
—Wildcard mask IP address for destination
•
dstIPHost
—Destination host IP address to which the packet is being sent
•
log—Logs an Info event into the ipAccessList log whenever the access-list rule is
matched
Mode
Global Configuration
Copyright © 2010, Juniper Networks, Inc.
78
JunosE 11.2.x Command Reference Guide A to M
Summary of Contents for JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x Command Reference Guide A to M...
Page 38: ...Copyright 2010 Juniper Networks Inc xxxviii JunosE 11 2 x Command Reference Guide A to M...
Page 40: ...Copyright 2010 Juniper Networks Inc xl JunosE 11 2 x Command Reference Guide A to M...
Page 46: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x Command Reference Guide A to M...
Page 63: ...CHAPTER 2 A Commands 19 Copyright 2010 Juniper Networks Inc...
Page 253: ...CHAPTER 3 B Commands 209 Copyright 2010 Juniper Networks Inc...
Page 389: ...CHAPTER 4 C Commands 345 Copyright 2010 Juniper Networks Inc...
Page 514: ...Copyright 2010 Juniper Networks Inc 470 JunosE 11 2 x Command Reference Guide A to M...
Page 515: ...CHAPTER 5 D Commands 471 Copyright 2010 Juniper Networks Inc...
Page 595: ...CHAPTER 6 E Commands 551 Copyright 2010 Juniper Networks Inc...
Page 663: ...CHAPTER 7 F Commands 619 Copyright 2010 Juniper Networks Inc...
Page 701: ...CHAPTER 8 G Commands 657 Copyright 2010 Juniper Networks Inc...
Page 717: ...CHAPTER 9 H Commands 673 Copyright 2010 Juniper Networks Inc...
Page 732: ...Copyright 2010 Juniper Networks Inc 688 JunosE 11 2 x Command Reference Guide A to M...
Page 733: ...CHAPTER 10 I Commands 689 Copyright 2010 Juniper Networks Inc...
Page 1181: ...CHAPTER 11 K Commands 1137 Copyright 2010 Juniper Networks Inc...
Page 1184: ...Copyright 2010 Juniper Networks Inc 1140 JunosE 11 2 x Command Reference Guide A to M...
Page 1185: ...CHAPTER 12 L Commands 1141 Copyright 2010 Juniper Networks Inc...
Page 1295: ...CHAPTER 13 M Commands 1251 Copyright 2010 Juniper Networks Inc...
Page 1476: ...Copyright 2010 Juniper Networks Inc 1432 JunosE 11 2 x Command Reference Guide A to M...
Page 1477: ...PART 2 Index Index on page 1435 1433 Copyright 2010 Juniper Networks Inc...
Page 1478: ...Copyright 2010 Juniper Networks Inc 1434 JunosE 11 2 x Command Reference Guide A to M...
Page 1502: ...Copyright 2010 Juniper Networks Inc 1458 JunosE 11 2 x Command Reference Guide A to M...