文档详情

Cisc和HC路由器交换机基本配置.doc

发布:2016-11-29约1.29万字共16页下载文档
文本预览下载声明
H3C路由器和交换机的基本配置 ]flow-control 开启以太网端口Ethernet0/0的流量控制。 ]undo flow-control 关闭以太网端口流量控制 ]speed 10/100/auto ]display interface ethernet0/0 配置网关 [H3C]ip route-static 0.0.0.0 0.0.0.0 192.168.1.1 配置Aux口令 [H3C]user-interface aux 0 7 [H3C-ui-aux0-7]authentication-mode password ]set authentication password simple/cipher wnt ]user privilege level 0/1/2/3 配置Console口令 [H3C]user-interface 0 [H3C-ui0]authentication-mode password ]set authentication password simple/cipher wnt ]user privilege level 0/1/2/3 配置vty口令 [H3C]user-interface vty 0 4 [H3C-ui-vty0-4]authentication-mode password ]set authentication password simple/cipher wnt ]user privilege level 0/1/2/3 查看的命令 [H3C]display history-command [H3C]display version [H3C]display current-configuration [H3C]display saved-configuration [H3C]display interface [H3C]display ip interface [H3C]display interface ethernet(0/0) [H3C]display ip host 显示域名解析表 2.telnet (1)基于vty [H3C]ip host hostname ip-address 静态域名解析 ]display ip host [H3C]interface vlan 1 [H3C-Vlan-interface1]ip address 192.168.1.2 255.255.255.0 ]quit [H3C]user-interface vty 0 4 [H3C-ui-vty0-4]authentication-mode password (none/password/scheme) ]set authentication password simple/cipher wnt ]user privilege level 0/1/2/3 ]quit H3C(按Ctrl+]键,断开telnet) (按Ctrl+K键,断开telnet) [H3C]display users all ]display users 显示连接本地的telnet会话 ]display tcp status 显示当前建立的所有TCP链接情况 (2)基于用户 Switch [H3C]interface vlan 1 [H3C-Vlan-interface1]ip address 192.168.1.2 255.255.255.0 ]quit [H3C]local-user bob [H3C-luser-bob]password simple/cipher wnt ]service-type telnet level 0/1/2/3 ]quit [H3C]super password simple/cipher wnt [H3C]user-interface vty 0 4 [H3C-ui-vty0-4]authentication-mode scheme  ]quit [H3C]domain system [H3C-isp-system]authentication default local H3Ctelnet IP 3.v
显示全部
相似文档