-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added template for Extreme EXOS
show fdb
(#1932)
- Loading branch information
Showing
4 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Value MAC_ADDRESS (\S+) | ||
Value VLAN_NAME (\S+) | ||
Value VLAN_ID (\d+) | ||
Value AGE (\d+) | ||
Value INTERFACE (\S+(\s+\S+)*) | ||
|
||
Start | ||
^MAC\s+VLAN\s+Name\s*\(\s*Tag\s*\)\s+Age\s+Flags\s+Port\s+\/\s+Virtual\s+Port\s+List -> Start_record | ||
^. -> Error | ||
|
||
Start_record | ||
^\s*-+\s*$$ | ||
^${MAC_ADDRESS}\s+${VLAN_NAME}\(0*${VLAN_ID}\)\s+0*${AGE}\D+${INTERFACE}\s*$$ -> Record | ||
^\s*Flags\s+: | ||
^\s*x\s+-\s+IPX | ||
^\s*b\s+-\s+Ingress\s+Blackhole | ||
^\s*D\s+-\s+drop\s+packet | ||
^\s*S\s+-\s+Software\s+Controlled\s+Deletion | ||
^\s*X\s+-\s+VXLAN | ||
^\s*Total: | ||
^\s*FDB\s+Aging\s+time: | ||
^\s*$$ | ||
^. -> Error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
MAC VLAN Name( Tag) Age Flags Port / Virtual Port List | ||
------------------------------------------------------------------------------------------------------ | ||
00:0c:29:4b:34:cf v101(0101) 0041 d m D 1:2 | ||
00:0c:29:4b:34:cf v100(0100) 0041 d m P 1:2 | ||
00:0c:29:d2:2d:48 v102(0102) 0045 d miM 1:3, 1:45 | ||
00:0c:29:d2:2d:48 v100(0100) 0045 d m P 1:3 | ||
00:0c:29:f1:f2:f5 v100(0100) 0045 d miM 1:51:1, 1:45 | ||
00:0c:29:f1:f2:f5 v102(0102) 0045 d m P 1:1 | ||
00:0c:29:f1:f2:f5 v101(0101) 0000 d m P 1:1 | ||
|
||
Flags : d - Dynamic, s - Static, p - Permanent, n - NetLogin, m - MAC, i - IP, | ||
x - IPX, l - lockdown MAC, L - lockdown-timeout MAC, M- Mirror, B - Egress Blackhole, | ||
b - Ingress Blackhole, v - MAC-Based VLAN, P - Private VLAN, T - VLAN translation, | ||
D - drop packet, h - Hardware Aging (Age=0), o - IEEE 802.1ah Backbone MAC, | ||
S - Software Controlled Deletion, r - MSRP, | ||
X - VXLAN, E - EVPN | ||
|
||
Total: 3 Static: 0 Perm: 0 Dyn: 3 Dropped: 1 Locked: 0 Locked with Timeout: 0 | ||
FDB Aging time: 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
parsed_sample: | ||
- age: "41" | ||
interface: "1:2" | ||
mac_address: "00:0c:29:4b:34:cf" | ||
vlan_id: "101" | ||
vlan_name: "v101" | ||
- age: "41" | ||
interface: "1:2" | ||
mac_address: "00:0c:29:4b:34:cf" | ||
vlan_id: "100" | ||
vlan_name: "v100" | ||
- age: "45" | ||
interface: "1:3, 1:45" | ||
mac_address: "00:0c:29:d2:2d:48" | ||
vlan_id: "102" | ||
vlan_name: "v102" | ||
- age: "45" | ||
interface: "1:3" | ||
mac_address: "00:0c:29:d2:2d:48" | ||
vlan_id: "100" | ||
vlan_name: "v100" | ||
- age: "45" | ||
interface: "1:51:1, 1:45" | ||
mac_address: "00:0c:29:f1:f2:f5" | ||
vlan_id: "100" | ||
vlan_name: "v100" | ||
- age: "45" | ||
interface: "1:1" | ||
mac_address: "00:0c:29:f1:f2:f5" | ||
vlan_id: "102" | ||
vlan_name: "v102" | ||
- age: "0" | ||
interface: "1:1" | ||
mac_address: "00:0c:29:f1:f2:f5" | ||
vlan_id: "101" | ||
vlan_name: "v101" |