MENU

Category: 网络技术 »

wireshark 抓包

tcp.port == 25
#抓tcp端口

bootp
#获取dhcp

arp
#查看arp广播

...

H3C交换机镜像端口

接口信息(arp 获取接口)

镜像端口:GigabitEthernet 1/0/1 (exsi)
观察端口:GigabitEthernet 1/0/13 (win管理机)

cmd

mirroring-group 1 local
#创建本地镜像组1

mirroring-group 1 mirroring-port gigabitethernet 1/0/1 gigabitethernet 1/0/2 both
#镜像端口

mirroring-group 1 monitor-port gigabitethernet 1/0/13
#观察端口

光模块检测与接口双工速率模式

查看参数

display transceiver interface t 1/0/28

Transfer Distance(km): 10(SMF)
Ordering Name: SFP-GE-LX-SM1310-D
10公里单模

查看收光情况

display transceiver diagnosis interface Ten-GigabitEthernet 1/0/28

RX power(dBm): -6.32
TX power(dBm): -6.21

RX接受正常范围-20 与-3之间
TX发送正常范围-9 与-3之间

收到光接口up,没收到光down

接口双工速率模式

speed 1000
duplex full

Flannel网络部署

介绍

利用vxlan技术 完成overlay Nework,在基础网络上叠加一个虚拟网络。
跨物理主机容器网络主要分:隧道方案(ovs)、路由方案(funnel)等;Flannel 是overlay网络的一种实现方案

flannel安装

首先确保已安装etcd:
curl http://10.0.0.223:2379/v2/members #HAproxy 的etcd集群ip

设置flannel网络地址

    etcdctl --endpoints="http://10.0.0.223:2379" \
    set /kube/network/config '{ "Network": "172.17.0.0/16", "Backend": {"Type": "vxlan"}}'

利用etcd存储信息组网

wget http://list.attacker.club/scripts/shell/ServicesDeployment/flanneld/flannel_etcd-install.sh
bash flannel_etcd-install.sh
10.0.0.223

查看etcd

启动指定etcd服务地址,用于存放路由表

etcdctl ls
#查看数据列表
etcdctl get /kube/network/config
#查看网络配置
etcdctl ls /kube/network/subnets
#查看各节点分配的网络地址

华为、h3c 低权限账号提权

华为、h3c提权

command-privilege level 1 view system display current-configuration
 command-privilege level 1 view user-interface display current-configuration
 command-privilege level 1 view system display
 command-privilege level 1 view system display current-configuration |
 command-privilege level 1 view system display current-configuration | include
 command-privilege level 1 view system display current-configuration | include TEXT
 command-privilege level 1 view system display  ip rou
 command-privilege level 1 view system display  int b

Read More