Question
October 28, 2007 at 10:39 AM
sean.mylne

Batch File help

by sean.mylne . Updated 18 years, 9 months ago

Hi all,

I want to extract data from 2 lines of an existing text file and then input that data into a another file
eg

description COLO002154 CUST=Mini Centre Ltd ? Dash)
ip address xxx.xxx.xxx.xxx 255.255.255.240
and then export that data into another file

description COLO002154 (100BT/TX) (CUST=Mini Centre Ltd ? Dash)
ip address xxx.xxx.xxx.xxx 255.255.255.240
ip verify unicast source reachable-via any
no ip redirects
no ip unreachables
no ip proxy-arp
no ip mroute-cache
speed 100
duplex full
storm-control broadcast level 1.00
storm-control multicast level 1.00
no cdp enable
no shut

I would also like to assign an interface if possible so i can copy and past onto my cisco switch.

many thanks

Sean

This discussion is locked

All Comments