华为路由器常用配置

Posted ryan2019

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了华为路由器常用配置相关的知识,希望对你有一定的参考价值。

技术图片

 

该设备有   2个光口、8个电口

Interface                         IP Address/Mask      Physical   Protocol  

GigabitEthernet0/0/0              unassigned           down       down      

GigabitEthernet0/0/1              unassigned           down       down

默认是关闭的

 

<Huawei>system-view    #切换管理模式

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname R3    #命名设备 R3

[R3]interface g

[R3]interface GigabitEthernet 0/0/1    #进入GE1接口

[R3-GigabitEthernet0/0/1]ip add 12.0.0.3 24    #配置IP

[R3-GigabitEthernet0/0/1]display this     #查看IP

[V200R003C00]

#

interface GigabitEthernet0/0/1    #接口信息

 ip address 12.0.0.3 255.255.255.0     #接口当前信息

#

return

[R3-GigabitEthernet0/0/1]

[R3-GigabitEthernet0/0/1]

[R3-GigabitEthernet0/0/1]q    #退出

[R3]int

[R3]interface g

[R3]interface GigabitEthernet 0/0/2

[R3-GigabitEthernet0/0/2]ip add 13.0.0.3 24

[R3-GigabitEthernet0/0/2]

<R3>disp

<R3>display ip

<R3>display ip int

<R3>display ip interface br

<R3>display ip interface brief     #查看设备接口信息

 

<R3>display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.130 (AR2200 V200R003C00)
Copyright (C) 2011-2012 HUAWEI TECH CO., LTD
Huawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 52 minutes
BKP 0 version information:
1. PCB Version : AR01BAK2A VER.NC
2. If Supporting PoE : No
3. Board Type : AR2220
4. MPU Slot Quantity : 1
5. LPU Slot Quantity : 6

 

MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 52 minutes
MPU version information :
1. PCB Version : AR01SRU2A VER.A
2. MAB Version : 0
3. Board Type : AR2220
4. BootROM Version : 0

 

<R3>

 

以上是关于华为路由器常用配置的主要内容,如果未能解决你的问题,请参考以下文章

华为路由器基本配置

华为命令解释

华为的18-23路由怎么在命令行下限制访问某些网站?

华为交换机路由器Console/Telnet/STelnet配置

华为路由交换机常用命令

华为ar1220-s路由器配置文件丢失