Skip to content
Snippets Groups Projects
Commit 072e841e authored by Barta Máté Zsombor's avatar Barta Máté Zsombor :speech_balloon:
Browse files

Organized in libraries

parent f83e35bb
No related branches found
No related tags found
No related merge requests found
...@@ -12,4 +12,4 @@ ...@@ -12,4 +12,4 @@
- name: Print output - name: Print output
copy: copy:
content: "{{interfaces_info.stdout[0]}}" content: "{{interfaces_info.stdout[0]}}"
dest: ~/onlab/{{inventory_hostname}}.txt dest: ~/onlab/{{inventory_hostname}}/{{inventory_hostname}}.txt
File moved
File moved
File moved
Codes: M - Manual static, A - AAA download, N - IP NAT, D - DHCP,
G - GPRS, V - Crypto VPN, C - CASA, P - Channel interface processor,
B - BootP, S - Service selection gateway
DN - Default Network, T - Tracking object
L - TL1, E - OER, I - iEdge
D1 - Dot1x Vlan Network, K - MWAM Route
PP - PPP default route, MR - MRIPv6, SS - SSLVPN
H - IPe Host, ID - IPe Domain Broadcast
U - User GPRS, TE - MPLS Traffic-eng, LI - LIIN
IR - ICMP Redirect
Codes in []: A - active, N - non-active, B - BFD-tracked, D - Not Tracked, P - permanent
\ No newline at end of file
cat router1.txt | grep "^M" | cut -d' ' -f3 | cut -d'/' -f1 >> router1_ip.txt cat ./router1/router1.txt | grep "^M" | cut -d' ' -f3 | cut -d'/' -f1 >> ./router1/router1_ip.txt
cat router1.txt | grep "^M" | cut -d' ' -f3 | cut -d'/' -f2 >> router1_mask.txt cat ./router1/router1.txt | grep "^M" | cut -d' ' -f3 | cut -d'/' -f2 >> ./router1/router1_mask.txt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment