DHCP服务配置H3C交换机

1、启用DHCP服务。
[H3C]dhcp enable

2、配置IP地址
[H3C]interface Vlan-interface 11
[H3C-Vlan-interface11]ip add 11.11.11.254

[H3C]dhcp server forbidden-ip 11.11.11.254

3、配置DHCP地址池

[H3C]dhcp server ip-pool 11
[H3C-dhcp-pool-11]network 11.11.11.0 mask 255.255.255.0
[H3C-dhcp-pool-11]dns-list 11.11.11.254
[H3C-dhcp-pool-11]gateway-list 11.11.11.254
[H3C-dhcp-pool-11]dhcp server forbidden-ip 11.11.11.1 <保留地址>
[H3C-dhcp-pool-11]quit
<H3C>save

DHCP服务配置华为交换机

1、交换机开启dhcp服务
[Huawei] dhcp enable
2、配置用户网关,并在接口下开启dhcp全局模式
[Huawei] interface vlanif 11
[Huawei-Vlanif11] ip address 111.11.11.254 255.255.255.0
[Huawei-Vlanif11] dhcp select global
[Huawei-Vlanif11] quit
<Huawei>save

3、创建地址池
[Huawei] ip pool vlan11
[Huawei-ip-pool-pool1] network 11.11.11.0 mask 255.255.255.0
[Huawei-ip-pool-pool1] dns-list 202.101.224.68  211.141.90.68
[Huawei-ip-pool-pool1] gateway-list 11.11.11.254
[Huawei-ip-pool-pool1] excluded-ip-address 11.11.11.1 11.11.11.10 <保留地址>
[Huawei-ip-pool-pool1] quit
<Huawei>save

———————————————————————————
4、配置后的效果

interface Vlanif11
description xingzhen bangong quyu
ip address 11.11.11.254 255.255.255.0
dhcp select interface
dhcp server lease day 100 hour 0 minute 0
dhcp server dns-list  202.101.224.68  211.141.90.68

JumpServer 堡垒机离在线升级

1、优先停用服务
./jmsctl.sh start

2、解压安装包
cd /opt
tar -xf jumpserver-offline-installer-v2.25.3-amd64-70.tar.gz
cd jumpserver-offline-installer-v2.25.3-amd64-70

3、更新服务时选y
./jmsctl.sh upgrade

4、启动服务
./jmsctl.sh start

——————————————————————
JumpServer 在线升级
1、优先停用服务
./jmsctl.sh start

2、在线下载安装包
cd /opt
yum -y install wget
wget https://github.com/jumpserver/installer/releases/download/v2.25.3/jumpserver-installer-v2.25.3.tar.gz
tar -xf jumpserver-installer-v2.25.3.tar.gz
cd jumpserver-installer-v2.25.3

3、更新服务时选y
./jmsctl.sh upgrade

4、启动服务
./jmsctl.sh start