Tuesday, 6 January 2015

Some Amazing tips for networking with nmcli

When team interface is up you can check that how many interface is connected :
[root@localhost ~]# teamdctl  team0 state
setup:
runner: activebackup
ports:
ens6
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
ens7
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens6
[root@localhost ~]#
Note: Here two different ports are connected ens6 , ens7
To disconnect any ports :
=======================
[root@localhost ~]# nmcli  device  disconnect ens6
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# teamdctl  team0 state
setup:
runner: activebackup
ports:
ens7
link watches:
link summary: up
instance[link_watch_0]:
name: ethtool
link: up
runner:
active port: ens7

Article Source - http://www.rhce.co.in/amazing-tips-networking-nmcli/

No comments:

Post a Comment