5 Show Hardware-Interfaces
6 ========================
7 Display more detailed information about all or a list of given
8 interfaces. The verboseness of the output can be controlled by the
9 following optional parameters:
11 - brief: Only show name, index and state (default for bonded
13 - verbose: Also display additional attributes (default for all other
15 - detail: Also display all remaining attributes and extended
18 **To limit the output of the command to bonded interfaces and their
19 slave interfaces, use the '*bond*' optional parameter.**
26 show hardware-interfaces [brief|verbose|detail] [bond] [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]].
30 Example of how to display default data for all interfaces:
32 .. code-block:: console
34 vpp# show hardware-interfaces
35 Name Idx Link Hardware
36 GigabitEthernet7/0/0 1 up GigabitEthernet7/0/0
37 Ethernet address ec:f4:bb:c0:bc:fc
39 carrier up full duplex speed 1000 mtu 9216
40 rx queues 1, rx desc 1024, tx queues 3, tx desc 1024
42 GigabitEthernet7/0/1 2 up GigabitEthernet7/0/1
43 Ethernet address ec:f4:bb:c0:bc:fd
45 carrier up full duplex speed 1000 mtu 9216
46 rx queues 1, rx desc 1024, tx queues 3, tx desc 1024
48 VirtualEthernet0/0/0 3 up VirtualEthernet0/0/0
49 Ethernet address 02:fe:a5:a9:8b:8e
50 VirtualEthernet0/0/1 4 up VirtualEthernet0/0/1
51 Ethernet address 02:fe:c0:4e:3b:b0
52 VirtualEthernet0/0/2 5 up VirtualEthernet0/0/2
53 Ethernet address 02:fe:1f:73:92:81
54 VirtualEthernet0/0/3 6 up VirtualEthernet0/0/3
55 Ethernet address 02:fe:f2:25:c4:68
59 Example of how to display '*verbose*' data for an interface by name and software index (where 2 is the software index):
61 .. code-block:: console
63 vpp# show hardware-interfaces GigabitEthernet7/0/0 2 verbose
64 Name Idx Link Hardware
65 GigabitEthernet7/0/0 1 up GigabitEthernet7/0/0
66 Ethernet address ec:f4:bb:c0:bc:fc
68 carrier up full duplex speed 1000 mtu 9216
69 rx queues 1, rx desc 1024, tx queues 3, tx desc 1024
71 GigabitEthernet7/0/1 2 down GigabitEthernet7/0/1
72 Ethernet address ec:f4:bb:c0:bc:fd
74 carrier up full duplex speed 1000 mtu 9216
75 rx queues 1, rx desc 1024, tx queues 3, tx desc 1024
78 Clear Hardware-Interfaces
79 =========================
81 Clear the extended statistics for all or a list of given interfaces
82 (statistics associated with the '*show hardware-interfaces*' command).
90 clear hardware-interfaces [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]].
96 Example of how to clear the extended statistics for all interfaces:
99 .. code-block:: console
101 vpp# clear hardware-interfaces
103 Example of how to clear the extended statistics for an interface by name and software index (where 2 is the software index):
105 .. code-block:: console
107 vpp# clear hardware-interfaces GigabitEthernet7/0/0 2