Ciso和HC路由器交换机基本配置

上传人:夏** 文档编号:474281984 上传时间:2022-07-23 格式:DOC 页数:20 大小:132.50KB
返回 下载 相关 举报
Ciso和HC路由器交换机基本配置_第1页
第1页 / 共20页
Ciso和HC路由器交换机基本配置_第2页
第2页 / 共20页
Ciso和HC路由器交换机基本配置_第3页
第3页 / 共20页
Ciso和HC路由器交换机基本配置_第4页
第4页 / 共20页
Ciso和HC路由器交换机基本配置_第5页
第5页 / 共20页
点击查看更多>>
资源描述

《Ciso和HC路由器交换机基本配置》由会员分享,可在线阅读,更多相关《Ciso和HC路由器交换机基本配置(20页珍藏版)》请在金锄头文库上搜索。

1、H3C路由器和交换机的基本配置交换机:1. 基本配置:(1) 视图: 用户视图H3C系统视图H3C-ui-vtyO-4用户界面视图H3C-ethernet1/0/1以太网视图reset saved-c on figurati on初始化reboot 重启system-view 进入系统视图H3Csys name H3C设置主机名H3Csuper password (level 1/2/3) simple/cipher password配置特权口令 资料个人收集整理,勿做商业用途H3Csave (safely) 保存设置配置管理IPH3Ci nterface vlan 1H3C-Vla n-in

2、 terface1ip address 192.168.1.2 255.255.255.0资料个人收集整理,勿做商业用途undo ip add配置端口H3Ci nterface e1/0/2H3C-ethernet1/0/2duplex auto/full/halfflow-co ntrol开启以太网端口Ethernet0/0 的流量控制。u ndo flow-co ntrol关闭以太网端口流量控制speed 10/100/autodisplay in terface ether net0/0配置网关H3Cip route-static 0.0.0.0 0.0.0.0 192.168.1.1配

3、置Aux 口令H3Cuser-i nterface aux 0 7H3C-ui-aux0-7authe nticatio n-m ode passwordset authe nticati on password simple/cipher wntuser privilege level 0/1/2/3配置Console 口令H3Cuser-i nterface 0H3C-ui0authe nticati on-m ode passwordset authe nticati on password simple/cipher wntuser privilege level 0/1/2/3配置v

4、ty 口令H3Cuser-i nteface vty 0 4H3C-ui-vtyO-4authe nticati on-m ode passwordset authe nticati on password simple/cipher wntuser privilege level 0/1/2/3查看的命令H3Cdisplay history-comma ndH3Cdisplay versionH3Cdisplay curre nt-c on figurati onH3Cdisplay saved-c on figurati onH3Cdisplay in terfaceH3Cdisplay

5、ip in terfaceH3Cdisplay in terface ethernet(O/O)H3Cdisplay ip host显示域名解析表2. te In et(1) 基于vtyH3Cip host host name ip-address 静态域名解析display ip hostH3Ci nteface vlan 1H3C-Vla n-in terface1ip address 192.168.1.2 255.255.255.0途quitH3Cuser-i nteface vty 0 4H3C-ui-vty0-4authe nticati on-m ode password (no

6、n e/password/scheme) 勿做商业用途set authe nticati on password simple/cipher wntuser privilege level 0/1/2/3quit(按 Ctrl+键,断开 telnet)(按 Ctrl+K 键,断开 tel net)H3Cdisplay users alldisplay users显示连接本地的 tel net 会话display tcp status显示当前建立的所有 TCP链接情况(2) 基于用户SwitchH3Ci nteface vlan 1H3C-Vla n-in terface1ip address

7、192.168.1.2 255.255.255.0途quitH3Clocal-user bobH3C-luser-bobpassword simple/cipher wntservice-type tel net level 0/1/2/3quit资料个人收集整理,勿做商业用资料个人收集整理,资料个人收集整理,勿做商业用H3Csuper password simple/cipher wntH3Cuser-i nteface vty 0 4 H3C-ui-vtyO-4authe nticati on-m ode schemequitH3Cdomain systemH3C-isp-systemau

8、the nticati on default localtel net IP3.vla n(1 )可用命令H3C(u ndo) vlan 3H3C-Vla n3n ame wntdescripti on gon gsi(u ndo)port ethernet1/0/2 to ethernet1/0/53资料个人收集整理,勿做商业用途port ethernet1/0/6 ethernet1/0/10个人收集整理,勿做商业用途port ethernet1/0/12save (safely)undo n ame/descripti onreturn/quitH3Cdisplay brief in t

9、erface ether net整理,勿做商业用途H3Cdisplay brief in terface vla n-i nteface 整理,勿做商业用途H3Cdisplay ip in terface briefH3Cdisplay ip in terface vla n-i nteface 3料个人收集整理,勿做商业用途把 e1/0/2、3、4、5 加入 vlan把 e1/0/6 和 e1/0/10 加入 vlan 3资料查看端口属于哪个Vlan资料个人收集查看有几个Vlan资料个人收集查看Vlan信息查看已配置IP的Vlan信息资H3Cdisplay ip in terface查看配置

10、 IP 的 Via nH3Cdisplay vlan allH3Cdisplay in terface vlan-i ntefaceH3Ci nteface vlan 0001H3C-Vla n-in terface1ip address 192.168.1.2 255.255.255.0资料个人收集整理,勿做商业用途undo ip addreturn/quitH3Ci nteface e1/0/5H3C-ethernet1/0/5port access vlan 2(2)单个交换机+Vlan间路由H3Cvla n 2H3C-vla n2 name caiwuport e1/0/3 to e1

11、/0/6 quitH3Cvla n 3H3C-vla n3 name kaifaport e1/0/8 to e1/0/10quitH3Ci nteface vlan 2H3C-vla n-in terface2ip add 192.168.1.1 255.255.255.0quitH3Ci nteface vlan 3H3C-vla n-in terface3ip add 192.168.2.1 255.255.255.0quitRouter ASwitch AS3026 E(鬥 EO/2 E0Z5 EO/4 E晰 EM EM EMHost AoHost 日资料个人收集整理,勿做商业用途资料

12、个人收集整理,勿做商业用途(3) Vla n间路由SwitchAH3Cvla n 2H3C-vla n2 name caiwuport e1/0/2 to e1/0/3quitH3Cvla n 3H3C-vla n3 name kaifaport e1/0/4 to e1/0/5quitH3Ci nteface e1/0/1H3C-ethernete1/0/1port lin k-type trunkport trunk permit vlan allH3Cdisplay vlan allRouterAH3Ci nteface e0/0H3C-ethernet0/0u ndo ip addre

13、ssH3Ci nteface e0/0.2H3C-ethernet0/0.2vlan-type dot1q vid 2ip address 192.168.1.1 255.255.255.0 in terface e0/0.3e0/0.3vlan-type dot1q vid 3ip address 192.16821 255.255.255.0HostA :192.168.1.2 GW:192.168.1.1HostB :192.168.2.2 GW:192.168.2.1HostA:pi ng 192.168.2.2路由器:1. 基本配置:(1)视图: 用户视图H3C系统视图H3C-ui-

14、vtyO-4用户界面视图H3C-ethernet1/0/1以太网视图H3C-serial1/0/0.1子接口视图H3C-ospf ospf协议视图H3C-rip rip协议视图H3C-serial1/0/0 H3C-serial1/0/0:1同 / 异步串口视图H3C-asy nc1/0/0异步视图修改系统时间clock datatime 11:20:30 2009/11/16H3Cdisplay clockreset saved-c on figurati on初始化reboot 重启system-viewH3Csys name H3C 设置主机名H3Csuper password (level 1/2/3) simple/copher password配置特权口令 资料个人收集整理,勿做商业用途H3Csave (safely)保存设置配置端口H3Ci nterface e0/0

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作计划

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