主机评测
S5700S-28P-LI-AC 基础配置
设备命名
sysname 5F-B19
临时关闭,上架之后开启
undo info-center enable
批量创建所需vlan
vlan batch 10 30 60
关闭LNP
lnp disable
关闭生成树
stp disable
开启telnet服务
telnet server enable
关闭web服务
undo http server enable
undo http secure-server enable
设置时区时间
clock timezone BeiJing add 08:00:00
设置aaa认证管理
aaa
undo local-user admin
local-user adm1n password irreversible-cipher YourPassword
local-user adm1n privilege level 3
local-user adm1n service-type telnet
设置时间同步
ntp-service server disable
ntp-service ipv6 server disable
ntp-service unicast-server 10.99.0.10
设置vlan接口ip用于管理
interface Vlanif60
ip address 10.99.0.9 255.255.255.0
配置snmp服务
snmp-agent
snmp-agent community read cipher YourPassword
snmp-agent sys-info version all
设置vty登录信息
user-interface vty 0 4
authentication-mode aaa
protocol inbound telnet
批量设置端口配置
port-group group-member GigabitEthernet 0/0/1 to GigabitEthernet 0/0/27
port link-type access
port default vlan 60
设置上联trunk
interface GigabitEthernet0/0/28
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 10 30 60