- 相關(guān)推薦
華為路由器配置實(shí)例詳細(xì)備注講解
華為28-11路由器配置實(shí)例
1、進(jìn)入系統(tǒng)(進(jìn)入配置模式)
system
System View: return to User View with Ctrl+Z.
2、為路由器取名與設(shè)置密碼
[Quidway]local-user huawei
New local user added.
[Quidway-luser-huawei]password cipher huawei #/為配置密碼為huawei
3、設(shè)置服務(wù)類型、安全、訪問列表
[Quidway-luser-huawei]service-type telnet #/可以執(zhí)行遠(yuǎn)程登入
[Quidway-luser-huawei]level 3 #/設(shè)置安全級(jí)別
[Quidway-luser-huawei]acl number 2001 match-order auto
[Quidway-acl-basic-2001]rule 0 permit source 192.168.1.0 0.0.0.255
[Quidway-acl-basic-2001]rule 1 deny
4、進(jìn)入接口、并為接口添加IP地址
[Quidway-acl-basic-2001]int ethernet 0/0
[Quidway-Ethernet0/0]ip add XX.XX.158.58 255.255.255.252 /端口配置的IP地址為一個(gè)IP段
[Quidway-Ethernet0/0]nat outbound 2001
[Quidway-Ethernet0/0]int e 0/1
[Quidway-Ethernet0/1]ip add 192.168.1.1 255.255.255.0 /端口配置的IP地址為一個(gè)IP段
[Quidway-Ethernet0/1]ip route-static 0.0.0.0 0.0.0.0 XX.XX.158.57 /為內(nèi)網(wǎng)的端口配置靜態(tài)路由
5、配置DHCP服務(wù)器(用來為內(nèi)網(wǎng)的PC機(jī)分配IP地址)
[Quidway]dhcp server forbidden-ip 192.168.1.1
[Quidway]dhcp server forbidden-ip 192.168.1.2 192.168.1.100
6、為DHCP服務(wù)器的地址池說明網(wǎng)絡(luò)地址、子網(wǎng)隱碼、網(wǎng)關(guān)、DNS
[Quidway]dhcp server ip-pool 1
[Quidway-dhcp-pool-1]network 192.168.1.0 mask 255.255.255.0
[Quidway-dhcp-pool-1]gateway-list 192.168.1.1
[Quidway-dhcp-pool-1]dns-list 211.138.151.161 211.136.17.107
7、保存命令
[Quidway-dhcp-pool-1]save
The configuration will be written to the device.
Are you sure?[Y/N]y
Now saving current configuration to the device.
Saving configuration flash:/vrpcfg.cfg. Please wait...
不明白之處請(qǐng)給位留言……
【華為路由器配置實(shí)例詳細(xì)備注講解】相關(guān)文章:
華為c8812配置08-04
華為C8812ROOT詳細(xì)教程08-01
華為榮耀3C參數(shù)配置怎么樣05-15
華為面試經(jīng)歷06-18
親歷華為面試06-18
電腦配置知識(shí)大全07-20
電話銷售話術(shù)實(shí)例03-24
普通辦公電腦配置清單03-04
組裝電腦高配置清單08-01