Verifying Interface Ip-Acl Configuration - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 33
Configuring IPv4 and IPv6 Access Control Lists
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
Command
Step 4
switch(config-if)# ip access-group restrict_mgmt in
switch(config-if)# no ip access-group restrict_mgmt
in
switch(config-if)# ip access-group SampleName2 out
switch(config-if)# no ip access-group SampleName2 out
To apply an IPv6-ACL to an interface, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# interface mgmt0
switch(config-if)#
Step 3
switch(config-if)# ipv6 traffic-filter
RestrictMgmt in
switch(config-if)# no ipv6 traffic-filter
RestrictMgmt in
switch(config-if)# ipv6 traffic-filter
SampleName2 out
switch(config-if)# no ipv6 traffic-filter
SampleName2 out

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
Use the show interface command to display the IPv6-ACL configuration on an interface.
switch# show interface gigabitethernet 2/1
GigabitEthernet2/1 is up
OL-16184-01, Cisco MDS SAN-OS Release 3.x
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
Hardware is GigabitEthernet, address is 000e.38c6.28b0
Internet address is 10.1.1.10/24
MTU 1500
bytes
Applying an IP-ACL to an Interface
Purpose
Applies an IPv4-ACL called
restrict_mgmt (if it does not already
exist) for ingress traffic.
Removes the IPv4-ACL called
restrict_mgmt for ingress traffic.
Applies an IPv4-ACL called
SampleName2 (if it does not already
exist) for egress traffic.
Removes the IPv4-ACL called
SampleName2 for egress traffic.
Purpose
Enters configuration mode.
Configures a management interface (mgmt0).
Applies an IPv6-ACL called RestrictMgmt (if it does
not already exist) for ingress traffic.
Removes the IPv6-ACL called RestrictMgmt for
ingress traffic.
Applies an IPv6-ACL called SampleName2 (if it
does not already exist) for egress traffic.
Removes the IPv6-ACL called SampleName2 for
egress traffic.
Cisco MDS 9000 Family CLI Configuration Guide
33-11

Advertisement

Table of Contents
loading

Table of Contents