RouterOS基于源地址的策略路由 RouterOS
0x01 需求
目前出口有两条:1.pppoe-out-yd(移动pppoe出口)2.pppoe-out-dx(电信pppoe出口)
需要源地址172.16.20.0/24 无线网络网段 走移动出口,不走电信默认出口。其他走电信出口。
0x02 实现
方案一、通过mangle表实现
(1)添加标记
IP->Firewall->Mangle-&g...
H3C交换机关闭密码复杂度限制 H3C
The new password is too short. It must contain at least 10 characters.
password-control length 4
password-control composition type-number 1 type-length 1
undo password-control comp...
Ansible-module常用模块 Linux
官方文档传送门:
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/index.html#plugins-in-ansible-builtin
ping模块 (检查主机连通性)
# ansible -i ./inventory -m ping all
shell模块(批量执...
Ansible-inventory主机清单 Linux
创建inventory文件
vim /root/ansibleProject/inventory
#手动在主机清单中指定这台机子的用户名密码
192.168.253.134 ansible_ssh_port=22 ansible_ssh_user=root ansible_ssh_pass="cisco123"
192.168.253.133
192...
Ansible-基础笔记 Linux
yum安装ansible需要先启动EPEL仓库,具体方法自行百度。
# yum install ansible --nogpgcheck
安装完成后使用--version 查看默认配置文件
# ansible --version
ansible
config file = /etc/ansible/ansible.cfg
configured mo...
CentOS6~8 配置阿里云yum源与epel源 Linux
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-6.10.repo
或者
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/re...
HCIP-ISIS配置 Huawei
0x01 实验拓扑图
0x02 关于network-entity
例如:
49.0001.0000.0000.0001.00
49.0001 表示区域id ( 49 国际组织分配49表示任意使用类似私有ip )
0000.0000.0001 系统id 表示某个路由 类似router id
00 代表isis 工作于IP网络中
推荐使用router id ...
HCIP-ISIS概述 Huawei
概述
ISIS: Intermediate System to IntermediateSystem的简称 中间系统到中间系统,是一个主要应用于运营商的路由协议,其应用规模和算法和OSPF类似。中间系统: 路由器 isis 。
isis 路由优先级:15,直连 0,静态路由 60,rip 100,ospf 10
ISIS骨干区域
骨干区域 :连续的一片Le...
HCIP-Datacom(BGP) Huawei
BGP概述
概述
一、 协议定位与属性
基本定义:BGP 是一种实现自治系统(AS)之间路由可达的距离矢量协议(路径矢量)。
选路机制:非基于带宽/开销,而是基于路径属性(Path Attributes)进行选路。
关键属性:AS_PATH、Next_hop、Origin、Local_Pref、MED 等。
版本演进:
BGP-4:当前 IPv4 网...