permit
Sets the condition for a named IP access list.
Syntax: permit
Description: Use the permit command in access-list configuration mode to advertise outbound route updates to a specific prefix and accept inbound route updates from a specific prefix.
Factory Default: None.
Command Mode: Access list configuration.
Example: In the following example:
- The ip access-list command creates a standard access list named ISP1_inbound and changes the command mode to access-list configuration.
- The permit command adds a condition to the access list that permits access from hosts on 2 specified networks.
- The deny any command adds a condition to the access list that prevents access for all other network prefixes.
router(config)#ip access-list standard ISP1_inbound
router(config-std-nacl)#permit 205.5.1.121 0.0.0.255
router(config-std-nacl)#permit 128.20.0.0 0.0.255.255
router(config-std-nacl)#deny any
router(config-std-nacl)#exit
router(config)#
If this access list is applied to outbound routes, only those prefixes specified by the permit command are advertised.
If the access list is applied to inbound routes, only those prefixes specified by the permit command are accepted.
Related Commands: access-list
deny
ip access-list
ip as-path access-list
ip community-list
route-map
show access-lists
show ip access-lists
neighbor distribute-list
neighbor filter-list
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: Routing_Pol.fm
HTML File Name: Routing_Pol28.html
Last Updated: 05/10/04 at 16:38:37