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-11
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
Applying an IP-ACL to an Interface
To
apply an IPv6-ACL to an
interface
, follow these steps
:
Verifying Interface IP-ACL Configuration
Use the
show interface
command to display the IPv4-ACL configuration on an interface.
switch#
show interface mgmt 0
mgmt0 is up
Hardware is FastEthernet
Address is 000c.30d9.fdbc
Internet address is 172.22.31.113/24
MTU 1500 bytes, BW 100 Mbps full Duplex
ip access-group restrict_mgmt in
35988 packets input, 3105539 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
2495 packets output, 430547 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
Use the
show interface
command to display the IPv6-ACL configuration on an interface.
switch#
show interface gigabitethernet 2/1
GigabitEthernet2/1 is up
Hardware is GigabitEthernet, address is 000e.38c6.28b0
Internet address is 10.1.1.10/24
MTU 1500 bytes
Step 4
switch(config-if)#
ip access-group restrict_mgmt in
Applies an IPv4-ACL called
restrict_mgmt (if it does not already
exist) for ingress traffic.
switch(config-if)#
no
ip access-group restrict_mgmt
in
Removes the IPv4-ACL called
restrict_mgmt for ingress traffic.
switch(config-if)#
ip access-group SampleName2 out
Applies an IPv4-ACL called
SampleName2 (if it does not already
exist) for egress traffic.
switch(config-if)#
no
ip access-group SampleName2 out
Removes the IPv4-ACL called
SampleName2 for egress traffic.
Command
Purpose
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
interface mgmt0
switch(config-if)#
Configures a management interface (mgmt0).
Step 3
switch(config-if)#
ipv6 traffic-filter
RestrictMgmt in
Applies an IPv6-ACL called RestrictMgmt (if it does
not already exist) for ingress traffic.
switch(config-if)#
no
ipv6 traffic-filter
RestrictMgmt in
Removes the IPv6-ACL called RestrictMgmt for
ingress traffic.
switch(config-if)#
ipv6 traffic-filter
SampleName2 out
Applies an IPv6-ACL called SampleName2 (if it
does not already exist) for egress traffic.
switch(config-if)#
no
ipv6 traffic-filter
SampleName2 out
Removes the IPv6-ACL called SampleName2 for
egress traffic.
Содержание 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 ...