3. oda021002 vrp basic configuration issue1

15
1 www.huawei.com Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. VRP Basic Configuration Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page1 Objectives Upon completion of this course, you will be able to: Grasp the basic knowledge to use VRP CLI

Upload: gerdis-martinez

Post on 11-Nov-2015

29 views

Category:

Documents


4 download

DESCRIPTION

configuraciones basicas

TRANSCRIPT

  • 1www.huawei.com

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved.

    VRP Basic Configuration

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page1

    Objectives

    Upon completion of this course, you will be able to:

    Grasp the basic knowledge to use VRP CLI

  • 2Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page2

    Contents

    1. Building Configuration Environment

    2. VRP Configuration Basis

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page3

    Building Configuration Environment

    Setup via Console

    Setup via Telnet

    Setup via AUX

  • 3Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page4

    Console Configuration (1)

    Router

    Console cable R232 serial interface

    Console

    PC

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page5

    Console Configuration (2)

  • 4Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page6

    Telnet Configuration (1)

    Normal line Destination

    router

    PC Switchnormal

    line

    Internet

    RouterPC

    Local configuration environment

    Long-distance configuration environment Destination router

    Router

    Router

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page7

    Telnet Configuration (2)

    normal line PC Switch normal line Destination

    router

    Router

    [Quidway]interface Ethernet 0/0[Quidway-Ethernet0/0]ip address 1.1.1.4 255.0.0.0[Quidway]User-interface vty 0 4[Quidway-ui-vty0-4]authentication-mode password[Quidway-ui-vty0-4]set authentication password simple Huawei[Quidway-ui-vty0-4]user privilege level 3

  • 5Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page8

    AUX Configuration

    AUX Router

    PSTN

    PC Modem ModemCOM

    [Quidway] User-interface aux 0[Quidway-ui-aux0] authentication-mode password[Quidway-ui-aux0] set authentication password simple Huawei[Quidway-ui-aux0] user privilege level 3[Quidway-ui-aux0] modem both

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page9

    Contents

    1. Building Configuration Environment

    2. VRP Configuration Basis

  • 6Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page10

    Command View

    [Quidway]vlan 5

    [Quidway]user-interface vty 0

    [Quidway]aaa

    [Quidway]acl 2000

    [Quidway]interface serial 0

    [Quidway]ospf

    system

    User interface view

    Interface view

    ACL view

    Routing protocol viewRoute policy view

    Security view

    System-view[Quidway]

    User view

    VLAN view

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page11

    Command Level

    visit

    monitor

    config

    manage

    Network diagnosis command

    System maintenance, service trouble diagnosis

    Service configuration

    Manage command

  • 7Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page12

    Enter and Quit System View

    operation command

    Enter the system view from the user view system-view

    Return to the user view from the system view quit

    Return to the user view from any other view return

    system-viewEnter system view, return user view with Ctrl+Z.[Quidway][Quidway]interface Serial 0/0/0[Quidway-Serial0/0/0]quit[Quidway]quit

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page13

    Command Line Online Help

    Command line online help

    completeness help

    portion help

    ?

    display ?

    [Quidway] interface ethernet ?

    d?

    display h?

    Command line interface provides the following online help:

    Completeness help

    Portion help

  • 8Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page14

    Language Mode

    operation command

    Turn to english mode (default) language-mode english

    Turn to chinese mode language-mode chinese

    language-mode ?chinese Chinese environmentenglish English environment

    language-mode chineseChange language mode, confirm? [Y/N]yInfo:Turn to chinese mode

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page15

    History Command Query

    Command/Key Function

    display history-commandDisplay the history commands that

    the user has entered

    Up-arrow key or Display the earlier history

    command

    Down-arrow key or

    Display the next history command

  • 9Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page16

    Configuring Router Name

    operation command

    Configure the Router Name sysname

    system-viewEnter system view, return user view with Ctrl+Z.[Quidway]#change the router name as Router1[Quidway]sysname Router1[Router1]

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page17

    Configuring The System Clock

    Operation Command

    Set UTC standard time clock datetime

    Set time zone clock timezone

    Import summer-time scheme clock summer-time

    clock datetime 10:19:30 2006/12/12

    display clock10:19:36 UTC Tue 2006/12/12

  • 10

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page18

    Status Information Query

    Operation Command

    Display system version display version

    Display terminal user display users

    Display running configuration of the current view

    display this

    Display technology support information

    display diagnostic-information

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page19

    File Operation

    Operation Command

    Display file content more

    Copy file copy

    Move file move

    Rename file rename

    Delete file delete

    delete file in recycle-bin downright reset recycle-bin

    Resume deleted file undelete

  • 11

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page20

    Directory Operation

    Operation Command

    Display the current directory pwd

    Change current directory cd

    Display the file list in the current

    directory

    dir

    Create directory mkdir

    Remove directory rmdir

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page21

    Storage Device Operation

    Operation Command

    Format storage device format

    Fix storage device whose file

    system is exceptional

    fixdisk

  • 12

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page22

    Configuration File Management

    Operation Command

    Display the saved configuration display saved-configuration

    Display the current configuration display current-configuration

    Save current configuration save

    Reset configuration file reset saved-configuration

    Compare configuration file compare configuration

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page23

    Software Upgrade and File Backup

    FTPFile Transfer Protocol, based on TCP

    VRP can be FTP Server, FTP Client

    TFTPTrivial File Transfer Protocol, based on UDP

    VRP can be TFTP Client

    XMODEM one File Transfer Protocol, transmit via serial

    VRP support receiving program function of XMODEM

  • 13

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page24

    Router Gets VRP File as FTP Client

    PC Router A 172.16.104.110Console Cable

    ftp 172.16.104.110Trying 172.16.104.110 ...Connected to 172.16.104.110.

    User(172.16.104.110:(none)):quidway331 Give me your password, please Password:230 Logged in successfully

    [ftp] get vrp.cc

    150 "D:\system\vrp.cc" file ready to send (5805100 bytes) in IMAGE / Binary mode 226 Transfer finished successfully. FTP: 5805100 byte(s) received in 19.898 second(s) 291.74Kbyte(s)/sec.

    FTP ServerFTP Client

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page25

    Router Gets VRP File as FTP Sever

    PC Router A 172.16.104.0Console Cable

    .1 .2

    [Quidway]ftp server enable[Quidway]aaa[Quidway-aaa] local-user quidway service-type ftp[Quidway-aaa] local-user quidway password simple huawei[Quidway-aaa] local-user quidway ftp-directory flash:/ftp/quidway

    FTP Server FTP Client

  • 14

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page26

    Router Gets VRP File from TFTP

    Server

    PC Router A 10.111.16.160Console Cable

    tftp 10.111.16.160 get vrp.cc cfcard:/vrp.cc

    TFTP Client TFTP Server

    Copyright 2009 Huawei Technologies Co., Ltd. All rights reserved. Page27

    Summary

    How to configure router via Console?

    What do command level and view VRP include?

    How to create a Telnet user?

  • 15

    Thank youwww.huawei.com