網絡技術是從1990年代中期發展起來的新技術,它把互聯網上分散的資源融為有機整體,實現資源的全面共享和有機協作,使人們能夠透明地使用資源的整體能力并按需獲取信息。資源包括高性能計算機、存儲資源、數據資源、信息資源、知識資源、專家資源、大型數據庫、網絡、傳感器等。 當前的互聯網只限于信息共享,網絡則被認為是互聯網發展的第三階段。 對于Cisco的交換機和路由器來講,雖然其不同型號的交換機的實現命令上有著很多的相似之處,但是,不同的交換機命令格式的差異卻為網絡設備的配置帶來了一定的不便,因此,本人根據手頭的交換機,進行一些基本操作的命令介紹,同時也有具體的配置實例。希望對網友的實際工作和學習有所幫助。同時也很希望有機會與各位網友一起交流探討! Catalyst 3524 switch IP 地址的配置 直接進入默認的VLAN 1中進行配置命令如下: 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 (定義標準的訪問列表) bluestudy_a(config)#line vty 0 15(進入telnet端口,最多允許16個telnet的會話) bluestudy_a(config-line)#access-class 2 in(應用上述定義的訪問列表,即只有172.16.0.0/16的網段可以實現對交換機的telnet會話 設置交換機的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的優先級更高,優先起作用。 設置console口密碼 bluestudy_a(config)#line con 0 bluestudy_a(config-line)#password bluestudy bluestudy_a(config-line)# 設置對telnet的密碼: bluestudy_a(config)#line vty 0 15 bluestudy_a(config-line)#login bluestudy_a(config-line)#password bluestudy bluestudy_a(config-line)# 設置登陸用戶名和密碼: 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#
網絡的神奇作用吸引著越來越多的用戶加入其中,正因如此,網絡的承受能力也面臨著越來越嚴峻的考驗―從硬件上、軟件上、所用標準上......,各項技術都需要適時應勢,對應發展,這正是網絡迅速走向進步的催化劑。
|