-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* alcatel_sros_show_port * alcatel_sros_show_lag * alcatel_sros_show_router_bgp_summary_family * alcatel_sros_show_router_isis_adjacency * alcatel_sros_show_router_isis_interface * alcatel_sros_show_router_ldp_interface * alcatel_sros_show_router_pim_interface
- Loading branch information
1 parent
6d6c548
commit 9b775e6
Showing
22 changed files
with
3,063 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,18 @@ | ||
Value LAG_ID (\d+) | ||
Value ADM (up|down) | ||
Value OPR (up|down) | ||
Value WEIGHTED (Yes|No) | ||
Value THRESHOLD (\d+) | ||
Value UP_COUNT (\d+) | ||
Value MC_ACT_STDBY (N/A|active|standby) | ||
|
||
Start | ||
^----------- -> Lag | ||
|
||
Lag | ||
^${LAG_ID}\s+${ADM}\s+${OPR}\s+${WEIGHTED}\s+${THRESHOLD}\s+${UP_COUNT}\s+${MC_ACT_STDBY}(\s|$$) -> Record | ||
^\s*$$ | ||
^----------- | ||
^=========== | ||
^Total | ||
^. -> 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Value PORT_ID (\S+) | ||
Value ADMIN_STATE (Up|Down) | ||
Value LINK (Yes|No) | ||
Value PORT_STATE (Up|Down|Ghost|Link Up) | ||
Value CFG_MTU (\d+) | ||
Value OPER_MTU (\d+) | ||
Value LAG (\d+|-) | ||
Value PORT_MODE (\S+) | ||
Value PORT_ENCP (\S+) | ||
Value PORT_TYPE (\S+) | ||
Value C_QS_S_XFP_MDIMDX (.*) | ||
|
||
Start | ||
^----------- -> Port | ||
|
||
Port | ||
^${PORT_ID}\s+${ADMIN_STATE}\s+${PORT_STATE}\s+conn\s*${C_QS_S_XFP_MDIMDX} -> Record | ||
^${PORT_ID}\s+${ADMIN_STATE}\s+${LINK}\s+${PORT_STATE}\s+${CFG_MTU}\s+${OPER_MTU}\s+${LAG}\s+${PORT_MODE}\s+${PORT_ENCP}\s+${PORT_TYPE}\s*${C_QS_S_XFP_MDIMDX} -> Record | ||
^\s*$$ | ||
^----------- | ||
^=========== | ||
^Port | ||
^Id | ||
^\*\sindicates | ||
^. -> Error |
24 changes: 24 additions & 0 deletions
24
templates/alcatel_sros_show_router_bgp_summary_family.textfsm
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,24 @@ | ||
Value NEIGHBOR (\d+\.\d+\.\d+\.\d+|[0-9a-f:]*) | ||
Value Required AS (\d+\**) | ||
Value PKTRCVD (\d+\**) | ||
Value PKTSENT (\d+\**) | ||
Value INQ (\d+\**) | ||
Value OUTQ (\d+\**) | ||
Value UP_DOWN (\S+) | ||
Value STATE (\w+) | ||
Value RCV (\d+) | ||
Value ACT (\d+) | ||
Value SENT (\d+) | ||
|
||
Start | ||
^----------- -> Neighbor | ||
|
||
Neighbor | ||
^${NEIGHBOR}(\s|$$) -> NeighborData | ||
|
||
NeighborData | ||
^\s+${AS}\s+${PKTRCVD}\s+${PKTSENT}\s+${INQ}\s+${OUTQ}\s+${UP_DOWN}\s+(${STATE}|${RCV}/${ACT}/${SENT})(\s|$$) -> Record Neighbor | ||
^.*indicates | ||
^----------- | ||
^\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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Value SYSTEM_ID (\S+) | ||
Value USAGE (\S+) | ||
Value STATE (Up|Down) | ||
Value HOLD (\d+) | ||
Value INTERFACE (\S+) | ||
Value MT_ID (\S+) | ||
|
||
Start | ||
^----------- -> Adjacency | ||
|
||
Adjacency | ||
^${SYSTEM_ID}\s+${USAGE}\s+${STATE}\s+${HOLD}\s+${INTERFACE}\s+${MT_ID} -> Record | ||
^\s*$$ | ||
^----------- | ||
^=========== | ||
^Adjacencies | ||
^. -> 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Value INTERFACE (\S+) | ||
Value LEVEL (\S+) | ||
Value CIRCID (\d+) | ||
Value OPER_STATE (Up|Down) | ||
Value METRIC_L1 (\d+) | ||
Value METRIC_L2 (\d+) | ||
|
||
Start | ||
^----------- -> Interface | ||
|
||
Interface | ||
^${INTERFACE}\s+${LEVEL}\s+${CIRCID}\s+${OPER_STATE}\s+${METRIC_L1}/${METRIC_L2} -> Record | ||
^\s*$$ | ||
^----------- | ||
^=========== | ||
^Interfaces | ||
^. -> 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Value INTERFACE (\S+) | ||
Value ADM (Up|Dwn) | ||
Value OPR (Up|Dwn) | ||
Value SUB_INTERFACE (ipv\d) | ||
Value SUB_INTERFACE_ADM (Up|Dwn) | ||
Value SUB_INTERFACE_OPR (Up|Dwn) | ||
Value HELLO_FCTR (\d+) | ||
Value HOLDTIME (\d+) | ||
Value KA_FCTR (\d+) | ||
Value KA_TIME (\d+) | ||
Value TRANSPORT_ADDRESS (\S+) | ||
|
||
Start | ||
^----------- -> Interface | ||
|
||
Interface | ||
^${INTERFACE}\s+${ADM}/${OPR}(\s|$$) -> SubInterface | ||
|
||
SubInterface | ||
^\s+${SUB_INTERFACE}\s+${SUB_INTERFACE_ADM}/${SUB_INTERFACE_OPR}\s+${HELLO_FCTR}\s+${HOLDTIME}\s+${KA_FCTR}\s+${KA_TIME}\s+${TRANSPORT_ADDRESS}(\s|$$) -> Record Interface | ||
^No.\s+of\s+Interfaces | ||
^----------- | ||
^\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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Value INTERFACE (\S+) | ||
Value ADM (Up|Down) | ||
Value OPR (Up|Down) | ||
Value DR ((\d+\.\d+\.\d+\.\d+|[0-9a-f:]*)|N/A) | ||
Value DR_PRTY (\d+|N/A) | ||
Value HELLO_INTVL (\d+) | ||
Value MCAST_SEND (\S+) | ||
|
||
Start | ||
^----------- -> Interface | ||
|
||
Interface | ||
^${INTERFACE}\s+${ADM}\s+${OPR}\s+${DR_PRTY}\s+${HELLO_INTVL}\s+${MCAST_SEND}(\s|$$) -> Dr | ||
|
||
Dr | ||
^\s+${DR}(\s|$$) -> Record Interface | ||
^No.\s+of\s+Interfaces | ||
^----------- | ||
^\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,40 @@ | ||
|
||
=============================================================================== | ||
Lag Data | ||
=============================================================================== | ||
Lag-id Adm Opr Weighted Threshold Up-Count MC Act/Stdby | ||
------------------------------------------------------------------------------- | ||
1 up up No 0 2 N/A | ||
2 up up No 0 2 N/A | ||
3 up up No 0 1 N/A | ||
4 down down No 0 0 N/A | ||
5 down down No 0 0 N/A | ||
10 down down No 0 0 N/A | ||
20 up down No 0 0 standby | ||
70 down down No 0 0 N/A | ||
80 up down No 0 0 N/A | ||
90 down down No 0 0 N/A | ||
100 up up No 0 1 N/A | ||
101 up up No 0 1 N/A | ||
102 up up No 0 1 N/A | ||
103 up up No 0 1 active | ||
104 up up No 0 1 N/A | ||
105 up up No 0 1 N/A | ||
106 up up No 0 1 N/A | ||
107 up up No 0 1 N/A | ||
108 up up No 0 1 N/A | ||
109 up up No 0 1 N/A | ||
110 up up No 0 1 active | ||
111 up up No 0 1 N/A | ||
112 up up No 0 1 N/A | ||
114 up up No 0 1 N/A | ||
115 up up No 0 1 N/A | ||
120 up up No 0 1 N/A | ||
124 down down No 0 0 N/A | ||
140 up up No 0 1 N/A | ||
150 down down No 0 0 N/A | ||
153 up up No 0 1 active | ||
180 down down No 0 0 N/A | ||
------------------------------------------------------------------------------- | ||
Total Lag-ids: 31 Single Chassis: 27 MC Act: 3 MC Stdby: 1 | ||
=============================================================================== |
Oops, something went wrong.