網(wǎng)絡(luò)技術(shù)是從1990年代中期發(fā)展起來的新技術(shù),它把互聯(lián)網(wǎng)上分散的資源融為有機(jī)整體,實(shí)現(xiàn)資源的全面共享和有機(jī)協(xié)作,使人們能夠透明地使用資源的整體能力并按需獲取信息。資源包括高性能計(jì)算機(jī)、存儲資源、數(shù)據(jù)資源、信息資源、知識資源、專家資源、大型數(shù)據(jù)庫、網(wǎng)絡(luò)、傳感器等。 當(dāng)前的互聯(lián)網(wǎng)只限于信息共享,網(wǎng)絡(luò)則被認(rèn)為是互聯(lián)網(wǎng)發(fā)展的第三階段。 對于Cisco的交換機(jī)和路由器來講,雖然其不同型號的交換機(jī)的實(shí)現(xiàn)命令上有著很多的相似之處,但是,不同的交換機(jī)命令格式的差異卻為網(wǎng)絡(luò)設(shè)備的配置帶來了一定的不便,因此,本人根據(jù)手頭的交換機(jī),進(jìn)行一些基本操作的命令介紹,同時(shí)也有具體的配置實(shí)例。希望對網(wǎng)友的實(shí)際工作和學(xué)習(xí)有所幫助。同時(shí)也很希望有機(jī)會與各位網(wǎng)友一起交流探討! Catalyst 3524 switch IP 地址的配置 直接進(jìn)入默認(rèn)的VLAN 1中進(jìn)行配置命令如下: interface VLAN1 ip address 172.16.1.3 255.255.0.0 即可。 在Catalyst 中控制對Telnet的訪問 bluestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定義標(biāo)準(zhǔn)的訪問列表) bluestudy_a(config)#line vty 0 15(進(jìn)入telnet端口,最多允許16個(gè)telnet的會話) bluestudy_a(config-line)#access-class 2 in(應(yīng)用上述定義的訪問列表,即只有172.16.0.0/16的網(wǎng)段可以實(shí)現(xiàn)對交換機(jī)的telnet會話 設(shè)置交換機(jī)的enable 密碼 bluestudy_a(config)#enable password bluestudy bluestudy_a(config)#enable secret bluestudy The enable secret you have chosen is the same as your enable password. This is not recommended. Re-enter the enable secret. 注:對于如上的密碼,secret的優(yōu)先級更高,優(yōu)先起作用。 設(shè)置console口密碼 bluestudy_a(config)#line con 0 bluestudy_a(config-line)#password bluestudy bluestudy_a(config-line)# 設(shè)置對telnet的密碼: bluestudy_a(config)#line vty 0 15 bluestudy_a(config-line)#login bluestudy_a(config-line)#password bluestudy bluestudy_a(config-line)# 設(shè)置登陸用戶名和密碼: bluestudy_a(config)#username bluestudy password bluestudy bluestudy_a(config)# bluestudy_a#show running
Current configuration: ! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname bluestudy_a ! enable secret 5 $1$b1mb$p6XgV/PY9WqvJy9MrHZFG/ enable password bluestudy ! username bluestudy password 0 bluestudy ! ip subnet-zero ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/24 ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface VLAN1 ip address 172.16.1.3 255.255.0.0 no ip directed-broadcast no ip route-cache ! access-list 2 permit 172.16.0.0 0.0.255.255 ! line con 0 password bluestudy transport input none stopbits 1 line vty 0 4 access-class 2 in password bluestudy login line vty 5 15 access-class 2 in password bluestudy login ! end bluestudy_a#
網(wǎng)絡(luò)的神奇作用吸引著越來越多的用戶加入其中,正因如此,網(wǎng)絡(luò)的承受能力也面臨著越來越嚴(yán)峻的考驗(yàn)―從硬件上、軟件上、所用標(biāo)準(zhǔn)上......,各項(xiàng)技術(shù)都需要適時(shí)應(yīng)勢,對應(yīng)發(fā)展,這正是網(wǎng)絡(luò)迅速走向進(jìn)步的催化劑。
|