Chapter3NDPConguration
<route-lifetime>:routelifetime,unit:second,range:0–4294967295,default:
4294967295second.
<route-preference>:routepriority,range:0–3,default:0.
3.Addastaticentrytotheneighborbuffertable.
CommandFunction
ZXR10(config-if-interface-name)#nd6add
<ipv6-address><hardware-address>
Addsastaticentrytothe
neighborcachetable.
ZXR10(config-if-supervlan)#nd6add<ipv6-address><h
ardware-address><interface>
Addsastaticentryinthe
neighborcachetableonthe
supervlaninterface.
<ipv6-address>:destinationaddressintheneighborcachetable.
<hardware-address>:hardwareaddressofthedestinationaddressintheneighbor
cachetable,consistingofthreegroupsof16-bitvalues,separatedby".".
<interface>:speciesthesubvlaninterface.Thisvalueisvisibleonlyinsupervlan
interfacemodeandmustbecongured.
4.Verifythecongurations.
CommandFunction
ZXR10#shownd6cache[<interface-name>]DisplaysinformationfromtheIPv6neighborcache
table.Ifaninterfaceisadded,onlytheneighbor
cacheentriesofthisinterfacearedisplayed.
Thedisplayresultsshownotonlytheentries
generatedbytheNDprotocolfortheroutesto
neighborsbutalsostaticneighborcacheentries.
5.MaintainNDP .
CommandFunction
ZXR10(config-if-interface-name)#nd6delete
<ipv6-address>
Deletesastaticentryfromthe
neighborcachetable.
ZXR10#clearnd-cache[<interface-name>]Clearsalldynamicentriesfrom
theIPv6neighborcachetableif
nointerfacenameisspecied.
Clearthedynamicentriesofthe
interfacefromtheIPv6neighbor
cachetableifaninterfacename
isspecied.Thiscommandcan
beusedonlyinprivilegedmode.
3-5
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential