您所在的位置: 首页>>读书频道>>网络与维护>>网络管理>>

10.12.2 show running-config命令

http://book.51cto.com  2008-03-24 00:09  王群  人民邮电出版社  我要评论(0)
  • 摘要:《非常网管——网络基础》通过大量来自第一现场的案例,读者能够系统掌握计算机网络的基础知识和技术,并能对相关网络设备,从其工作原理到设备选型再到应用有一个全面的认识。本文介绍了如何获取交换机的信息及检查交换机的配置。
  • 标签:网管  网络基础  交换机

10.12.2  show running-config命令

上文已经使用过show running-config命令了,这是最常用的一条show命令,它可以显示交换机活动的配置文件,包括交换机名称、密码、接口配置情况以及辅助端口的配置等。例10-53是一个show running-config命令的输出信息。

例10-53  利用show running-config命令显示系统的配置:

Catalyst2950#show running-config
Building configuration...
Current configuration : 1035 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Catalyst2950
!
enable secret 5 $1$sUVW$pmbgIVKXgF4cOGTpHxCuA1
enable password 3com
!
ip subnet-zero
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
……………………………
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
ip address 192.168.1.8 255.255.255.0
no ip route-cache
!
ip http server
access-list 1 permit 192.168.1.1
!
line con 0
password cisco
line vty 0 4
access-class 1 in
password cisco
login
line vty 5 15
login
!
!
end
Catalyst2950#
【责任编辑:杜书 TEL:(010)68476606】

回书目   上一节   下一节
网管员如何踏上高薪之路
超级网管员系列大型视频专题
网管员考试模拟试题
网管系统介绍
51CTO“员工上网管理”专家访谈
 
 验证码: (点击刷新验证码)   匿名发表
  • Visual C++ 完全自学宝典

  • 作者:强锋科技,朱洪波
  • Visual C++ 6.0是微软公司为程序人员提供的Visual Studio 6.0工具套件中的重要组成部分。本书由浅入深地介绍使用Visual C++ 6.0..
Copyright©2005-2008 51CTO.COM 版权所有