Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Goes = &goes.Goes{ NAME: "link", USAGE: ` ip link [ COMMAND[ OPTION... ]] COMMAND := {add | change | counters | delete | replace | set | show(default)}`, APROPOS: lang.Alt{ lang.EnUS: "network device configuration", }, MAN: lang.Alt{ lang.EnUS: ` EXAMPLES ip link set dev ppp0 mtu 1400 Change the MTU the ppp0 device. ip link add link eth0 name eth0.10 type vlan id 10 Creates a new vlan device eth0.10 on device eth0. ip link delete dev eth0.10 Removes vlan device. ip link help gre Display help for the gre link type. ip link add name tun1 type ipip remote 192.168.1.1 local 192.168.1.2 \ ttl 225 encap gue encap-sport auto encap-dport 5555 \ encap-csum encap-remcsum Creates an IPIP that is encapsulated with Generic UDP Encapsula‐ tion, and the outer UDP checksum and remote checksum offload are enabled. ip link add link wpan0 lowpan0 type lowpan Creates a 6LoWPAN interface named lowpan0 on the underlying IEEE 802.15.4 device wpan0. SEE ALSO ip link man COMMAND || ip link COMMAND -man man ip || ip -man`, }, ByName: map[string]cmd.Cmd{ "add": add.Goes, "change": mod.Command("change"), "counters": counters.Command{}, "delete": delete.Command{}, "replace": mod.Command("replace"), "set": mod.Command("set"), "show": show.Command("show"), "": show.Command(""), }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.