mirror of https://github.com/ansible/ansible.git
ios_facts: Gather CDP neighbor data (#49129)
* ios_facts: Gather CDP neighbor data * ios_facts: Create tests for ansible_net_neighborspull/49333/head
parent
a51eca364f
commit
a914f494a8
@ -0,0 +1,4 @@
|
||||
Global CDP information:
|
||||
Sending CDP packets every 60 seconds
|
||||
Sending a holdtime value of 180 seconds
|
||||
Sending CDPv2 advertisements is enabled
|
@ -0,0 +1,40 @@
|
||||
-------------------------
|
||||
Device ID: R2
|
||||
Entry address(es):
|
||||
IP address: 10.0.0.3
|
||||
Platform: cisco CSR1000V, Capabilities: Router IGMP
|
||||
Interface: GigabitEthernet1, Port ID (outgoing port): GigabitEthernet2
|
||||
Holdtime : 149 sec
|
||||
|
||||
Version :
|
||||
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.4, RELEASE SOFTWARE (fc3)
|
||||
Technical Support: http://www.cisco.com/techsupport
|
||||
Copyright (c) 1986-2018 by Cisco Systems, Inc.
|
||||
Compiled Sun 08-Jul-18 04:30 by mcpre
|
||||
|
||||
advertisement version: 2
|
||||
Duplex: full
|
||||
Management address(es):
|
||||
IP address: 10.0.0.3
|
||||
|
||||
-------------------------
|
||||
Device ID: R3
|
||||
Entry address(es):
|
||||
IP address: 10.0.0.4
|
||||
Platform: cisco CSR1000V, Capabilities: Router IGMP
|
||||
Interface: GigabitEthernet1, Port ID (outgoing port): GigabitEthernet3
|
||||
Holdtime : 149 sec
|
||||
|
||||
Version :
|
||||
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.4, RELEASE SOFTWARE (fc3)
|
||||
Technical Support: http://www.cisco.com/techsupport
|
||||
Copyright (c) 1986-2018 by Cisco Systems, Inc.
|
||||
Compiled Sun 08-Jul-18 04:30 by mcpre
|
||||
|
||||
advertisement version: 2
|
||||
Duplex: full
|
||||
Management address(es):
|
||||
IP address: 10.0.0.4
|
||||
|
||||
|
||||
Total cdp entries displayed : 2
|
@ -0,0 +1,6 @@
|
||||
|
||||
Global LLDP Information:
|
||||
Status: ACTIVE
|
||||
LLDP advertisements are sent every 30 seconds
|
||||
LLDP hold time advertised is 120 seconds
|
||||
LLDP interface reinitialisation delay is 2 seconds
|
@ -0,0 +1,50 @@
|
||||
------------------------------------------------
|
||||
Local Intf: Gi1
|
||||
Chassis id: 001e.14d4.5300
|
||||
Port id: Gi3
|
||||
Port Description: GigabitEthernet3
|
||||
System Name: R3
|
||||
|
||||
System Description:
|
||||
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.4, RELEASE SOFTWARE (fc3)
|
||||
Technical Support: http://www.cisco.com/techsupport
|
||||
Copyright (c) 1986-2018 by Cisco Systems, Inc.
|
||||
Compiled Sun 08-Jul-18 04:30 by
|
||||
|
||||
Time remaining: 116 seconds
|
||||
System Capabilities: B,R
|
||||
Enabled Capabilities: R
|
||||
Management Addresses:
|
||||
IP: 10.0.0.4
|
||||
Auto Negotiation - not supported
|
||||
Physical media capabilities - not advertised
|
||||
Media Attachment Unit type - not advertised
|
||||
Vlan ID: - not advertised
|
||||
|
||||
------------------------------------------------
|
||||
Local Intf: Gi3
|
||||
Chassis id: 001e.e6c9.6d00
|
||||
Port id: Gi1
|
||||
Port Description: GigabitEthernet1
|
||||
System Name: Rtest
|
||||
|
||||
System Description:
|
||||
Cisco IOS Software [Everest], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.4, RELEASE SOFTWARE (fc3)
|
||||
Technical Support: http://www.cisco.com/techsupport
|
||||
Copyright (c) 1986-2018 by Cisco Systems, Inc.
|
||||
Compiled Sun 08-Jul-18 04:30 by
|
||||
|
||||
Time remaining: 116 seconds
|
||||
System Capabilities: B,R
|
||||
Enabled Capabilities: R
|
||||
Management Addresses:
|
||||
IP: 10.3.0.3
|
||||
Auto Negotiation - not supported
|
||||
Physical media capabilities - not advertised
|
||||
Media Attachment Unit type - not advertised
|
||||
Vlan ID: - not advertised
|
||||
|
||||
|
||||
Total entries displayed: 2
|
||||
|
||||
|
Loading…
Reference in New Issue