| 1 |
Value Required LOCAL_INTERFACE (\S+) |
| 2 |
Value CHASSIS_ID (.+?) |
| 3 |
Value MANUFACTURER_NAME (.*?) |
| 4 |
Value MODEL_NAME (.*?) |
| 5 |
Value NEIGHBOR_PORT_ID (.*?) |
| 6 |
Value NEIGHBOR_INTERFACE (.*?) |
| 7 |
Value NEIGHBOR (.+?) |
| 8 |
Value List SYSTEM_DESCRIPTION (.*) |
| 9 |
Value CAPABILITIES (.*?) |
| 10 |
Value MANAGEMENT_IP (\S+) |
| 11 |
Value VLAN (\d+) |
| 12 |
Value SERIAL (\S+) |
| 13 |
|
| 14 |
Start |
| 15 |
^${LOCAL_INTERFACE}\s+has\s+\d+\s+neighbors:$$ |
| 16 |
^\S+\s+has\s+\d+\s+neighbors |
| 17 |
^Neighbor\s+index |
| 18 |
^Chassis\s+type |
| 19 |
^Chassis\s+ID\s+:${CHASSIS_ID}$$ |
| 20 |
^Port\s+ID\s+type |
| 21 |
^Port\s+ID\s+:${NEIGHBOR_PORT_ID}\s*$$ |
| 22 |
^Port\s+description\s+:${NEIGHBOR_INTERFACE}\s*$$ |
| 23 |
^System\s+name\s+:${NEIGHBOR}\s*$$ |
| 24 |
^System\s+description\s+:${SYSTEM_DESCRIPTION} -> SystemDescription |
| 25 |
^System\s+capabilities\s+supported |
| 26 |
^System\s+capabilities\s+enabled\s+:${CAPABILITIES}\s*$$ |
| 27 |
^Management\s+address\s+type |
| 28 |
^Management\s+address\s*:\s*${MANAGEMENT_IP} |
| 29 |
^Expired\s+time |
| 30 |
^Port\s+VLAN\s+ID\(PVID\)\s+:${VLAN} |
| 31 |
^VLAN\s+name\s+of\s+VLAN |
| 32 |
^Protocol\s+identity |
| 33 |
^Auto-negotiation |
| 34 |
^OperMau |
| 35 |
^Power |
| 36 |
^PSE |
| 37 |
^Port\s+power |
| 38 |
^Link\s+aggregation |
| 39 |
^Aggregation |
| 40 |
^Maximum\s+frame\s+Size |
| 41 |
^MED\s+Device\s+information -> MED |
| 42 |
^\s*$$ |
| 43 |
^. -> Error |
| 44 |
|
| 45 |
SystemDescription |
| 46 |
^${SYSTEM_DESCRIPTION} -> IgnoreDescription |
| 47 |
|
| 48 |
IgnoreDescription |
| 49 |
^System\s+capabilities\s+supported -> Start |
| 50 |
^${SYSTEM_DESCRIPTION} |
| 51 |
^\s*$$ |
| 52 |
^.*$$ -> Error |
| 53 |
|
| 54 |
MED |
| 55 |
^Device\s+class |
| 56 |
^HardwareRev |
| 57 |
^FirmwareRev |
| 58 |
^SoftwareRev |
| 59 |
^SerialNum\s+:${SERIAL} |
| 60 |
^Manufacturer\s+name\s+:${MANUFACTURER_NAME}\s*$$ |
| 61 |
^Model\s+name\s+:${MODEL_NAME}\s*$$ |
| 62 |
^Asset\s+tracking |
| 63 |
^Media\s+policy\s+type |
| 64 |
^Unknown\s+Policy |
| 65 |
^VLAN\s+tagged |
| 66 |
^Media |
| 67 |
^Power |
| 68 |
^PoE |
| 69 |
^Port\s+PSE\s+Priority |
| 70 |
^Port\s+Available\s+power |
| 71 |
^Location\s+format |
| 72 |
^Location\s+information |
| 73 |
^Ca |
| 74 |
^\S+\s+has\s+\d+\s+neighbors -> Record Start |
| 75 |
^\s*$$ |
| 76 |
^. -> Error |