摘要: 1.写acl规则 acl ipv6 number 3000 rule 1 permit ipv6 source 2408:8766:5:2:800:100:0:100/128 destination 240E:974:1200:401::1/128 rule 2 permit ipv6 source 阅读全文
posted @ 2023-06-21 17:03 枫火~ 阅读(456) 评论(0) 推荐(0)
摘要: 重启交换机 按ctrl+c 按ctrl+q 输入:main_config_password_clear 载入系统后:delete flash:/config.text 然后重启:load 图解过程如下: 锐捷交换机S2652 重启交换机 按ctrl+C 进入:Ctrl> 然后:delete conf 阅读全文
posted @ 2022-09-19 08:43 枫火~ 阅读(1569) 评论(0) 推荐(0)
摘要: 1、创建时间戳 time-range badian 20:00 to 21:00 daily 2、创建规则并引用时间戳 acl number 3000 rule 0 permit ip time-range badian 3、创建流分类并引用acl规则 traffic classifier test 阅读全文
posted @ 2022-09-16 20:21 枫火~ 阅读(108) 评论(0) 推荐(0)
摘要: 1.关闭并配置防火墙 systemctl stop firewalld.service systemctl disable firewalld.service sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config set 阅读全文
posted @ 2021-12-30 15:05 枫火~ 阅读(679) 评论(0) 推荐(0)
摘要: 1.下载安装mondo cd /etc/yum.repos.d //进入yum下 wget ftp://ftp.mondorescue.org/centos/7/x86_64/mondorescue.repo //下载mondorescue 1.2修改参数并安装 gpgcheck=0yum -y i 阅读全文
posted @ 2021-12-30 14:38 枫火~ 阅读(500) 评论(0) 推荐(0)
摘要: 1、查看 CPU 物理个数 grep 'physical id' /proc/cpuinfo | sort -u | wc -l 2、查看 CPU 核心数量 grep 'core id' /proc/cpuinfo | sort -u | wc -l 3、查看 CPU 线程数 grep 'proce 阅读全文
posted @ 2021-10-10 14:09 枫火~ 阅读(4312) 评论(0) 推荐(1)
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : 阅读全文
posted @ 2021-09-13 11:32 枫火~ 阅读(74) 评论(0) 推荐(0)
摘要: 安装 mtr yum install -y mtr mtr -n -c 20 -r www.baidu.com mtr -h 提供帮助命令 mtr -v 显示mtr的版本信息 mtr -r 已报告模式显示 mtr -c设置每秒发送数据包的数量 mtr -s 用来指定ping数据包的大小 mtr -n 阅读全文
posted @ 2021-09-13 11:27 枫火~ 阅读(1260) 评论(0) 推荐(0)
摘要: 查看内存槽数、那个槽位插了内存,大小是多少 dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range 查看槽位上内存的速率,没插就是unknown dmidecode|grep -A16 "Memory Device"|grep 阅读全文
posted @ 2021-09-06 11:46 枫火~ 阅读(45) 评论(0) 推荐(0)
摘要: 1.创建规则 [Switch] acl 3001 [Switch-acl-adv-3001] rule permit ip source 192.168.10.0 0.0.0.255 [Switch-acl-adv-3001] quit [Switch] acl 3002 [Switch-acl-a 阅读全文
posted @ 2021-08-10 22:49 枫火~ 阅读(1031) 评论(0) 推荐(0)