Cisco Catalyst 3750 Metro Command Reference Manual page 371

Hide thumbs Also See for Catalyst 3750 Metro:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750 Metro Switch Cisco IOS Commands
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 gigabitethernet0/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 can leave or enter the interface (the implicit
deny-all condition at the end of the access list denies all other packet types on the interface).
Related Commands
Command
ipv6 access-list
ipv6 traffic-filter
deny (IPv6 access-list
configuration)
show ipv6 access-list
OL-9645-10
renum-result
router-advertisement
router-solicitation
unreachable
Description
Defines an IPv6 access list and enters IPv6 access list configuration mode.
Filters incoming or outgoing IPv6 traffic on an interface.
Sets deny conditions for an IPv6 access list.
Displays the contents of all current IPv6 access lists.
permit (IPv6 access-list configuration)
renum-seq-number
router-renumbering
time-exceeded
Catalyst 3750 Metro Switch Command Reference
2-343

Advertisement

Table of Contents
loading

Table of Contents