Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
6-71
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 6 Security Commands
permit (IPv6)
Examples This example shows how to configure an IPv6 ACL named acl-lab13-ipv6 with rules permitting all TCP
and UDP traffic from the 2001:0db8:85a3:: and 2001:0db8:69f2:: networks to the
2001:0db8:be03:2112:: network:
switch# configure terminal
switch(config)# ipv6 access-list acl-lab13-ipv6
switch(config-ipv6-acl)# permit tcp 2001:0db8:85a3::/48 2001:0db8:be03:2112::/64
switch(config-ipv6-acl)# permit udp 2001:0db8:85a3::/48 2001:0db8:be03:2112::/64
switch(config-ipv6-acl)# permit tcp 2001:0db8:69f2::/48 2001:0db8:be03:2112::/64
switch(config-ipv6-acl)# permit udp 2001:0db8:69f2::/48 2001:0db8:be03:2112::/64
This example shows how to configure an IPv6 ACL named ipv6-eng-to-marketing with a rule that
permits all IPv6 traffic from an IPv6-address object group named eng_ipv6 to an IPv6-address object
group named marketing_group:
switch# configure terminal
switch(config)# ipv6 access-list ipv6-eng-to-marketing
switch(config-ipv6-acl)# permit ipv6 addrgroup eng_ipv6 addrgroup marketing_group
Related Commands Command Description
deny (IPv6) Configures a deny rule in an IPv6 ACL.
ipv6 access-list Configures an IPv6 ACL.
remark Configures a remark in an ACL.