vdptool command examples

vdptool command examples

vdptool – manage the VSI associations and status of lldpad

Display process identifier of lldpad

#vdptool -p

Create a VSI association on interface eth2

#vdptool -i eth2 -T -V assoc -c mode=assoc -c mgrid2=blabla \
-c typeid=5 -c uuid=1122 -c typeidver=4 -c hints=none \
-c filter=2-52:00:00:11:22:33-200

Create a VSI association on interface eth2 and wait for the response from the bridge

#vdptool -i eth2 -T -W -V assoc -c mode=assoc -c mgrid2=blabla \
-c typeid=5 -c uuid=1122 -c typeidver=4 -c hints=none \
-c filter=0-52:00:00:11:22:33-200

Create a VSI association on interface eth2 wth OUI parameters and wait for the response from the bridge

#vdptool -i eth2 -T -W -V assoc -c mode=assoc -c mgrid2=blabla \
-c typeid=5 -c uuid=1122 -c typeidver=4 -c hints=none \
-c filter=0-52:00:00:11:22:33-200 -c oui=CompanyA,data

Create a VSI association on interface eth2 wth multiple OUI parameters and wait for the response from the bridge

#vdptool -i eth2 -T -W -V assoc -c mode=assoc -c mgrid2=blabla \
-c typeid=5 -c uuid=1122 -c typeidver=4 -c hints=none \
-c filter=0-52:00:00:11:22:33-200 -c oui=CompanyA,data \
-c oui=CompanyB,data

Query all VSI association on interface eth2

#vdptool -i eth2 -t -V assoc

Query VSI association on interface eth2 that matches specific VSI parameters. Any of the VSI parameters below can be omitted.

vdptool -i eth2 -t -V assoc -t -V assoc -c mode=assoc \
-c mgrid2=blabla -c typeid=5 -c uuid=1122 \
-c typeidver=4 -c hints=none

 

Leave a Reply

Your email address will not be published. Required fields are marked *