home

Supported platforms

Vyatta NOS documentation

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

show interfaces loopback

Displays statistics and configuration information about configured loopback interfaces.

show interfaces loopback [ interface-name [ brief ] | detail ]

When used with no option, this command displays a brief status of the loopback interface.

interface-name
The name of a loopback interface, lo or lon, where n ranges from 1 through 99999.
brief
Displays a brief status of a loopback interface.
detail
Displays detailed information and statistics about all loopback interfaces.

Operational mode

Use this command to display information about loopback interfaces.

The following example shows how to display a brief status of a loopback interface.


 vyatta@R1:~$ show interfaces loopback lo2 brief
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
lo2              192.2.0.1/24                      u/u 

The following example shows how to display detailed information about a loopback interface.


 vyatta@R1:~$ show interfaces loopback lo2
lo2: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default 
    link/ether 62:32:92:61:c4:69 brd ff:ff:ff:ff:ff:ff
    inet 192.2.0.1/24 brd 192.2.0.255 scope global lo2
       valid_lft forever preferred_lft forever
    inet6 fe80::6032:92ff:fe61:c469/64 scope link 
       valid_lft forever preferred_lft forever

    RX:  bytes    packets     errors    ignored    overrun      mcast
             0          0          0          0          0          0
    TX:  bytes    packets     errors    dropped    carrier collisions
             0          0          0          0          0          0

The following example shows how to display detailed information about all loopback interfaces.


  vyatta@R1:~$ show interfaces loopback lo
lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet 192.0.0.1/24 brd 192.0.0.255 scope global lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

    RX:  bytes    packets     errors    ignored    overrun      mcast
       1058949       6632          0          0          0          0
    TX:  bytes    packets     errors    dropped    carrier collisions
       1058949       6632          0          0          0          0
lo2: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default 
    link/ether 62:32:92:61:c4:69 brd ff:ff:ff:ff:ff:ff
    inet 192.2.0.1/24 brd 192.2.0.255 scope global lo2
       valid_lft forever preferred_lft forever
    inet6 fe80::6032:92ff:fe61:c469/64 scope link 
       valid_lft forever preferred_lft forever
...