IPv6 Training (Cisco) Using the “ipv6 access-class” Command
The “ipv6 access-class” Commands
By Charles Ross CCNP #CSCO10444244
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.
Example:
router>enable
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-ipv6-acl)#exit
router(config)#line vty 0 4
router(config-line)#ipv6 access-class ittechtips in
router(config-line)#end
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