]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lldpcli: document `configure lldp portidsubtype` command
authorVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:31:34 +0000 (17:31 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 21 May 2014 15:31:34 +0000 (17:31 +0200)
src/client/lldpcli.8.in

index e7f1ac4a3ae4359d29391a3cd6f57c04a68c4971..013b4dc57b005e32994c1c1e3cb812ac805ed279 100644 (file)
@@ -230,6 +230,22 @@ want to blacklist IPv6 addresses, you can use
 .Em !*:* .
 .Ed
 
+.Cd configure
+.Cd portidsubtype ifname
+.Cd ifname | macaddress
+.Bd -ragged -offset XXXXXX
+Force port ID subtype. By default,
+.Nm
+will use the MAC address as port identifier and the interface name as
+port description, unless the interface has an alias. In this case, the
+interface name will be used as port identifier and the description
+will be the interface alias. With this command, you can force the port
+identifier to be the interface name (with
+.Cd ifname )
+or the MAC address (with
+.Cd macaddress ) .
+.Ed
+
 .Cd configure
 .Cd lldp tx-interval Ar interval
 .Bd -ragged -offset XXXXXX