从路由表中移除 IPv4/IPv6 静态路由。
要移除 IPv4/IPv6 地址的静态路由:
- 在“主会话”模式下,输入 configure network 并按 ENTER。
- 输入 remove static-route <ipv4|ipv6network_segment/netmask>--><ipv4|ipv6address> 并按ENTER。移除静态路由时,使用空格键自动完成网段和 via-address。
- 输入 save 并按 ENTER。管理控制台将保存设置。
IPv4 示例:
Proteus> configure network
Proteus:configure:network> remove static-route 10.10.10.5/32-->
192.168.1.10
Proteus:configure:network> save
IPv6 示例:Adonis> configure network
Adonis:configure:network> remove static-route 2001:db8::AC10:FE01/64-->
2001:db8::1
Adonis:configure:network> save