交换机的基本配置查看命令(二)

loading 分享 2026-8-21 下载文档

常用命令介绍

5.hostname命令,用于配置主机名,可简写为host,如: Switch(config)#host sw1 sw1(config)#

6.show version命令,用于显示系统IOS名称以及版本信息,可简写为sh ver,如:

sw1#sh ver Cisco IOS Software, 3600 Software (C3640-JS-M), Version 12.4(10), RELEASE SOFTWA RE (fc1)

Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Wed 16-Aug-06 04:04 by prod_rel_team --More--

7.show running-config命令,查看交换机当前配置信息,可简写为sh run,如: sw1#sh run

Building configuration...

Current configuration : 851 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption !

hostname sw1 --More--

8.show startup-config命令,显示已保存的配置信息,可简写为sh star。 sw1#sh start

Using 851 out of 129016 bytes !

version 12.4

service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption

!

hostname sw1 --More--

9.copy running-config startup-config命令,保存当前配置信息,可简写为copy run star,也可用write命令,简写为wr,如: sw1# wr

Building configuration... [OK]

10.erase nvram命令,删除已保存的配置信息,等效于“”命令,如: sw1#erase nvram

Erasing the nvram filesystem will remove all configuration files! Continue?

[confirm] [OK]

Erase of nvram: complete sw1#sh star

startup-config is not present


交换机的基本配置查看命令(二).doc 将本文的Word文档下载到电脑
搜索更多关于: 交换机的基本配置查看命令(二) 的文档
相关推荐
相关阅读