First, your question has nothing to do with bonding. Whatever you are seeing is 
true regardless of bonding configured or not.

Show interfaces displays the admin state of the interface. Whenever you set the 
admin state to up, it is displayed as up regardless of the physical carrier is 
up or down. While the admin state may be up, the physical carrier may be down.

Show hardware displays the physical state of the interface, carrier up or down. 
Admin state must be set to up prior to seeing the hardware carrier state to up.

Steven

From: <vpp-dev@lists.fd.io> on behalf of chetan bhasin 
<chetan.bhasin...@gmail.com>
Date: Sunday, April 19, 2020 at 11:40 PM
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] Query regarding bonding in Vpp 19.08

Hi,

I am using vpp 19.08 , When I use bonding configuration , I am seeing below 
output of "show int " CLI .
Query : Is it ok to show the status of slave interface as up in "show 
interface" CLI while as per the show hardware-interface its down ?

vpp# show
int
Name
Idx
State
MTU (L3/IP4/IP6/MPLS)
Counter
Count
BondEthernet0
3
up 9000/0/0/0
rx packets 12
BondEthernet0.811
4
up 0/0/0/0
rx packets 6
BondEthernet0.812
5
up 0/0/0/0
rx packets 6
device_5d/0/0
1
up 9000/0/0/0
rx packets 12
device_5d/0/1
2
up 9000/0/0/0
rx packets 17
rx bytes 1100
drops 14
local0 0
down 0/0/0/0

Thanks,
Chetan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16119): https://lists.fd.io/g/vpp-dev/message/16119
Mute This Topic: https://lists.fd.io/mt/73144225/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to