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/

1 comment:

  1. Thanks for sharing this information,this is useful to us.It is amazing and wonderful to visit your site. Other wise if any one want to learn linux Get a free demo call on 9311002620 or visit :- https://htsindia.com/Courses/modular-courses/redhat-linux-administration-training-course

    ReplyDelete