交换机基本操作(华为)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

©1999,CiscoSystems,Inc.6-1交换机基本操作©1999,CiscoSystems,Inc.—6-2•系统启动例程会初始化交换机•初始启动利用缺省配置参数1.启动前确认正确连接线缆和控制线2.接入电源3.观察启动顺序–面板上的指示灯LEDs–CiscoIOS输出到控制台上的内容交换机的初始启动©1999,CiscoSystems,Inc.—6-3检查交换机指示灯(LEDs)©1999,CiscoSystems,Inc.—6-4交换机自检期间的端口指示灯1.启动时,所有端口指示灯变绿.2.每个端口自检完毕,对应的指示灯熄灭.3.如果端口自检失败,对应指示灯呈黄色.4.如果有任何自检失败情况,系统指示灯呈现黄色.5.如果没有自检失败,自检过程完成.6.随着自检过程的完成,指示灯闪亮后熄灭.©1999,CiscoSystems,Inc.—6-5交换机初次启动时的显示信息控制台连接Catalyst1900ManagementConsoleCopyright(c)CiscoSystems,Inc.1993-1998Allrightsreserved.EnterpriseEditionSoftwareEthernetAddress:00-50-BD-73-E2-C0PCANumber:73-3121-01PCASerialNumber:FAA0252A0QXModelNumber:WS-C1924-ENSystemSerialNumber:FAA0304S0U3PowerSupplyS/N:PHI025101F3-------------------------------------------------1user(s)nowactiveonManagementConsole.UserInterfaceMenu[M]Menus[K]CommandLine[I]IPConfigurationEnterSelection:©1999,CiscoSystems,Inc.—6-6控制台登入交换机并键入特权模式密码enableEnterpassword:##disablequit用户模式提示特权模式提示©1999,CiscoSystems,Inc.—6-7Switch#showinterfacesSwitch#showversion显示交换机初始启动的状态Switch#showrunning-config显示交换机的各种运行状态©1999,CiscoSystems,Inc.—6-8wg_sw_c#showversionCiscoCatalyst1900/2820EnterpriseEditionSoftwareVersionV8.01.01writtenfrom171.068.229.225Copyright(c)CiscoSystems,Inc.1993-1998wg_sw_cuptimeis15day(s)21hour(s)53minute(s)11second(s)ciscoCatalyst1900(486sxl)processorwith2048K/1024KbytesofmemoryHardwareboardrevisionis5UpgradeStatus:Noupgradecurrentlyinprogress.ConfigFileStatus:Noconfigurationupload/downloadisinprogress27FixedEthernet/IEEE802.3interface(s)BaseEthernetAddress:00-50-BD-73-E2-C0交换机之showversion命令©1999,CiscoSystems,Inc.—6-9wg_sw_c#showrunBuildingconfiguration...Currentconfiguration:!hostnamewg_sw_c!ipaddress10.1.1.33255.255.255.0ipdefault-gateway10.3.3.3!interfaceEthernet0/1textomittedinterfaceEthernet0/24!InterfaceEthernet0/25!interfaceFastEthernet0/26!interfaceFastEthernet0/27交换机之showrunning-configuration命令wg_sw_c#showrunBuildingconfiguration...Currentconfiguration:!hostnamewg_sw_c!ipaddress10.1.1.33255.255.255.0ipdefault-gateway10.3.3.3!interfaceEthernet0/1textomittedinterfaceEthernet0/12!InterfaceEthernet0/25!interfaceFastEthernet0/26!interfaceFastEthernet0/27Catalyst1924Catalyst1912©1999,CiscoSystems,Inc.—6-10wg_sw_c#showinterfacesethernet0/1Ethernet0/1isEnabledHardwareisBuilt-in10Base-TAddressis0050.BD73.E2C1MTU1500bytes,BW10000Kbits802.1dSTPState:ForwardingForwardTransitions:1Portmonitoring:DisabledUnknownunicastflooding:EnabledUnregisteredmulticastflooding:EnabledDescription:Duplexsetting:HalfduplexBackpressure:Disabled--More--交换机之showinterfaces命令©1999,CiscoSystems,Inc.—6-11wg_sw_a#showipIPAddress:10.5.5.11SubnetMask:255.255.255.0DefaultGateway:10.5.5.3ManagementVLAN:1Domainname:Nameserver1:0.0.0.0Nameserver2:0.0.0.0HTTPserver:EnabledHTTPport:80RIP:Enabledwg_sw_a#查看交换机的IP地址©1999,CiscoSystems,Inc.—6-12配置模式:•全局配置模式–wg_sw_a#confterm–wg_sw_a(config)#•端口配置模式–wg_sw_a(config)#interfacee0/1–wg_sw_a(config-if)#配置交换机©1999,CiscoSystems,Inc.—6-13配置交换机的各种标识为交换机设置本地标识交换机名(config)#hostnamewg_sw_cwg_sw_c(config)#©1999,CiscoSystems,Inc.—6-14wg_sw_a(config)#ipaddress{ipaddress}{mask}wg_sw_a(config)#ipaddress10.5.5.11255.255.255.0配置交换机IP地址©1999,CiscoSystems,Inc.—6-15本章目标通过本章的学习,您应该掌握以下内容:•能描述2层交换(桥接)的运作•能描述Catalyst1900系列交换机反对运作•清楚Catalyst1900系列交换机的出厂缺省配置•配置Catalyst1900系列交换机•利用show命令确认Catalyst1900系列交换机的配置和运作©1999,CiscoSystems,Inc.—6-16配置交换机•Catalyst1900–菜单界面–基于Web的管理VSM(VisualSwitchManager)–IOS命令行界面©1999,CiscoSystems,Inc.—6-17•IP地址:0.0.0.0(3COM:169.254.100.100)•100baseT端口:自动协商双工模式•10baseT端口:半双工•生成树协议:开启•控制台密码:无Catalyst1900系列的缺省配置©1999,CiscoSystems,Inc.—6-18Cat1912Cat192410baseT端口AUI端口100baseT级连端口e0/1toe0/12e0/1toe0/24e0/25e0/25fa0/26(portA)fa0/27(portB)fa0/26(portA)fa0/27(portB)Catalyst1900系列的端口©1999,CiscoSystems,Inc.—6-19wg_sw_d#shrunBuildingconfiguration...Currentconfiguration:!!interfaceEthernet0/1!interfaceEthernet0/2wg_sw_d#shspanPortEthernet0/1ofVLAN1isForwardingPortpathcost100,Portpriority128Designatedroothaspriority32768,address0090.8673.3340Designatedbridgehaspriority32768,address0090.8673.3340DesignatedportisEthernet0/1,pathcost0Timers:messageage20,forwarddelay15,hold1wg_sw_a#showvlan-membershipPortVLANMembershipTypePortVLANMembershipType------------------------------------------------------------------15Static131Static21Static141Static31Static151StaticCatalyst1900系列的端口©1999,CiscoSystems,Inc.—6-20•配置模式全局配置模式wg_sw_a#conftermwg_sw_a(config)#端口配置模式wg_sw_a(config)#interfacee0/1wg_sw_a(config-if)#配置交换机©1999,CiscoSystems,Inc.—6-21配置交换机IP地址wg_sw_a(config)#ipaddress{ipaddress}{mask}©1999,CiscoSystems,Inc.—6-22wg_sw_a(config)#ipaddress10.5.5.11255.255.255.0wg_sw_a(config)#ipaddress{ipaddress}{mask}配置交换机IP地址©1999,CiscoSystems,Inc.

1 / 30
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功