400-688-0112
掌握路由配置技術(shù)是網(wǎng)絡(luò)工程師的必備能力,本教程將系統(tǒng)講解七大關(guān)鍵配置模塊的操作規(guī)范。
設(shè)備提示符 | 操作權(quán)限 | 配置范圍 |
---|---|---|
router> | 基礎(chǔ)查詢 | 網(wǎng)絡(luò)狀態(tài)查看 |
router# | 系統(tǒng)調(diào)試 | 參數(shù)修改 |
router(config)# | 全局配置 | 整體參數(shù)設(shè)定 |
enconfig terminalinterface FastEthernet0/0ip address 192.168.1.1 255.255.255.0no shutdown
此配置段實(shí)現(xiàn)物理接口的IP地址綁定與激活操作,注意子網(wǎng)掩碼需與網(wǎng)絡(luò)規(guī)劃保持一致。
ip route 192.168.100.0 255.255.255.0 192.168.10.2show ip route
router ripnetwork 192.168.1.0network 192.168.10.0
ip dhcp excluded-address 192.168.1.1ip dhcp pool GR_POOLnetwork 192.168.1.0 255.255.255.0default-router 192.168.1.1
interface f0/0ip nat insideinterface f0/1ip nat outsideip nat pool GR_NAT 192.168.10.3 192.168.10.254 netmask 255.255.255.0