Tuesday, September 9, 2008

IPv6 (Cisco) Training - Using the "ipv6 Access-class" Command

In a nutshell, the Cisco IOS "Line configuration" command named "ipv6 access-class" performs the same function as its predecessor the "access-class" command; except that it is IPv6-specific.

In other words, the "ipv6 access-class" Line configuration command is used to filter incoming and outgoing connections to and from a router based on an IPv6 access list.

Below is the proper syntax and example of using the command:

Syntax: ipv6 access-class ipv6-access-list-name {in | out}

ipv6-access-list-name - Is the argument that represents the name of an IPv6 access list. Names cannot contain a space or quotation mark, or begin with a numeric.

in - Is the keyword that means filtering will occur on incoming IPv6 connections.

out - Is the keyword that means filtering will occur on outgoing IPv6 connections.


router#configure terminal
router(config)#ipv6 access-list ittechtips
router(config-ipv6-acl)#permit ipv6 host 2001:0DC8:0:4::2/128 any
router(config)#line vty 0 4
router(config-line)#ipv6 access-class ittechtips in
router#copy run start

In the example above, notice that the router's prompt is in "Line configuration" mode when the "ipv6 access-class" command is being used; and filtering is occurring on incoming connections on virtual terminal lines 0 to 4 of the router based on the IPv6 access list named ittechtips.

Now, to disable the filtering of incoming and outgoing connections to a router, use the word "no" in front of the command like you see below:

router(config-line)#no ipv6 access-class

I hope this article was very informative and helped you quickly understand the usage of the "ipv6 access-class" Line configuration command. If you need to learn more; I suggest you visit my website, were you'll find the latest information regarding Cisco IPv6 Design and Implementation Techniques.

To your success,

Charles Ross, CCNP #CSCO10444244 is the owner of Ittechtips.com; where you'll find free comprehensive information and videos about IPv6 technology and how it works with Cisco Systems technology.

Sign-Up for "18 Free Videos" that will teach you IPv6 Address Representation In Under 10 Minutes! And, also learn more about the new "Cisco IPv6 Video Accelerated Training Course" at his website. http://www.ciscoipv6ittechtips.com

No comments: