home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show interfaces

Displays information about system interfaces.

show interfaces [ counters | detail | system [ enabled ] ]

Displays information for all interfaces configured on the system.

counters
Displays kernel counter information about all the interfaces available on your system.
detail
Displays detailed information about all the interfaces available on your system.
system
Displays all the physical interfaces available on your system.
enabled
Displays only enabled system interfaces known to the operating system kernel.

Operational mode

Use this command to view configuration information and operational status for interfaces and virtual interfaces.

When used with no option, this command displays information for all interfaces configured on the system. You can see specific information by using other versions of this command.

To see all the physical interfaces known to the operating system kernel, use the system option. This option differs from the other versions of this command; the other versions show interfaces that have been configured on the system, while the system option shows all the physical interfaces available on your system (that is, the physical interfaces known to the operating system kernel).

The physical interfaces available to you determine which interfaces you are able to configure and view because you cannot configure or view an interface that does not physically exist on the system.

The following example shows how to display information for interfaces.

vyatta@R1:~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
dp0p2p1          192.168.122.30/24                 u/u
dp0p5p1          -                                 u/u
dp0p5p1.10       10.1.1.1/24                       u/u
dp0port2         -                                 A/D
lo               127.0.0.1/8                       u/u
                 ::1/128

The following example shows how to display detailed information for interfaces.

vyatta@R1:~$ show interfaces system enabled
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0
    RX: bytes  packets  errors  dropped overrun mcast
    70108352   432856   0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    70108352   432856   0       0       0       0
6: dp0p160p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 500
    link/ether 00:0c:29:2e:2a:d7 brd ff:ff:ff:ff:ff:ff promiscuity 0
    tun
    RX: bytes  packets  errors  dropped overrun mcast
    38258251   588550   0       190834  0       566086
    TX: bytes  packets  errors  dropped carrier collsns
    982191     11700    0       0       0       0
7: dp0p192p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 500
    link/ether 00:0c:29:2e:2a:e1 brd ff:ff:ff:ff:ff:ff promiscuity 0
    tun
    RX: bytes  packets  errors  dropped overrun mcast
    120        2        0       3       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    110        1        0       0       0       0
8: dp0p224p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 500
    link/ether 00:0c:29:2e:2a:eb brd ff:ff:ff:ff:ff:ff promiscuity 0
    tun
    RX: bytes  packets  errors  dropped overrun mcast
    120        2        0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    408        4        0       0       0       0
10: .spathintf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 500
    link/ether 72:09:8f:fd:1e:38 brd ff:ff:ff:ff:ff:ff promiscuity 0
    tun
    RX: bytes  packets  errors  dropped overrun mcast
    0          0        0       0       0       0
    TX: bytes  packets  errors  dropped carrier collsns
    408        4        0       0       0       0