TTEP.CN > 手机 >

Windows Server 2003添加IPv6路由

Windows Server 2003添加IPv6路由

打开“命令提示符”。

在命令提示符下键入 netsh,然后按 Enter。

键入 interface ipv6,然后按 Enter。

键入 add route [prefix=]IPv6Address/Integer [[interface=]String] [[nexthop=]IPv6Address] [[siteprefixlength=]Integer] [[metric=]Integer] [[publish=]{no | yes | immortal}] [[validlifetime=]{Integer | infinite}] [[preferredlifetime=]{Integer | infinite}] [[store=]{active | persistent}]

其中:
[ prefix=]IPv6Address/Integer
必需。指定要添加路由的前缀。Integer 指定前缀的长度。
[[ interface=]String]
指定接口名称或索引。
[[ nexthop=]IPv6Address]
指定网关地址(如果前缀不在链路上)。
[[ siteprefixlength=]Integer]
指定整个站点的前缀长度(如果前缀不在链路上)。
[[ metric=]Integer]
指定路由指标。
[[ publish=]{no | yes | immortal}]
指定路由在“路由通告”中是进行通告 (yes)、进行无限生存期通告 (immortal) 还是不通告 (no)。默认选择为 no。
[[ validlifetime=]{Integer | infinite}]
指定有效路由的生存期。默认值为 infinite。
[[ preferredlifetime=]{Integer | infinite}]
指定首选路由的生存期。默认值为 infinite。
[[ store=]{active | persistent}]
指定更改是仅持续到下次启动为止 (active),还是永久性更改 (persistent)。默认选择为 persistent。
注意
若要打开命令提示符,请单击“开始”,依次指向“所有程序”、“附件”,然后单击“命令提示符”。



最近发表
赞助商链接