Ìܼ¡
³µÍ× †
Linux¸þ¤±¤ÎLLDP¼ÂÁõ¡Ölldpd¡×¤Ë´Þ¤Þ¤ì¤ëlldpcli¥³¥Þ¥ó¥É¤Î»ÈÍÑÎã¡£
»ÈÍÑÊýË¡ †
Àܳ¾õ¶·¤Î³Îǧ †
- ¥³¥Þ¥ó¥É¡ÊÁ´¤Æɽ¼¨¡Ë
lldpcli show neighbors
- ¥³¥Þ¥ó¥É¡Ê¥Ý¡¼¥È¤ò»ØÄê¡Ë
lldpcli show neighbors eth0,eth1
- ½ÐÎÏ·ë²Ì
------------------------------------------------------------------------------- LLDP neighbors: ------------------------------------------------------------------------------- Interface: eth0, via: LLDP, RID: 2, Time: 0 day, 02:16:54 Chassis: ChassisID: mac b0:7f:b9:4b:9c:80 SysName: CORE-SW01 SysDescr: GS724Tv4 ProSafe 24-port Gigabit Ethernet Smart Switch, 6.3.1.11, B1.0.0.4 MgmtIP: 192.168.xxx.xxx Capability: Bridge, on Capability: Router, off Port: PortID: local g1 PortDescr: g1 -------------------------------------------------------------------------------
¥Õ¥ì¡¼¥à¼õ¿®¾õ¶·¤Î³Îǧ †
- ¥³¥Þ¥ó¥É¡ÊÁ´¤Æɽ¼¨¡Ë
lldpcli show statistics
- ¥³¥Þ¥ó¥É¡Ê¥Ý¡¼¥È¤ò»ØÄê¡Ë
lldpcli show statistics eth0,eth1
- ½ÐÎÏ·ë²Ì
------------------------------------------------------------------------------- LLDP statistics: ------------------------------------------------------------------------------- Interface: eth0 Transmitted: 291 Received: 282 Discarded: 0 Unrecognized: 0 Ageout: 0 Inserted: 1 Deleted: 0 -------------------------------------------------------------------------------
- ¥³¥Þ¥ó¥É¡Ê¹ç·×ɽ¼¨¡Ë
lldpcli show statistics summary
- ½ÐÎÏ·ë²Ì
------------------------------------------------------------------------------- LLDP Global statistics: ------------------------------------------------------------------------------- Summary of stats: Transmitted: 2072 Received: 2292 Discarded: 0 Unrecognized: 0 Ageout: 0 Inserted: 6 Deleted: 0 -------------------------------------------------------------------------------
LLDPÀßÄê †
- ¥³¥Þ¥ó¥É
lldpcli show running-configuration
- ½ÐÎÏ·ë²Ì
------------------------------------------------------------------------------- Global configuration: ------------------------------------------------------------------------------- Configuration: Transmit delay: 30 Transmit hold: 4 Receive mode: no Pattern for management addresses: (none) Interface pattern: (none) Interface pattern for chassis ID: (none) Override description with: (none) Override platform with: (none) Advertise version: yes Update interface descriptions: no Disable LLDP-MED inventory: yes LLDP-MED fast start mechanism: yes LLDP-MED fast start interval: 1 -------------------------------------------------------------------------------
Last-modified: 2016-10-07 (¶â) 01:23:37 (3024d)