怎么配置配置思科WS-C2950T-24(2)
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
switchport mode access
!
interface FastEthernet0/2
switchport mode access
!
interface FastEthernet0/3
switchport mode access
!
interface FastEthernet0/4
switchport mode access
!
interface FastEthernet0/5
switchport mode access
!
interface FastEthernet0/6
switchport mode access
!
interface FastEthernet0/7
switchport mode access
!
interface FastEthernet0/8
switchport mode access
!
interface FastEthernet0/9
switchport mode access
!
interface FastEthernet0/10
switchport mode access
!
interface FastEthernet0/11
switchport mode access
!
interface FastEthernet0/12
switchport mode access
!
interface FastEthernet0/13
switchport mode access
!
interface FastEthernet0/14
switchport mode access
!
interface FastEthernet0/15
switchport mode access
!
interface FastEthernet0/16
switchport mode access
!
interface FastEthernet0/17
switchport mode access
!
interface FastEthernet0/18
switchport mode access
!
interface FastEthernet0/19
switchport mode access
!
interface FastEthernet0/20
switchport mode access
!
interface FastEthernet0/21
switchport mode access
!
interface FastEthernet0/22
switchport mode access
!
interface FastEthernet0/23
switchport mode access
!
interface FastEthernet0/24
switchport mode access
!
interface GigabitEthernet0/1
switchport mode trunk
!
interface GigabitEthernet0/2
switchport mode trunk
!
interface Vlan1
ip address 172.25.161.22 255.255.255.0
no ip route-cache
!
ip default-gateway 172.25.161.16
ip http server
!
line con 0
line vty 0 4
password Cisco!
login
line vty 5 15
login
!
!
end
幾個(gè)常用的查看命令:
show running-config 查看當(dāng)前配置
show vtp status 查看當(dāng)前vtp狀態(tài)
show cdp nei 查看當(dāng)前鄰居屬性
show vlan 查看vlan 信息
刪除配置信息的命令,用于不需要舊的配置,希望全部清空信息,重新配置
write erase 刪除所有配置信息(小心!)
看過文章“怎么配置配置思科WS-C2950T-24”的人還看了: