復(fù)制可以用白交換機
#
sysname XXX ------設(shè)備重命名
#
te.NET server enable ------開啟telnet服務(wù)
#
local-user admin class manage------創(chuàng)建用戶賬號 xxxxx
password simple xxxxx ------創(chuàng)建密碼 xxxxx
service-type telnet -----開啟服務(wù)telent
authorization-attribute user-role network-admin -----創(chuàng)建用戶權(quán)限為管理員
#
user-interface vty 0 4 -------虛擬用戶0-4
authentication-mode scheme --------認證方式為賬號密碼方式
#
snmp-agent sys-info version all -----設(shè)置snmp支持所有版本
snmp-agent community read h3c@123 ------設(shè)備snmp讀密碼
snmp-agent community write h3c@123 ------設(shè)備snmp寫密碼
snmp-agent trap enable ------開啟snmp告警功能
#
vlan 900
description GuanLi
#
interface Vlan-interface900
description SheBeiGuanLi_ip
ip address 10.231.0.X 255.255.255.0
#
interface GigabitEthernet 1/0/24
port link-type trunk
port trunk permit vlan all
undo port trunk permit vlan 1
#