On Tue, 14 Jul 2015 13:43:22 -0700
anurad...@cumulusnetworks.com wrote:

> From: Anuradha Karuppiah <anurad...@cumulusnetworks.com>
> 
> This patch adds support to set and display protodown on a switch port. The
> switch driver can handle this error state by doing a phys down on the port.
> 
> One example user space application setting this flag is a multi-chassis
> LAG application to handle split-brain situation on peer-link failure.
> 
> Example:
> root@net-next:~# ip link set eth1 protodown on
> root@net-next:~/iproute2# ip link show eth1
> 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
> group default qlen 1000
>     link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff protodown on
> root@net-next:~/iproute2# ip link set eth1 protodown off
> root@net-next:~/iproute2# ip link show eth1
> 4: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT 
> group default qlen 1000
>     link/ether 52:54:00:12:35:01 brd ff:ff:ff:ff:ff:ff
> root@net-next:~/iproute2#
> 
> Signed-off-by: Anuradha Karuppiah <anurad...@cumulusnetworks.com>
> Signed-off-by: Andy Gospodarek <go...@cumulusnetworks.com>
> Signed-off-by: Roopa Prabhu <ro...@cumulusnetworks.com>
> Signed-off-by: Wilson Kok <w...@cumulusnetworks.com>

Applied to net-next branch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to