!
controller e1 0
framing no-crc4 //幀類型為no-crc4
channel-group 0 timeslots 1 //建立邏輯通道組0與時(shí)隙1的映射
channel-group 1 timeslots 2 //建立邏輯通道組1與時(shí)隙2的映射
channel-group 2 timeslots 3 //建立邏輯通道組2與時(shí)隙3的映射
!
interface ethernet0
ip address 133.118.40.1 255.255.0.0
media-type 10baset
!
interface ethernet1
no ip address
shutdown
!
interface serial0:0 //邏輯接口serial0:0
ip address 202.119.96.1 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
interface serial0:1
ip address 202.119.96.5 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
interface serial0:2
ip address 202.119.96.9 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
no ip classless
ip route 133.210.40.0 255.255.255.0 serial0:0
ip route 133.210.41.0 255.255.255.0 serial0:1
ip route 133.210.42.0 255.255.255.0 serial0:2
!
line con 0
line aux 0
line vty 0 4
password cicso
login
!
end
習(xí)題五:
問題l:“console”端口是虛擬操作臺(tái)端口,安裝維護(hù)人員通過直接連接該端口實(shí)施設(shè)備配置。
“aux”端口是用于遠(yuǎn)程調(diào)試的端口,一般連接在 modem 上,設(shè)備安裝維護(hù)人員通過遠(yuǎn)程撥號(hào)進(jìn)行設(shè)備連接,實(shí)施設(shè)備的配置。
問題2:連接參數(shù)如下:速率 9600bps、數(shù)據(jù)位 8 位、奇偶檢驗(yàn)無、停止位 2 位。
問題3:配置命令的含義如下:
(1) 配置 ras 的撥號(hào)用戶網(wǎng)絡(luò)配置信息。 《注1》
包括用戶默認(rèn)子網(wǎng)屏蔽碼、默認(rèn)網(wǎng)關(guān)、默認(rèn) dns 。
當(dāng)用戶撥入時(shí),服務(wù)器自動(dòng)將配置信息傳遞給用戶。
(2) 設(shè)定第一組異步口的用戶 ip 地址自動(dòng)分配。
設(shè)置自動(dòng)分配的 ip 地址來自于 ip 地址池 pool25090 《注2》
(3) 配置路由協(xié)議 rip。
指定設(shè)備直接連接到網(wǎng)絡(luò) 202.112.77.0 與 202.112.79.0 。
(4) 設(shè)置來自 202.112.77.0 網(wǎng)段的用戶可以訪問撥號(hào)服務(wù)器。
配置用戶登陸口令。
controller e1 0
framing no-crc4 //幀類型為no-crc4
channel-group 0 timeslots 1 //建立邏輯通道組0與時(shí)隙1的映射
channel-group 1 timeslots 2 //建立邏輯通道組1與時(shí)隙2的映射
channel-group 2 timeslots 3 //建立邏輯通道組2與時(shí)隙3的映射
!
interface ethernet0
ip address 133.118.40.1 255.255.0.0
media-type 10baset
!
interface ethernet1
no ip address
shutdown
!
interface serial0:0 //邏輯接口serial0:0
ip address 202.119.96.1 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
interface serial0:1
ip address 202.119.96.5 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
interface serial0:2
ip address 202.119.96.9 255.255.255.252
encapsulation hdlc
no ip mroute-cache
!
no ip classless
ip route 133.210.40.0 255.255.255.0 serial0:0
ip route 133.210.41.0 255.255.255.0 serial0:1
ip route 133.210.42.0 255.255.255.0 serial0:2
!
line con 0
line aux 0
line vty 0 4
password cicso
login
!
end
習(xí)題五:
問題l:“console”端口是虛擬操作臺(tái)端口,安裝維護(hù)人員通過直接連接該端口實(shí)施設(shè)備配置。
“aux”端口是用于遠(yuǎn)程調(diào)試的端口,一般連接在 modem 上,設(shè)備安裝維護(hù)人員通過遠(yuǎn)程撥號(hào)進(jìn)行設(shè)備連接,實(shí)施設(shè)備的配置。
問題2:連接參數(shù)如下:速率 9600bps、數(shù)據(jù)位 8 位、奇偶檢驗(yàn)無、停止位 2 位。
問題3:配置命令的含義如下:
(1) 配置 ras 的撥號(hào)用戶網(wǎng)絡(luò)配置信息。 《注1》
包括用戶默認(rèn)子網(wǎng)屏蔽碼、默認(rèn)網(wǎng)關(guān)、默認(rèn) dns 。
當(dāng)用戶撥入時(shí),服務(wù)器自動(dòng)將配置信息傳遞給用戶。
(2) 設(shè)定第一組異步口的用戶 ip 地址自動(dòng)分配。
設(shè)置自動(dòng)分配的 ip 地址來自于 ip 地址池 pool25090 《注2》
(3) 配置路由協(xié)議 rip。
指定設(shè)備直接連接到網(wǎng)絡(luò) 202.112.77.0 與 202.112.79.0 。
(4) 設(shè)置來自 202.112.77.0 網(wǎng)段的用戶可以訪問撥號(hào)服務(wù)器。
配置用戶登陸口令。

