API Guide
Identifier GUID-FF4FD46D-EB21-4B11-BF63-1B39E41BF488
Version 6
Status Translation approved
查看 IPv6 信息
要查看 IPv6 的配置信息,请使用 show ipv6 route 命令。要查看 IPv6 地址信息,请使用 show address ipv6 命令。
查看 IPv6 连接的信息
OS10# show ipv6 route connected
Codes: C - connected
S - static
B - BGP, IN - internal BGP, EX - external BGP
O - OSPF,IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
-----------------------------------------------------------------
C 2001:db86::/32 via 2001:db86:fff::1 ethernet1/1/1 0/0 00:03:24
查看 IPv6 静态信息
OS10# show ipv6 route static
Codes: C - connected
S - static
B - BGP, IN - internal BGP, EX - external BGP
O - OSPF,IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
------------------------------------------------------------------
S 2111:dddd:eee::22/12via 2001:db86:fff::2 ethernet1/1/1 1/1 00:01:24
Identifier
GUID-077E129F-1D9E-4256-B8B8-8D25B50D5778
Version 4
Status Translation approved
IPv6 命令
Identifier
GUID-8ED55961-7973-4C2D-A60D-905C99C5DC0D
Version 3
Status Translation approved
clear ipv6 neighbors
删除 IPv6 邻居发现高速缓存中的所有条目或特定接口的邻居。静态条目不会移除。
语法
clear ipv6 neighbors [vrf vrf-name] [ipv6-address | interface | virtual-network
vn-id | all]
参数
• vrf vrf-name —(可选)输入 vrf 和 VRF 的名称,以清除与该 VRF 对应的邻居。如果未指定此选
项,则默认 VRF 中的邻居将清除。
• ipv6-address — 以 x:x:x:x::x 格式输入邻居的 IPv6 地址,以移除特定的 IPv6 邻居。:: 表示法指定零的
连续十六进制字段。
• interface interface — 要移除在特定接口上学习的所有邻居条目,请输入关键字接口,然后是接口
类型和接口的插槽/端口或号码信息:
• 对于 10 Gb 以太网接口,输入 TenGigabitEthernet,然后输入插槽/端口/子端口[/子端口]信息。
• 对于 40 Gb 以太网接口,输入 fortyGigE,然后输入插槽/端口信息。
• 对于端口通道接口,输入 port-channel,然后输入数字。
• 对于 VLAN 接口,输入 vlan,然后输入 1 到 4093 之间的某个数字。
• virtual-network vn-id — 对于虚拟网络,输入 virtual-network 和网络的 ID。
默认 无。
第 3 层 621