11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sdeny (IPv6 access-list configuration)router-solicitationunreachabletime-exceededExamplesThis example configures the IPv6 access list named CISCO <strong>and</strong> applies the access list to outbound trafficon a Layer 3 interface. The first deny entry in the list prevents all packets that have a destination TCPport number greater than 5000 from leaving the interface. The second deny entry in the list prevents allpackets that have a source UDP port number less than 5000 from leaving the interface. The second denyalso logs all matches to the console. The first permit entry in the list permits all ICMP packets to leavethe interface. The second permit entry in the list permits all other traffic to leave the interface. Thesecond permit entry is necessary because an implicit deny-all condition is at the end of each IPv6 accesslist.<strong>Switch</strong>(config)# ipv6 access-list CISCO<strong>Switch</strong>(config-ipv6-acl)# deny tcp any any gt 5000<strong>Switch</strong> config-ipv6-acl)# deny ::/0 lt 5000 ::/0 log<strong>Switch</strong>(config-ipv6-acl)# permit icmp any any<strong>Switch</strong>(config-ipv6-acl)# permit any any<strong>Switch</strong>(config-ipv6-acl)# exit<strong>Switch</strong>(config)# interface gigabitethernet1/0/3<strong>Switch</strong>(config-if)# no switchport<strong>Switch</strong>(config-if)# ipv6 address 2001::/64 eui-64<strong>Switch</strong>(config-if)# ipv6 traffic-filter CISCO outRelated Comm<strong>and</strong>sComm<strong>and</strong>ipv6 access-listipv6 traffic-filterpermit (IPv6access-listconfiguration)show ipv6 access-listDescriptionDefines an IPv6 access list <strong>and</strong> enters IPv6 access list configuration mode.Filters incoming or outgoing IPv6 traffic on an interface.Sets permit conditions for an IPv6 access list.Displays the contents of all current IPv6 access lists.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-135

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!