Hi ! Everyone on today we are going to learn about how to configure ipv6 ACL on telnet.
Step 1: Configure ipv6 address on Router
Step 1: Configure ipv6 address on Router
Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ipv6 unicast-routing
Router(config)#int fa0/0
Router(config-if)#ipv6 add 2000::1/64
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int fa0/1
Router(config-if)#ipv6 add 2001::1/64
Router(config-if)#no shut
STEP 2: Configure Telnet on Cisco Router.
Router>enable Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable password redhat Router(config-line)#line vty 0 4 Router(config-line)#password ccna123 Router(config-line)#login Router(config-line)#
STEP 3:Configure IPv6 ACL on TELNET
Router(config)#line vty 0 4 Router(config-line)#ipv6 access-list CCNP Router(config-ipv6-acl)#deny ipv6 host 2000::2 any Router(config-ipv6-acl)#permit ipv6 any any Router(config-ipv6-acl)#exit
STEP 4: Now Apply the ACL rule created above for TELNET
Router(config)#line vty 0 4 Router(config-line)#ipv6 access-class CCNP in Router(config-line)#exit Router(config)#
STEP 5:Now troubleshoot and test your ACL rule.
Test telnet connection by trying to telnet your router machine from different hosts.Check and find whether the hosts you blocked from telnet are blocked or not.Also check other hosts which are not blocked from telnet are able to telnet your router.STEP 6: SEE the ACL rules created.
Router#show ipv6 access-list IPv6 access list CCNP deny ipv6 host 2000::2 any (4 match(es)) permit ipv6 any any (1 match(es))
Therefore, we have successfully completed our ipv6 lab session on ACL telnet.
No comments:
Post a Comment