RHEL 7 Network Manager how to check the network devices

1.How to check the network card status in RHEL 7 :
[root@nirvana ~]# nmcli dev status
DEVICE  TYPE      STATE      CONNECTION
eth0    ethernet  connected  eno2
lo      loopback  unmanaged  --  

Red Hat Enterprise 7 has concept of network connections associated with network card, network card can have multiple connections but only one connection will be active, see below :

2. Check the network card connections

[root@nirvana ~]#nmcli con show
NAME UUID TYPE DEVICE
eno2 a0d50790-5cc2-443a-bf51-71b3b8994ac6 802-3-ethernet eth0

3. Check only active connections in RHEL 7:

[root@nirvana ~]# nmcli con show –active
NAME UUID TYPE DEVICE
eno2 a0d50790-5cc2-443a-bf51-71b3b8994ac6 802-3-ethernet eth0

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s