摘要:
-a Audible ping. #Audible ping. -A Adaptive ping. Interpacket interval adapts to round-trip time, so that effectively not more than one (or more, if p 阅读全文
摘要:
#!/bin/bash start=$(date +%s) # 1528437613 ping -c 10 baidu.com &> /dev/null end=$(date +%s) difference=$(( end - start )) echo $difference seconds. 运 阅读全文
摘要:
#!/bin/bash SysVer=`cat /etc/redhat-release | awk -F'release' '{print $2}' | awk -F'[ .]+' '{print $2}'` if [ ! $SysVer -eq 6 ] then echo "This script 阅读全文
摘要:
分支 查看当前的分支 默认只有一个 master 主分支 [root@Check1 test]# git branch * master 创建一个分支 创建并切换的过程很快 即创建一个指针 HEAD指向新的指针 git checkout -b <分支名> 是创建并切换分支,是创建分支git bran 阅读全文
摘要:
温馨提示 此博客用于记录git常用的命令参数使用方法 遗忘或想不起来了可以来看一眼 所以写的并不详细、不适合初学者学习 环境说明 [root@Check1 ~]# cat /etc/redhat-release CentOS release 6.10 (Final) [root@Check1 ~]# 阅读全文
摘要:
CMDB的GitHub地址: https://github.com/open-cmdb/cmdb 环境说明 [root@WCY ~]# cat /etc/redhat-release CentOS Linux release 7.5.1804 (Core) [root@WCY ~]# uname - 阅读全文
摘要:
Hi, please view here: http://pastebin.com/raw/jtSjmJz for information on how to obtain your files! 如果你在服务器看到上面的信息,恭喜你被勒索了 如果你还没有见过上面的信息,希望你以后也不要遇到 今天同 阅读全文
摘要:
近来线上陆续出现了一些connect失败的问题,经过分析试验,最终确认和proc参数tcp_tw_recycle/tcp_timestamps相关; 1. 现象 第一个现象 模块A通过NAT网关访问服务S成功,⽽而模块B通过NAT⽹网关访问服务S经常性出现connect失败,抓包发现:服务S端已经收 阅读全文
摘要:
查看交换机端口的基本情况,输入命令 show ip int bri,可以查看端口状态 FastEthernet表示百兆以太网端口,GigabitEthernet表示千兆以太网端口。 进入全局模式 设置源镜像口,设置1到20口为源端口镜像 Switch(config)#monitor session 阅读全文
摘要:
配置步骤 进入配置模式:system-view; 创建本地镜像组:mirroring-group 1 local 为镜像组配置源端口:mirroring-group 1 mirroring-port 为镜像组配置目的端口:mirroring-group 1 monitor-port 配置举例 <sy 阅读全文
摘要:
配置本地端口镜像组网图(M:N) 组网需求 如图所示,某公司研发一部、研发二部和市场部通过Switch与外部Internet通信,监控设备Server1、Server2与Switch直连。 现在希望将研发一部、研发二部和市场部访问Internet的流量镜像到不同Server上,对流量进行不同的监控分 阅读全文
摘要:
配置本地镜像口(1:1) 组网需求 如图一所示,某公司行政部通过Switch与外部Internet通信,监控设备Server与Switch直连。 现在希望通过Server对行政部访问Internet的流量进行监控。 配置思路 在Switch进行如下配置,实现Server对所有行政部访问Interne 阅读全文
摘要:
创建VLAN 20 [SW-zhuanxian] vlan 20 [SW-zhuanxian-vlan20] quit 进入接口14 [SW-zhuanxian] int GigabitEthernet 0/0/14 [SW-zhuanxian-GigabitEthernet0/0/14] q 配置 阅读全文
摘要:
https://forum.huawei.com/enterprise/zh/forum.php?mod=viewthread&tid=401753&extra=&page=1 阅读全文