弱电|交换机配置规范( 四 )


6.
在系统模式下配置iproute-static0.0.0.00.0.0.0网关preference60 , 如下
[Quidway]iproute-static0.0.0.00.0.0.059.108.0.1preference60
7.
在系统模式下配置snmp-agentcommunityread名称snmp-agentsys-infoversionall
[Quidway]snmp-agentcommunityreadfounderbn
默认情况下就按上条命令配 。
8.
在系统模式下配置interfaceethernet端口号进入端口 ,
在端口模式下配置description端口描述(公司名称-带宽大小) , 如下
[Quidway]interfaceEthernet0/1
[Quidway-Ethernet0/1]descriptionFangZhengKuanDai-10M
端口描述是用户公司名加该公司带宽大小:
例如:方正科技10M:descriptionFangZhengKuanDai-10M
方正奥德共享2M:descriptionFangZhengAoDe-2M-GX
9.
在端口模式下配置line-rateinbound进流量 , line-rateoutbound出流量 , 如下
[Quidway-Ethernet0/1]line-rateinbound29
[Quidway-Ethernet0/1]line-rateoutbound29
10.
交换机默认状态下物理端口全部开放 , 做完操作后关闭未使用端口 , 进入端口模式下配置shutdown , 如下
[Quidway-Ethernet0/1]shutdown
11.
在普通模式下配置save , 来保存配置的设置 , 如下
<Quidway>save
Thiswillsavetheconfigurationintheflashmemory.
Theswitchconfigurationswillbewrittentoflash.
Areyousure?[Y/N]
按”Y”即可 。
12.
#
sysnameGuoZhong-11ceng-Xi
#
superpasswordlevel3simpleasdfzxcv
#
radiusschemesystem
server-typehuawei
primaryauthentication127.0.0.11645
primaryaccounting127.0.0.11646
user-name-formatwithout-domain
domainsystem
radius-schemesystem
access-limitdisable
stateactive
idle-cutdisable
self-service-urldisable
messengertimedisable
domaindefaultenablesystem
#
local-servernas-ip127.0.0.1keyhuawei
local-useradmin
passwordsimpleasdfzxcv
service-typetelnetlevel1
service-typeftp
#
queue-schedulerwrr1248
#
vlan1
port-isolateenable
#
interfaceVlan-interface1
ipaddress59.108.96.188255.255.255.240
#
interfaceAux0/0
#
interfaceEthernet0/1
shutdown
#
interfaceEthernet0/2
shutdown
#
interfaceEthernet0/3
descriptionKeEnDianTong-2M-GX
shutdown
line-rateinbound8
line-rateoutbound8
#
interfaceEthernet0/4
shutdown
#
interfaceEthernet0/5
descriptionWuYe-1M
line-rateinbound16
line-rateoutbound16
#
interfaceEthernet0/6
shutdown
#
interfaceEthernet0/7
descriptionFenLanLeMuEr-2M-GX
line-rateinbound8
line-rateoutbound8
#
interfaceEthernet0/8
descriptionMoSenBoBuYi-10M-GX
line-rateinbound16
line-rateoutbound16
#
interfaceEthernet0/9
shutdown
#
interfaceEthernet0/10
shutdown
#
interfaceEthernet0/11
shutdown
#
interfaceEthernet0/12
shutdown
#
interfaceEthernet0/13
shutdown
#
interfaceEthernet0/14
shutdown
#
interfaceEthernet0/15
descriptionBoMaJiaShiQi-4M
line-rateinbound31
line-rateoutbound31


推荐阅读