echo 1 > /proc/sys/net/ipv4/ip_forward # 或者修改 /etc/sysctl.conf
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1452
参考:
echo 1 > /proc/sys/net/ipv4/ip_forward # 或者修改 /etc/sysctl.conf
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1452
参考:
interface stack-port 0/1
port interface GigabitEthernet0/0/23 enable
interface stack-port 0/2
port interface GigabitEthernet0/0/24 enable
stack slot 0 renumber 0
stack slot 0 priority 200
stack timer mac-address switch-delay 10 #选配
interface stack-port 0/1
port interface GigabitEthernet0/0/23 enable
interface stack-port 0/2
port interface GigabitEthernet0/0/24 enable
stack slot 0 renumber 1
stack slot 0 priority 100
stack timer mac-address switch-delay 10 #选配
主交换机的g0/0/23接备交换机的g0/0/24
主交换机的g0/0/24接备交换机的g0/0/23
display stack peers
display stack ports
display stack channel (all)
display stack configuration
interface stack-port 1/1
shutdown interface GigabitEthernet1/0/23
undo port interface GigabitEthernet1/0/23 enable
interface stack-port 1/2
shutdown interface GigabitEthernet1/0/24
undo port interface GigabitEthernet1/0/24 enable
stack slot 1 renumber 0
stack slot 0 priority 100
interface stack-port 0/1
shutdown interface GigabitEthernet0/0/23
undo port interface GigabitEthernet0/0/23 enable
interface stack-port 0/2
shutdown interface GigabitEthernet0/0/24
undo port interface GigabitEthernet0/0/24 enable
stack slot 0 renumber 0
stack slot 0 priority 100
参考:
https://support.huawei.com/enterprise/my/knowledge/EKB1002001608
https://www.jianshu.com/p/30a338f58b12
Windows系统安装界面认不到硬盘,加载RST驱动: https://iknow.lenovo.com.cn/detail/419926.html 纯净版Flash: https://gitlab.com/cleanflash/installer/-/releases ...