Skip to content

Commit

Permalink
fix not advertised vlan (networktocode#1114)
Browse files Browse the repository at this point in the history
fix not advertised vlan
  • Loading branch information
dainok authored Apr 9, 2022
1 parent 6a2c55d commit 62858ff
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 1 deletion.
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"

0 comments on commit 62858ff

Please sign in to comment.