学习啦>学习电脑>网络知识>路由器>路由器设置>cisco思科>

怎么配置配置思科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

  几个常用的查看命令:

  show running-config 查看当前配置

  show vtp status 查看当前vtp状态

  show cdp nei 查看当前邻居属性

  show vlan 查看vlan 信息

  删除配置信息的命令,用于不需要旧的配置,希望全部清空信息,重新配置

  write erase 删除所有配置信息(小心!)

  看过文章“怎么配置配置思科WS-C2950T-24”的人还看了:

  1.思科路由器配置命令

  2.思科路由器怎么进入 思科路由器怎么设置

  3.如何查看Cisco路由器的配置信息

  4.思科路由器配置特点详细介绍

  5.思科Cisco路由器的基础配置知识

  6.思科如何配置ACE

  7.cisco思科怎么配置无线AP

  8.思科路由器配置命令大全

565597