{"id":80,"date":"2011-11-02T09:36:21","date_gmt":"2011-11-02T01:36:21","guid":{"rendered":"http:\/\/ipcpu.sa.cy.com\/?p=80"},"modified":"2011-11-02T09:36:21","modified_gmt":"2011-11-02T01:36:21","slug":"most-used-ipv6-command","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2011\/11\/most-used-ipv6-command\/","title":{"rendered":"[\u7ffb\u8bd1]Windows\u6700\u5e38\u7528IPv6\u547d\u4ee4\u89e3\u6790"},"content":{"rendered":"

Most Commonly Used ipv6 Command In My Windows XP Workstation
\n\u6700\u5e38\u7528IPv6\u547d\u4ee4\u89e3\u6790\u3010WindowsXP\u5e73\u53f0\u3011<\/strong><\/p>\n

ipv6 if<\/span><\/strong>
\nThis command displays interface information.
\n\u663e\u793a\u63a5\u53e3\u7684\u8be6\u7ec6\u4fe1\u606f<\/strong><\/p>\n

C:\\Documents and Settings\\Administrator>ipv6 if 7
\nInterface 7: Ethernet: \u672c\u5730\u8fde\u63a5 2
\nGuid {B5DA9CC8-7A44-4F24-B2C6-8F92F813BF0B}
\nzones: link 7 site 2
\nuses Neighbor Discovery
\nuses Router Discovery
\nlink-layer address: 00-e0-4c-46-f2-4f
\npreferred global 2001:470:19:13c::dead:beef, life infinite (manual)
\npreferred site-local fec0::a:2e0:4cff:fe46:f24f, life 47h57m34s\/27m34s (publ
\nic)
\npreferred global 2002:404:401:a:9123:a5b3:bed4:df11, life 47h57m34s\/27m34s (
\ntemporary)
\npreferred global 2002:404:401:a:2e0:4cff:fe46:f24f, life 47h57m34s\/27m34s (p
\nublic)
\npreferred link-local fe80::2e0:4cff:fe46:f24f, life infinite
\nmulticast interface-local ff01::1, 1 refs, not reportable
\nmulticast link-local ff02::1, 1 refs, not reportable
\nmulticast link-local ff02::1:ff46:f24f, 3 refs, last reporter
\nmulticast link-local ff02::1:ffd4:df11, 1 refs, last reporter
\nmulticast link-local ff02::1:ffad:beef, 1 refs, last reporter
\nlink MTU 1500 (true link MTU 1500)
\ncurrent hop limit 128
\nreachable time 42500ms (base 30000ms)
\nretransmission interval 1000ms
\nDAD transmits 1
\ndefault site prefix length 48<\/span><\/p>\n

C:\\Documents and Settings\\Administrator><\/span><\/p>\n

ipv6 rt<\/span><\/strong>
\nThis command displays the current contents of the routing table.
\n\u663e\u793aIPv6\u8def\u7531\u8868<\/span><\/strong><\/p>\n

C:\\Documents and Settings\\Administrator>ipv6 rt
\nfec0:0:0:b::\/64 -> 7\/fe80::f898:2bda:2f5d:e06d pref 16 life 47h56m26s (autoconf)<\/span><\/p>\n

fec0:0:0:a::\/64 -> 7 pref 8 life 47h56m26s (autoconf)
\n2002:404:401:b::\/64 -> 7\/fe80::f898:2bda:2f5d:e06d pref 16 life 47h56m26s (autoc
\nonf)
\n2002:404:401:a::\/64 -> 7 pref 8 life 47h56m26s (autoconf)
\n::\/0 -> 7\/fe80::f898:2bda:2f5d:e06d pref 256 life 18h8m41s (autoconf)<\/span><\/p>\n

C:\\Documents and Settings\\Administrator><\/span><\/p>\n

tracert6<\/span><\/strong>
\nsend ICMPv6 or ICMP Echo Request messages to produce command-line report information about each router that is crossed and the roundtrip time (RTT) for each hop.
\ntracert\u7684IPv6\u7248\u672c<\/strong><\/p>\n

D:\\Documents and Settings\\harry>tracert6 ipv6.he.net<\/span><\/p>\n

Tracing route to ipv6.he.net [2001:470:0:64::2]<\/span><\/p>\n

from 2001:470:19:13c:219:d1ff:feea:ee16 over a maximum of 30 hops:<\/span><\/p>\n

1\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd <1 ms\ufffd\ufffd\ufffd <1 ms\ufffd\ufffd\ufffd <1 ms\ufffd d.ns.kutukupret.org [2001:470:19:13c::1:4]
\n2\ufffd\ufffd\ufffd\ufffd\ufffd 246 ms\ufffd\ufffd 242 ms\ufffd\ufffd 245 ms\ufffd leenoux-1.tunnel.tserv20.hkg1.ipv6.he.net [2001:470:18:13c::1]
\n3\ufffd\ufffd\ufffd\ufffd\ufffd 259 ms\ufffd\ufffd 253 ms\ufffd\ufffd 248 ms\ufffd gige-g3-13.core1.hkg1.he.net [2001:470:0:ba::1]
\n4\ufffd\ufffd\ufffd\ufffd\ufffd 437 ms\ufffd\ufffd 418 ms\ufffd\ufffd 421 ms\ufffd v1026.core1.sjc1.he.net [2001:470:0:c3::1]
\n5\ufffd\ufffd\ufffd\ufffd\ufffd 420 ms\ufffd\ufffd 426 ms\ufffd\ufffd 429 ms\ufffd 10gigabitethernet2-1.core1.sjc2.he.net [2001:470:0:55::2]
\n6\ufffd\ufffd\ufffd\ufffd\ufffd 435 ms\ufffd\ufffd 442 ms\ufffd\ufffd 594 ms\ufffd 10gigabitethernet1-1.core1.fmt1.he.net [2001:470:0:2f::1]
\n7\ufffd\ufffd\ufffd\ufffd\ufffd 426 ms\ufffd\ufffd 421 ms\ufffd\ufffd 420 ms\ufffd ipv6.he.net [2001:470:0:64::2]<\/span><\/p>\n

11 Trace complete.<\/span><\/p>\n

ping6<\/span><\/strong>
\nsend ICMPv6 or ICMP Echo Request messages to perform network diagnostics and test reachability for a specific destination.
\nping\u7684IPv6\u7248\u672c<\/strong><\/p>\n

D:\\Documents and Settings\\harry>ping6 ipv6.he.net<\/span><\/p>\n

Pinging ipv6.he.net [2001:470:0:64::2]<\/span><\/p>\n

from 2001:470:19:13c:219:d1ff:feea:ee16 with 32 bytes of data:<\/span><\/p>\n

Reply from 2001:470:0:64::2: bytes=32 time=423ms
\nReply from 2001:470:0:64::2: bytes=32 time=435ms
\nReply from 2001:470:0:64::2: bytes=32 time=421ms
\nReply from 2001:470:0:64::2: bytes=32 time=432ms<\/span><\/p>\n

Ping statistics for 2001:470:0:64::2:
\nPackets: Sent = 4, Received = 4, Lost = 0 (0% loss),
\nApproximate round trip times in milli-seconds:
\nMinimum = 421ms, Maximum = 435ms, Average = 427ms<\/span><\/p>\n

ipv6 rtu<\/span><\/strong>
\nThis command adds or removes a route in the routing table.
\n\u589e\u52a0\u6216\u5220\u9664IPv6\u8def\u7531<\/strong>
\ne.g.\u4f8b\u5982
\nadd static routing
\n\u589e\u52a0\u4e00\u6761\u9759\u6001\u8def\u7531<\/p>\n

ipv6 -p rtu ::\/0 7\/2001:470:19:13c::1<\/span><\/p>\n

add static route to ::\/0 (default route) on interface index 7 with ip gateway 2001:470:19:13c::1
\n\u589e\u52a0\u4e00\u6761\u9759\u6001\u9ed8\u8ba4\u8def\u7531<\/p>\n

delete static route
\n\u5220\u9664\u9759\u6001\u8def\u7531
\n
\nipv6 rtu ::\/0 7\/2001:470:19:13c::1 life 0
\n<\/span>Specifying a lifetime of zero causes the route to be deleted.
\n\u4f7f\u7528\u751f\u5b58\u65f6\u95f4\u4e3a\u96f6\u6765\u5220\u9664\u8def\u7531<\/p>\n

-p Saves the setting in the registry.(static)
\n\u53c2\u6570-p\u53ef\u4ee5\u662f\u8def\u7531\u6761\u76ee\u4fdd\u5b58\u5728\u7cfb\u7edf\u4e2d\uff0c\u91cd\u542f\u4e4b\u540e\u4e0d\u4f1a\u5931\u6548\u3002<\/span><\/p>\n

ipv6 adu<\/span><\/strong>
\nThis command adds or removes a unicast or anycast address assignment on an interface.
\n\u589e\u52a0\u5355\u64ad\u6216\u8005\u4efb\u64adIPv6\u5730\u5740<\/strong>
\ne.g.
\nipv6 -p adu 7\/2001:470:19:13c::dead:beef
\n<\/span>add static ipv6 address to intreface index 7 with ipv6 2001:470:19:13c::dead:beef
\n\u57287\u53f7\u63a5\u53e3\u589e\u52a0\u4e86\u4e00\u4e2aIPv6\u5730\u5740
\ndelete static ipv6
\n\u5220\u9664\u63a5\u53e3\u4e0aIPv6\u5730\u5740
\nipv6 adu 7\/2001:470:19:13c::dead:beef life 0
\n<\/span>Specifying a lifetime of zero causes the address to be removed.
\n\u4f7f\u7528\u751f\u5b58\u65f6\u95f4\u4e3a\u96f6\u6765\u5220\u9664\u5730\u5740
\n-p Saves the setting in the registry.(static)
\nipv6 gpu UseTemporaryAddresses
\n\u53c2\u6570-p\u53ef\u4ee5\u662f\u8def\u7531\u6761\u76ee\u4fdd\u5b58\u5728\u7cfb\u7edf\u4e2d\uff0c\u91cd\u542f\u4e4b\u540e\u4e0d\u4f1a\u5931\u6548\u3002<\/p>\n

ipv6 gpu UseTemporaryAddresses<\/span><\/strong><\/p>\n

This command determines whether temporary addresses are used at a global level.
\ni used this command to removes any temporary ipv6 address on interface
\n\u6e05\u9664\u4e34\u65f6\u5730\u5740\uff08\u7f51\u53cbtobacco-ubuntu<\/a><\/cite>\u63d0\u4f9b\uff09
\n-p Saves the UseTemporaryAddresses setting in the registry.<\/p>\n

=============================================
\n\u76f8\u5173\u8bf4\u660e\uff1a<\/span><\/strong><\/p>\n

\u5173\u4e8e\u7b2c\u4e00\u6761\u547d\u4ee4\u7684ipv6 if 7\uff0c\u8fd9\u91cc\u9762\u76847\u662f\u54ea\u91cc\u6765\u7684\uff0c\u6211\u4e0d\u60f3\u518d\u91cd\u590d\u4e86
\n<\/strong>C:\\Documents and Settings\\Administrator>netsh int ipv6 sh int
\n\u6b63\u5728\u67e5\u8be2\u6d3b\u52a8\u72b6\u6001\u2026<\/p>\n

\u7d22\u5f15 Met\ufffd\ufffd MTU\ufffd\ufffd\ufffd \u72b6\u6001\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd \u540d\u79f0
\n\u2014- \u2014-\ufffd \u2014\u2013\ufffd \u2014\u2014\u2014\u2014\ufffd \u2014\u2013
\n6\ufffd\ufffd\ufffd\ufffd 0\ufffd\ufffd 1500\ufffd \u5df2\u8fde\u63a5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd VMware Network Adapter VMnet8
\n5\ufffd\ufffd\ufffd\ufffd 0\ufffd\ufffd 1500\ufffd \u5df2\u8fde\u63a5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd \u672c\u5730\u8fde\u63a5
\n4\ufffd\ufffd\ufffd\ufffd 2\ufffd\ufffd 1280\ufffd \u5df2\u65ad\u5f00\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd Teredo Tunneling Pseudo-Interface
\n3\ufffd\ufffd\ufffd\ufffd 1\ufffd\ufffd 1280\ufffd \u5df2\u8fde\u63a5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd 6to4 Tunneling Pseudo-Interface
\n2\ufffd\ufffd\ufffd\ufffd 1\ufffd\ufffd 1280\ufffd \u5df2\u8fde\u63a5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd Automatic Tunneling Pseudo-Interface
\n1\ufffd\ufffd\ufffd\ufffd 0\ufffd\ufffd 1500\ufffd \u5df2\u8fde\u63a5\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd\ufffd Loopback Pseudo-Interface<\/p>\n

\u8fd9\u91cc\u7684\u7d22\u5f15\u5c31\u662f\u63a5\u53e3ID.\u4e5f\u5c31\u662f\u4e0a\u9762\u8bf4\u76847
\n\u6b64\u547d\u4ee4\u53ef\u4ee5\u67e5\u770b\u63a5\u53e3\u7684ID\u3001\u72b6\u6001\u548c\u540d\u79f0\u3002<\/strong><\/p>\n

\u539f\u6587\u5730\u5740\uff1a<\/strong>
\n
http:\/\/www.kutukupret.com\/2009\/10\/14\/most-commonly-used-ipv6-command-in-my-windows-xp-workstation\/<\/a><\/p>\n

end<\/p>\n

\u7cbe\u5f69\u8bc4\u8bba\uff1a<\/p>\n

tobacco-ubuntu | #1
\nJanuary 5, 2011 at 4:54 pm
\nnt6\u5f00\u59cbipv6\u547d\u4ee4\u5168\u90e8\u7eb3\u5165netsh\u547d\u4ee4\u4e2d\u53bb\u3002
\n\u4ee5\u4e0b\u4e2a\u4eba\u4e86\u89e3\u3002
\n\u6700\u540e\u90a3\u6761\u547d\u4ee4\u7528\u4e8e\u91cd\u7f6e\u7f51\u5361\u4e0a\u7684\u4e34\u65f6ipv6\u5730\u5740\u3002
\n\u5f00\u542fipv6\u4e4b\u540e\u4f1a\u4ea7\u751f\u4e34\u65f6ipv6\u5730\u5740\u3002\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u6bd4\u5982\u8de8\u5185\u7f51\u5229\u7528ipv6\u4f20\u8f93\u6587\u4ef6\u65f6\u9700\u8981\u5bf9\u65b9\u7684v6\u5730\u5740\uff0cipconfig\u540e\u4f1a\u5f97\u5230\u591a\u4e2a200x\uff1a\u5f00\u5934 \u7684v6ip\uff08\u6211\u4e00\u822c\u662f\u4e24\u4e2a\uff09\uff0c\u5176\u4e2d\u6709\u4e00\u4e2a\u65f6\u6548\u6027\u957f\uff0c\u4e00\u822c\u4e0d\u4f1a\u53d8\u5316\uff08\u4e0eDHCP\u670d\u52a1\u5668\u8bbe\u7f6e\u6709\u5173\uff09\uff1b\u53e6\u5916\u7684\u65f6\u6548\u6027\u6bd4\u8f83\u77ed\uff0c\u6bcf\u6b21\u8054\u7f51\u90fd\u4f1a\u53d8\u52a8\uff08\u7cfb\u7edf\u81ea\u52a8\u751f\u6210\uff09\uff0c \u8fd9\u4e9b\u90fd\u662f\u4e34\u65f6\u5730\u5740\u3002
\n\u800c\u624b\u52a8add\u7684v6ip\u5c31\u662f\u56fa\u5b9a\u5730\u5740\uff0c\u4e0d\u4f1a\u88ab\u6700\u540e\u90a3\u6761\u547d\u4ee4\u6e05\u9664\u3002<\/p>\n

\u591aip\u540c\u65f6\u6807\u8bc6\u4e00\u4e2a\u673a\u5668\uff0c\u8fd9\u4e5f\u662fipv6\u7684\u4e00\u4e2a\u7279\u8272\u3002<\/p>\n

\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » [\u7ffb\u8bd1]Windows\u6700\u5e38\u7528IPv6\u547d\u4ee4\u89e3\u6790<\/a><\/p>","protected":false},"excerpt":{"rendered":"

Most Commonly Used ipv6 Command In My Windows XP Workstation \u6700\u5e38\u7528IPv6\u547d\u4ee4\u89e3\u6790\u3010WindowsXP\u5e73\u53f0\u3011 ipv6 if This command displays interface information. \u663e\u793a\u63a5\u53e3\u7684\u8be6\u7ec6\u4fe1\u606f C:\\Documents and Settings\\Administrator>ipv6 if 7 Interface 7: Ethernet: \u672c\u5730\u8fde\u63a5 2 Guid {B5DA9CC8-7A44-4F24-B2C6-8F92F813BF0B} zones: link 7 site 2 uses Neighbor Discovery uses Router Discovery link-layer address: 00-e0-4c-46-f2-4f preferred global 2001:470:19:13c::dead:beef, life infinite (manual) preferred site-local fec0::a:2e0:4cff:fe46:f24f, life […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/80"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}