学习啦>学习电脑>电脑入门>

Cisco交换机常用的配置命令的步骤

时间: 志艺942 分享

  随着Internet的高速发展,网络规模不断膨胀,对于从事网络专业的学生熟练掌握路由器和交换机的配置已显得十分重要。接下来是小编为大家收集的Cisco交换机常用的配置命令方法,希望能帮到大家。

  Cisco交换机常用的配置命令的方法

  Switch(config)#snmp-server community private rw

  3、更改SNMP的Community密码

  a、将设备分组,并使能支持的各种SNMP版本

  Switch(config)#snmp-server group qycx123 v1

  Switch(config)#snmp-server group qycx 123 v2c

  Switch(config)#snmp-server group qycx123 v3 noauth

  b、分别配置只读和可写community 如:

  Switch(config)#snmp-server community qycx123 ro

  Switch(config)#snmp-server community qycx123 rw

  4、保存交换机配置

  Switch#copy run start

  常用命令

  1、设置交换机密码

  a、更改远程TELNNET密码

  Switch#configure terminal

  Switch(config)#line vty 0 4

  Switch(config-line)#password qycx123

  Switch(config-line)#login

  Switch(config-line)#exit

  b、更改进入全局配置模式时的密码

  Switch#configure terminal

  Switch(config)#enable secret qycx123

  2、创建并划分VLAN

  a、创建VLAN

  Switch#vlan database

  Switch(vlan)#vlan 99 name office

  (创建vlan 99 并命名为office)

  b、将端口划分至vlan

  Switch(config)#interface fastEthernet 0/8

  Switch(config-if)#switchport mode access

  Switch(config-if)#switchport access vlan 99

  (将8号快速以太口划分至vlan 99)

  3、常用调试命令

  a、显示所有配置命令:Switch#show run

  b、显示所有接口状态:Switch#show ip int brief

  c、显示所有VLAN的信息:Switch#show vlan brief

看了“Cisco交换机常用的配置命令”还想看:

1.Cisco交换机常用配置命令总结

2.Cisco常用的路由器交换机配置命令

3.思科常用配置命令及参数

4.思科交换机配置命令介绍

5.Cisco交换机常用的功能性命令

6.cisco交换机最常用的命令(含恢复密码)大全

2743388