5t4we 发表于 2017-11-27 15:53:27

H3C路由设备基本配置(二)


一、用户模式

<SW2>
<SW2>system-view


二、特权模式


退出到用户模式
quit   <SW2>

三、配置IP地址
1、在交换机上配置IP和网关

    配置管理IP地址
interfaceVlan-interface 1   
ip address 192.168.1.10 255.255.255.0
   配置网关即是配置默认默认路由
ip route-static 0.0.0.0 0.0.0.0 192.168.1.1

2、在路由器上配置

   给接口配置IP地址
interface g0/0/0
ip address 192.168.1.1 24

四、配置路由
1、启用RIP进程

rip 1默认进程号是1


2、宣告网络,把接口加入到RIP进程中

network 192.168.1.0
undo network 192.168.1.0 删除
net 12.12.12.0
version 2版本升级为2版本

五、用户模式

<RT1>
<RT1>system-view 进入系统模式

六、系统模式

quit 退出到用户模式
interface g0/0/1


七、配置IP地址

ip address 11.11.11.1 255.255.255.252
undo ip address 11.11.11.1 255.255.255.252
interface Vlan-interface 1 进入VLAN 虚接口

八、路由模式
1、进入路由模式

rip


2、version 2

RT1-rip-1]version 2
RT1-rip-1]network 192.168.1.0
display ip routing-table 显示路由表

九、配置静态路由

ip route-static 0.0.0.0 0.0.0.0 192.168.1.1
保存:save

十、配置Telnet服务
1、配置设备接口的IP地址
2、使能Telnet服务器功能

   telnet server enable

3、配置虚链路通道。设置验证方式

user-interface vty 0 15
authentication-mode

    none 不需要密码和账户
    password只需要密码
    scheme需要密码和账户

none

liu-ui-vty0-15]authentication-mode none
user privilege level 3 授权,级别是3

password

authentication-mode password
set authentication password simple 12345678
user privilege level 3

scheme

authentication-mode scheme

十一、创建账户及其密码

local-user ahxh123
liu-luser-ahxh123]password simple 1234567890
liu-luser-ahxh123]service-type telnet
authorization-attribute level 3 授权



sww110 发表于 2017-11-27 16:32:30

666666666
页: [1]
查看完整版本: H3C路由设备基本配置(二)