怎样配置cisco telnet交换机使跟它连接的计算机能够telnet...

当前位置&&&&&&&&&Cisco交换机配置入门帮助与注意
更多文章查询:&
Cisco交换机配置入门帮助与注意
&&&&&&&日09:31&&来源:&&
【文章摘要】Cisco交换机配置入门帮助与注意
Cisco 交换机配置入门
机型:Cisco 3750
想对交换机警醒配置。一般有两种方法:
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
AITG_FrontekCoreSW#
看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进入特权EXEC级别
在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。
退出特权EXEC级别模式:disable
再用户EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW>?
Exec commands:
Session number to resume
access-enable
Create a temporary Access-List entry
Reset functions
Open a terminal connection
Turn off privileged commands
disconnect
Disconnect an existing network connection
Turn on privileged commands
Exit from the EXEC
Description of the interactive help system
Lock the terminal
Log in as a particular user
Exit from the EXEC
name-connection
Name an existing network connection
Send echo messages
Run command on remote switch
Resume an active network connection
Set system parameter (not config)
Show running system information
Display information about terminal lines
Open a telnet connection
Set terminal line parameters
traceroute
Trace route to destination
Open a tunnel connection
List active connections
再特权EXEC级别输入?可以获得帮助信息:
AITG_FrontekCoreSW#?
Exec commands:
Session number to resume
access-enable
Create a temporary Access-List entry
access-template
Create a temporary Access-List entry
manage archive files
Change current directory
Reset functions
Manage the system clock
CNS agents
Enter configuration mode
Open a terminal connection
Copy from one file to another
Debugging functions (see also 'undebug')
Delete a file
diagnostic
Diagnostic commands
List files on a filesystem
Turn off privileged commands
disconnect
Disconnect an existing network connection
IEEE 802.1X Exec Commands
Turn on privileged commands
Erase a filesystem
Exit from the EXEC
Format a filesystem
Fsck a filesystem
Description of the interactive help system
Global IP commands
Lock the terminal
Log in as a particular user
Exit from the EXEC
Create new directory
Monitoring different system events
Display the contents of a file
name-connection
Name an existing network connection
Disable debugging functions
Negate a command or set its defaults
Send echo messages
Display current working directory
Run command on remote switch
Halt and perform a cold restart
Remote procedures
Rename a file
Resume an active network connection
Remove existing directory
Execute a remote command
Send a message to other tty lines
Run command on member switch
Set system parameter (not config)
Run the SETUP command facility
Show running system information
Display information about terminal lines
Open a telnet connection
Set terminal line parameters
Test subsystems, memory, and interfaces
traceroute
Trace route to destination
Open a tunnel connection
UDLD protocol commands
Disable debugging functions (see also 'debug')
Upgrade commands
Verify a file
Configure VLAN parameters
VMPS actions
Configure global VTP state
List active connections
Write running configuration to memory, network, or terminal
其实还有几种模式如下:
全局配置模式:Switch(config)#
配置交换机的全局参数
接口配置模式:Switch(config-if)#
对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用                 接口等
线路配置模式:Switch(config-line)# 对控制台访问
VLAN数据库配置模式:Switch(Vlan)# 对Vlan的参数进行配置
再稍候我们来慢慢将解这些相应的模式下的作用与用法。 
热门推荐:
责任编辑:郑伟
&关于&Cisco 交换机&相关报道
&硅谷动力最新热点
loading...
频道热文排行
经典软件下载
往期精彩文章
网站合作、内容监督、商务咨询、投诉建议:010-
Copyright © 2000--
硅谷动力公司版权所有 京ICP证000088号Cisco交换机的配置与管理_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
23页免费19页免费21页免费26页免费3页免费14页免费42页免费3页免费19页免费23页1下载券
喜欢此文档的还喜欢13页1下载券45页免费16页1下载券3页免费34页1下载券
Cisco交换机的配置与管理|网​络​管​理​与​必​看
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
你可能喜欢您现在的位置:&&>>&&>>&&>>&&>>&正文
&&&&&&&&&&&&交换机远程TELNET登录
&&& 1&& 功能需求及组网说明
&&& &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&telnet配置
&&& 『配置环境参数』
&&& PC机固定IP地址10.10.10.10/24
&&& SwitchA为三层机,vlan100地址10.10.10.1/24
&&& SwitchA与SwitchB互连vlan10接口地址192.168.0.1/24
&&& SwitchB与SwitchA互连接口vlan100接口地址192.168.0.2/24
&&& 机SwitchA通过以太网口ethernet 0/1和SwitchB的ethernet0/24实现互连。
&&& 『组网需求』
&&& 1.SwitchA只能允许10.10.10.0/24网段的地址的PC telnet访问
&&& 2.SwitchA只能禁止10.10.10.0/24网段的地址的PC telnet访问
&&& 3.SwitchB允许其它任意网段的地址telnet访问
&&& 2&& 数据配置步骤
&&& 『PC管理交换机的流程』
&&& 1.如果一台PC想远程TELNET到一台设备上,首先要保证能够二者之间正常通信。SwitchA为三层交换机,可以有多个三层虚接口,它的管理vlan可以是任意一个具有三层接口并配置了IP地址的vlan
&&& 2.SwitchB为二层交换机,只有一个二层虚接口,它的管理vlan即是对应三层虚接口并配置了IP地址的vlan
&&& 3.Telnet用户登录时,缺省需要进行口令认证,如果没有配置口令而通过Telnet登录,则系统会提示“password required, but none set.”。
&&& 【SwitchA相关配置】
&&& PC在vlan100内,交换机上对应的端口为E0/10-E0/20
&&& 1.创建(进入)vlan100
&&& [SwitchA]vlan 100
&&& 2.将E0/10-E0/20加入到vlan10里
&&& [SwitchA-vlan100] port Ethernet 0/10 to Ethernet 0/20
&&& 3.创建vlan100的虚接口
&&& [SwitchA]interface Vlan-interface 100
&&& 4.给vlan100的虚接口配置IP地址
&&& [SwitchA-Vlan-interface100]ip address 10.10.10.1 255.255.255.0
&&& 5.创建(进入)vlan10
&&& [SwitchA]vlan 10
&&& 6.将连接SwitchB的E0/1加入vlan10
&&& [SwitchA-vlan10] port Ethernet 0/1
&&& 7.创建(进入)vlan10的虚接口
&&& [SwitchA]interface Vlan-interface 10
&&& 8.给vlan10的虚接口配置IP地址
&&& [SwitchA-Vlan-interface10]ip address 192.168.0.1 255.255.255.0
&&& 【SwitchB相关配置】
&&& 1.创建(进入)vlan100
&&& [SwitchA]vlan 100
&&& 2.将E0/24加入到vlan100里
&&& [SwitchA-vlan100] port Ethernet 0/24
&&& 3.创建(进入)vlan100的虚接口
&&& [SwitchB]interface Vlan-interface 100
&&& 4.给vlan100的虚接口配置IP地址
&&& [SwitchB-Vlan-interface100]ip address 192.168.0.2 255.255.255.0
&&& 5.一般二层交换机允许其它任意网段访问需要加入一条缺省
&&& [SwitchB]ip route-static& 0.0.0.0 0.0.0.0 192.168.0.1
【责编:coco】
?&[]?&[]?&[]?&[]?&[]?&[]?&[]?&[]?&[]?&[]
 友情推荐精华
 专题推荐
 ? ? ? ? ? ? ? ? ? ?
 今日更新
?&?&?&?&?&?&?&?&?&?&
 认证培训
 频道精选
 思科频道导航

我要回帖

更多关于 cisco telnet 的文章

 

随机推荐