Cisco NME-16ES-1G User Guide - Page 84
con terminal, ip access-list standard, permit, show access-lists
UPC - 882658036101
View all Cisco NME-16ES-1G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 84 highlights
Configuration Tasks 16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Beginning in privileged EXEC mode, follow these steps to create a standard access list using names: Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Command Purpose configure terminal Enters global configuration mode. ip access-list standard {name | access-list-number} Defines a standard IP access list using a name, and enter access-list configuration mode. Note The name can be a number from 1 to 99. deny {source source-wildcard | host source | any} or permit {source source-wildcard | host source | any} In access-list configuration mode, specifies one or more conditions denied or permitted to determine if the packet is forwarded or dropped. • host source represents a source and source wildcard of source 0.0.0.0. • any represents a source and source wildcard of 0.0.0.0 255.255.255.255. Note The log option is not supported on Ethernet switch interfaces. end Returns to privileged EXEC mode. show access-lists [number | name] Displays the access list configuration. copy running-config startup-config (Optional) Saves your entries in the configuration file. Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Beginning in privileged EXEC mode, follow these steps to create an extended ACL using names: Command configure terminal ip access-list extended {name | access-list-number} {deny | permit} protocol {source source-wildcard | host source | any} [operator port] {destination destination-wildcard | host destination | any} [operator port] end show access-lists [number | name] copy running-config startup-config Purpose Enters global configuration mode. Defines an extended IP access list by using a name, and enter access-list configuration mode. Note The name can be a number from 100 to 199. In access-list configuration mode, specifies the conditions allowed or denied. See the "Creating a Numbered Extended ACL" section on page 80 for definitions of protocols and other keywords. • host source represents a source and source wildcard of source 0.0.0.0, and host destination represents a destination and destination wildcard of destination 0.0.0.0. • any represents a source and source wildcard or destination and destination wildcard of 0.0.0.0 255.255.255.255. Returns to privileged EXEC mode. Displays the access list configuration. (Optional) Saves your entries in the configuration file. Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ 84