cisco交换机的设置
学习啦在线学习网 有网友这么问小编“cisco交换机怎么设置?”,学习啦小编在网上搜索了一些资料,供大家参考。
对交换机进行配置。一般有两种方法:
1 、控制台端口(Console ):可以直接对交换机进行配置
2 、远程登录(Telnet):通过TELNET程序对已经设置了IP的交换机进行远程配置,一般等控制台端口配置好交换机的IP后才可以进行。
学习啦在线学习网 除了以上的两种方法外,其实还有两种方法:
1 、WEB 的配置方式。此方法只能配置一般的简单设置2 、硬件自带的应用程序。专用的程序,一般很少用
学习啦在线学习网 建立控制台连接到交换机
学习啦在线学习网 一般交换机自带一根Console 线,一端连接到交换机的Comsole 口,一端连接到电脑的串行口。打开超级终端,一般就可以连接到交换机。具体的参数设置如下
这样就可以连接到交换机了
学习啦在线学习网 连接到交换机后,如果是第一次启动会要执行初始化操作,一般是设置交换机的名称,密码等一般的信息。
学习啦在线学习网 由于交换机已经初始化,如果要进行初始化操作,那就要进入特权EXEC模式,在命令提示符号下输入:setup,就会启动初始化操作。
刚才讲到了特权EXEC模式,这理就要讲一下觉换机的几种模式,不同的模式可以执行不同的操作命令,首先来说两种基本的模式。
一般为了安全考虑,CISCO将操作会话分为两个不同的访问级别:用户EXEC级别和特权EXEC级别。用户EXEC级别只能使用有限的命令,且交换机显示Switch>提示符,不能对交换机进行配置。看例子,处于用户EXEC级别下的状态:
学习啦在线学习网 AITG_FrontekCoreSW>
特权EXEC级别下交换机显示Switch#提示符,能对交换机进行各种配置。看例子,处于特权EXEC级别下的状态:
输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别
AITG_FrontekCoreSW>en
Password:
学习啦在线学习网 AITG_FrontekCoreSW#
学习啦在线学习网 看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进入特权EXEC级别
在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。
退出特权EXEC级别模式:disable
再用户EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW>?
学习啦在线学习网 Exec commands:
学习啦在线学习网 <1-99> Session number to resume
access-enableCreate a temporary Access-List entry
学习啦在线学习网 clearReset functions
connect Open a terminal connection
学习啦在线学习网 disable Turn off privileged commands
disconnect Disconnect an existing network connection
学习啦在线学习网 enable Turn on privileged commands
exit Exit from the EXEC
学习啦在线学习网 help Description of the interactive help system
lock Lock the terminal
loginLog in as a particular user
学习啦在线学习网 logout Exit from the EXEC
name-connection Name an existing network connection
学习啦在线学习网 ping Send echo messages
学习啦在线学习网 rcommand Run command on remote switch
resume Resume an active network connection
set Set system parameter (not config)
show Show running system information
学习啦在线学习网 systat Display information about terminal lines
telnet Open a telnet connection
学习啦在线学习网 terminal Set terminal line parameters
traceroute Trace route to destination
学习啦在线学习网 tunnel Open a tunnel connection
whereList active connections
学习啦在线学习网 再特权EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW#?
学习啦在线学习网 Exec commands:
<1-99> Session number to resume
access-enableCreate a temporary Access-List entry
学习啦在线学习网 access-template Create a temporary Access-List entry
学习啦在线学习网 archive manage archive files
cd Change current directory
clearReset functions
clockManage the system clock
学习啦在线学习网 cns CNS agents
学习啦在线学习网 configureEnter configuration mode
connect Open a terminal connection
copy Copy from one file to another
debugDebugging functions (see also 'undebug')
学习啦在线学习网 delete Delete a file
diagnostic Diagnostic commands
学习啦在线学习网 dir List files on a filesystem
学习啦在线学习网 disable Turn off privileged commands
学习啦在线学习网 disconnect Disconnect an existing network connection
学习啦在线学习网 dot1xIEEE 802.1X Exec Commands
enable Turn on privileged commands
eou EAPoUDP
学习啦在线学习网 eraseErase a filesystem
exit Exit from the EXEC
format Format a filesystem
fsck Fsck a filesystem
help Description of the interactive help system
ip Global IP commands
lock Lock the terminal
loginLog in as a particular user
logout Exit from the EXEC
mkdirCreate new directory
monitor Monitoring different system events
more Display the contents of a file
name-connection Name an existing network connection
学习啦在线学习网 no Disable debugging functions
no Negate a command or set its defaults
ping Send echo messages
pwd Display current working directory
学习啦在线学习网 rcommand Run command on remote switch
reload Halt and perform a cold restart
remote Remote procedures
学习啦在线学习网 rename Rename a file
学习啦在线学习网 renewRenew
resume Resume an active network connection
rmdirRemove existing directory
学习啦在线学习网 rsh Execute a remote command
send Send a message to other tty lines
session Run command on member switch
set Set system parameter (not config)
setupRun the SETUP command facility
show Show running system information
systat Display information about terminal lines
学习啦在线学习网 telnet Open a telnet connection
terminal Set terminal line parameters
学习啦在线学习网 test Test subsystems, memory, and interfaces
学习啦在线学习网 traceroute Trace route to destination
学习啦在线学习网 tunnel Open a tunnel connection
udld UDLD protocol commands
undebug Disable debugging functions (see also 'debug')
upgrade Upgrade commands
verify Verify a file
vlan Configure VLAN parameters
vmps VMPS actions
vtp Configure global VTP state
whereList active connections
学习啦在线学习网 writeWrite running configuration to memory, network, or terminal
学习啦在线学习网 其实还有几种模式如下:
学习啦在线学习网 全局配置模式:Switch(config)# 配置交换机的全局参数
接口配置模式:Switch(config-if)# 对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用 接口等
学习啦在线学习网 线路配置模式:Switch(config-line)# 对控制台访问
学习啦在线学习网 VLAN数据库配置模式:Switch(Vlan)# 对Vlan的参数进行配置
学习啦在线学习网 以上内容来自互联网,希望您能喜欢。
cisco交换机的设置




