亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cfgmaker_ip

?? 主要用于監控網絡流量并動態產生可視化結果
??
?? 第 1 頁 / 共 2 頁
字號:
                 '140'=>'Dynamic synchronous Transfer Mode (DTM)',                 '141'=>'Data Communications Network',                 '142'=>'IP Forwarding Interface'                 );  ParseOptions();  my($community,$router) = ($1,$2) if $ARGV[0] =~ /(.*)\@(.*)/;  Usage() unless $community && $router;  if ($Template) {     open(TEMPL,$Template) or die "Can't open template file: $Template: !$\n";  }  print "# cfgmaker was run with args: $argz\n";  print "# Add a WorkDir: /some/path line to this file\n\n";  print "WorkDir: $WorkDir\n\n" if ($WorkDir);  if ($Template) {     print "# included from $Template\n";     while (<TEMPL>) {	s/\t/ /g;  #replace tabs by spac	next if /^\s+$/; #ignore white space	next if /^\s*\#/; #ignore comments	print ;     }     print "# /included from $Template\n";     print "\n";  }  print "Directory[^]: $router\n\n" if ($Gsubdir);    $session = SNMP_Session->open ($router, $community, 161)	|| die "Error opening SNMP session to $router";   my($sysDescr,$sysContact,$sysName,$sysLocation,$ifNumber,$sysObjectID) =    snmpget("$community\@$router",	    'sysDescr','sysContact','sysName',	'sysLocation', 'ifNumber', 'sysObjectID');   my $coSysDescr = $sysDescr;    $sysDescr =~ s/[\r\n]+/<BR>/g;  # Change returns to <BR>   $coSysDescr =~ s/[\r\n]+/\n#              /g;  # Change returns to commented   my($cisco_router_sysid) = '1\.3\.6\.1\.4\.1\.9';   my($livingston_router_sysid) = '1\.3\.6\.1\.4\.1\.307';   my($ciscobox) = ($sysObjectID =~ /^$cisco_router_sysid/);   my($portmaster) = ($sysObjectID =~ /^$livingston_router_sysid/);    print <<ECHO if ($comments);####################################################################### Description: $coSysDescr#     Contact: $sysContact# System Name: $sysName#    Location: $sysLocation#.....................................................................ECHO  $session->map_table ([[1,3,6,1,2,1,4,20,1,1],	# ipAdEntAddr			[1,3,6,1,2,1,4,20,1,2]], # ipAdEntIf		       sub ($@) {			   my ($index, $ipadentaddr, $ipadentif) = @_;			   grep (defined $_ && ($_=pretty_print $_),				 ($ipadentif, $ipadentaddr));			   $ipaddr{$ipadentif} = $ipadentaddr if !$ipset{$ipadentif};			   $iphost{$ipadentif} = 			       gethostbyaddr(pack('C4',split(/\./,$ipaddr{$ipadentif})), AF_INET) if !$ipset{$ipadentif};			   if (!defined $iphost{$ipadentif} || ($iphost{$ipadentif} eq '')){			       $iphost{$ipadentif} = 'No name for IP';			   }			   $ipset{$ipadentif} = 1;		       });  print STDERR "Got Addresses\n" if $DEBUG;  print STDERR "Got IfTable\n" if $DEBUG;  my(%sifdesc,%siftype,%sifspeed,%sifadminstatus,%sifoperstatus,%sciscodescr);  ### May need the cisco IOS version number so we know which oid to use  ###   to get the cisco description.  ###  ### - mjd 2/5/98 (Mike Diehn) (mdiehn@mindspring.net)  ###  my ($cisco_ver, $cisco_descr_oid, @ciscodescr);  if ( $ciscobox ) {    ($cisco_ver) = ($sysDescr =~ m/Version\s+([\d\.]+)\(\d/o);    $cisco_descr_oid = ($cisco_ver ge "11.2") ? "ifAlias" : "CiscolocIfDescr";  }$session->map_table ([[1,3,6,1,2,1,2,2,1,1], # ifIndex		      [1,3,6,1,2,1,2,2,1,2], # ifDescr		      [1,3,6,1,2,1,2,2,1,3], # ifType		      [1,3,6,1,2,1,2,2,1,5], # ifSpeed		      [1,3,6,1,2,1,2,2,1,7], # ifAdminStatus		      [1,3,6,1,2,1,2,2,1,8]], # ifOperStatussub ($@) {    my ($rowindex,$index,$ifdescr,$iftype,$ifspeed,$ifadminstatus,$ifoperstatus) = @_;    grep (defined $_ && ($_=pretty_print $_),	  ($index,$ifdescr,$iftype,$ifspeed,$ifadminstatus,$ifoperstatus));    $sifdesc{$index} = $ifdescr;    $siftype{$index} = $iftype;    $sifspeed{$index} = $ifspeed;    $sifadminstatus{$index} = $ifadminstatus;    $sifoperstatus{$index} = $ifoperstatus;    if ($portmaster && $vendor) {            # We can only approximate speeds      #       # so we think that ppp can do 76800 bit/s, and slip 38400.      # (actualy, slip is a bit faster, but usualy users with newer modems      # use ppp). Alternatively, you can set async speed to 115200 or      # 230400 (the maximum speed supported by portmaster).      #       # But if the interface is ptpW (sync), max speed is 128000      # change it to your needs. On various Portmasters there are      # various numbers of sync interfaces, so modify it.      #       #  The most commonly used PM-2ER has only one sync.      #       #  Paul Makeev (mac@redline.ru)      #       if ($siftype{$index} eq '23') {              if ($sifdesc{$index} eq 'ptpW1') {                      $sifspeed{$index} = 128000;              } else {                      $sifspeed{$index} = 76800;              }      } elsif ($siftype{$index} eq '28') {              $sifspeed{$index} = 38400;      } elsif ($siftype{$index} eq '6') {              $sifspeed{$index} = 10000000;      }    }    ### Move this section south so we know what type of    ###  circuit we're looking at before we retrieve    ###  the cisco interface alias.    ###    ### This whole cicso thing should be re-written, but since    ###   this script doesn't need to run quickly...    ###    ###  - mjd 2/5/98    ###    # Get the user configurable interface description entered in the config     # if it's a cisco-box    #    if ($ciscobox && $vendor) {	my ($enoid, @descr);	$enoid = $cisco_descr_oid . "." . $index;	if ( $cisco_ver ge "11.2" or $siftype{$index} != '32' ) {	  ### This is either not a frame-relay sub-interface or	  ###  this router is running IOS 11.2+ and interface	  ###  type won't matter. In either of these cases, it's	  ###  ok to try getting the ifAlias or ciscoLocIfDesc.	  ###	  @descr = snmpget("$community\@$router", $enoid);	} else {	  ### This is a frame-relay sub-interface *and* the router	  ###  is running an IOS older than 11.2. Therefore, we can	  ###  get neither ifAlias nor ciscoLocIfDesc. Do something	  ###  useful.	  ###	  @descr = ("Cisco PVCs descriptions require IOS 11.2+.");	} # end if else	### Put whatever I got into the array we'll use later to append the result	###   of this operation onto the results from the ifDescr fetch.	###	push @ciscodescr, shift @descr;    } # end if ($cisco_box && $vendor)    # especially since cisco does not return a if    # descr for each interface it has ...    ## JB 2/8/97 - sometimes IOS inserts E1 controllers in the standard-MIB    ## interface table, but not in the local interface table. This puts the    ## local interface description table out-of-sync. the following     ## modification skips over E1 cards as interfaces.    #    ### I suspect that the mod I made above, to use the ifAlias    ###   oid if possible, may cause problems here. If it seems    ###   that your descriptions are out of sync, try commenting    ###   out the "if ( condition )" and it's closing right brace    ###   so that the "shift @ciscodescr" get executed for *all*    ###   iterations of this loop.    ###    ### - mjd 2/5/95    ####    if ($ciscobox && $siftype{$index} != 18) {          $sciscodescr{$index} = "<BR>" . (shift @ciscodescr) if @ciscodescr;#    }});  my $index;  print "#---------------------------------------------------------------\n";INTERFACE:  foreach $index ( sort { $a <=> $b } keys %sifdesc) {    my $c;    my $speed = int($sifspeed{$index} / 8); # bits to byte    my $speed_str=&fmi($speed);    $name="$iphost{$index}";    $name = "$router.$index" if not $name or $name =~ /\s/;  if (($sifadminstatus{$index} != 1)# this check added by Josh - don't query E1-stack controllers      || ($siftype{$index} == 18)	|| ($siftype{$index} == 24)	|| ($speed == 0 ) 	|| ($speed > 400 * 10**6)  #speeds of 400 MByte/s are not realistic	|| ($sifoperstatus{$index} == 3)) {    if(!$comments) { next INTERFACE ; }    print <<ECHO;################ This Interface is one of the following######## - administratively not UP######## - it is in test mode######## - it is a softwareLoopback interface######## - has a unrealistic speed setting######## It is commented out for this reason.########ECHO  $c="# ";  }else {    $c = '';  } $codesc = $sciscodescr{$index};my $coindex = $index;my $coSubdir = "";my $coTitle = "";  if ($codescr) {    $codesc =~ s/ /-/g;    NormaliseDescr();    $codesc =~ s/-+/-/g;    $codesc =~ s/^-|-$//;    $name = lc($codesc) if ($codesc =~ /.+/);  }  if ($ipindex) {    $coindex = "/".$ipaddr{$index} if ($ipaddr{$index} =~ /.+/);  }  if ($subdir) {    $coSubdir = "\n${c}Directory[$name]: $router";  }  $coTitle = $sciscodescr{$index};  $coTitle =~ s/<BR>//;  if (!$coTitle) {    if (! $withnodescr) { next INTERFACE ; }    $coTitle = "$sysName ($iphost{$index}): $sifdesc{$index}";  }  if ($invertreg) {    $coindex = "-".$coindex if ($coTitle =~ /$invertreg/x ) }  elsif ($noinvertreg) {    $coindex = "-".$coindex if ($coTitle !~ /$noinvertreg/x ) }  if ($match) {     next INTERFACE if ($coTitle !~ /$match/);  }  if ($nomatch) {     next INTERFACE if ($coTitle =~ /$nomatch/);  }  print <<ECHO;${c}${c}Target[$name]: $coindex:$community\@$router	# $index $coSubdir${c}MaxBytes[$name]: $speed${c}Title[$name]: $coTitle${c}PageTop[$name]: <H1>Traffic Analysis for $sifdesc{$index}${c} $sciscodescr{$index}</H1>ECHO  print <<TABLE if ($withtables);${c} <TABLE>${c}   <TR><TD>System:</TD><TD>$sysName in $sysLocation</TD></TR>${c}   <TR><TD>Maintainer:</TD><TD>$sysContact</TD></TR>${c}   <TR><TD>Interface:</TD><TD>$sifdesc{$index} ($index)</TD></TR>${c}   <TR><TD>IP:</TD><TD>$iphost{$index} ($ipaddr{$index})</TD></TR>${c}   <TR><TD>Max Speed:</TD>${c}       <TD>$speed_str ($ifType_d{$siftype{$index}})</TD></TR>${c}  </TABLE>TABLE  print <<SEPA;${c}#---------------------------------------------------------------SEPA  }}  main;exit(0);sub fmi {  my($number) = $_[0];  my(@short);  @short = ("Bytes/s","kBytes/s","MBytes/s","GBytes/s");  my $digits=length("".$number);  my $divm=0;  while ($digits-$divm*3 > 4) { $divm++; }  my $divnum = $number/10**($divm*3);  return sprintf("%1.1f %s",$divnum,$short[$divm]);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久综合色天天久久综合图片| 欧美精品一级二级三级| 久久精品国产99国产| 亚州成人在线电影| 亚洲成人免费影院| 亚洲成人精品一区二区| 一区二区成人在线| 午夜精品一区在线观看| 日韩精品久久久久久| 日本一不卡视频| 激情欧美一区二区| 丁香桃色午夜亚洲一区二区三区| 国产一区二区三区蝌蚪| 高清beeg欧美| 日本精品裸体写真集在线观看| 91久久奴性调教| 欧美欧美欧美欧美首页| 欧美成人福利视频| 中文字幕av一区二区三区高| 亚洲欧美日韩在线| 奇米影视一区二区三区小说| 国产在线日韩欧美| 99久久亚洲一区二区三区青草 | 日韩精品高清不卡| 国产一区二区三区香蕉| 99精品偷自拍| 3atv在线一区二区三区| 国产女人aaa级久久久级| 亚洲综合免费观看高清完整版| 水蜜桃久久夜色精品一区的特点| 国产福利一区二区| 欧美日韩在线播| 国产午夜精品久久久久久免费视| 亚洲九九爱视频| 精品中文av资源站在线观看| 成人涩涩免费视频| 欧美一区二区三区视频| 亚洲国产岛国毛片在线| 三级久久三级久久| voyeur盗摄精品| 日韩三级电影网址| 亚洲一级电影视频| 懂色av一区二区夜夜嗨| 日韩欧美国产综合一区| 一区二区三区鲁丝不卡| 岛国av在线一区| 欧美成人女星排名| 亚洲成人第一页| 91丝袜国产在线播放| 久久综合色婷婷| 美女在线视频一区| 欧美中文字幕一区二区三区| 国产精品美女视频| 极品销魂美女一区二区三区| 在线观看91精品国产麻豆| 亚洲欧美国产高清| 成人中文字幕在线| 久久精品网站免费观看| 美国毛片一区二区三区| 欧美夫妻性生活| 性久久久久久久久久久久| 91免费版pro下载短视频| 国产欧美一区二区三区鸳鸯浴| 九色|91porny| 日韩欧美在线123| 日本美女一区二区| 51久久夜色精品国产麻豆| 亚洲午夜精品一区二区三区他趣| 91在线码无精品| 一区在线观看视频| 91麻豆国产在线观看| 亚洲欧洲av在线| 色综合天天综合在线视频| 国产精品私人自拍| www.欧美日韩| 99国产精品视频免费观看| 日韩精品在线一区二区| 一区二区三区精品在线| 日本韩国一区二区| 亚洲国产精品人人做人人爽| 在线观看91精品国产入口| 亚洲一区二区欧美日韩| 在线观看一区日韩| 视频一区免费在线观看| 日韩免费在线观看| 国产精品888| 最新欧美精品一区二区三区| 91同城在线观看| 香港成人在线视频| 欧美大度的电影原声| 狠狠色丁香久久婷婷综| 亚洲国产精华液网站w| 99re8在线精品视频免费播放| 亚洲乱码精品一二三四区日韩在线| 国产高清无密码一区二区三区| 欧美狂野另类xxxxoooo| 欧美aaaaaa午夜精品| 久久久久国产一区二区三区四区| 国产成人精品综合在线观看| 亚洲另类春色校园小说| 欧美精品久久久久久久多人混战| 老司机免费视频一区二区| 国产精品无遮挡| 欧美性大战久久久久久久蜜臀| 天天综合色天天| 中文字幕乱码一区二区免费| 日本乱人伦一区| 久久国产精品第一页| 日韩一区在线播放| 欧美一区欧美二区| 成人sese在线| 视频一区二区中文字幕| 亚洲国产成人午夜在线一区| 欧美午夜在线观看| 国产福利一区在线观看| 午夜免费久久看| 中文字幕精品一区二区精品绿巨人 | 国产一区二区三区精品欧美日韩一区二区三区 | 日韩一二在线观看| 成人在线一区二区三区| 五月婷婷激情综合| 亚洲欧美综合另类在线卡通| 欧美一级黄色片| 色成年激情久久综合| 国产成人在线视频网站| 欧美aaaaa成人免费观看视频| 中文字幕一区二区三中文字幕| 欧美一区二区三区视频免费| 色哟哟在线观看一区二区三区| 国产毛片精品一区| 日精品一区二区三区| 亚洲欧洲av在线| 日本一区二区三区在线不卡| 欧美日韩精品欧美日韩精品一综合 | 偷窥少妇高潮呻吟av久久免费| 国产网红主播福利一区二区| 91精品国产高清一区二区三区蜜臀 | 国产99久久久国产精品免费看| 日本不卡在线视频| 亚洲第一福利视频在线| 一区二区三区美女视频| 亚洲少妇最新在线视频| 国产精品第五页| 国产精品免费aⅴ片在线观看| 久久久久久久久蜜桃| 日韩美女在线视频| 日韩一区二区三区免费看 | 一本色道久久加勒比精品| 国产精品一区二区久久不卡| 精品一区二区免费视频| 日本不卡123| 久久99精品久久久久久动态图| 日本成人在线网站| 日韩电影免费在线| 免费在线观看一区| 久久国产乱子精品免费女| 麻豆国产精品一区二区三区| 免费观看一级特黄欧美大片| 免费成人你懂的| 国产乱人伦精品一区二区在线观看 | 精品精品国产高清a毛片牛牛| 日韩小视频在线观看专区| 日韩精品一区二区三区视频在线观看 | 亚洲国产一区在线观看| 亚洲成人激情av| 免费日韩伦理电影| 国产风韵犹存在线视精品| 99久久夜色精品国产网站| 91同城在线观看| 欧美性三三影院| 欧美成人精品高清在线播放| 国产欧美日韩不卡| 亚洲精品视频在线| 日韩精品国产精品| 丁香五精品蜜臀久久久久99网站| 色综合一区二区| 日韩欧美国产麻豆| 中文字幕精品综合| 亚洲成人午夜影院| 国产精品99精品久久免费| 91在线国产观看| 91精品国产欧美一区二区成人| 久久婷婷国产综合精品青草| 综合在线观看色| 蜜臀av国产精品久久久久| hitomi一区二区三区精品| 欧美三级视频在线观看| 久久精品欧美日韩精品| 亚洲成人综合视频| 风间由美一区二区三区在线观看 | 日韩va欧美va亚洲va久久| 成人午夜免费视频| 制服丝袜av成人在线看| 中文字幕亚洲在| 韩国成人精品a∨在线观看| 色婷婷狠狠综合| 国产欧美视频一区二区三区| 日韩制服丝袜av| 色综合久久中文综合久久97| 欧美zozozo|