FTP
FTP:文件传输协议(上传、下载)
FTP分为主动和被动两种
Dhcp
DHCP有接口和地址池两种。
先看MAC地址是否是静态绑定,再看mac地址是否分配过ip。没有的话就从大到小分配,避开排除地址。
租期:
在50%会请求一次,如果服务器未回应,在87.5%再次request请求,回应后续约成功。
FTP:
user-interface vty 0 4
authentication-mode aaa
aaa: local-user huawei password cipher huawei
local-user huawei privilege level 3
local-user huawei ftp-directory flash:
local-user huawei service-type ftp
Telnet:
user-interface vty 0 4
authentication-mode password/AAA Please configure the login password (maximum length 16):huawei user privilege 3
(改密码)
set authentication password cipher admin
aaa: local-user huawei password cipher huawei local-user huawei privilege level 3 local-user huawei service-type telnet
DHCP:
地址池模式:
dhcp en dhcp select global(vlan下或者接口下)
ip pool A net 10.0.0.0 mask 24 gateway-list 10.1.1.254 lease day 2 hour 12 dns-list 8.8.8.8 114.114.114.114 exclude- ip-address 10.1.1.240 10.1.1.250
接口模式:
dhcp select interface dhcp server lease day 2 hour 12 dhcp server exclude- ip-address 10.1.1.240 10.1.1.250 dhcp server dns-list 8.8.8.8 114.114.114.114