S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
33-8
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 33 Configuring IPv4 and IPv6 Access Control Lists
Configuring IPv4-ACLs or IPv6-ACLs
To remove configured entries from an IPv6-ACL, follow these steps:
Verifying the IPv4-ACL or IPv6-ACL Configuration
Use the
show ip access-list
command to view the contents of configured IPv4-ACLs. An IPv4-ACL can
have one or more filters. (See
Example 33-1
.)
Example 33-1 Displays Filters Configured for an IPv4-ACL
switch#
show ip access-list abc
ip access-list abc permit tcp any any (0 matches)
ip access-list abc permit udp any any (0 matches)
ip access-list abc permit icmp any any (0 matches)
ip access-list abc permit ip 10.1.1.0 0.0.0.255 (2 matches)
ip access-list abc permit ip 10.3.70.0 0.0.0.255 (7 matches)
Use the
show ipv6 access-list
command to view the contents of configured access filters. Each access
filter can have several conditions. (See
Example 33-2
and
Example 33-3
.)
Example 33-2 Displays Configured IPv6-ACLs
switch#
show ipv6 access-list
Access List Name/Number Filters IF Status Creation Time
-------------------------------- ------- ---- --------- -------------
abc 3 7 active Tue Jun 24 17:51:40 2003
x1 3 1 active Tue Jun 24 18:32:25 2003
x3 0 1 not-ready Tue Jun 24 18:32:28 2003
Example 33-3 Displays a Summary of the Specified IPv6-ACL
switch#
show ipv6 access-list abc
Step 2
switch(config)#
no
ip access-list List2 deny tcp
1.2.3.0 0.0.0.255 eq port 5 any
Removes this entry from the
IPv4-ACL (List2).
switch(config)#
no ip access-list x3 deny ip any any
Removes this entry from the
IPv4-ACL (x3).
switch(config)#
no ip access-list x3 permit ip any any
Removes this entry from the
IPv4-ACL (x3).
Command
Purpose
Command
Purpose
Step 1
switch#
config t
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
ipv6 access-list List3
switch(config-ipv6-acl)#
Configures an IPv6-ACL and enters
IPv6-ACL configuration submode.
Step 3
switch(config-ipv6-acl)#
no
deny tcp
2001:0DB8:800:2010::/64 eq port 5 any
Removes the TCP entry from the
IPv6-ACL.
Step 4
switch(config-ipv6-acl)#
no deny ip any any
Removes the IP entry from the
IPv6-ACL.
Содержание 9124 - Cisco MDS Fabric Switch
Страница 76: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 122: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 328: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 482: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 733: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m P A R T 5 Security ...
Страница 734: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 957: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m P A R T 6 IP Services ...
Страница 958: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 1182: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 1214: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 1307: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m P A R T 9 Traffic Management ...
Страница 1308: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...
Страница 1331: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m P A R T 1 0 Troubleshooting ...
Страница 1332: ...Se n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a ck d o c c i s c o c o m ...