Changing Sequence Numbers In An Ip Acl; Applying An Ip Acl As A Port Acl - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Chapter 1
Configuring ACLs
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
To remove an IP ACL from the switch, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# no ip access-list name
Step 3
switch(config)# show running-config
Step 4
switch(config)# copy running-config
startup-config

Changing Sequence Numbers in an IP ACL

You can change all the sequence numbers assigned to the rules in an IP ACL. To change sequence
numbers, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# resequence ip access-list
name starting-sequence-number increment
Step 3
switch(config)# show ip access-lists name
Step 4
switch(config)# copy running-config
startup-config

Applying an IP ACL as a Port ACL

You can apply an IPv4 ACL to a physical Ethernet interface or a port channel. ACLs applied to these
interface types are considered port ACLs. To apply an IP ACL, perform this task:
Command
Step 1
switch# configure terminal
OL-16597-01
Purpose
Enters global configuration mode.
Removes the IP ACL that you specified by name
from the running configuration.
(Optional) Displays ACL configuration. The
removed IP ACL should not appear.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Assigns sequence numbers to the rules contained in
the ACL, where the first rule receives the starting
sequence number that you specify. Each subsequent
rule receives a number larger than the preceding
rule. The difference in numbers is determined by
the increment that you specify. The
starting-sequence-number argument and the
increment argument can be a whole number
between 1 and 4294967295.
(Optional) Displays the IP ACL configuration.
(Optional) Copies the running configuration to the
startup configuration.
Purpose
Enters global configuration mode.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring IP ACLs
1-7

Advertisement

Table of Contents
loading

Table of Contents