zoukankan      html  css  js  c++  java
  • 华为路由器常用配置

    该设备有   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>

  • 相关阅读:
    字节对齐方法
    以太网帧、IP报文格式
    单光纤udp通信
    错误笔记(1)——关于克隆虚拟机引发的后续问题
    linux 查看目录名称的方法
    rpm方式安装MySQL-5.6
    克隆虚拟机后修改MAC地址
    安卓反编译一些记录
    mysql日志
    Linux文件监控工具——inotify-tools
  • 原文地址:https://www.cnblogs.com/Ryan2019/p/10475276.html
Copyright © 2011-2022 走看看