ipv6コマンド
netshコマンド
説明
ipv6 install netsh interface ipv6 install IPv6のWindowsへのインストール
ipv6 uninstall netsh interface ipv6 uninstall IPv6のWindowsからのアンインストール
ipv6 [-v] if [インターフェイス番号] netsh interface ipv6 show interface[[interface=]インターフェイス名] [[level=]{normal |verbose}] [[store=]{active | persistent}] インターフェイスについてのIPv6の構成状態の表示
ipv6 ifc IfIndex {[forwards] | [-forwards]} {[advertises] | [-advertises]} [mtu MTUサイズ(バイト単位)] [site サイト識別子] netsh interface ipv6 set interface[[interface=]インターフェイス名][[forwarding=]{enabled | disabled}][[advertise=]{enabled | disabled}][[mtu=]MTUサイズ(バイト単位)] [[siteid=]サイト識別子][[metric=]メトリックス] [[store=]{active |persistent}] インターフェイスのIPv6構成の変更
ipv6 ifd インターフェイス番号 netsh interface ipv6 delete interface[[interface=]インターフェイス名] [[store=]{active |persistent}] インターフェイスの削除
ipv6 adu インターフェイス番号/アドレス [lifetime 有効生存期間[/推奨生存期間]] [anycast] [unicast] netsh interface ipv6 add address[[interface=]インターフェイス名][address=]IPv6アドレス[[type=]{unicast | anycast}][[validlifetime=]{有効生存期間 | infinite}][[preferredlifetime=]{推奨生存期間 |infinite}] [[store=]{active | persistent}] インターフェイスへのアドレス(ユニキャストもしくはエニーキャストアドレス)の追加
ipv6 adu インターフェイス番号/アドレス lifetime 0 [/推奨生存期間]] [anycast] [unicast] netsh interface ipv6 delete address[[interface=]インターフェイス名][address=]IPv6アドレス インターフェイスへのアドレス(ユニキャストもしくはエニーキャストアドレス)の削除
ipv6 nc [インターフェイス番号 [IPv6アドレス]] netsh interface ipv6 show neighbors[[interface=]インターフェイス名][[address=]IPv6アドレス] インターフェイスの近隣ノードキャッシュの表示
ipv6 ncf [インターフェイス番号 [IPv6アドレス]] netsh interface ipv6 delete neighbors[[interface=]インターフェイス名][[address=]IPv6アドレス] インターフェイスの近隣ノードキャッシュの削除
ipv6 rc [インターフェイス番号 [IPv6アドレス]] netsh interface ipv6 showdestinationcache [[interface=]インターフェイス名][[address=]IPv6アドレス] インターフェイスのルートキャッシュの表示
ipv6 rcf [インターフェイス番号 [アドレス]] netsh interface ipv6 deletedestinationcache [[interface=]インターフェイス名][[address=]IPv6アドレス] インターフェイスのルートキャッシュの削除
ipv6 [-v] rt netsh interface ipv6 show routes[[level=]{normal | verbose}][[store=]{active | persistent}] ルーティングテーブルの表示
ipv6 rtu プレフィックス インターフェイス番号[/IPv6アドレス] [lifetime 有効生存期間[/推奨生存期間]] [preference 優先度] [publish] [age] [spl サイトプレフィックス長] netsh interface ipv6 add route[prefix=]IPv6アドレス/プレフィックス[[interface=]インターフェイス名][[nexthop=]IPv6アドレス][[siteprefixlength=]サイトプレフィックス長][[metric=]メトリックス] [[publish=]{no | yes| immortal}] [[validlifetime=]{有効生存期間 |infinite}] [[preferredlifetime=]{推奨生存期間| infinite}] [[store=]{active |persistent}] ルーティングテーブルへのレコードの追加
ipv6 rtu プレフィックス インターフェイス番号[/IPv6アドレス] lifetime 0 [/推奨生存期間]] [preference 優先度] [publish] [age] [spl サイトプレフィックス長] netsh interface ipv6 delete route[prefix=]IPv6アドレス/プレフィックス[[interface=]インターフェイス名][[nexthop=]IPv6アドレス] ルーティングテーブルからレコードの削除
ipv6 gp netsh interface ipv6 show global[[store=]{active | persistent}] IPv6のグローバルパラメータの表示
ipv6 renew [インターフェイス番号] netsh interface ipv6 renew[[interface=]インターフェイス名] IPv6設定の更新
表3 主なipv6コマンドと対応するnetshコマンド