路由器交换机配置基础课件

上传人:29 文档编号:242051630 上传时间:2024-08-11 格式:PPT 页数:35 大小:553.47KB
返回 下载 相关 举报
路由器交换机配置基础课件_第1页
第1页 / 共35页
路由器交换机配置基础课件_第2页
第2页 / 共35页
路由器交换机配置基础课件_第3页
第3页 / 共35页
点击查看更多>>
资源描述
,单击此处编辑母版标题样式,单击此处编辑母版文本样式,*,*,*,创业创新,合作共赢,路由器交换机配置基础,路由器交换机配置基础,1,启动界面,-System Configuration Dialog-,At any point you may enter a question mark?for help.,Use ctrl-c to abort configuration dialog at any prompt.,Default settings are in square brackets .,Continue with configuration dialog?yes/no:yes,Enter IP address:ip_address,Enter IP netmask:ip_netmask,Would you like to enter a default gateway address?yes:yes,IP address of the default gateway:ip_address,Enter a host name:host_name,Enter enable secret:secret_password,Would you like to configure a Telnet password?yes yes,Enter Telnet password:telnet_password,Would you like to enable as a cluster command switch?no,Enter cluster name:cls_name,启动界面-System Configuration,2,路由器对话模式,任何时候可以按,ctrl+c,键退出对话模式,路由器对话模式任何时候可以按ctrl+c键退出对话模式,3,出厂缺省配置,-System Configuration Dialog-,Continue with configuration dialog?yes/no:,yes,At any point you may enter a question mark?for help.,Use ctrl-c to abort configuration dialog at any prompt.,Default settings are in square brackets.,Basic management setup configures only enough connectivity,for management of the system,extended setup will ask you,to configure each interface on the system,Would you like to enter basic management setup?yes/no:,no,出厂缺省配置,4,缺省端口状态,First,would you like to see the current interface summary?yes:,InterfaceIP-AddressOK?Method Status Protocol,BRI0unassignedYES unset administratively down down,BRI0:1unassignedYES unset administratively down down,BRI0:2unassignedYES unset administratively down down,Ethernet0unassignedYES unset administratively down down,Serial0unassignedYES unset administratively down down,缺省端口状态First,would you like to,5,缺省全局配置,Configuring global parameters:,Enter host name Router:,wg_ro_c,The enable secret is a password used to protect access to,privileged EXEC and configuration modes.This password,after,entered,becomes encrypted in the configuration.,Enter enable secret:,cisco,The enable password is used when you do not specify an,enable secret password,with some older software versions,and,some boot images.,Enter enable password:,sanfran,The virtual terminal password is used to protect,access to the router over a network interface.,Enter virtual terminal password:,sanjose,Configure SNMP Network Management?no:,缺省全局配置Configuring global para,6,缺省协议配置,Configure LAT?yes:,no,Configure AppleTalk?no:,Configure DECnet?no:,Configure IP?yes:,Configure IGRP routing?yes:,no,Configure RIP routing?no:,Configure CLNS?no:,Configure IPX?no:,Configure Vines?no:,Configure XNS?no:,Configure Apollo?no:,缺省协议配置 Configure LAT?yes:,7,缺省端口配置,BRI interface needs isdn switch-type to be configured,Valid switch types are:,0 none.Only if you dont want to configure BRI.,1 basic-1tr6.1TR6 switch type for Germany,2 basic-5ess.AT&T 5ESS switch type for the US/Canada,3 basic-dms100.Northern DMS-100 switch type for US/Canada,4 basic-net3.NET3 switch type for UK and Europe,5 basic-ni.National ISDN switch type,6 basic-ts013.TS013 switch type for Australia,7 ntt.NTT switch type for Japan,8 vn3.VN3 and VN4 switch types for France,Choose ISDN BRI Switch Type 2:,Configuring interface parameters:,Do you want to configure BRI0(BRI d-channel)interface?no:,Do you want to configure Ethernet0 interface?no:,yes,Configure IP on this interface?no:,yes,IP address for this interface:,10.1.1.33,Subnet mask for this interface 255.0.0.0:,255.255.255.0,Class A network is 10.0.0.0,24 subnet bits;mask is/24,Do you want to configure Serial0 interface?no:,缺省端口配置BRI interface needs isdn,8,配置模式,配置模式,9,Exec用户模式,用户模式,对交换机和路由器的有限操作,命令提示符为,hostname,模式一:,Exec用户模式用户模式模式一:,10,用户模式,wg_ro_c,?,Exec commands:,access-enable Create a temporary Access-List entry atmsig Execute Atm Signalling Commands cd Change current device clear Reset functions connect Open a terminal connection dir List files on given device 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 lat Open a lat connection lock Lock the terminal login Log in as a particular user logout Exit from the EXEC-More-,用户模式wg_ro_c?,11,Exec特权模式,特权,(,或,enabled),模式,对交换机和路由器更深入的操作,有配置和监视权力,是进入其它配置模式的前提,命令提示符为,hostname#,模式二,(,也是最常用的模式):,Exec特权模式特权(或enabled)模式模式二(也是最,12,特权模式,wg_ro_c#,?,Exec commands:,access-enable Create a temporary Access-List entry,access-profile Apply user-profile to interface,access-template Create a temporary Access-List entry,bfe For manual emergency modes setting,cd Change current directory,clear Reset functions,clock Manage the system clock,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,dir List files on a filesystem,disable Turn off privileged commands,disconnect Disconnect an existing network connection,enable Turn on privileged commands,erase Erase a filesystem,exit Exit from the EXEC,help Description of the interactive help system,-More-,特权模式wg_ro_c#?,13,模式切换,模式切换,14,模式切换(续),Configuration Modes:,Global configuration mode,wg_sw_a#configure terminal,wg_sw_a(config)#,Interface configuration mode,wg_sw_a(config)#interface e0/1,wg_sw_a(config-if)#,模式切换(续)Configuration Modes:,15,帮助机制,上下文关联帮助,错误信息提示,指出所输入交换机命令的错误所在,以便于修改或纠正,.,可以重新调出以前运行过的命令,用来再次运行、查看或修改,.,之前命令保存区,提供命令清单和与特定命令相关联的参数,.,帮助机制上下文关联帮助错误信息提示指出所输入交换机命令的错误,16,上下文帮助信息,Router#,clock set 19:56:00,%Incomplete command.,Router#,clock set 19:56:00?,Day of the month,MONTH Month of the year,Router#,clock set 19:56:00 04 8,%Invalid input detected at the marker,Router#,clock set 19:56:00 04 August,%Incomplete command.,Router#,clock set 19:56:00 04 August?,Year,命令提示,格式检查,命令提示,上下文帮助信息Router#clock set 19:56,17,增强行编辑命令,(一行中长字串会自动滚卷,).,光标移动到命令行的开始位置,.,光标移动到命令行的结束位置,.,回移一个单词,下移一个字符.,回移一个字符.,下移一个单词,删除当前字符,Router,$,value for customers,employees,and partners.,增强行编辑命令(一行中长字串会自动滚卷).,18,查看历史命令,Ctrl-P or Up arrow,调出最近,(,前一,),使用过的命令,Ctrl-N or Down arrow,调出更近使用过的命令,Router show history,显示命令保存区内容,Router terminal history size,lines,设置命令缓冲区大小,查看历史命令Ctrl-P or Up arrow调出最近(前,19,标记信息,为路由器设置基本的标记信息,标记信息为路由器设置基本的标记信息,20,密码配置,Password,和,secret,的密码区别是,secret,会自动对密码进行加密,,而,password,仍保持明文显示,密码配置Password和secret的密码区别是secre,21,控制口配置,Router(config)#line console 0,Router(config-line)#exec-timeout 0 0,Router(config)#line console 0,Router(config-line)#logging synchronous,阻止会话退出,使光标还原到原来的位置,重新显示被覆盖的命里,控制口配置Router(config)#line conso,22,端口配置,Router(config)#,interface,type port,Router(config)#,interface,type slot/port,Router(config-if)#,shutdown,关闭该接口而不影响该接口的其它配置项,Router(config-if)#,no shutdown,启动被关闭的接口,Router(config-if)#,exit,从当前配置模式中退出,Router(config)#,interface,type number.subinterface,在指定一个基本接口后,使用这个命令在这个接口上建立一个虚拟接口,接口类型,:serial,ethernet,tokenring,fddi,hssi,loopback,dialer,null,async,atm,bri,and tunnel,端口配置Router(config)#interface,23,配置举例,wg_ro_c#configure terminal,wg_ro_c(config)#interface ethernet 0/1,wg_ro_c(config-if)#ip address 192.168.1.1 255.255.255.0,wg_ro_c(config-if)#no shutdown,wg_ro_c(config-if)#exit,配置举例wg_ro_c#configure terminal,24,Show interface,wg_sw_a#show interfaces ethernet 0/1,Ethernet 0/1 is Enabled,Hardware is Built-in 10Base-T,Address is 0050.BD73.E2C1,MTU 1500 bytes,BW 10000 Kbits,802.1d STP State:Forwarding Forward Transitions:1,Port monitoring:Disabled,Unknown unicast flooding:Enabled,Unregistered multicast flooding:Enabled,Description:,Duplex setting:Half duplex,Back pressure:Disabled,-More-,Show interfacewg_sw_a#show int,25,查看端口信息,Router#show interfaces,Ethernet0 is up,line protocol is up,Hardware is Lance,address is 00e0.1e5d.ae2f(bia 00e0.1e5d.ae2f),Internet address is 10.1.1.11/24,MTU 1500 bytes,BW 10000 Kbit,DLY 1000 usec,rely 255/255,load 1/255,Encapsulation ARPA,loopback not set,keepalive set(10 sec),ARP type:ARPA,ARP Timeout 04:00:00,Last input 00:00:07,output 00:00:08,output hang never,Last clearing of show interface counters never,Queueing strategy:fifo,Output queue 0/40,0 drops;input queue 0/75,0 drops,5 minute input rate 0 bits/sec,0 packets/sec,5 minute output rate 0 bits/sec,0 packets/sec,81833 packets input,27556491 bytes,0 no buffer,Received 42308 broadcasts,0 runts,0 giants,0 throttles,1 input errors,0 CRC,0 frame,0 overrun,1 ignored,0 abort,0 input packets with dribble condition detected,55794 packets output,3929696 bytes,0 underruns,0 output errors,0 collisions,1 interface resets,0 babbles,0 late collision,4 deferred,0 lost carrier,0 no carrier,0 output buffer failures,0 output buffers swapped out,查看端口信息Router#show interfaces,26,端口状态,端口状态,27,串口状态,Router#show interface serial 0,Serial0 is up,line protocol is up,Hardware is HD64570,Internet address is 10.140.4.2/24,MTU 1500 bytes,BW 64 Kbit,DLY 20000 usec,rely 255/255,load 1/255,Encapsulation HDLC,loopback not set,keepalive set(10 sec),Last input 00:00:09,output 00:00:04,output hang never,Last clearing of show interface counters never,Input queue:0/75/0(size/max/drops);Total output drops:0,Queueing strategy:weighted fair,Output queue:0/1000/64/0(size/max total/threshold/drops),Conversations 0/1/256(active/max active/max total),Reserved Conversations 0/0(allocated/max allocated),5 minute input rate 0 bits/sec,0 packets/sec,5 minute output rate 0 bits/sec,0 packets/sec,(,output omitted),BW 64 Kbit,串口状态Router#show interface seri,28,配置串口,进入配置模式,Router(config-if)#,clock rate 64000,Router(config-if)#,Router(config)#,interface serial 0,Router(config-if)#,Router#,configure terminal,Router(config)#,Router(config-if)#,bandwidth 64,Router(config-if)#,exit,Router(config)#,exit,Router#,特定端口,设置时钟,(,仅在,DCE,端配置,),设置带宽,(,推荐设置,),配置串口进入配置模式Router(config-if)#cl,29,串口线检查,Router#show controller serial 0,HD unit 0,idb=0 x121C04,driver structure at 0 x127078,buffer size 1524 HD unit 0,V.35 DTE cable,.,.,.,串口线检查Router#show controller se,30,配置缺省网关,wg_sw_a(config)#ip default-gateway,ip address,Example:,wg_sw_a(config)#ip default-gateway 172.20.137.1,配置缺省网关wg_sw_a(config)#ip defau,31,查看初始配置,wg_sw_a#show version,查看设备的软硬件信息、启动文件等信息,wg_sw_a#show running-configuration,查看设备的现行配置,wg_sw_a#show interfaces,查看端口的配置和状态,查看初始配置wg_sw_a#show version 查看设,32,Show version,wg_sw_a#show version,Cisco Catalyst 1900/2820 Enterprise Edition Software,Version V8.01.01 written from 171.068.229.225,Copyright(c)Cisco Systems,Inc.1993-2001,wg_sw_c uptime is 15day(s)21hour(s)53minute(s)11second(s),cisco Catalyst 1900(486sxl)processor with 2048K/1024K bytes of memory,Hardware board revision is 5,Upgrade Status:No upgrade currently in progress.,Config File Status:No configuration upload/download is in progress,27 Fixed Ethernet/IEEE 802.3 interface(s),Base Ethernet Address:00-50-BD-73-E2-C0,Show versionwg_sw_a#show versi,33,Show running-config,wg_sw_a#show running-configuration,Building configuration.,Current configuration:,!,hostname wg_sw_c,!,ip address 10.1.1.33 255.255.255.0,ip default-gateway 10.3.3.3,!,interface Ethernet 0/1,interface Ethernet 0/24,!,Interface Ethernet 0/25,!,interface FastEthernet 0/26,!,interface FastEthernet 0/27,wg_sw_a#show running-configuration,Building configuration.,Current configuration:,!,hostname wg_sw_c,!,ip address 10.1.1.33 255.255.255.0,ip default-gateway 10.3.3.3,!,interface Ethernet 0/1,interface Ethernet 0/12,!,Interface Ethernet 0/25,!,interface FastEthernet 0/26,!,interface FastEthernet 0/27,Catalyst 1924 Switch,Catalyst 1912 Switch,Show running-configwg_sw_a#sho,34,(本章结束),(本章结束),35,
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > PPT模板库


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!