ࡱ> |~{` 03bjbjss 4f+^^^^^^^r:;:;:;:;D~;rYT<<<<<<<< YYYYYYY$ZhI]2Y^=<<==2Y^^<<GYUUU= ^<^< YU= YUU^^U<< ?Y:;Hj U Y]Y0YU] Uv]UU]^lX<>'=,US=$w=e<<<2Y2YU<<<Y====rrr56:rrr6:rrr^^^^^^ Cisco IPv6 Configuration Commands: 6 March 2006 Basic Commands: To enable routing of IPv6 packets required to enable IPv6 on a router: Router(config)# ipv6 unicast-routing To enable IPv6 on an interface: Router(config-if)# ipv6 enable To add an IPv6 address to an interface: ipv6 address
/ [link-local] [eui-64] To leave the interface unnumbered: ipv6 unnumbered eth 0/0 IPv6 Enabled Commands: ping ipv6 traceroute ipv6 telnet ssh [-l ] [-c ] [-o numberofpasswdprompts <#>] [-p ] [command] show ip ssh ip http server dns lookup tftp Neighbor Discovery: To adjust the Router Advertisement intervals: ipv6 nc reachable-time <#> ipv6 nd ra-interval <#> default is 200 seconds ipv6 nd ra-lifetime <#> default is 1800 seconds (30 minutes) ipv6 nd ns-interval <#> default is 1000 milliseconds ipv6 nd suppress-ra ipv6 nd managed-config-flag ipv6 nd other-config-flag To adjust the lifetimes for the prefix: ipv6 nd prefix-advertisement / [onlink] [auto-config] ipv6 nd prefix-advertisement FEC0::C0A8:20C0/123 0 0 autoconfig Valid lifetime = how long the nodes address remains in the valid state after that it is invalid Preferred lifetime = how long the stateless autoconfig address remains preferred less than or equal to the valid lifetime - If preferred-lifetime = 0 then this router is not preferred Off-link = sets the L-bit to OFF default setting is to have the L-bit set to ON No-autoconifg = sets the A-bit to OFF default setting is to have the A-bit set to ON No-advertise = the specified prefix cannot be used for stateless autoconfiguration the prefix is not included in RA messages default is to have this flag turned OFF To remove an advertised prefix: no ipv6 nd prefix To turn off Router Advertisements: no suppress-ra Duplicate Address Detection (DAD): ipv6 nd dad attempts <#> disabled with a setting of 0 Router Redirection: ipv6 redirects ipv6 icmp error-interval msec Other Commands: ip domain lookup ip name-server ipv6 host [] . . . ipv6 neighbor Ethernet 0 Basic Show Commands: show ipv6 ? show ipv6 interface [prefix] show interface show ipv6 neighbors [ | ] show ipv6 mtu show ipv6 protocols show ipv6 interface [brief] show ipv6 traffic show ipv6 route show ipv6 routers show bgp show bgp summary show bgp ipv6 unicast neighbor routes show bgp ipv6 unicast neighbor advertised Basic Debug Commands: debug ipv6 ? debug ipv6 packet debug ipv6 icmp debug ipv6 nd ping ipv6 traceroute ipv6 clear ipv6 ? clear ipv6 neighbors Cisco Express Forwarding: ipv6 cef ipv6 cef distributed show ipv6 cef . . . show cef debug ipv6 cef [drops | events | hash | receive | table] Routing Commands: ipv6 route / [ | ] [AD#] show ipv6 route [connected | local | static | rip | bgp | isis | ospf] show ipv6 route / RIPng: To enable RIPng: Router(config)# ipv6 router rip To enable RIPng on an interface: Router(config-if)# ipv6 rip enable To originate the default router (::/0) out an interface: Router(config-if)# ipv6 rip default-information originate Router(config-rtr)# distance <#> Router(config-rtr)# distribute-list prefix-list [in | out] Router(config-rtr)# metric-offset <#> Router(config-rtr)# poison-reverse Router(config-rtr)# split-horizon Router(config-rtr)# port multicast-group Router(config-rtr)# timers Router(config-rtr)# redistribute [ connected | isis | ospf | static | bgp | rip ] [metric ] [level-1 | level-1-2 | level-2] [route-map ] RIPng Show Commands: show ipv6 route show ipv6 rip [database] [next-hops] show ipv6 protocols RIPng Debug Commands: debug ipv6 rip debug ipv6 routing clear ipv6 rip OSPF Commands: Router(config)# ipv6 router ospf Router(config-rtr)# router-ID Router(config-rtr)# area range Router(config)# interface ethernet 0 Router(config-if)# ipv6 ospf area Router(config-rtr)# redistribute [bgp | isis | rip | static] OSPF Show Commands: show ipv6 ospf show ipv6 ospf database show ipv6 ospf database link show ipv6 ospf database prefix show ipv6 ospf route ospf OSPF Debug Commands: clear ipv6 ospf OSPF Example: interface Ethernet 0 ipv6 address 2001:100:1::1/64 ipv6 enable ipv6 ospf 100 area 0 interface Ethernet 1 ipv6 address 2001:200:2::1/64 ipv6 enable ipv6 ospf 100 area 1 ipv6 router ospf 100 router-id 10.1.1.1 area 1 range 2001:200:FFFF:1::1/64 EIGRP Commands: interface FastEthernet 0/0 ipv6 enable ipv6 eigrp 10 ipv6 bandwidth-percent eigrp ipv6 summary-address eigrp [admin-distance] ipv6 authentication mode eigrp md5 ipv6 authentication key-chain eigrp ! ipv6 router eigrp 10 router-id 10.1.1.1 stub [receive-only | connected | static | summary | redistributed] log-neighbor-changes log-neighbor-warnings [seconds] metric weights tos k1 k2 k3 k4 k5 ! show ipv6 eigrp interfaces show ipv6 eigrp neighbors detail show ipv6 eigrp topology show ipv6 eigrp traffic clear ipv6 eigrp [as-number] [neighbor [ipv6-address | interface-type interface-number]] debug eigrp fsm debug eigrp neighbor [siatimer] [static] debug eigrp packet debug eigrp transmit [ack] [build] [detail] [link] [packetize] [peerdown] [sia] [startup] [strange] debug ipv6 eigrp [as-number] [neighbor ipv6-address | notification | summary] BGP4+ Commands: Enable BGP-4 on the router: router bgp Turns off BGP IPv4 peering no bgp default ipv4 unicast Establish a BGP4+ neighbor: neighbor remote-as neighbor update-source neighbor soft-reconfiguration inbound neighbor password 5 Address Families: address-family ipv6 unicast neighbor activate exit-address-family To enable a prefix-list for a BGP-peer: neighbor prefix-list [in | out] ipv6 prefix-list [ seq [#] ] [ permit | deny ] [ ge ] [ le ] Route Maps: neighbor route-map [in|out] route-map [ permit | deny ] match ipv6 [ | next-hop | route-source] prefix-list set ipv6 next-hop set local-pref 120 Redistribution: redistribute [bgp | connected | isis | ospf | rip | static] [metric ] [route-map ] BGP4+ Show Commands: show ipv6 route bgp show ipv6 neighbors show bgp neighbors show bgp ipv6 [summary] show bgp ipv6 [ | community | community-list | dampened-paths | regexp | summary ] show ipv6 prefix-list [summary | detail] BGP4+ Debug Commands: debug bgp ipv6 clear bgp ipv6 [ * | ASN | | dampening | external | flap-statistics | ] BGP4+ Example: interface Ethernet0 ipv6 address 5f00:0100:0:0:1::1 80 ! router bgp 100 no bgp default ipv4-unicast neighbor 5f00:0100:0:0:2::1 remote-as 101 aggregate-address 2001:420:2000::/42 summary-only ! address-family ipv6 neighbor 5f00:0100:0:0:2::1 activate neighbor 5f00:0100:0:0:2::1 prefix-list bgp-in in neighbor 5f00:0100:0:0:2::1 prefix-list aggregate out network 5f00:0100:0:0:1::/40 exit-address-family ipv6 prefix-list aggregate seq 5 deny 3FFE:C00::/24 ge 25 ipv6 prefix-list aggregate seq 10 permit ::/0 le 48 ! ipv6 prefix-list bgp-in seq 5 deny 5F00::/8 le 128 ipv6 prefix-list bgp-in seq 10 deny ::/0 ipv6 prefix-list bgp-in seq 15 deny ::/1 ipv6 prefix-list bgp-in seq 20 deny ::/2 ipv6 prefix-list bgp-in seq 25 deny ::/3 ge 4 ipv6 prefix-list bgp-in seq 30 permit ::/0 le 128 IPv6 Access Control Lists: ipv6 access-list [permit|deny] | any | host | any | host [log | log-input] ipv6 access-list BLAH deny fec0:0:0:2::/64 * any ipv6 access-list BLAH permit any Apply ACL to an interface: Router(config-if)# ipv6 traffic-filter [in | out] For 6Bone minimum prefix to announce: 3ffe::/16 3ffe:0800::/28 2000::/3 - 6to4 For 6Bone prohibits advertisements of these: fe80::/10 - link local fec0::/10 - site local ::1/128 - loopback ::0/128 - default route ff00::/8 - multicast ::/96 - ipv4 compatible addresses ::ffff/96 - ipv4 mapped addresses View the ACLs: show ipv6 access-list clear ipv6 access-list debug ipv6 packet [access-list ] [detail] Configured Tunnel Router Commands: Router 1: interface tunnel 0 ipv6 address 3ffe:b00:c18:1::3/27 tunnel source 192.168.1.1 tunnel destination 192.168.2.1 tunnel mode ipv6ip [auto-tunnel] Auto-tunnel if used for automatic tunnels Router 2: interface tunnel 0 ipv6 address 3ffe:b00:c18:1::2/27 tunnel source 192.168.2.1 tunnel destination 192.168.1.1 tunnel mode ipv6ip [auto-tunnel] 6to4 Tunnel Router Commands: Router 1: interface Ethernet 0 ip address 192.168.1.1 255.255.255.0 ipv6 address 2002:c0a8:0101:1::/64 eui-64 interface tunnel 0 no ip address ipv6 unnumbered Ethernet 0 tunnel source Ethernet 0 tunnel destination 192.168.2.1 tunnel mode ipv6ip 6to4 Router 2: interface Ethernet 0 ip address 192.168.2.1 255.255.255.0 ipv6 address 2002:c0a8:0201:1::/64 eui-64 interface tunnel 0 no ip address ipv6 unnumbered Ethernet 0 tunnel source Ethernet 0 tunnel destination 192.168.2.1 tunnel mode ipv6ip 6to4 For a 6to4 Relay add the following route: ipv6 route ::/0 2 Router Example: hostname Alpha ipv6 unicast-routing interface Ethernet0 description connected to A-LAN no ip address no ip directed-broadcast ipv6 enable ipv6 address FEC0::C0A8:20C1/123 ipv6 nd ra-interval 20 ipv6 nd ra-lifetime 180 ipv6 rip brest-lab enable interface Serial1 description connected to Chi Ser1 bandwidth 4000000 no ip address no ip directed-broadcast encapsulation ppp ipv6 enable ipv6 address FEC0::C0A8:2025/126 ipv6 nd ra-interval 20 ipv6 nd ra-lifetime 180 ipv6 nd prefix-advertisement FEC0::C0A8:20C0/123 0 0 autoconfig no suppress-ra ipv6 rip brest-lab enable clockrate 4000000 hostname Chi ipv6 unicast-routing interface Ethernet0 description connected to Core-LAN no ip address no ip directed-broadcast ipv6 enable ipv6 address FEC0::C0A8:10C2/123 ipv6 nd ra-interval 20 ipv6 nd ra-lifetime 180 ipv6 rip brest-lab enable interface Serial1 description connected to Alpha Ser1 bandwidth 4000000 no ip address no ip directed-broadcast encapsulation ppp ipv6 enable ipv6 address FEC0::C0A8:2026/126 ipv6 nd ra-interval 20 ipv6 nd ra-lifetime 180 ipv6 nd prefix-advertisement FEC0::C0A8:10C0/123 0 0 autoconfig no suppress-ra ipv6 rip brest-lab enable "#/1Ac O P s ` p q   / ö䲨wwmwmhi&OJQJ^Jh84OJQJ^Jh{\|huOJQJ^JhYDhYDOJQJ^Jh84hOJQJ^JhYDOJQJ^Jhh{\|h{\|OJQJ^Jh{\|OJQJ^JhuhuOJQJ^Jh{\|OJQJ^JhuOJQJ^JhROJQJ^Jh^+hu)#01AB O P s E Q ` k p q gdg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h(ZOJQJ^JhhOJQJ^JhOJQJ^J>Q!!!!!&"v"""""4#5#J#K#_#s### $G$H$^$_$n$o$$$$gd(|gd_gdu$$$%%-%I%s%%%%%&H&e&y&&&&'E'n'''''((gdgdugd(|$''((((;(?(H(I(O(^(a((((( )J)r)))))a*b*********++ѽѽѽѽukkah(|OJQJ^JhYDOJQJ^Jhq^Qh-bOJQJ^Jh "Ch]>OJQJ^Jh]>h]>OJQJ^Jhq^Qhq^QOJQJ^Jh]>OJQJ^Jh "COJQJ^Jhq^QOJQJ^Jhx\OJQJ^JhOJQJ^J hh "C hhh_OJQJ^Jh(|h(|OJQJ^J$(((((( )I)J)r)|)))))))*)*?*b********+gd]>gdugdq^Q++2+3+=+P+s+++++++,,<,W,w,,,,,,,,,,*-gd84gd84gd]>gdu+2+3+=+++++,=,,,,,i----k....//%/&/'/1133ѯ۫h& h& OJQJ^Jh& OJQJ^Jh& h84h84OJQJ^Jh84 h*h84OJQJ^JmH sH h84OJQJ^Jh84OJQJ^Jh84h84OJQJ^Jh]>OJQJ^Jh]>*-=-L-h-------.,.?.N.j......////&/'/6/K/gd& gdugd& gd84K/_///////0#050X0k0z0000001H1X1s11111111gd& 1 2282P2i2222222 3393Q3j333333gdugd& 21h:pp@/ =!"#$% D@D NormalCJ_HaJmH nHsH tHZ@Z u Heading 1$<@&5CJ KH OJQJ\^JaJ \@\ u Heading 2$<@& 56CJOJQJ\]^JaJDA@D Default Paragraph FontRi@R  Table Normal4 l4a (k@(No List+f#01ABOPsEQ`kpq=sZ `  *JKn}~/0AB\] + o } ) Z [ q r      ) > ? S \ ]   N { | }   A !Df 34IJKZ[NO)CDYZvw5J^Gw&=_PQbSTde 9jQ&v45JK_s GH^_no-IsHeyEn  !I!J!r!|!!!!!!!")"?"b""""""""##2#3#=#P#s#######$$<$W$w$$$$$$$$$$*%=%L%h%%%%%%%&,&?&N&j&&&&&&''''&'''6'K'_'''''''(#(5(X(k(z(((((()H)X)s)))))))) **8*P*i******* ++9+Q+j++++++000000000000000000000000000000000000000000p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p0p00000000000000000000000000000Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 0Z 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 00| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0000000000000000J0J0J0J0J0J0J0J0J0J0000000000C0C0C00v0v0v0v0v0v0v0v0v0v0v0v0v00000000000000000000000000000000000000000000000000000000000000000u0u0u0u0u0u0000000000000000000000000000000000007070707070707070707070707070707070707070707070707070707070700N0N0N0N0N0N0N0N0N0N0N0N0N0N0N0N0N0N00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S#0S+j00h00h00&0@7@h00h00j00j00/ $+3 "%),/q S!NJQQ!$(+*-K/13!#$&'(*+-.01238@0(  B S  ?,t,4,,!A w+E #{+9*urn:schemas-microsoft-com:office:smarttagsplace +/JLMPQS`cko BDxzDJRX_a)3 24z| 02BDW d y |     . 1 7 > I M % ( . 1 I L X [ h k ; > A E H L } H N  (2KUmw#&*69bhw{ !,0V`qtw{ 37>Beikt%)AE`eorW\]`hmxkn #ft%1[^x{7Eehux%(03 -047VY]`- 8 ; > X ^ c g !!""$$A%C%%%C&E&;'B'''''''''''''((o(q(~(((((((((((( ));)<)=)G)U)W)b)g)t)})))))))>*@*A*C*V*X*Y*[*s*x*****+ +?+A+B+D+W+Y+Z+\+p+r++++++++++#0swEIQS`cko=AswZ^*,np02BD]a + / o s } ) - r w  $ ) - ? C S W ] b  N R * , A H !(DKfm  %49[bOV)-Z_ $59KT_cGKw{';>S`fQVbg  9Ajr'',wzKO_csw _dot$-/IQsHOexy} EInr  !!w!y!!!!!!!!!!!""."0"@"B"c"h"""""""=#F#Q#U#t#z#####$$$$=$C$X$^$x$~$$$$$%%*%3%>%@%M%Q%i%o%%%%%%%%%&&,&5&@&B&O&S&k&q&&&&&&&'$'''/'6':'K'T'`'k''''''''''''' ( (#(,(6(A(Y(b(l(n({(}((((((((((() )I)K)Y)])t)}))))))))))))) ****9*=*Q*U*j*n************+ ++++:+>+R+V+k+o++++++33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333#1 [ r '>H_++++/+3 876%v=76%gUWgU-3M gUa 76%=m76%e76%hegUiZgUY'(bI:76%BgUNDn$76%76%bI#X.'gUL*m(gUG+76%6,-gUfq/gU076%lX376%y5gU776%+:vgU=\vgU`Nw76%KDz76%un{gUMu{gU8t^|76%mV}gU"!-bi&R_^+;5]>p@ "CYD8^M^PQq^Q(Zx\o`n(|{\|25^WuUO*M`s84ilf& Q@//D//+p@UnknownGz Times New Roman5Symbol3& z Arial?5 z Courier New]  MS MinchoArial Unicode MS"qh|F4N%ON%O!24++ 2QHX)?p@2"Cisco IPv6 Configuration Commands: Scott Hogg Scott HoggOh+'0  , L X dpx$Cisco IPv6 Configuration Commands: Scott HoggNormal Scott Hogg16Microsoft Office Word@jWSc@@^8YN%՜.+,0 hp  Hogg NetworkingO+ #Cisco IPv6 Configuration Commands: Title  !"#$%&'()*+,-./012356789:;=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijlmnopqrtuvwxyz}Root Entry F;?YData 41Table<]WordDocument4fSummaryInformation(kDocumentSummaryInformation8sCompObjq  FMicrosoft Office Word Document MSWordDocWord.Document.89q