List NICs (network interface card) in a RHEL 7/ CentOS 7 server

Fig.01: List NICs in a CentOS 7 server using ip command

Fig.01: List NICs in a CentOS 7 server using ip command

Use the following command to list all interfaces on your CentOS or RHEL 7 server:
# ip a
Sample ouputs:

1: lo:  mtu 65536 qdisc noqueue state UNKNOWN 
    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
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth02:  mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:08:a2:0a:ba:b8 brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.203/24 brd 192.168.2.255 scope global dynamic eth02
       valid_lft 6704sec preferred_lft 6704sec
    inet6 fe80::208:a2ff:fe0a:bab8/64 scope link 
       valid_lft forever preferred_lft forever
3: eth03:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:08:a2:0a:ba:b9 brd ff:ff:ff:ff:ff:ff
4: eth04:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:08:a2:0a:ba:ba brd ff:ff:ff:ff:ff:ff
5: eth05:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:08:a2:0a:ba:bb brd ff:ff:ff:ff:ff:ff
6: eth01:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:08:a2:0a:ba:bc brd ff:ff:ff:ff:ff:ff
7: eth00:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 00:08:a2:0a:ba:bd brd ff:ff:ff:ff:ff:ff
8: wlan0:  mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 04:f0:21:1e:48:b9 brd ff:ff:ff:ff:ff:ff

You can use the following command too:
# nmcli -p dev
Sample outputs:

============================================
             Status of devices
============================================
DEVICE  TYPE      STATE         CONNECTION 
--------------------------------------------
eth02   ethernet  connected     eth0       
wlan0   wifi      disconnected  --         
eth00   ethernet  unavailable   --         
eth01   ethernet  unavailable   --         
eth03   ethernet  unavailable   --         
eth04   ethernet  unavailable   --         
eth05   ethernet  unavailable   --         
lo      loopback  unmanaged     --        

Examples and usage: How to configure a static IP address on CentOS 7 / RHEL 7