H3CS5500基本配置思路及实用命令

上传人:汽*** 文档编号:491751785 上传时间:2023-05-29 格式:DOC 页数:15 大小:89.50KB
返回 下载 相关 举报
H3CS5500基本配置思路及实用命令_第1页
第1页 / 共15页
H3CS5500基本配置思路及实用命令_第2页
第2页 / 共15页
H3CS5500基本配置思路及实用命令_第3页
第3页 / 共15页
H3CS5500基本配置思路及实用命令_第4页
第4页 / 共15页
H3CS5500基本配置思路及实用命令_第5页
第5页 / 共15页
点击查看更多>>
资源描述

《H3CS5500基本配置思路及实用命令》由会员分享,可在线阅读,更多相关《H3CS5500基本配置思路及实用命令(15页珍藏版)》请在金锄头文库上搜索。

1、H3C S5500基本配置思路及实用命令1. 总体配置思路:1)添加VLAN1,并将相应端口添加到该 VLAN。(在VLAN状态下才可一次将 多个端口加入相应 VLAN,intefacee1/0/1toe1/0/24)2)添加VLAN2,并将其置为管 理VLAN在#状态下management-vlan 2),才可设置其 VLAN的IP地址。3)添加静态路由。4)配置端口 TRUNK模式。5)配置远程登录VTY认证。6)配置本地用户。2. 进入特权模式 System View System ViewSystem View:return to User View with Ctrl+Z.H3Cdi

2、sH3Cdisplay cur3. 配置交换机主机名 sysnamesysname H3C4. 添加 VLANvlan 1或在此状态下直接将相应端口加入该 VLAN (否则只能一个口的添加 )Interface e 1/0/1 to e 1/0/245. 配置管理 VLAN- management-vlanmanagement-vlan 26. 给管理 VLA N 添加 IP 地址 in terface Vla n-in terfacel ip address10.10.40.176255.255.255.07. 添加端口到 VLAN: port access vlan 1port acces

3、s vlan 18远程登录配置及3A认证模式user-interface vty 0 4 authentication-mode scheme9. 配置3A认证本地用户及属性local-user test password simple testpwd authorization-attribute level 3可能的配置local-user testpassword simple testlevel 310.将端口配置为 Trunk 口 port link-type trunk port trunk permit vlan all 11. 添加静态路由ip route-static0.0.

4、0.00.0.0.010. 10.40.112. 查看路由表 display ip routing-tableH3Cdisplay ip routing-tableRouting Tables:PublicDestinations :7Routes :7NextHopDestination/Mask Proto Pre CostInterface0.0.0.0/0 Static 60 010.10.40.1 Vlan210.10.40.0/24 Direct 0 010.10.40.180 Vlan210.10.40.180/32Direct 00127.0.0.1 InLoop0127.0.

5、0.0/8 Direct 0 0127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0127.0.0.1 InLoop019I!168.76.0/24 Direct 0 0192.168.76.3 Vlan76192.168.76.3/32 Direct 0 0127.0.0.1 InLoop013. 显示当前配置 display current-configurationH3Cdisplay current-configuration14. 查看端口及 VLAN的up/down状态display brief interfaceH3Cdisplay brief int

6、erfaceThe brief information of interface(s) under route mode:InterfaceLinkProtocol-linkProtocol typeMainIPNULL0UPUP(spoofing)NULLVlan1UPUPETHERNET192.168.76.3Vlan2UPUPETHERNET10.10.40.180The brief information of interface(s) under bridge mode:InterfaceLinkSpeedDuplexLink-typePVIDGE1/0/1UP1G(a)full(a

7、)access 1GE1/0/2DOWNautoautoaccess1GE1/0/3DOWNautoautoaccess1The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-typePVIDGE1/0/1 UP 1G(a) full(a) access 1 display brief interface Vlan-interface 1H3Cdisplay brief interface Vlan-interface 1The brief information of

8、interface(s) under route mode:Interface Link Protocol-link Protocol type MainIPVlan1 UP UP ETHERNET192.# / 16168.76.315.查看 MAC 地址缓存表display mac-addressH3Cdisplay mac-address16.查看某一端口的 MAC 地址缓存表17.查看ARP缓存表display arpH3Cdisplay arpType:S-Static D-DynamicIP AddressType19MAC AddressVLAN ID InterfaceAgin

9、g2.I!168.76.56 0016-eca2-d69d 1 GE1/0/1192.168.76.131 0016-3642-e888 1 GE1/0/1201919# / 16I!168.76.171 0024-1d6e-6fbe 1 GE1/0/1113 D0.10.40.1 0018-742d-4fc0 2 GE1/0/191914 D2.I!168.76.1 0018-742d-4fc0 1GE1/0/1910 D# / 1618.Tftp 备份配置1)查看配置文件名及所在文件夹 -dir配置文件名可能为 startup.cfg 或 config.cfg配置文件可能在 flash:/

10、 或 unit1flash:/目录下dir flash:/Directory of flash:/0-rw-Aug 11 201016:27:52 s5500tpsi-cmw520-r2202p11.bin1 -rw- 2365 Apr 26 2000 12:13:58startup.cfg(配置文件 名 )31496 KB total (23460 KB free)dirDirectory of unit1flash:/1 -rw- 3146 Jan 01 2004 00:00:00 config.def2 (*) -rw- Mar 25 2011 16:51:52 s31si_e-cmw3

11、10-r2211p07.bin3 (*) -rw- 886025 Jan 01 2004 00:00:00 h3c-http3.1.9-0019.web4 (*) -rw- 2834 Apr 03 2000 01:20:33c on fig.cfg 配置文件 名 )7239 KB total (2739 KB free)(*) -with main attribute (b) -with backup attribute(*b) -with both main and backup attributetftp172.16.8.91 put unit1flash:/config.cfg10.10

12、.40.185.txtFile will be transferred in binary mode.Sending file to remote tftp server. Please wait. |TFTP:2979 bytes sent in 0 second(s).File uploaded successfully.dirDirectory ofunit1flash:/1 -rw- 3146 Jan 01 2004 00:00:00 config.def2 (*) -rw- Mar 25 2011 16:51:52 s31si_e-cmw310-r2211p07.bin3 (*) -

13、rw- 886025 Jan 01 2004 00:00:00 h3c-http3.1.9-0019.web4 (*) -rw- 2979 Apr 02 2000 07:17:02config.cfg7239 KB total (2739 KB free)(*) -with main attribute(b) -with backup attribute(*b) -with both main and backup attribute2) 配置可以使用 tftp 的 ACLacl number 2000rule permit source172.16.8.91 0jyzx-px-zhongxinacl number 2000 jyzx-px-zhongxin-acl-basic-2000rule permit source 172.16.8.91 ?0 Wildcard bits :0.0.0.0 ( a host )X.X.X.X Wildcard of sourcejyzx-px-zhongxin-acl-basic-2000rule permit source172.16.8.91 03)配置 tftp 服务器 - tftp-server acl 2000tftp-server acl 2000jyzx-px-zhongxintftp-server acl 2000T

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号