




已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Cisco 交换机配置入门 机型:Cisco 3750 想对交换机警醒配置。一般有两种方法: www.bitsCN.com 1 、控制台端口(Console ):可以直接对交换机进行配置2 、远程登录(Telnet):通过TELNET程序对已经设置了IP的交换机进行远程配置,一般等控制台端口配置好交换机的IP后才可以进行。 中国.网管联盟 除了以上的两种方法外,其实还有两种方法: 1 、WEB 的配置方式。此方法只能配置一般的简单设置2 、硬件自带的应用程序。专用的程序,一般很少用 www.bitsCN.com 建立控制台连接到交换机 中国网管联盟 一般交换机自带一根Console 线,一端连接到交换机的Comsole 口,一端连接到电脑的串行口。打开超级终端,一般就可以连接到交换机。具体的参数设置如下 中国网管联盟 www.bitsCN.com 这样就可以连接到交换机了连接到交换机后,如果是第一次启动会要执行初始化操作,一般是设置交换机的名称,密码等一般的信息。 由于交换机已经初始化,如果要进行初始化操作,那就要进入特权EXEC模式,在命令提示符号下输入:setup,就会启动初始化操作。 中国网管联盟 刚才讲到了特权EXEC模式,这理就要讲一下觉换机的几种模式,不同的模式可以执行不同的操作命令,首先来说两种基本的模式。 一般为了安全考虑,CISCO将操作会话分为两个不同的访问级别:用户EXEC级别和特权EXEC级别。用户EXEC级别只能使用有限的命令,且交换机显示Switch提示符,不能对交换机进行配置。看例子,处于用户EXEC级别下的状态: bitsCN_com AITG_FrontekCoreSW www.bitsCN.com 特权EXEC级别下交换机显示Switch提示符,能对交换机进行各种配置。看例子,处于特权EXEC级别下的状态: 中国网管论坛 输入en,进入特权EXEC级别,接着输入密码,进入特权EXEC级别 bitsCN.Com AITG_FrontekCoreSWen Password: AITG_FrontekCoreSW# 看看,提示符变了,用户在用户EXEC级别输入enable(或en),然后输入密码,就可以进入特权EXEC级别 bitsCN.Com 在交换机提示符下输入“?”,可以列出相应模式下交换机所支持的所有命令。 退出特权EXEC级别模式:disable 再用户EXEC级别输入?可以获得帮助信息: AITG_FrontekCoreSW? Exec commands: Session number to resume access-enable Create a temporary Access-List entry clear Reset 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 login Log 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 where List active connections www_bitscn_com 再特权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 archive manage archive files cd Change current directory clear Reset functions clock Manage the system clock cns CNS agents configure Enter configuration mode 中国网管论坛 connect Open a terminal connection copy Copy from one file to another debug Debugging 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 dot1x IEEE 802.1X Exec Commands bbs.bitsCN.com enable Turn on privileged commands eou EAPoUDP erase Erase 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 login Log in as a particular user logout Exit from the EXEC mkdir Create 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 www.bitsCN.com 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 renew Renew resume Resume an active network connection rmdir Remove 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) setup Run 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 DL.bitsCN.com网管软件下载 where List active connections write Write running configuration to memory, network, or terminal 其实还有几种模式如下: 全局配置模式:Switch(config)# 配置交换机的全局参数 接口配置模式:Switch(config-if)# 对交换机的接口进行配置,如某个接口属于那个Vlan,启用及禁用接口等 线路配置模式:Switch(config-line)# 对控制台访问 VLAN数据库配置模式:Switch(Vlan)# 对Vlan的参数进行配置机型:Cisco 3750 BBS.bitsCN.com网管论坛 现在我们来继续讲解关于输入Cisco 命令时注意的一些事项与帮助 1.关于帮助 直接使用“?”,可以获得相应模式下的所支持的命令列表,如果再问号前面加上一些命令的开头的字母,就可以获得一些以此字母开头的命令,如: bitsCN.Com AITG_FrontekCoreSW#s? DL.bitsCN.com网管软件下载 *s=show send session set setup www.bitsCN.com show systat 输入S?,就可以获得以S开头的所有字母。 bitsCN.Com 2、命令帮助 如果对某个命令的用法不熟悉时,也可以使用“?”来获取其详细的帮助,如想对show的命令作一个具体的了解,可以使用:“show ?” AITG_FrontekCoreSW#show ? aaa Show AAA values access-lists List access lists accounting Accounting data for active sessions adjacency Adjacent nodes aliases Display alias commands archive Archive functions arp ARP table auto Show Automation Template auto Show Automation Template bbs.bitsCN.com boot show boot attributes buffers Buffer pool statistics cable-diagnostics Show Cable Diagnostics Results cca CCA information cdp CDP information cef CEF address family independent status class-map Show QoS Class Map clock Display the system clock cluster Cluster information bitsCN.nET中国网管博客 cns CNS agents configuration Configuration details controllers Interface controller status dampening Display dampening information debugging State of each debugging option derived-config Derived operating configuration dhcp Dynamic Host Configuration Protocol status diagnostic Show command for diagnostic dot1q-tunnel Display dot1q tunnel ports dot1x Dot1x information bitsCN.Com dtp DTP information eap Shows EAP registration/session information env Environmental facilities eou EAPoUDP errdisable Error disable etherchannel EtherChannel information exception exception informations file Show filesystem information flash1: display information about flash1: file system flash: display information about flash: file system flowcontrol show flow control information history Display the session command history hosts IP domain-name, lookup style, nameservers, and host table html HTML helper commands idb List of Hardware Interface Descriptor Blocks identity Identity profiles and policies idprom show IDPROMs for interfaces DL.bitsCN.com网管软件下载 interfaces Interface status and configuration inventory Show the physical inventory ip IP information ipc Interprocess communications commands ipv6 IPv6 information key Key information kron Kron Subsystem l2protocol-tunnel Display L2PT status and configurations lacp Port channel information bitsCN_com line TTY line information link Show Link location Display the system location logging Show the contents of logging buffers login Display Secure Login Configurations and State mac MAC configuration mac-address-table MAC forwarding table memory Memory statistics mls mls global commands www.bitsCN.com monitor Monitoring different system events mvr Show mvr global parameters ntp Network time protocol pagp Port channel information parser Show parser commands platform platform specific show commands pm Show Port Manager commands policy-manager Policy Manager policy-map Show QoS Policy Map www_bitscn_com port-security Show secure port information post Show the results of the system POST power Switch Power privilege Show current privilege level processes Active process statistics protocols Active network routing protocols queue Show queue contents queueing Show queueing configuration radius Shows radius information region Region Manager Status registry Function registry information reload Scheduled reload information resource Resource group statistics rhosts Remote-host+user equivalences rmon rmon statistics route-map route-map information rtr Service Assurance Agent (SAA) running-config Current operating configuration bbs.bitsCN.com scp SCP commands sdm Switch database management service-module Service Module commands sessions Information about Telnet connections setup Show express setup settings snmp snmp statistics spanning-tree Spanning tree topology stacks Process stack utilization standby Hot Standby Router Protocol (HSRP) information www_bitscn_com startup-config Contents of startup configuration storm-control Show storm control configuration subsys Show subsystem information switch show information about the stack ring system Show the system configuration table-map Show Table Map tacacs Shows tacacs+ server statistics tcp Status of TCP connections tech-support Show system information for Tech-Support bbs.bitsCN.com template Template information terminal Display terminal configuration parameters time-range Time range track Tracking information udld UDLD information users Display information about terminal lines version System hardware and software status vlan VTP VLAN status vmps VMPS version information 中国网管论坛 vtp VTP information xdr Show details about XDR 3、显示完整的命令 再一个部分命令的后面直接加上“?”就可以显示其输出结果,如例子: 中国网管联盟 AITG_FrontekCoreSW#show interface ? Async Async interface BVI Bridge-Group Virtual Interface CTunnel CTunnel interface Dialer Dialer interface Filter Filter interface Filtergroup Filter Group interface GigabitEthernet GigabitEthernet IEEE 802.3z Loopback Loopback interface Null Null interface bbs.bitsCN.com Port-channel Ethernet Channel of interfaces Portgroup Portgroup interface Pos-channel POS Channel of interfaces Tunnel Tunnel interface Vif PGM Multicast Host interface Virtual-Template Virtual Template interface Virtual-TokenRing Virtual TokenRing Vlan Catalyst Vlans accounting Show interface accounting capabilities Show interface capabilities information 中国网管联盟 counters Show interface counters crb Show interface routing/bridging info dampening Show interface dampening info debounce Show interface debounce time info description Show interface description etherchannel Show interface etherchannel information fair-queue Show interface Weighted Fair Queueing (WFQ) info fcpa Fiber Channel flowcontrol Show interface flowcontrol information bitsCN.nET中国网管博客 irb Show interface routing/bridging info mac-accounting Show interfa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中级财务会计1(山东联盟)知到智慧树答案
- 中级微观经济学知到智慧树答案
- 中兽医学(山东联盟)知到智慧树答案
- 中外民俗知到智慧树答案
- 2025版庆典活动赞助商权益授权监管合同
- 2025年度食品添加剂全国代理销售合作协议
- 2025年度暑期实习生劳务合作协议
- 2025版挖掘机搅拌机租赁及施工质量保证合同
- 2025年度投资与国际贸易咨询及风险管理服务协议
- 2025年环保产业外资股权转让及合作开发协议
- 2025年中级会计职称考试经济法冲刺试题及答案
- 乐器供销合同范本
- 2025年辽宁省中考生物学试卷真题附答案
- 《法律职业伦理(第3版)》全套教学课件
- 2025年青岛市崂山旅游集团招聘考试笔试试题
- 2025年秋季新学期全体中层干部会议校长讲话:在挑战中谋突破于坚实处启新篇
- 2025年幼儿园保育员考试试题(附答案)
- 2025年执业医师考试全真试题及答案
- GA 1808-2022军工单位反恐怖防范要求
- 国学武术操太极拳表演活动流程
- DB14∕T 1131-2015 麦茬复播花生栽培技术规程
评论
0/150
提交评论