ܼ

LinuxLLDPlldpdפ˴ޤޤ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
    -------------------------------------------------------------------------------

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2016-10-07 () 01:23:37 (2137d)