インフラ屋の友:tera term

8
NETWORK ENGINEERSPAL Tera Term -the macro script’s application

Upload: netopscoding

Post on 13-Apr-2017

852 views

Category:

Technology


0 download

TRANSCRIPT

NETWORK ENGINEERS’ PAL Tera Term

-the macro script’s application

@szeyih James Chin Sze Yih | LinkedIn CCIE#46852

ABOUT ME

College

University

Rakuten

Emerio

GCIS

- Robotic - System engineering

-Mathematic -Wireless multihop networks

-Enterprise Network -Network Operation

-IP-VPN

-SP Core Network -SP WiFi

BACKGROUND

¢ Networking is changing rapidly

BACKGROUND

¢ Majority of network engineers still use “Stone Age” tools like Cli

USE CASE- AUTO LOGIN AND LOGGING

;##### Loop ##### i = 10 timeout = 300 wait '#' sendln 'ping vrf ABC 10.10.10.10 count 100' wait '#' endwhile

USE CASE-AUTO PING AND ANALYSIS

strscan VAL 'Success rate is' if result>0 then _Ping_Result = VAL strmatch _Ping_Result '\(((\d+)\/(\d+))\)‘ strmatch _Ping_Result '((\d+)/(\d+)/(\d+) (ms))' else endif

Success rate is 100 percent (10/100), round-trip min/avg/max = 18/18/68 ms

USE CASE-CONFIGURATION SCRIPT

L1-CORE02,10.73.100.253 enable super-user-password Brocade123 hostname L1-CORE02 ip address 10.73.100.253 255.255.255.0 no ip dhcp-client enable ip default-gateway 172.20.5.1 logging console telnet timeout 60 username admin password Brocade123 cdp run fdp run lldp run web-management https hitless-failover enable

THANK YOU