Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
IP Commands
page 32-26
OmniSwitch CLI Reference Guide
September 2009
ip access-list address
Adds multiple IPv4 addresses to the specified IPv4 access list.
ip access-list access-list-name address address/prefixLen [action {permit | deny}]
[redist-control {all-subnets | no-subnets | aggregate}]
no ip access-list access-list-name address address/prefixLen 
Syntax Definitions 
access-list-name
Name of the access list.
address/prefixLen
IP address/prefix length to be added to the access list.
permit
Permits the IP address for redistribution.
deny
Denies the IP address for redistribution.
all-subnets
Redistributes or denies all the subnet routes that match the network 
portion of the IP address as specified by the mask length
no-subnets
Redistributes or denies only those routes that exactly match the IP 
address and the mask length.
aggregate
Redistributes an aggregate route if there are one or more routes that 
match or are subnets of this address. 
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• Use the no form of this command to delete the address from the access list.
• The access-list-name should exist before you add multiple addresses to it.
• The action parameters (permit and deny) determine if a route that matches the redist-control configu-
ration for the IP address is allowed or denied redistribution.
• The redist-control parameters (all-subnets, no-subnets, and aggregate) defines the criteria used to 
determine if a route matches an address in the access list. 
• Note that configuring the combination of redist-control aggregate with action deny is not allowed.
parameter
default
permit | deny
permit
all-subnets | no-subnets | 
aggregate
all-subnets