Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix not advertised vlan #1114

Merged
merged 2 commits into from
Apr 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Value VLAN ([0-9]+)


Start
^.*not advertised
^[Cc]hassis\s[idID]{2}\:\s${CHASSIS_ID}$$
^[Pp]ort\s[idID]{2}\:\s${NEIGHBOR_INTERFACE}$$
^[Ll]ocal\s[Pp]ort\s[idID]{2}\:\s${LOCAL_INTERFACE}$$
Expand All @@ -18,3 +17,4 @@ Start
^[Ee]nabled\s[Cc]apabilities\:\s${CAPABILITIES}$$
^[Mm]anagement\s[Aa]ddress\:\s${MGMT_ADDRESS}$$
^[Vv]lan\s[idID]{2}\:\s${VLAN}$$ -> Record
^[Vv]lan\s[idID]{2}\:\snot advertised -> Record
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID

Chassis id: 3473.2d00.0001
Port id: Ethernet1/52
Local Port id: Eth1/52
Port Description: SW-NEXUS-UPLINK
System Name: SW-NEXUS
System Description: Cisco Nexus Operating System (NX-OS) Software 9.3(8)
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2021, Cisco Systems, Inc. All rights reserved.
Time remaining: 97 seconds
System Capabilities: B, R
Enabled Capabilities: B, R
Management Address: 192.168.1.2
Management Address IPV6: not advertised
Vlan ID: not advertised


Chassis id: 24a9.3700.0001
Port id: 1a51.4800.0001
Local Port id: Eth101/1/10
Port Description: eth0
System Name: pure-storage
System Description: FlashArray FA-X20R3 pure-storage
Time remaining: 3 seconds
System Capabilities: B, W, R, S
Enabled Capabilities: B
Management Address: not advertised
Management Address IPV6: not advertised
Vlan ID: 0

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
parsed_sample:
- neighbor: "SW-NEXUS"
local_interface: "Eth1/52"
neighbor_interface: "Ethernet1/52"
chassis_id: "3473.2d00.0001"
mgmt_address: "192.168.1.2"
system_description: "Cisco Nexus Operating System (NX-OS) Software 9.3(8)"
capabilities: "B, R"
vlan: ""
- neighbor: "pure-storage"
local_interface: "Eth101/1/10"
neighbor_interface: "1a51.4800.0001"
chassis_id: "24a9.3700.0001"
mgmt_address: ""
system_description: "FlashArray FA-X20R3 pure-storage"
capabilities: "B"
vlan: "0"