日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

Catalyst3500基本配置


Catalyst 3524
對(duì)于Cisco的交換機(jī)和路由器來講,雖然其不同型號(hào)的交換機(jī)的實(shí)現(xiàn)命令上有著很多的相似之處,但是,不同的交換機(jī)命令格式的差異卻為網(wǎng)絡(luò)設(shè)備的配置帶來了一定的不便,因此,本人根據(jù)手頭的交換機(jī),進(jìn)行一些基本操作的命令介紹,同時(shí)也有具體的配置實(shí)例 。希望對(duì)網(wǎng)友的實(shí)際工作和學(xué)習(xí)有所幫助 。同時(shí)也很希望有機(jī)會(huì)與各位網(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 中控制對(duì)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端口,最多答應(yīng)16個(gè)telnet的會(huì)話)
bluestudy_a(config-line)#access-class 2 in(應(yīng)用上述定義的訪問列表,即只有172.16.0.0/16的網(wǎng)段可以實(shí)現(xiàn)對(duì)交換機(jī)的telnet會(huì)話
設(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.
注:對(duì)于如上的密碼,secret的優(yōu)先級(jí)更高,優(yōu)先起作用 。
設(shè)置console口密碼
bluestudy_a(config)#line con 0
bluestudy_a(config-line)#password bluestudy
bluestudy_a(config-line)#
設(shè)置對(duì)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#
 
 
port channel 與 Spanning tree連接的區(qū)別
bluestudy_a(config)#interface fastEthernet 0/1
bluestudy_a(config-if)#port group 2
bluestudy_a(config-if)#
bluestudy_a(config)#interface fastEthernet 0/2
bluestudy_a(config-if)#port group 2
bluestudy_a(config-if)#
bluestudy_b(config)#interface fastEthernet 0/23
bluestudy_b(config-if)#port group 2
bluestudy_b(config-if)#
bluestudy_b(config)#interface fastEthernet 0/24
bluestudy_b(config-if)#port group 2
bluestudy_a(config-if)#
這時(shí)在bluestudy_a與bluestudy_b之間連接的兩條雙較線的端口燈均是綠色,表示二者傳輸數(shù)據(jù)正常 。
現(xiàn)在我將雙方之間的channel配置去掉
bluestudy_a(config)#interface fastEthernet 0/1

推薦閱讀