Debian Codegraph @

ntc_templates/templates/brocade_fastiron_show_interfaces.textfsm

raw
1 Value interface ([a-zA-Z0-9\/\s]+)
2 Value Required intstate (up|down|disabled)
3 Value protostate (up|down)
4 Value stprootguard (enabled|disabled|Enabled|Disabled)
5 Value stpbpduguard (enabled|disabled|Enabled|Disabled)
6 Value hardwaretype ([a-zA-Z0-9\s]+)
7 Value mac ([0-9a-f\.]+)
8 Value bia ([0-9a-f\.]+)
9 Value confspeed ([0-9a-zA-Z]+)
10 Value confduplex ([0-9a-zA-Z]+)
11 Value actualspeed ([0-9a-zA-Z]+)
12 Value actualduplex ([0-9a-zA-Z]+)
13 Value l2portstate (Forwarding|Disabled|FORWARDING|DISABLED)
14 Value l2portmode (tagged|untagged|dual)
15 Value untaggedvlan (\d+)
16 Value numtaggedvlans (\d+)
17 Value stpconfstate (ON|OFF)
18 Value priority ([a-zA-Z0-9]+)
19 Value flowcontrolconfigstate (enabled|disabled)
20 Value flowcontrolopstate (enabled|disabled)
21 Value flowcontrolnegconfig (enabled|disabled)
22 Value mirrorstate (enabled|disabled)
23 Value monitorstate (enabled|disabled)
24 Value activelagports ([0-9\/\-\,]+)
25 Value activelagrole (primary|secondary)
26 Value activelagprimaryport ([0-9\/]+)
27 Value conflagports ([0-9\/\-\,]+)
28 Value conflagrole (primary|secondary)
29 Value conflagprimaryport ([0-9\/]+)
30 Value portname ([a-zA-Z0-9\.\ \"\(\)\#\/\-]+)
31 Value l2mtubytes (\d+)
32 Value loadinterval (\d+)
33 Value inputbitssec (\d+)
34 Value inputpacketssec (\d+)
35 Value inputpercentutilization ([\d\.]+)
36 Value outputbitssec (\d+)
37 Value outputpacketssec (\d+)
38 Value outputpercentutilization ([\d\.]+)
39 Value inputpacketstotal (\d+)
40 Value inputbytestotal (\d+)
41 Value inputnobuffers (\d+)
42 Value inputbroadcasts (\d+)
43 Value inputmulticasts (\d+)
44 Value inputunicasts (\d+)
45 Value inputerrors (\d+)
46 Value inputcrcerrors (\d+)
47 Value inputframeerrors (\d+)
48 Value inputignorederrors (\d+)
49 Value inputrunts (\d+)
50 Value inputgiants (\d+)
51 Value outputpacketstotal (\d+)
52 Value outputbytestotal (\d+)
53 Value outputunderruns (\d+)
54 Value outputbroadcasts (\d+)
55 Value outputmulticasts (\d+)
56 Value outputunicasts (\d+)
57 Value outputerrors (\d+)
58 Value outputcollisions (\d+)
59 Value relayagentinfo (Disabled|Enabled)
60 Value queue0queued (\d+)
61 Value queue0dropped (\d+)
62 Value queue1queued (\d+)
63 Value queue1dropped (\d+)
64 Value queue2queued (\d+)
65 Value queue2dropped (\d+)
66 Value queue3queued (\d+)
67 Value queue3dropped (\d+)
68 Value queue4queued (\d+)
69 Value queue4dropped (\d+)
70 Value queue5queued (\d+)
71 Value queue5dropped (\d+)
72 Value queue6queued (\d+)
73 Value queue6dropped (\d+)
74 Value queue7queued (\d+)
75 Value queue7dropped (\d+)
76
77
78 Start
79 ^\s+10Gig -> Continue.Record
80 ^(Gig|10Gig|40Gig|\s+10Gig) -> Continue.Record
81 ^\s*${interface} is ${intstate}, line protocol is ${protostate} -> Continue
82 ^\s+Hardware is ${hardwaretype}, address is ${mac} \(bia ${bia}\) -> Continue
83 ^\s+BPDU guard is ${stpbpduguard}, ROOT protect is ${stprootguard} -> Continue
84 ^\s+Configured speed ${confspeed}, actual ${actualspeed}, configured duplex ${confduplex}, actual ${actualduplex} -> Continue
85 ^\s+Member of L2 VLAN ID ${untaggedvlan}, port is ${l2portmode}, port state is ${l2portstate} -> Continue
86 ^\s+Member of ${numtaggedvlans} L2 VLANs, port is ${l2portmode} mode in Vlan ${untaggedvlan}, port state is ${l2portstate} -> Continue
87 ^\s+Member of ${numtaggedvlans} L2 VLANs, port is ${l2portmode}, port state is ${l2portstate} -> Continue
88 ^\s+port is in ${l2portmode} mode, port state is ${l2portstate} -> Continue
89 ^\s+STP configured to ${stpconfstate}, priority is ${priority} -> Continue
90 ^\s+Flow Control is config ${flowcontrolconfigstate}, oper ${flowcontrolopstate}, negotiation ${flowcontrolnegconfig} -> Continue
91 ^\s+Flow Control is ${flowcontrolconfigstate} -> Continue
92 ^\s+Mirror ${mirrorstate}, Monitor ${monitorstate} -> Continue
93 ^\s+Member of active trunk ports ${activelagports}, ${activelagrole} port, primary port is ${activelagprimaryport} -> Continue
94 ^\s+Member of configured trunk ports ${conflagports}, ${conflagrole} port, primary port is ${conflagprimaryport} -> Continue
95 ^\s+Member of active trunk ports ${activelagports}, ${activelagrole} port -> Continue
96 ^\s+Member of configured trunk ports ${conflagports}, ${conflagrole} port -> Continue
97 ^\s+Port name is ${portname} -> Continue
98 ^\s+MTU ${l2mtubytes} bytes -> Continue
99 ^\s+IP MTU ${l2mtubytes} bytes -> Continue
100 ^\s+${loadinterval} second input rate: ${inputbitssec} bits/sec, ${inputpacketssec} packets/sec, ${inputpercentutilization}% utilization -> Continue
101 ^\s+(\d+) second output rate: ${outputbitssec} bits/sec, ${outputpacketssec} packets/sec, ${outputpercentutilization}% utilization -> Continue
102 ^\s+${inputpacketstotal} packets input, ${inputbytestotal} bytes, ${inputnobuffers} no buffer -> Continue
103 ^\s+Received ${inputbroadcasts} broadcasts, ${inputmulticasts} multicasts, ${inputunicasts} unicasts -> Continue
104 ^\s+${inputerrors} input errors, ${inputcrcerrors} CRC, ${inputframeerrors} frame, ${inputignorederrors} ignored -> Continue
105 ^\s+${inputrunts} runts, ${inputgiants} giants -> Continue
106 ^\s+${outputpacketstotal} packets output, ${outputbytestotal} bytes, ${outputunderruns} underruns -> Continue
107 ^\s+Transmitted ${outputbroadcasts} broadcasts, ${outputmulticasts} multicasts, ${outputunicasts} unicasts -> Continue
108 ^\s+${outputerrors} output errors, ${outputcollisions} collisions -> Continue
109 ^\s+Relay Agent Information option: ${relayagentinfo} -> Continue
110 ^\s+0\s+${queue0queued}\s+${queue0dropped} -> Continue
111 ^\s+1\s+${queue1queued}\s+${queue1dropped} -> Continue
112 ^\s+2\s+${queue2queued}\s+${queue2dropped} -> Continue
113 ^\s+3\s+${queue3queued}\s+${queue3dropped} -> Continue
114 ^\s+4\s+${queue4queued}\s+${queue4dropped} -> Continue
115 ^\s+5\s+${queue5queued}\s+${queue5dropped} -> Continue
116 ^\s+6\s+${queue6queued}\s+${queue6dropped} -> Continue
117 ^\s+7\s+${queue7queued}\s+${queue7dropped} -> Continue