Skip to content
Ask AI

IPv6 Configuration

[Command] show ipv6 interfaces

[Purpose] View IPv6 address information

[View] System view

[Notes] The physical state of the interface is admin.

[Use Cases]

sonic# show ipv6 interfaces
Interface Master IPv6 address/mask Admin/Oper
--------- -------- ------------------- ------------
vlan43 FD00:43::1/112 up/up

[Command] show ndp show ndp ipv6-addressA::B **show ndp ipv6 iface {mgmt|ethernet}**interface-name

[Purpose] View IPv6 neighbor table entry information

[View] System view

[Use Cases]

sonic# show ndp
Address MacAddress Iface Vlan Status
---------------------- ----------------- ---------- ------ ---------
2022::9300 18:17:25:37:65:08 Ethernet5 - REACHABLE
2022::9310 18:17:25:37:67:22 Ethernet4 - REACHABLE
fd00:400::ae2b 94:e6:f7:25:3b:3b Ethernet11 400 REACHABLE

[Command] ip addressA::B/mask no ip addressA::B/mask

[Purpose] Specify the IPv6 address of the interface

[Parameter]

ParameterDescription
A::B/maskTotal length is 128 bits in the format x:x:x:x/x

[View] Interface view

[Use Cases]

sonic# configure terminal
sonic(config)# vlan 100
sonic(config-vlanif-100)# ip address fd00::1000/64