Cisco Catalyst 3560X-24P Command Reference Manual page 467

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
This is a list of ICMP message names:
Examples
This example configures two IPv6 access lists named OUTBOUND and INBOUND and applies both
access lists to outbound and inbound traffic on a Layer 3 interface. The first and second permit entries
in the OUTBOUND list permit all TCP and UDP packets from network 2001:ODB8:0300:0201::/64 to
leave the interface. The deny entry in the OUTBOUND list prevents all packets from the network
FE80:0:0:0201::/64 (packets that have the link-local prefix FE80:0:0:0201 as the first 64 bits of their
source IPv6 address) from leaving the interface. The third permit entry in the OUTBOUND list permits
all ICMP packets to leave the interface.
The permit entry in the INBOUND list permits all ICMP packets to enter the interface.
Switch(config)#ipv6 access-list OUTBOUND
Switch(config-ipv6-acl)# permit tcp 2001:0DB8:0300:0201::/64 any
Switch(config-ipv6-acl)# permit udp 2001:0DB8:0300:0201::/64 any
Switch(config-ipv6-acl)# deny FE80:0:0:0201::/64 any
Switch(config-ipv6-acl)# permit icmp any any
Switch(config-ipv6-acl)# exit
Switch(config)#ipv6 access-list INBOUND
Switch(config-ipv6-acl)# permit icmp any any
Switch(config-ipv6-acl)# exit
Switch(config)# interface gigabitethernet1/0/3
Switch(config-if)# no switchport
Switch(config-if)# ipv6 address 2001::/64 eui-64
Switch(config-if)# ipv6 traffic-filter OUTBOUND out
Switch(config-if)# ipv6 traffic-filter INBOUND in
Given that a permit any any statement is not included as the last entry in the OUTBOUND or the
Note
INBOUND access list, only TCP, UDP, and ICMP packets are permitted out of and into the interface (the
implicit deny-all condition at the end of the access list denies all other packet types on the interface).
OL-21522-02
beyond-scope
echo-reply
header
mld-query
mld-report
nd-ns
no-admin
packet-too-big
parameter-problem
reassembly-timeout
renum-result
router-advertisement
router-solicitation
unreachable
permit (IPv6 access-list configuration)
destination-unreachable
echo-request
hop-limit
mld-reduction
nd-na
next-header
no-route
parameter-option
port-unreachable
renum-command
renum-seq-number
router-renumbering
time-exceeded
Catalyst 3750-X and 3560-X Switch Command Reference
2-435

Advertisement

Table of Contents
loading

Table of Contents