Question : Monitor Changes Made To Switch Configs

Hi

For audit purposes, i have a requirement to be able to monitor any changes made upon my Cisco LAN Switches. Is this possible?

As i have more than one administrator who has access to the passwords to logon and make changes to the configuration files.

Regards

big

Answer : Monitor Changes Made To Switch Configs

yes, the main point was that the number (in the example above '34') is stored in $1.
if you want a full line try something like
$ret = "";
while(<DATA>)
{
        $_=~/^[^\d]+(\d+)[\w\W]+/;
        $ret .=  $1." ";
}
/* now $ret will contain all the 34's in a line seperated by spaces.. */
Random Solutions  
 
programming4us programming4us