Debian Codegraph @

ntc_templates/templates/brocade_netiron_show_interfaces.textfsm

raw
1 Value interface ([a-zA-Z0-9\/]+)
2 Value Required intstate (up|down|disabled)
3 Value protostate (up|down)
4 Value stprootguard (enabled|disabled)
5 Value stpbpduguard (enabled|disabled)
6 Value hardwaretype ([a-zA-Z0-9\s]+)
7 Value mac ([0-9a-f\.]+)
8 Value bia ([0-9a-f\.]+)
9 Value conffiberspeed ([0-9a-zA-Z]+)
10 Value confcopperspeed ([0-9a-zA-Z]+)
11 Value conffiberduplex ([0-9a-zA-Z]+)
12 Value confcopperduplex ([0-9a-zA-Z]+)
13 Value actualspeed ([0-9a-zA-Z]+)
14 Value actualduplex ([0-9a-zA-Z]+)
15 Value l2portstate (Forwarding|Disabled)
16 Value l2portmode (tagged|untagged|dual)
17 Value untaggedvlan (\d+)
18 Value numtaggedvlans (\d+)
19 Value stpconfstate (ON|OFF)
20 Value priority ([a-zA-Z0-9]+)
21 Value flowcontrolstate (enabled|disabled)
22 Value priorityforcedstate (enabled|disabled)
23 Value dropprecedencelevel (\d+)
24 Value dropprecedenceforcestate (enabled|disabled)
25 Value dhcpsnooptrust (ON|OFF)
26 Value mirrorstate (enabled|disabled)
27 Value monitorstate (enabled|disabled)
28 Value lacpbpduforward (Enabled|Disabled)
29 Value lldpbpduforward (Enabled|Disabled)
30 Value activelagports ([0-9\/\-\,]+)
31 Value activelagrole (primary|secondary)
32 Value activelagprimaryport ([0-9\/]+)
33 Value conflagports ([0-9\/\-\,]+)
34 Value conflagrole (primary|secondary)
35 Value conflagprimaryport ([0-9\/]+)
36 Value portname ([a-zA-Z0-9\.\ \"\(\)\#\/\-]+)
37 Value l2mtubytes (\d+)
38 Value encapsulation ([a-zA-Z0-9]+)
39 Value openflowopstate (Disabled|Enabled)
40 Value openflowindex (\d+)
41 Value clusterl2protoforwarding (disabled|enabled)
42 Value loadinterval (\d+)
43 Value inputbitssec (\d+)
44 Value inputpacketssec (\d+)
45 Value inputpercentutilization ([\d\.]+)
46 Value outputbitssec (\d+)
47 Value outputpacketssec (\d+)
48 Value outputpercentutilization ([\d\.]+)
49 Value inputpacketstotal (\d+)
50 Value inputbytestotal (\d+)
51 Value inputnobuffers (\d+)
52 Value inputbroadcasts (\d+)
53 Value inputmulticasts (\d+)
54 Value inputunicasts (\d+)
55 Value inputerrors (\d+)
56 Value inputcrcerrors (\d+)
57 Value inputframeerrors (\d+)
58 Value inputignorederrors (\d+)
59 Value inputrunts (\d+)
60 Value inputgiants (\d+)
61 Value inputnpreceivedpackets (\d+)
62 Value inputsenttotmpackets (\d+)
63 Value inputnpingressdroppedpackets (\d+)
64 Value outputpacketstotal (\d+)
65 Value outputbytestotal (\d+)
66 Value outputunderruns (\d+)
67 Value outputbroadcasts (\d+)
68 Value outputmulticasts (\d+)
69 Value outputunicasts (\d+)
70 Value outputerrors (\d+)
71 Value outputcollisions (\d+)
72 Value outputnptransmittedpackets (\d+)
73 Value outputreceivedfromtmpackets (\d+)
74 Value l3mtubytes (\d+)
75 Value ipaddress ([0-9\.\/]+)
76 Value ipencapsulation ([a-zA-Z]+)
77
78 Start
79 ^\w -> Continue.Record
80 ^${interface} is ${intstate}, line protocol is ${protostate}
81 ^\s+Hardware is ${hardwaretype} -> Continue
82 ^\s+Hardware is ${hardwaretype}, address is ${mac} \(bia ${bia}\) -> Continue
83 ^\s+STP Root Guard is ${stprootguard}, STP BPDU Guard is ${stpbpduguard} -> Continue
84 ^\s+Configured speed ${conffiberspeed}, actual ${actualspeed}, configured duplex ${conffiberduplex}, actual ${actualduplex} -> Continue
85 ^\s+Configured fiber speed ${conffiberspeed}, configured copper speed ${confcopperspeed}, actual ${actualspeed}, configured fiber duplex ${conffiberduplex}, configured copper duplex ${confcopperduplex}, actual ${actualduplex} -> Continue
86 ^\s+Member of VLAN ${untaggedvlan} \(untagged\), port is in ${l2portmode} mode, port state is ${l2portstate} -> Continue
87 ^\s+Member of Control VLAN 4095, ${numtaggedvlans} L2 VLAN\(S\) \(tagged\), port is in ${l2portmode} mode, port state is ${l2portstate} -> Continue
88 ^\s+Member of Control VLAN 4095, VLAN ${untaggedvlan} \(untagged\), port is in ${l2portmode} mode, port state is ${l2portstate} -> Continue
89 ^\s+Member of Control VLAN 4095, VLAN ${untaggedvlan} \(untagged\), ${numtaggedvlans} L2 VLANS \(tagged\), -> Continue
90 ^\s+port is in ${l2portmode} mode, port state is ${l2portstate} -> Continue
91 ^\s+Type is Vlan \(Vlan Id: ${untaggedvlan}\) -> Continue
92 ^\s+STP configured to ${stpconfstate}, Priority is ${priority}, flow control ${flowcontrolstate} -> Continue
93 ^\s+Priority force ${priorityforcedstate}, Drop precedence level ${dropprecedencelevel}, Drop precedence force ${dropprecedenceforcestate} -> Continue
94 ^\s+dhcp-snooping-trust configured to ${dhcpsnooptrust} -> Continue
95 ^\s+mirror ${mirrorstate}, monitor ${monitorstate} -> Continue
96 ^\s+LACP BPDU Forwarding:${lacpbpduforward} -> Continue
97 ^\s+LLDP BPDU Forwarding:${lldpbpduforward} -> Continue
98 ^\s+Member of active trunk ports ${activelagports}, ${activelagrole} port, primary port is ${activelagprimaryport} -> Continue
99 ^\s+Member of configured trunk ports ${conflagports}, ${conflagrole} port, primary port is ${conflagprimaryport} -> Continue
100 ^\s+Member of active trunk ports ${activelagports}, ${activelagrole} port -> Continue
101 ^\s+Member of configured trunk ports ${conflagports}, ${conflagrole} port -> Continue
102 ^\s+Port name is ${portname} -> Continue
103 ^\s+MTU ${l2mtubytes} bytes, encapsulation ${encapsulation} -> Continue
104 ^\s+Openflow: ${openflowopstate}, Openflow Index ${openflowindex} -> Continue
105 ^\s+Cluster L2 protocol forwarding ${clusterl2protoforwarding} -> Continue
106 ^\s+${loadinterval} second input rate: ${inputbitssec} bits/sec, ${inputpacketssec} packets/sec, ${inputpercentutilization}% utilization -> Continue
107 ^\s+(\d+) second output rate: ${outputbitssec} bits/sec, ${outputpacketssec} packets/sec, ${outputpercentutilization}% utilization -> Continue
108 ^\s+${inputpacketstotal} packets input, ${inputbytestotal} bytes, ${inputnobuffers} no buffer -> Continue
109 ^\s+Received ${inputbroadcasts} broadcasts, ${inputmulticasts} multicasts, ${inputunicasts} unicasts -> Continue
110 ^\s+${inputerrors} input errors, ${inputcrcerrors} CRC, ${inputframeerrors} frame, ${inputignorederrors} ignored -> Continue
111 ^\s+${inputrunts} runts, ${inputgiants} giants -> Continue
112 ^\s+NP received ${inputnpreceivedpackets} packets, Sent to TM ${inputsenttotmpackets} packets -> Continue
113 ^\s+NP Ingress dropped ${inputnpingressdroppedpackets} packets -> Continue
114 ^\s+${outputpacketstotal} packets output, ${outputbytestotal} bytes, ${outputunderruns} underruns -> Continue
115 ^\s+Transmitted ${outputbroadcasts} broadcasts, ${outputmulticasts} multicasts, ${outputunicasts} unicasts -> Continue
116 ^\s+${outputerrors} output errors, ${outputcollisions} collisions -> Continue
117 ^\s+NP transmitted ${outputnptransmittedpackets} packets, Received from TM ${outputreceivedfromtmpackets} packets -> Continue
118 ^\s+IP MTU ${l3mtubytes} bytes, encapsulation ${ipencapsulation} -> Continue
119 ^\s+Internet address is ${ipaddress}, IP MTU ${l3mtubytes} bytes, encapsulation ${ipencapsulation} -> Continue
120