华为配置实例
- 格式:docx
- 大小:813.21 KB
- 文档页数:19
华为交换机各种配置实例[网管必学之阿布丰王创作交换机配置(一)端口限速基本配置华为3Com 2000_EI、S2000-SI、S3000-SI、S3026E、S3526E、S3528、S3552、S3900、S3050、S5012、S5024、S5600系列:华为交换机端口限速2000_EI系列以上的交换机都可以限速!限速分歧的交换机限速的方式纷歧样!2000_EI直接在端口视图下面输入LINE-RATE (4 )参数可选!端口限速配置1功能需求及组网说明端口限速配置『配置环境参数』『组网需求』1. 在SwitchA上配置端口限速,将PC1的下载速率限制在3Mbps,同时将PC1的上传速率限制在1Mbps2数据配置步调『S2000EI系列交换机端口限速配置流程』使用以太网物理端口下面的line-rate命令,来对该端口的出、入报文进行流量限速。
【SwitchA相关配置】1. 进入端口E0/1的配置视图[SwitchA]interface Ethernet 0/12. 对端口E0/1的出方向报文进行流量限速,限制到3Mbps[SwitchA- Ethernet0/1]line-rate outbound 303. 对端口E0/1的入方向报文进行流量限速,限制到1Mbps[SwitchA- Ethernet0/1]line-rate inbound 16【弥补说明】报文速率限制级别取值为1~127。
如果速率限制级别取值在1~28范围内,则速率限制的粒度为64Kbps,这种情况下,当设置的级别为N,则端口上限制的速率大小为N*64K;如果速率限制级别取值在29~127范围内,则速率限制的粒度为1Mbps,这种情况下,当设置的级别为N,则端口上限制的速率大小为(N-27)*1Mbps。
此系列交换机的具体型号包含:S2008-EI、S2016-EI和S2403H-EI。
『S2000-SI和S3000-SI系列交换机端口限速配置流程』使用以太网物理端口下面的line-rate命令,来对该端口的出、入报文进行流量限速。
华为路由器单臂路由实例需求:在局域网中,通过交换机上配置VLAN可以减少主机通信广播域的范围,当VLAN之间有部分主机需要通信,但交换机不支持三层交换时,可以采用一台支持802.1Q的路由器实现VLAN的互通。
这需要在以太口上建立子接口,分配IP地址作为该VLAN的网关,同时启动802.1Q.组网:路由器E0端口与交换机的上行trunk端口(第24端口)相连,交换机下行口划分3个VLAN,带若干主机.拓扑图如下:1.路由器的配置[Router][Router]inter e0[Router-Ethernet0]ip add 10.0.0.1 255.255.255.0[Router-Ethernet0]inter e0.1 //定义子接口E0.1[Router-Ethernet0.1]ip add 172.16.1.1 255.255.255.0[Router-Ethernet0.1]vlan-type dot1q vid 1 //指定以太网子接口属于VLAN1,此命令应用在以太网子接口上。
只有配置了该命令之后,以太网子接口才会根据配置的VLAN ID 号在以太网帧头中嵌入VLAN 标签,与该网口相连的交换机接口才能正确处理接收到的帧。
[Router-Ethernet0.1]inter e0.2 //定义子接口E0.2[Router-Ethernet0.2]ip add 172.16.2.1 255.255.255.0[Router-Ethernet0.2]vlan-type dot1q vid 2 //指定以太网子接口属于VLAN2[Router-Ethernet0.2]inter e0.3 //定义子接口E0.3[Router-Ethernet0.3]ip add 172.16.3.1 255.255.255.0[Router-Ethernet0.3]vlan-type dot1q vid 3 //指定以太网子接口属于VLAN3[Router-Ethernet0.3]inter e0[Router-Ethernet0]undo shut% Interface Ethernet0 is up[Router-Ethernet0] //用网线将E0端口连到S3026第24端口%19:46:32: Interface Ethernet0 changed state to UP%19:46:32: Line protocol ip on interface Ethernet0, changed state to UP%19:46:32: Line protocol ip on interface Ethernet0.1, changed state to UP%19:46:32: Line protocol ip on interface Ethernet0.2, changed state to UP%19:46:32: Line protocol ip on interface Ethernet0.3, changed state to UP2.交换机的配置sysEnter system view , return user view with Ctrl+Z.[Quidway]vlan 1[Quidway-vlan1]vlan 2[Quidway-vlan2]port ethernet 0/17 to eth 0/19 eth 0/22 //将第17至19端口,和第22端口加入VLAN2 [Quidway-vlan2]vlan 3[Quidway-vlan3]port eth 0/21 //将第21端口加入VLAN2[Quidway-vlan3]inter e0/24[Quidway-Ethernet0/24]port link-type trunk //将第24端口设为trunk口[Quidway-Ethernet0/24]port trunk permit vlan all//允许所有VLAN流量通过Please wait........................................... Done. [Quidway-Ethernet0/24]dis port trunk //检验TRUNK口配置Now, the following trunking ports exist:Ethernet0/24[Quidway-Ethernet0/24]dis vlan 2 //检验VLAN2的配置VLAN ID: 2VLAN Type: staticRoute Interface: not configuredDescription: VLAN 0002Tagged Ports:Ethernet0/24Untagged Ports:Ethernet0/17 Ethernet0/18 Ethernet0/19 Ethernet0/22[Quidway-Ethernet0/24]dis vlan 3 //检验VLAN3的配置VLAN ID: 3VLAN Type: staticRoute Interface: not configuredDescription: VLAN 0003Tagged Ports:Ethernet0/24Untagged Ports:Ethernet0/213.在工作站上检查网络是否连通。
2综合配置案例关于本章2.1 中小型园区/分支出口综合配置举例2.2 大型园区出口配置示例(防火墙直连部署)2.3 大型园区出口配置示例(防火墙旁路部署)2.4 校园敏捷网络配置示例2.5 轨道交通承载网快速自愈保护技术配置举例2.6 配置交换机上同时部署ACU2和NGFW的示例2.1 中小型园区/分支出口综合配置举例园区网出口简介园区网出口一般位于企业网内部网络与外部网络的连接处,是内部网络与外部网络之间数据流的唯一出入口。
对于中小型企业来说,考虑到企业网络建设的初期投资与长期运维成本,一般希望将多种业务部署在同一设备上。
企业网络用户一般同时需要访问Internet和私网VPN,而对于中小型企业来说考虑到建设及维护成本问题,一般租用运营商Internet网络组建私网VPN。
对于部分可靠性要求较高的园区网络,一般考虑部署两台出口路由器做冗余备份实现设备级可靠性,同时应用链路聚合、VRRP、主备路由等技术保证园区出口的可靠性。
华为AR系列路由器配合华为S系列交换机是中小型园区网出口设备的理想解决方案。
l园区出口设备需要具备NAT Outbound及NAT Server的功能,实现私网地址和公网地址之间的转换,以满足用户访问Internet或者Internet用户访问内网服务器的需求。
l园区出口设备需要具备通过Internet构建私网VPN的功能,以满足企业用户各个机构之间私网VPN互通的需求。
l园区出口设备需要具备数据加密传输的功能,以保证数据的完整性和机密性,保障用户业务传输的安全。
l中小型园区出口需要具备可靠性、安全性、低成本、易维护等特点。
配置注意事项l本配置案例适用于中小型企业园区/分支出口解决方案。
l本配置案例仅涉及企业网络出口相关配置,涉及企业内网的相关配置请参见华为S 系列园区交换机快速配置中的“中小园区组网场景”。
组网需求某企业总部和分支分别位于不同的城市,地域跨度较远,总部存在A、B两个不同的部门,分支只有一个部门。
最新华为路由器配置实例最新华为路由器配置实例一:介绍华为路由器是一种网络设备,通过路由连接不同的网络,并且能够提供各种网络服务和功能。
本文将详细介绍华为路由器的配置步骤,以便能够帮助用户正确配置和操作华为路由器。
二:准备工作在开始配置华为路由器之前,需要准备以下材料和设备:1. 华为路由器设备2. 电脑或移动设备3. 电缆连接线4. 网络连接配置信息三:连接路由器1. 将华为路由器设备插入电源插座,并确保路由器的电源开关已打开。
2. 使用电缆连接线将路由器的LAN口连接到电脑或移动设备的网口。
四:登录路由器管理界面1. 打开电脑或移动设备上的浏览器,输入默认的路由器管理界面地址(例如:192.168.1.1)。
2. 在弹出的登录界面中,输入默认的用户名和密码,登录。
五:配置基本网络设置1. 在路由器管理界面中,找到“基本网络设置”或类似选项。
2. 输入网络连接配置信息,包括IP地址、子网掩码、网关等。
3. 保存并应用配置。
六:配置无线网络1. 在路由器管理界面中,找到“无线网络设置”或类似选项。
2. 设置无线网络的名称(SSID),选择加密方式并设置密码。
3. 保存并应用配置。
七:配置高级功能根据实际需求,可以配置路由器的各种高级功能,包括但不限于:1. DHCP服务设置2. 端口转发设置3. 安全设置4. VLAN配置5. ... (根据实际需求添加更多内容)八:保存配置并重启路由器1. 确认所有配置都已设置完成并保存。
2. 在路由器管理界面中找到“系统设置”或类似选项。
3. “保存配置并重启路由器”或类似按钮,等待路由器重启完成。
九:附件本文档所涉及的附件包括:1. 华为路由器配置示例截图2. 路由器连接线图片十:法律名词及注释1. 路由器:是一种网络设备,用于连接不同的网络。
2. 网络连接配置信息:包括IP地址、子网掩码、网关等,用于设置网络连接。
3. 默认用户名和密码:路由器的初始登录用户名和密码。
华为路由器配置实例华为路由器配置实例1.硬件连接配置1.1 连接路由器①将电缆连接到路由器的WAN口②将另一端的电缆连接到互联网服务提供商(ISP)的调制解调器1.2 连接计算机①将计算机连接到路由器的LAN口②确保计算机网络设置为自动获得IP地质2.登录路由器管理界面2.1 打开网页浏览器2.2 在浏览器地质栏输入默认的路由器管理界面IP地质(例如.192.16①)2.3 输入用户名和密码登录路由器管理界面3.基本网络设置3.1 修改管理密码①在路由器管理界面中找到“系统管理”或类似选项②设置新的管理密码并确认保存3.2 更新路由器固件①在路由器管理界面中找到“系统升级”或类似选项②相应的固件文件并进行升级3.3 配置网络名称(SSID)①在路由器管理界面中找到“无线设置”或类似选项②输入新的网络名称(SSID)并确认保存3.4 配置密码①在路由器管理界面中找到“无线设置”或类似选项②设置新的无线密码并确认保存3.5 配置IP地质分配①在路由器管理界面中找到“局域网设置”或类似选项②设置IP地质分配方式为DHCP(自动获取)4.高级网络设置4.1 配置端口转发①在路由器管理界面中找到“虚拟服务器”或类似选项②添加需要转发的端口号和对应的内部IP地质4.2 配置端口触发①在路由器管理界面中找到“端口触发”或类似选项②添加需要触发的端口范围和对应的触发条件4.3 配置静态路由①在路由器管理界面中找到“静态路由”或类似选项②添加需要配置的网络地质和对应的出口或下一跳选项5.安全设置5.1 配置防火墙①在路由器管理界面中找到“防火墙”或类似选项②配置需要开放或关闭的端口5.2 启用MAC地质过滤①在路由器管理界面中找到“无线设置”或类似选项②添加允许或禁止连接的MAC地质5.3 启用网络地质转换(NAT)①在路由器管理界面中找到“NAT”或类似选项②启用NAT并确认保存6.附件本文档涉及附件:●路由器配置截图●路由器固件升级文件●其他相关配置文件7.法律名词及注释●IP地质:Internet Protocol Address,互联网协议地质,用于标识网络设备的唯一地质。
华为交换机配置实例序号注意项目记录1 登录交换机时请注意在超级终端串口配置属性流控选择“无”2 启动时按”ctrl+B”可以进入到boot menu模式3 当交换机提示”Please Press ENTER”,敲完回车后请等待一下,设备需要一定的时间才能进入到命令行界面(具体的时间视产品而定)4 请在用户视图(如<Quidway>)输入”system-view”(输入”sys”即可)进入系统视图(如[Quidway])5 对使用的端口、vlan、interface vlan进行详细的描述6 如果配置了telnet用户,一定要设置权限或配置super密码7 除了S5516使用SFP模块,S8016和S6500系列使用模块,其它产品使用模块不可以带电插拔8 某产品使用其它产品模块前请确认该模块是否可以混用9 配置acl时请注意掩码配置是否准确10 二层交换机配置管理IP后,请确保管理vlan包含了管理报文到达的端口11 配置完毕后请在用户视图下(如<Quidway>)采用save命令保存配置12 请确保在设备保存配置的时候不掉电,否则可能会导致配置丢失13 如果要清除所有配置,请在用户视图下(如<Quidway>)采用resetsaved-configuration,并重启交换机注:其他配置需注意的地方请参考每部分内容后面的注明LANSW IT CH日常维护基本操作1 基本操作1.1 常用命令新旧对照列表常用命令新旧对照表旧新旧新show display access-list aclno undo acl eaclexit quitwrite save show version disp versionerase reset show run disp current-configurationshow tech-support disp diagnostic-informationshow start disp saved-configurationrouter ospf ospfrouter bgp bgprouter rip riphostname sysnameuser local-user0 simple7 ciphermode link-typemulti hybrid注意:1. disp是display的缩写,在没有歧义时LANSW IT CH会自动识别不完整词2. disp cur显示LANSW IT CH当前生效的配置参数3. disp和ping命令在任何视图下都可执行,不必切换到系统视图4. 删除某条命令,一般的命令是undo xxx,另一种情况是用其他的参数代替现在的参数,如有时虽然xxx abc无法使用undo删除,但是可以修改为xxx def以太网端口链路类型介绍以太网端口有三种链路类型:Access、Hybrid和Trunk。
同网段内配置基于接口地址池的DHCP服务器示例组网需求如所示,某企业有两个处于同•网络内的办公室,为了节省资源,两个办公室内的主机由SwitchA作为DHCP服务器统•分配IP地址。
配置思路基于VLANIF接口地址池的DHCP服务器的配置思路如下:1.在SwitchA上创建两个接口地址池并配置地址池相关属性,实现DHCP服务器可以根据不同需求,从不同的接口地址池中选择合适的IP地址及其配置参数分配给办公室主机。
2.在SwitchA上配置VLANIF接口基于接口地址池的地址分配方式,实现DHCP服务器从基于接口的地址池中选择IP地址分配给办公室主机。
操作步骤1.使能DHCP服务2・〈HUAWEI〉system-view3・[HUAWEI] sysname SwitchA[SwitchA」dhcp enable4.配置接口加入VLAN#配置GEO/O/1 接口加入VLAN10。
#配置GE0/0/2 加接口入VLAN11。
5•配置VLANIF接口IP地址#配置VLANIF10接口地址。
#配置VLANIF11接口地址。
6•使能VLANIF接口地址池#配置VLANIF10接口下的客户端从接口地址池中获取IP地址<=#配置VLANIF11接口下的客户端从接口地址池中获取IP地址。
7•配置接口地址池的DNS服务和NetBIOS服务#配置VLANIF10接口地址池下的DNS服务和NetBIOS服务。
8 •配置接口地址池中地址租用期限#配置VLANIF1O接口地址租用期限为30天。
#配置VLANIF11接口地址租用期限为20天。
9 •验证配置结果在SwitchA上使用display ip pool命令用来査看接口地址池配置情况。
配置文件SwitchA的配置文件http hwtacacshwtacacs-server iemp icmp-reply igmp-snoopingHTTPSet the status of the HWTACACS(Huawei Terminal Access Controller Access Control System) service Set HWTACACS serverSpecify ICMP configuration informationEnable ICMP reply fastSpecify parameters for IGMP-Snoopinginfo-center Specify information center configuration informationinterface Specify the interface configuration viewip IP informationipv6 Enable IPv6 functionality12-topology Layer 2 topology12protocol-tunnel Layer 2 protocol tunnellacp Link aggregation control protocollldp Link Layer Discovery Protocolload-balance Specify load balance modeloopback-detect Loopback detect functionmac-address Mac-addressmac-authen MAC authenticate configure informationmac-forced-foru r arding Mao Forced Forwardingmac-learning MAC learningmac-limit MAC limitmac-spoofing-defend MAC spoofing defendmad Multi-active detectionmanagement-port Management portmatched Is Command can be matched by upper template mid-snooping Specify parameters for MLD-Snoopingmonitor-link Monitor link configuration informationmulticast Multicast configuration informationnap NAP protocolnd Neighbor discoverynqa Network Quality Analysis(NQA)nqa-jitter Switch NQA jitter versionnqa-server Specify NQA echo serverntp-service Specify NTP (Network Time Protocol) configurationinformationoam-mgr Oam-mgr viewobserve-port Configure observe port featureping Ping functionpoe Power over Ethernetport Portport-group Port-groupport-isolate Port isolatepppoe PPPOEqos QoS configurationradius-sender Add or delete RADIUS server templatermon Specify RMON configurationroute-policy Route-policyroute-policy-change Specify route policy change parameterrouter Configure router informationSet RPS statusRapid ring protection protocolSpecify RSA module configuration informationSource Address Validation Improveincnt Set SCP server Set screen width Smart ethernet protectionSet the mode of power management SFlow moduleSet SFTP service attribute Backup switch from master to slave Set device to sleep modeSmart link configuration informationSpecify SNMP(Simple Network Management Protocol) configuration informationSet the SSH (secure shell) configuration attribute Security socket layer Stack Stack portStartup configuration Set Stelnet sen-ice attributeSpecify Spanning Tree Protocol (STP) configuration information Suppression, include broadcast-suppressioiL multicast-suppression and unicast-suppression System-netidSpecify the host nameSpecify TCP(Transmission Control Protocol) configuration information Set the status of the Telnet service Device temperature Establish a TFTP connection TFTP serverSpecify time-range configuration information Trace route (switch) to host on Data Link Layer Specify traffic configuration information Filter packets based on aclLimit the rate of the packets based on acl Mirror packets based on acl Apply specific traffic policy Redirect packets based on aclRemark packets based on aclFilter packets based on acl Count packets based on aclrps rrpp rsa savi scp screen-width sep setsflow sftp slave sleep smart-link snmp-agent ssh ssl stack stack-port startup stelnet stp suppression sys-nctid sysnamc tcp telnet temperature tftp tftp-server time-range trace traffic traffic-filter traffic-limit traffic-mirror traffic-policy traffic-redirect traffic-remark traffic-secure traffic-statistictransceiver user-bind user-interface vlan voice-vlan[xinhaojundo vlTransceiverUser bindConfigure the user terminal interface Virtual LANVoice VLAN[xinhaojundo vlan 10[xinhao][xinhao][xinhaojqu[xinhaojquit<xinhao>1.3.1configurations have been changed・ The current change number is 23, the cha nge loop count is 0. and the maximum number of records is 4O95.di<xinhao>di<xinhao>display vlanThe total number of vlans is : 2U: Up; D: Down; TG: Tagged; UT: Un tagged;MP: Vlan-mapping; ST: Vlan-stacking;#: ProtocolTransparent-vlan; *: Management-vlan;VID Type Ports1 common UT:GE0/0/l(D) GE0/0/2(D) GE0/0/3(D) GE0/0/4(D)GE0/0/5(D) GE0/0/6(D) GE0/0/7(D) GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/ll(D) GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D) GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)GE0/0/2KD) GE0/0/22(D) GE0/0/23(D) GE0/0/24(D)GE0/0/25(D) GE0/0/26(D) GE0/0/27(D) GE0/0/28(D) 757 common UT:GE0/0/24(D)VID Status Property MAC-LRN Statistics Description1 enable default enable disable VLAN 0001757 enable default enable disable VLAN 0757<xinhao>save<xinhao>saveThe current configuration will be written to the device・Are you sure to continue[Y/N]yNow saving the current configuration to the slot 0.Jan 14 2000 23:57:55 xinhao %%01CFM/4/SAVE(l)[ 1 ]:The user chose Y when deciding whether to save the configuration to the device・Save the configuration successfully・<xinhao><xinhao><xinhao><xinhao>ssy<xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhaojint[xinhaojinterface g[xinhaojinterface GigabitEthernet 0/0/1[xinhao-GigabitEthemetO/O/1 Jport[xinhao-GigabitEthemetO/O/1 Jport hy[xinhao-GigabitEthernetO/O/1 Jport hybrid pvid[xinhao-GigabitEthernetO/O/1 Jport hybrid pvid vl[xinhao-GigabitEthernetO/O/1 Jport hybrid pvid vlan 757 [xinhao-GigabitEthernetO/O/1 ] 1.3.1configurations have been changed. The current change number is 24, the cha nge loop count is 0. and the maximum number of records is 4095・ [xinhao-GigabitEthernetO/O/1 Jport [xinhao-GigabitEthernetO/O/1 Jport hybrid pvid vlan 1[xinhao-GigabitEthernetO/O/1 ]1.3.1configurations have been changed. The current change number is 25, the cha nge loop count is 0, and the maximum number of records is 4095・ [xinhao-GigabitEthernetO/O/1 ]qu Ixinhao][xinhao][xinhao][xinhao][xinhao]qu<xinhao><xinhao><xinhao><xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhaojvlan 10[xinhao-vlanlO]1.3.1configurations have been changed・ The current change number is 26, the cha nge loop count is 0. and the maximum number of records is 4095・[xinhao-vlanlOJundo[xinhao-vlanl0]undo sh[xinhao-vlanlOJname 10[xinhao-vlanl0]qu[xinhao-vlanl0]quitJxinhaoJint [xinhaojinterface vl1.3.1 configurations have been changed ・ The current change number is 27, the cha nge loop count is 0. and the maximum number of records is 4095・ [xinhaojinterface vl [xinhaojinterface Vlanif 10Error: Can not create this interface because the interface number of this type h as reached its maximum, [xinhaojundo [xinhaojundo su [xinhao]undo sh [xinhao]undo aaa aaa-authen-bypass aaa-author-bypass aaa-author-cnid-bypass access-user Specify ACL configuration information Specify anti-attack configurations Set application-apperceive information ARP module Specify arp suppress configuration information, default is disabled The AS notation Assgin AssistantAuthentication easy-modeAuthorization information BPDU message Btv viewConnectivity fault managementSpecify the system clock Specify the command levelConfiguration interlockConfiguration exclusive occupiedConfigure CPU defend policyConfigure CPU defend policySet epu usage configuration Enable system debugging functions Device sensorDynamic host configure protocol Device link detection protocol Specify domain name system Default domainAAASet remote authentication bypass Set remote authorization bypassSet remote command authorization bypass User access acl anti-attackapplication-apperceive arparp-suppressas-notation assign assistant authenticationauthorization-info bpdu btv cfm clock command-privilege configuration configuration-occupied cpu-defend cpu-defend-policycpu-usagedebugging device-sensor dhep dldp dns domain802configuration information Discard attributeSpecify DSA module configurations Easy operation EFM moduleEthernet ring protection switchingThe interface was shut down because of an error event Ethernet loop protectionFIB status and configuration information Specify file system configuration information Set the FTP server attributesGeneric Attribute Registration Protocol The generalized TTL security mechanism Generic VLAN Registration Protocol Define the login banner HTTPSet the status of the HWTACACS( Huawei Terminal Access Controller Access Control System) service Set HWTACACS serverSpecify ICMP configuration information Enable ICMP reply fastSpecify parameters for IGMP-Snooping Specify information center configuration informationSpecify the interface configuration view IP informationEnable IPv6 functionality Layer 2 topology Layer 2 protocol tunnelLink aggregation control protocol Link Layer Discovery Protocol Specify load balance mode Loopback detect function Mac-addressMAC authenticate configure information Mac-Forced Forwarding MAC learning MAC limitMAC spoofing defendMulti-active detectionManagement portIs Command can be matched by upper template Specify parameters for MLD-Snoopingdot lx drop dsa easy-operation efm erps error-downethernet-loop-protection fib file ftp garp gtsm gvrp header http hwtacacs hwtacacs-server icmp icmp-reply igmp-snooping info-center interface ip ipv6 12-topology12protocol-tunnel lacp lldp load-balance loopback-detect mac-address mac-authen mac-forced-forwarding mac-learningmac-limitmac-spoofing-defend mad management-port matched mid-snoopingmonitor-link Monitor link configuration informationmulticast Multicast configuration informationnap NAP protocolnd Neighbor discoverynqa Network Quality Analysis(NQA)nqa-jitter Switch NQA jitter versionnqa-server Specify NQA echo serverntp-service Specify NTP (Network Time Protocol) configurationinformationoam-mgr Oam-mgr viewobserve-port Configure observe port featurePing Ping functionpoe Power over Ethernetport Portport-group Port-groupport-isolate Port isolatepppoc PPPOEqos QoS configurationradius-sen f er Add or delete RADIUS server templatermon Specify RMON configurationroute-policy Route-policyroute-policy-change Specify route policy change parameterrouter Configure router informationrps Set RPS statusrrpp Rapid ring protection protocolrsa Specify RSA module configuration informationsavi Source Address Validation Improvementscp Set SCP serverscreen-width Set screen widthsep Smart ethernet protectionset Set the mode of power managementsflow SFlow modulesftp Set SFTP service attributeslave Backup switch from master to slavesleep Set device to sleep modesmart-link Smart link configuration informationsnmp-agent Specify SNMP(Simple Network Management Protocol)configuration informationssh Set the SSH (secure shell) configuration attributessl Security socket layerstack Stackstack-port Stack portstartup Startup configurationstelnet Set Stelnet service attributestp Specify Spanning Tree Protocol (STP) configurationinformationsuppression Suppression. include broadcast-suppression, multicast-suppression and unicast-suppression sys-netid System-netidsysname Specify the host nametcp Specify TCP(Transmission Control Protocol)configuration informationtelnet Set the status of the Telnet servicetemperature Device temperaturetftp Establish a TFTP connectiontftp-server TFTP servertime-range Specify time-range configuration informationtrace Trace route (switch) to host on Data Link Layertraffic Specify traffic configuration informationtraffic-filter Filter packets based on acltraffic-limit Limit the rate of the packets based on acltraffic-mirror Mirror packets based on acltraffic-policy Apply specific traffic policytraffic-rcdirect Redirect packets based on acltraffic-remark Remark packets based on acltraffic-secure Filter packets based on acltraffic-statistic Count packets based on acltransceiver Transceiveruser-bind User binduser-interface Configure the user terminal interfacevlan Virtual LANvoice-vlanVoice VLAN[xinhaojundo ssavi sepscreen-width sepset sflowsftp slavesleep smart-linksnmp-agent sshssl stackstack-port startupstelnet stpsys-netidsuppression sysname[xinhaojsys [xinhao]int[xinhaojinterface g[xinhaojinterface GigabitEthernet 0/0/1[xinhao-GigabitEthemetO/O/1 ]port [xinhao-GigabitEthemetO/O/1 ]port hy [xinhao-GigabitEthemetO/O/1 ]port hybrid pv [xinhao-GigabitEthernetO/O/1 ]port hybrid pvid vlan [xinhao-GigabitEthernetO/O/1 ]port hybrid pvid vlan 10 [xinhao-GigabitEthemetO/O/1 ]qu [xinhao]1.3.1 configurations have been changed ・ The current change number is 28、 the cha nge loop count is 0, and the maximum number of records is 4095・ [xinhaojqu <xinhao> <xinhao> <xinhao>di<xinhao>display vlan The total number of vlans is : 3 TG: Tagged; UT: Un tagged;ST: Vlan-stacking; *: Management-vlan:VID Type Ports1commonUT:GE0/0/l(D) GE0/0/2(D) GE0/0/3(D) GE0/0/4(D) GE0/0/5(D) GE0/0/6(D) GE0/0/7(D) GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/1KD) GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D) GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)GE0/0/2KD) GE0/0/22(D) GE0/0/23(D) GE0/0/24(D)GE0/0/25(D)GE0/0/26(D)GE0/0/27(D)GE0/0/28(D)10 common757 commonUT:GE0/0/24(D)VID Status Property MAC-LRN Statistics Description1enabledefault enable disable VLAN 000110 enable default enable disable VLAN 0010 757 enable defaultenable disableVLAN 0757<xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z. [xinhao]int [xinhaojinterface g[xinhao]interface GigabitEthernet 0/0/1 [xinhao-GigabitEthemetO/O/1 ]port [xinhao-GigabitEthemetO/O/1 ]port hyb [xinhao-GigabitEthemetO/O/1 ]port hybrid pvidU: Up; D: Down; MP: Vlan-mapping;#: ProtocolTransparent-vIan;[xinhao-GigabitEthemetO/O/1 ]port hybrid pvid vlan[xinhao-GigabitEthemetO/O/1 ]port hybrid pvid vlan 575Error: The VLAN does not exist・[xinhao-GigabitEthernetO/O/1 ]port hybrid pvid vlan 757[xinhao-GigabitEthemetO/O/1 ]port1.3.1configurations have been changed・ The current change number is 29. the cha nge loop count is 0, and the maximum number of records is 4095.[xinhao-GigabitEthemetO/O/1 ]port hy[xinhao-GigabitEthemetO/O/1 ]port hybrid un[xinhao-GigabitEthemetO/O/1 Jport hybrid untagged vlan 757Info: This operation may take a few seconds・ Please wait for a moment...done・ [xinhao-GigabitEthernetO/O/1 ]1.3.1configurations have been changed・ The current change number is 30, the cha nge loop count is 0. and the maximum number of records is 4095・ [xinhao-GigabitEthernetO/O/1 ]qu [xinhao-GigabitEthemetO/O/1 ]int[xinhao-GigabitEthernet0/0/l]port[xinhao-GigabitEthernetO/O/1 Jport hybrid pvid vlan 10 [xinhao-GigabitEthernetO/O/1 Jport hybrid untagged vlan 10Info: This operation may take a few seconds・ Please wait for a moment...done・ [xinhao-GigabitEthernetO/O/1 ][xinhao-GigabitEthernetO/O/1 ][xinhao-GigabitEthernctO/O/1 ][xinhao-GigabitEthernetO/O/1 ]qu[xinhao-GigabitEthemetO/O/1 Jquit1.3.1configurations have been changed・ The current change number is 32, the cha nge loop count is 0. and the maximum number of records is 4095・ [xinhao-GigabitEthernetO/O/1 ] [xinhao]qu<xinhao>di<xinhao>display vlanThe total number of vlans is : 3U: Up; D: Down; TG: Tagged; UT: Untagged;MP: Vlan-mapping; ST: Vlan-stacking;#: ProtocolTransparent-vlan; *: Management-vlan;VID Type Ports1 common UT:GE0/0/l (D) GE0/0/2(D) GE0/0/3(D) GE0/0/4(D)GE0/0/5(D) GE0/0/6(D) GE0/0/7(D) GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/1KD) GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D) GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D) GE0/0/20(D)GE0/0/2KD) GE0/0/22(D) GE0/0/23(D) GE0/0/24(D)GEO/O/25(D)GE0/0/26(D)GE0/0/27(D)GE0/0/28(D)10 common UT:GE0/0/l(D)757 common UT:GE0/0/l(D) GE0/0/24(D)VID Status Property MAC-LRN Statistics Description Enter system view, return user view with Ctrl+Z. [xinhao]1 enable default enable disable 10 enable defaultenable disable757 enable default <xinhao>sys<xinhao>system-viewenable disableVLAN 0001 VLAN 0010VLAN 0757。
华为策略路由配置实例1、组网需求图1 策略路由组网示例图如上图1所示,公司用户通过Switch双归属到外部网络设备。
其中,一条是低速链路,网关为10.1.20.1/24;另外一条是高速链路,网关为10.1.30.1/24。
公司希望上送外部网络的报文中,IP优先级为4、5、6、7的报文通过高速链路传输,而IP优先级为0、1、2、3的报文则通过低速链路传输。
2、配置思路1、创建VLAN并配置各接口,实现公司和外部网络设备互连。
2、配置ACL规则,分别匹配IP优先级4、5、6、7,以及IP优先级0、1、2、3。
3、配置流分类,匹配规则为上述ACL规则,使设备可以对报文进行区分。
4、配置流行为,使满足不同规则的报文分别被重定向到10.1.20.1/24和10.1.30.1/24。
5、配置流策略,绑定上述流分类和流行为,并应用到接口GE2/0/1的入方向上,实现策略路由。
3、操作步骤3.1、创建VLAN并配置各接口# 在Switch上创建VLAN100和VLAN200。
<HUAWEI> system-view[HUAWEI] sysname Switch[Switch] vlan batch 100 200# 配置Switch上接口GE1/0/1、GE1/0/2和GE2/0/1的接口类型为Trunk,并加入VLAN100和VLAN200。
[Switch] interface gigabitethernet 1/0/1[Switch-GigabitEthernet1/0/1] port link-type trunk[Switch-GigabitEthernet1/0/1] port trunk allow-pass vlan 100 200 [Switch-GigabitEthernet1/0/1] quit[Switch] interface gigabitethernet 1/0/2[Switch-GigabitEthernet1/0/2] port link-type trunk[Switch-GigabitEthernet1/0/2] port trunk allow-pass vlan 100 200 [Switch-GigabitEthernet1/0/2] quit[Switch] interface gigabitethernet 2/0/1[Switch-GigabitEthernet2/0/1] port link-type trunk[Switch-GigabitEthernet2/0/1] port trunk allow-pass vlan 100 200 [Switch-GigabitEthernet2/0/1] quit配置LSW与Switch对接的接口为Trunk类型接口,并加入VLAN100和VLAN200。
华为VLAN-VPN配置实例『配置环境参数』1.Switch A、Switch B、Switch C为S5600交换机。
2.Switch A和Switch C的端口GigabitEthernet1/0/1分别与两侧的用户网络相连。
『组网要求』1.Switch B只允许VLAN 10的报文通过。
2.Switch A和Switch C所连接的用户网络之间能够互通非VLAN 10的报文。
2适用产品及版本S3900系列,S5100系列,S5500系列,S5600系列S3900 Release 0019以后的版本,S5600 Release 0035以后的版本3数据配置步骤『VLAN-VPN配置流程』1.创建VLAN10,将交换机相关接口加入VLAN10。
2.将Switch A、Switch C与Switch B相连的端口配置为trunk口,Switch B 两端的接口也配置为trunk口。
3.将Switch A和Switch C的端口GigabitEthernet1/0/1配置为VLAN-VPN端口。
【SwitchA相关配置】1.将交换机改名为SwitchA[Quidway]sysname SwitchA2.创建(进入)VLAN10[SwitchA] vlan 103.进入GigabitEthernet1/0/2端口[SwitchA-vlan10] interface GigabitEthernet1/0/24.配置端口类型为trunk[SwitchA-GigabitEthernet1/0/2] port link-type trunk5.将接口加入VLAN10[SwitchA-GigabitEthernet1/0/2] port trunk permit vlan 10 6.进入GigabitEthernet1/0/1端口[SwitchA-GigabitEthernet1/0/2] interface GigabitEthernet1/0/1 7.将接口加入VLAN10[SwitchA-GigabitEthernet1/0/1] port access vlan 108.开启端口的VLAN-VPN特性[SwitchA-GigabitEthernet1/0/1] vlan-vpn enable【SwitchB相关配置】1.将交换机改名为SwitchB[Quidway]sysname SwitchB2.创建(进入)VLAN10[SwitchB] vlan 103.进入GigabitEthernet1/0/1端口[SwitchB] interface GigabitEthernet1/0/14.配置端口类型为trunk[SwitchB-GigabitEthernet1/0/1] port link-type trunk5.将接口加入VLAN10[SwitchB-GigabitEthernet1/0/1] port trunk permit vlan 10 6.进入GigabitEthernet1/0/2端口[SwitchB-GigabitEthernet1/0/1] interface GigabitEthernet1/0/2 7.配置端口类型为trunk[SwitchB-GigabitEthernet1/0/2] port link-type trunk8.将接口加入VLAN10[SwitchB-GigabitEthernet1/0/2] port trunk permit vlan 10【SwitchC相关配置】Switch C的配置与Switch A的配置相同。
华为配置实例 Hessen was revised in January 2021同网段内配置基于接口地址池的DHCP服务器示例组网需求如所示,某企业有两个处于同一网络内的办公室,为了节省资源,两个办公室内的主机由SwitchA作为DHCP服务器统一分配IP地址。
办公室1所属的网段为/24,主机都加入VLAN10,办公室1使用DNS服务和NetBIOS服务,地址租期30天;办公室2所属的网段为/24,主机都加入VLAN11,办公室2不使用DNS服务和NetBIOS服务,地址租期20天。
配置思路基于VLANIF接口地址池的DHCP服务器的配置思路如下:1.在SwitchA上创建两个接口地址池并配置地址池相关属性,实现DHCP服务器可以根据不同需求,从不同的接口地址池中选择合适的IP地址及其配置参数分配给办公室主机。
2.在SwitchA上配置VLANIF接口基于接口地址池的地址分配方式,实现DHCP服务器从基于接口的地址池中选择IP地址分配给办公室主机。
操作步骤1.使能DHCP服务2. <HUAWEI> system-view3. [HUAWEI] sysname SwitchA[SwitchA] dhcp enable4.配置接口加入VLAN#配置GE0/0/1接口加入VLAN10。
[SwitchA] vlan batch 10 to 11[SwitchA] interface gigabitethernet 0/0/1[SwitchA-GigabitEthernet0/0/1] port hybrid pvid vlan 10[SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 10[SwitchA-GigabitEthernet0/0/1] quit#配置GE0/0/2加接口入VLAN11。
[SwitchA] interface gigabitethernet 0/0/2[SwitchA-GigabitEthernet0/0/2] port hybrid pvid vlan 11[SwitchA-GigabitEthernet0/0/2] port hybrid untagged vlan 11[SwitchA-GigabitEthernet0/0/2] quit5.配置VLANIF接口IP地址#配置VLANIF10接口地址。
[SwitchA] interface vlanif 10[SwitchA-Vlanif10] ip address 24[SwitchA-Vlanif10] quit#配置VLANIF11接口地址。
[SwitchA] interface vlanif 11[SwitchA-Vlanif11] ip address 24[SwitchA-Vlanif11] quit6.使能VLANIF接口地址池#配置VLANIF10接口下的客户端从接口地址池中获取IP地址。
[SwitchA] interface vlanif 10[SwitchA-Vlanif10] dhcp select interface[SwitchA-Vlanif10] quit#配置VLANIF11接口下的客户端从接口地址池中获取IP地址。
[SwitchA] interface vlanif 11[SwitchA-Vlanif11] dhcp select interface[SwitchA-Vlanif11] quit7.配置接口地址池的DNS服务和NetBIOS服务#配置VLANIF10接口地址池下的DNS服务和NetBIOS服务。
[SwitchA] interface vlanif 10[SwitchA-Vlanif10] dhcp server domain-name[SwitchA-Vlanif10] dhcp server dns-list[SwitchA-Vlanif10] dhcp server nbns-list[SwitchA-Vlanif10] dhcp server excluded-ip-address [SwitchA-Vlanif10] dhcp server excluded-ip-address [SwitchA-Vlanif10] dhcp server netbios-type b-node [SwitchA-Vlanif10] quit8.配置接口地址池中地址租用期限#配置VLANIF10接口地址租用期限为30天。
[SwitchA] interface vlanif 10[SwitchA-Vlanif10] dhcp server lease day 30[SwitchA-Vlanif10] quit#配置VLANIF11接口地址租用期限为20天。
[SwitchA] interface vlanif 11[SwitchA-Vlanif11] dhcp server lease day 20[SwitchA-Vlanif11] quit9.验证配置结果在SwitchA上使用display ip pool命令用来查看接口地址池配置情况。
[SwitchA] display ip pool interface vlanif10Pool-name : Vlanif10Pool-No : 0Lease : 30 Days 0 Hours 0 MinutesDomain-name :DNS-server0 :NBNS-server0 :Netbios-type : b-nodePosition : Interface Status : UnlockedGateway-0 :Mask :VPN instance : -------------------------------------------------------------------------------Start End Total Used Idle(Expired) Conflict Disable-----------------------------------------------------------------------------253 1 250(0) 0 2-----------------------------------------------------------------------------[SwitchA] display ip pool interface vlanif11Pool-name : Vlanif11Pool-No : 1Lease : 20 Days 0 Hours 0 MinutesDomain-name : -DNS-server0 : -NBNS-server0 : -Netbios-type : -Position : Interface Status : UnlockedGateway-0 :Mask :VPN instance : -------------------------------------------------------------------------------Start End Total Used Idle(Expired) Conflict Disable-----------------------------------------------------------------------------253 3 250(0) 0 0-----------------------------------------------------------------------------配置文件SwitchA的配置文件#sysname HUAWEI#vlan batch 10 to 11#dhcp enable#interface Vlanif10ip addressdhcp select interfacedhcp server excluded-ip-addressdhcp server lease day 30 hour 0 minute 0dhcp server dns-listdhcp server netbios-type b-nodedhcp server nbns-listdhcp server domain-name#interface Vlanif11ip addressdhcp select interfacedhcp server lease day 20 hour 0 minute 0#interface GigabitEthernet0/0/1port hybrid pvid vlan 10port hybrid untagged vlan 10#interface GigabitEthernet0/0/2port hybrid pvid vlan 11port hybrid untagged vlan 11#returnheader Define the login bannerhttp HTTPhwtacacs Set the status of the HWTACACS(Huawei TerminalAccess Controller Access Control System) servicehwtacacs-server Set HWTACACS servericmp Specify ICMP configuration informationicmp-reply Enable ICMP reply fastigmp-snooping Specify parameters for IGMP-Snoopinginfo-center Specify information center configuration informationinterface Specify the interface configuration view ip IP informationipv6 Enable IPv6 functionalityl2-topology Layer 2 topologyl2protocol-tunnel Layer 2 protocol tunnellacp Link aggregation control protocollldp Link Layer Discovery Protocolload-balance Specify load balance modeloopback-detect Loopback detect functionmac-address Mac-addressmac-authen MAC authenticate configure informationmac-forced-forwarding Mac-Forced Forwardingmac-learning MAC learningmac-limit MAC limitmac-spoofing-defend MAC spoofing defendmad Multi-active detectionmanagement-port Management portmatched Is Command can be matched by upper templatemld-snooping Specify parameters for MLD-Snoopingmonitor-link Monitor link configuration informationmulticast Multicast configuration informationnap NAP protocolnd Neighbor discoverynqa Network Quality Analysis(NQA)nqa-jitter Switch NQA jitter versionnqa-server Specify NQA echo serverntp-service Specify NTP (Network Time Protocol) configurationinformationoam-mgr Oam-mgr viewobserve-port Configure observe port featureping Ping functionpoe Power over Ethernetport Portport-group Port-groupport-isolate Port isolatepppoe PPPOEqos QoS configurationradius-server Add or delete RADIUS server templatermon Specify RMON configurationroute-policy Route-policyroute-policy-change Specify route policy change parameterrouter Configure router informationrps Set RPS statusrrpp Rapid ring protection protocolrsa Specify RSA module configuration informationsavi Source Address Validation Improvementscp Set SCP serverscreen-width Set screen widthsep Smart ethernet protectionset Set the mode of power managementsflow SFlow modulesftp Set SFTP service attributeslave Backup switch from master to slavesleep Set device to sleep modesmart-link Smart link configuration informationsnmp-agent Specify SNMP(Simple Network Management Protocol)configuration informationssh Set the SSH (secure shell) configuration attributessl Security socket layerstack Stackstack-port Stack portstartup Startup configurationstelnet Set Stelnet service attributestp Specify Spanning Tree Protocol (STP) configurationinformationsuppression Suppression, include broadcast-suppression,multicast-suppression and unicast-suppressionsys-netid System-netidsysname Specify the host nametcp Specify TCP(Transmission Control Protocol) configuration informationtelnet Set the status of the Telnet servicetemperature Device temperaturetftp Establish a TFTP connectiontftp-server TFTP servertime-range Specify time-range configuration informationtrace Trace route (switch) to host on Data Link Layertraffic Specify traffic configuration information traffic-filter Filter packets based on acltraffic-limit Limit the rate of the packets based onacltraffic-mirror Mirror packets based on acltraffic-policy Apply specific traffic policytraffic-redirect Redirect packets based on acltraffic-remark Remark packets based on acltraffic-secure Filter packets based on acltraffic-statistic Count packets based on acltransceiver Transceiveruser-bind User binduser-interface Configure the user terminal interfacevlan Virtual LANvoice-vlan Voice VLAN[xinhao]undo vl[xinhao]undo vlan 10[xinhao][xinhao][xinhao]qu[xinhao]quit<xinhao>Jan 14 2000 23:57:30 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 23, the change loop count is 0, and the maximum number of records is<xinhao>di<xinhao>display vlanThe total number of vlans is : 2--------------------------------------------------------------------------------U: Up; D: Down; TG: Tagged; UT: Untagged; MP: Vlan-mapping; ST: Vlan-stacking;#: ProtocolTransparent-vlan; *: Management-vlan;--------------------------------------------------------------------------------VID Type Ports--------------------------------------------------------------------------------1 common UT:GE0/0/1(D) GE0/0/2(D) GE0/0/3(D)GE0/0/4(D)GE0/0/5(D) GE0/0/6(D) GE0/0/7(D)GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/11(D)GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D)GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D)GE0/0/20(D)GE0/0/21(D) GE0/0/22(D) GE0/0/23(D)GE0/0/24(D)GE0/0/25(D) GE0/0/26(D) GE0/0/27(D)GE0/0/28(D)757 common UT:GE0/0/24(D)VID Status Property MAC-LRN Statistics Description--------------------------------------------------------------------------------1 enable default enable disable VLAN 0001757 enable default enable disable VLAN 0757<xinhao>save<xinhao>saveThe current configuration will be written to the device.Are you sure to continue[Y/N]yNow saving the current configuration to the slot 0.Jan 14 2000 23:57:55 xinhao %%01CFM/4/SAVE(l)[1]:The user chose Y when decidingwhether to save the configuration to the device.Save the configuration successfully.<xinhao><xinhao><xinhao><xinhao>ssy<xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhao]int[xinhao]interface g[xinhao]interface GigabitEthernet 0/0/1[xinhao-GigabitEthernet0/0/1]port[xinhao-GigabitEthernet0/0/1]port hy[xinhao-GigabitEthernet0/0/1]port hybrid pvid[xinhao-GigabitEthernet0/0/1]port hybrid pvid vl[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 757[xinhao-GigabitEthernet0/0/1]Jan 15 2000 00:03:20 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 24, the change loop count is 0, and the maximum number of records is 4095. [xinhao-GigabitEthernet0/0/1]port[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 1[xinhao-GigabitEthernet0/0/1]Jan 15 2000 00:03:40 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 25, the change loop count is 0, and the maximum number of records is 4095. [xinhao-GigabitEthernet0/0/1]qu[xinhao][xinhao][xinhao][xinhao][xinhao]qu<xinhao><xinhao><xinhao><xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhao]vlan 10[xinhao-vlan10]Jan 15 2000 00:04:00 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 26, the change loop count is 0, and the maximum number of records is 4095. [xinhao-vlan10]undo[xinhao-vlan10]undo sh[xinhao-vlan10]name 10[xinhao-vlan10]qu[xinhao-vlan10]quit[xinhao]int[xinhao]interface vlJan 15 2000 00:04:20 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 27, the change loop count is 0, and the maximum number of records is 4095. [xinhao]interface vl[xinhao]interface Vlanif 10Error: Can not create this interface because the interface number of this type has reached its maximum.[xinhao]undo[xinhao]undo su[xinhao]undo sh[xinhao]undoaaa AAAaaa-authen-bypass Set remote authentication bypassaaa-author-bypass Set remote authorization bypassaaa-author-cmd-bypass Set remote command authorization bypass access-user User accessacl Specify ACL configuration informationanti-attack Specify anti-attack configurationsapplication-apperceive Set application-apperceive informationarp ARP modulearp-suppress Specify arp suppress configuration information,default is disabledas-notation The AS notationassign Assginassistant Assistantauthentication Authentication easy-modeauthorization-info Authorization informationbpdu BPDU messagebtv Btv viewcfm Connectivity fault managementclock Specify the system clockcommand-privilege Specify the command levelconfiguration Configuration interlockconfiguration-occupied Configuration exclusive occupiedcpu-defend Configure CPU defend policycpu-defend-policy Configure CPU defend policycpu-usage Set cpu usage configurationdebugging Enable system debugging functionsdevice-sensor Device sensordhcp Dynamic host configure protocoldldp Device link detection protocoldns Specify domain name systemdomain Default domaindot1x configuration informationdrop Discard attributedsa Specify DSA module configurationseasy-operation Easy operationefm EFM moduleerps Ethernet ring protection switchingerror-down The interface was shut down because of an erroreventethernet-loop-protection Ethernet loop protectionfib FIB status and configuration information file Specify file system configuration informationftp Set the FTP server attributesgarp Generic Attribute Registration Protocolgtsm The generalized TTL security mechanismgvrp Generic VLAN Registration Protocolheader Define the login bannerhttp HTTPhwtacacs Set the status of the HWTACACS(Huawei TerminalAccess Controller Access Control System) servicehwtacacs-server Set HWTACACS servericmp Specify ICMP configuration informationicmp-reply Enable ICMP reply fastigmp-snooping Specify parameters for IGMP-Snoopinginfo-center Specify information center configuration informationinterface Specify the interface configuration view ip IP informationipv6 Enable IPv6 functionalityl2-topology Layer 2 topologyl2protocol-tunnel Layer 2 protocol tunnellacp Link aggregation control protocollldp Link Layer Discovery Protocolload-balance Specify load balance modeloopback-detect Loopback detect functionmac-address Mac-addressmac-authen MAC authenticate configure informationmac-forced-forwarding Mac-Forced Forwardingmac-learning MAC learningmac-limit MAC limitmac-spoofing-defend MAC spoofing defendmad Multi-active detectionmanagement-port Management portmatched Is Command can be matched by upper templatemld-snooping Specify parameters for MLD-Snoopingmonitor-link Monitor link configuration informationmulticast Multicast configuration informationnap NAP protocolnd Neighbor discoverynqa Network Quality Analysis(NQA)nqa-jitter Switch NQA jitter versionnqa-server Specify NQA echo serverntp-service Specify NTP (Network Time Protocol) configurationinformationoam-mgr Oam-mgr viewobserve-port Configure observe port featureping Ping functionpoe Power over Ethernetport Portport-group Port-groupport-isolate Port isolatepppoe PPPOEqos QoS configurationradius-server Add or delete RADIUS server templatermon Specify RMON configurationroute-policy Route-policyroute-policy-change Specify route policy change parameterrouter Configure router informationrps Set RPS statusrrpp Rapid ring protection protocolrsa Specify RSA module configuration informationsavi Source Address Validation Improvementscp Set SCP serverscreen-width Set screen widthsep Smart ethernet protectionset Set the mode of power managementsflow SFlow modulesftp Set SFTP service attributeslave Backup switch from master to slavesleep Set device to sleep modesmart-link Smart link configuration informationsnmp-agent Specify SNMP(Simple Network Management Protocol)configuration informationssh Set the SSH (secure shell) configuration attributessl Security socket layerstack Stackstack-port Stack portstartup Startup configurationstelnet Set Stelnet service attributestp Specify Spanning Tree Protocol (STP) configurationinformationsuppression Suppression, include broadcast-suppression,multicast-suppression and unicast-suppressionsys-netid System-netidsysname Specify the host nametcp Specify TCP(Transmission Control Protocol) configuration informationtelnet Set the status of the Telnet servicetemperature Device temperaturetftp Establish a TFTP connectiontftp-server TFTP servertime-range Specify time-range configuration informationtrace Trace route (switch) to host on Data Link Layertraffic Specify traffic configuration information traffic-filter Filter packets based on acltraffic-limit Limit the rate of the packets based onacltraffic-mirror Mirror packets based on acltraffic-policy Apply specific traffic policytraffic-redirect Redirect packets based on acltraffic-remark Remark packets based on acltraffic-secure Filter packets based on acltraffic-statistic Count packets based on acltransceiver Transceiveruser-bind User binduser-interface Configure the user terminal interfacevlan Virtual LANvoice-vlan Voice VLAN[xinhao]undo ssavi scpscreen-width sepset sflowsftp slavesleep smart-linksnmp-agent sshssl stackstack-port startupstelnet stpsuppression sys-netidsysname[xinhao]sys[xinhao]int[xinhao]interface g[xinhao]interface GigabitEthernet 0/0/1[xinhao-GigabitEthernet0/0/1]port[xinhao-GigabitEthernet0/0/1]port hy[xinhao-GigabitEthernet0/0/1]port hybrid pv[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 10[xinhao-GigabitEthernet0/0/1]qu[xinhao]Jan 15 2000 00:05:50 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 28, the change loop count is 0, and the maximum number of records is 4095. [xinhao]qu<xinhao><xinhao><xinhao>di<xinhao>display vlanThe total number of vlans is : 3--------------------------------------------------------------------------------U: Up; D: Down; TG: Tagged; UT: Untagged; MP: Vlan-mapping; ST: Vlan-stacking;#: ProtocolTransparent-vlan; *: Management-vlan;--------------------------------------------------------------------------------VID Type Ports--------------------------------------------------------------------------------1 common UT:GE0/0/1(D) GE0/0/2(D) GE0/0/3(D)GE0/0/4(D)GE0/0/5(D) GE0/0/6(D) GE0/0/7(D)GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/11(D)GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D)GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D)GE0/0/20(D)GE0/0/21(D) GE0/0/22(D) GE0/0/23(D)GE0/0/24(D)GE0/0/25(D) GE0/0/26(D) GE0/0/27(D)GE0/0/28(D)10 common757 common UT:GE0/0/24(D)VID Status Property MAC-LRN Statistics Description--------------------------------------------------------------------------------1 enable default enable disable VLAN 000110 enable default enable disable VLAN 0010757 enable default enable disable VLAN 0757<xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhao]int[xinhao]interface g[xinhao]interface GigabitEthernet 0/0/1[xinhao-GigabitEthernet0/0/1]port[xinhao-GigabitEthernet0/0/1]port hyb[xinhao-GigabitEthernet0/0/1]port hybrid pvid[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 575Error: The VLAN does not exist.[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 757[xinhao-GigabitEthernet0/0/1]portJan 15 2000 00:07:40 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 29, the change loop count is 0, and the maximum number of records is 4095. [xinhao-GigabitEthernet0/0/1]port hy[xinhao-GigabitEthernet0/0/1]port hybrid un[xinhao-GigabitEthernet0/0/1]port hybrid untagged vlan 757Info: This operation may take a few seconds. Please wait for a moment...done.[xinhao-GigabitEthernet0/0/1]Jan 15 2000 00:07:50 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 30, the change loop count is 0, and the maximum number of records is 4095. [xinhao-GigabitEthernet0/0/1]qu[xinhao-GigabitEthernet0/0/1]int[xinhao-GigabitEthernet0/0/1]port[xinhao-GigabitEthernet0/0/1]port hybrid pvid vlan 10[xinhao-GigabitEthernet0/0/1]port hybrid untagged vlan 10Info: This operation may take a few seconds. Please wait for a moment...done.[xinhao-GigabitEthernet0/0/1][xinhao-GigabitEthernet0/0/1][xinhao-GigabitEthernet0/0/1][xinhao-GigabitEthernet0/0/1]qu[xinhao-GigabitEthernet0/0/1]quitJan 15 2000 00:08:20 xinhao DS/4/DATASYNC_CFGCHANGE:OID . configurations have been changed. The current change number is 32, the change loop count is 0, and the maximum number of records is 4095. [xinhao-GigabitEthernet0/0/1][xinhao]qu<xinhao>di<xinhao>display vlanThe total number of vlans is : 3--------------------------------------------------------------------------------U: Up; D: Down; TG: Tagged; UT: Untagged; MP: Vlan-mapping; ST: Vlan-stacking;#: ProtocolTransparent-vlan; *: Management-vlan;--------------------------------------------------------------------------------VID Type Ports--------------------------------------------------------------------------------1 common UT:GE0/0/1(D) GE0/0/2(D) GE0/0/3(D)GE0/0/4(D)GE0/0/5(D) GE0/0/6(D) GE0/0/7(D)GE0/0/8(D)GE0/0/9(D) GE0/0/10(D) GE0/0/11(D)GE0/0/12(D)GE0/0/13(D) GE0/0/14(D) GE0/0/15(D)GE0/0/16(D)GE0/0/17(D) GE0/0/18(D) GE0/0/19(D)GE0/0/20(D)GE0/0/21(D) GE0/0/22(D) GE0/0/23(D)GE0/0/24(D)GE0/0/25(D) GE0/0/26(D) GE0/0/27(D)GE0/0/28(D)10 common UT:GE0/0/1(D)757 common UT:GE0/0/1(D) GE0/0/24(D)VID Status Property MAC-LRN Statistics Description--------------------------------------------------------------------------------1 enable default enable disable VLAN 000110 enable default enable disable VLAN 0010757 enable default enable disable VLAN 0757<xinhao>sys<xinhao>system-viewEnter system view, return user view with Ctrl+Z.[xinhao]。