推荐-H3C-S5500基本配置思路及实用命令

上传人:M****1 文档编号:456148253 上传时间:2024-01-07 格式:DOC 页数:8 大小:60.50KB
返回 下载 相关 举报
推荐-H3C-S5500基本配置思路及实用命令_第1页
第1页 / 共8页
推荐-H3C-S5500基本配置思路及实用命令_第2页
第2页 / 共8页
推荐-H3C-S5500基本配置思路及实用命令_第3页
第3页 / 共8页
推荐-H3C-S5500基本配置思路及实用命令_第4页
第4页 / 共8页
推荐-H3C-S5500基本配置思路及实用命令_第5页
第5页 / 共8页
点击查看更多>>
资源描述

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

1、H3C S5500基本配置思路及实用命令1. 总体配置思路:1) 添加VLAN1,并将相应端口添加到该VLAN。(在VLAN状态下才可一次将多个端口加入相应VLAN,interface e 1/0/1 to e 1/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+

2、Z.H3CdisH3Cdisplay cur3. 配置交换机主机名sysnamesysname H3C4. 添加VLANvlan 1或在此状态下直接将相应端口加入该VLAN (否则只能一个口一个口的添加)Interface e 1/0/1 to e 1/0/245. 配置管理VLAN- management-vlanmanagement-vlan 26. 给管理VLAN添加IP地址interface Vlan-interface1 ip address 10.10.40.176 255.255.255.07. 添加端口到VLAN:port access vlan 1interface Giga

3、bitEthernet1/0/2 port access vlan 18. 远程登录配置及3A认证模式user-interface vty 0 4authentication-mode scheme9. 配置3A认证本地用户及属性local-user testpassword simple testpwdauthorization-attribute level 3service-type telnet可能的配置local-user testpassword simple testservice-type telnetlevel 3推荐精选10. 将端口配置为Trunk口interface G

4、igabitEthernet1/0/20port link-type trunkport trunk permit vlan all11. 添加静态路由 ip route-static 0.0.0.0 0.0.0.0 10.10.40.112. 查看路由表display ip routing-tableH3Cdisplay ip routing-table Routing Tables: Public Destinations : 7 Routes : 7Destination/Mask Proto Pre Cost NextHop Interface0.0.0.0/0 Static 60 0

5、 10.10.40.1 Vlan210.10.40.0/24 Direct 0 0 10.10.40.180 Vlan210.10.40.180/32 Direct 0 0 127.0.0.1 InLoop0127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0192.168.76.0/24 Direct 0 0 192.168.76.3 Vlan76192.168.76.3/32 Direct 0 0 127.0.0.1 InLoop013. 显示当前配置display current

6、-configurationH3Cdisplay current-configuration 14. 查看端口及VLAN的up/down状态display brief interfaceH3Cdisplay brief interface The brief information of interface(s) under route mode:Interface Link Protocol-link Protocol type Main IP NULL0 UP UP(spoofing) NULL - Vlan1 UP UP ETHERNET 192.168.76.3 Vlan2 UP UP

7、 ETHERNET 10.10.40.180 The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-type PVID 推荐精选GE1/0/1 UP 1G(a) full(a) access 1 GE1/0/2 DOWN auto auto access 1 GE1/0/3 DOWN auto auto access 1 GE1/0/9 DOWN auto auto access 1 GE1/0/10 DOWN auto auto access 1 display bri

8、ef interface GigabitEthernet 1/0/1H3Cdisplay brief interface GigabitEthernet 1/0/1The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-type PVID GE1/0/1 UP 1G(a) full(a) access 1 display brief interface Vlan-interface 1H3Cdisplay brief interface Vlan-interface 1Th

9、e brief information of interface(s) under route mode:Interface Link Protocol-link Protocol type Main IP Vlan1 UP UP ETHERNET 192.168.76.3 15. 查看MAC地址缓存表display mac-addressH3Cdisplay mac-address MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)0000-e7a7-2374 1 Learned GigabitEthernet1/0/19 AGING 0000-e

10、8f1-6952 1 Learned GigabitEthernet1/0/19 AGING 0001-6c41-9cee 1 Learned GigabitEthernet1/0/19 AGING 000c-2919-0d6c 1 Learned GigabitEthernet1/0/19 AGING 000c-2961-d8ea 1 Learned GigabitEthernet1/0/19 AGING 16. 查看某一端口的MAC地址缓存表display mac-address interface GigabitEthernet 1/0/1H3Cdisplay mac-address i

11、nterface GigabitEthernet 1/0/1MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)推荐精选0016-3642-e888 1 Learned GigabitEthernet1/0/1 AGING 0016-eca2-d69d 1 Learned GigabitEthernet1/0/1 AGING 001c-25d8-77b6 1 Learned GigabitEthernet1/0/1 AGING 0024-1d6e-6fbe 1 Learned GigabitEthernet1/0/1 AGING 17. 查看ARP缓存

12、表display arpH3Cdisplay arp Type: S-Static D-DynamicIP Address MAC Address VLAN ID Interface Aging Type192.168.76.56 0016-eca2-d69d 1 GE1/0/1 20 D192.168.76.131 0016-3642-e888 1 GE1/0/1 19 D192.168.76.171 0024-1d6e-6fbe 1 GE1/0/1 13 D10.10.40.1 0018-742d-4fc0 2 GE1/0/19 14 D192.168.76.1 0018-742d-4fc0 1 GE

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

当前位置:首页 > 资格认证/考试 > 自考

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