资源预览内容
第1页 / 共32页
第2页 / 共32页
第3页 / 共32页
第4页 / 共32页
第5页 / 共32页
第6页 / 共32页
第7页 / 共32页
第8页 / 共32页
第9页 / 共32页
第10页 / 共32页
亲,该文档总共32页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
CLI 入门实验 1目录COMMAND-LINE INTERFACE 简介 4OBJECTIVES 4PART 1COMMANDS AND ON-LINE HELP 4PART 2WORD COMPLETION 5PART 3CLI MESSAGES 5PART 4KEYBOARD SEQUENCES 6PART 5COMMAND OUTPUT 7PART 6CLI ENVIRONMENT 7PART 7ON-LINE DOCUMENTATION 7COMMAND-LINE INTERFACE 配置简介 8OBJECTIVES 8PART 1ROUTER CONFIGURATION 8PART 2ACTIVATE CONFIGURATION CHANGES 10PART 3UNDO CONFIGURATION CHANGES 10PART 4“MORE” PROMPT 10PART 5COMMAND PIPES 11PART 6CONFIGURATION DIFFERENCES 11PART 7EMACS-STYLE META-KEYS 12JUNIPER 系统基本配置 13OBJECTIVES 13PART 1SET HOST NAME 13PART 2CONFIGURE DOMAIN NAME AND SERVER 13PART 3CONFIGURE A DEFAULT AND BACKUP ROUTER 14PART 4ADD USERS 14PART 5CONFIGURE TIME ZONE 14PART 6CONFIGURE SYSTEM SERVICES 15PART 7CONFIGURE LOGGING SERVICES 15接口配置 17CLI 入门实验 2OBJECTIVE 17PART 1INVENTORY YOUR INTERFACES 17PART 2CONFIGURE YOUR INTERFACES 17PART 3CHECK YOUR WORK 18OSPF 实验 19OBJECTIVE 19PART 1SINGLE AREA CONNECTIVITY 19PART 2TRACE OSPF NEIGHBOR ADJACENCIES 20PART 3INTERFACE METRICS 21PART 4MULTIPLE AREA CONFIGURATION 22PART 5 SPLIT THE OSPF NETWORK INTO ISLANDS 22PART 6ADD CUSTOMERS TO YOUR NETWORK 23PART 7CHECK YOUR WORK 23IS-IS 实验 24OBJECTIVES 24PART 1ENABLE IS-IS ON THE ROUTER 24PART 2CONFIGURE ISO ADDRESSING 24PART 3ENABLE ISIS ON ALL ROUTER INTERFACES 25PART 4CHECK YOUR WORK SO FAR 25PART 5TRACE IS-IS NETWORK ADJACENCIES 26PART 6INTERFACE METRICS 27PART 7SPLIT THE IS-IS NETWORK INTO ISLANDS 28PART 8ADD CUSTOMERS TO YOUR NETWORK 28PART 9CHECK YOUR WORK 29BORDER GATEWAY PROTOCOL 实验 30OBJECTIVE 30PART 1CONFIGURE BASIC BGP 30PART 2CHECK YOUR WORK 31PART 3WHY NO ROUTES? 31PART 4SIMPLE ROUTING POLICY 32CLI 入门实验 3Lab 1Command-Line Interface 简介ObjectivesThis lab gives you experience using the following features of the command-line interface (CLI): Commands and on-line help CLI word completion CLI messages CLI keyboard sequences Command output CLI environmentPart 1Commands and On-line HelpStep 1Log in to the router with the username “lab” with a password of “lab”. At the CLI prompt, press ?. Some of the following commands should be displayed:userhost ?Possible completions:clear Clear information in the systemconfigure Manipulate configuration informationping Ping a remote target List a few of the remaining commands: Step 2Type the following at the CLI prompt:CLI 入门实验 4userhost c?Possible completions:clear Clear information in the systemconfigure Manipulate configuration informationuserhost cWhat command could be used from the operational model to display all show commands that start with c?Step 3Type the following command at the CLI prompt:userhost clear ?Possible completions:arp Clear address-resolution tablesbgp Clear BGP informationisis Clear IS-IS information.Part 2Word CompletionStep 1Use command completion:userhost show ii is ambiguousPossible completions:interfaces Show interface informationWhat other command that starts with “i” is provided when you type the above command?Step 2Type the following at the CLI prompt:userhost show interfacesPhysical device fxp0Type: ethernet, Encapsulation: ethernet, MTU: 1514Flags: present running no-carrier hardware-downCurrent mac 00:a0:c9:36:b3:a7, Hardware mac 00:a0:c9:36:b3:a7.userhostPart 3CLI MessagesStep 1Type the following command: CLI 入门实验 5userhost clear routeWhat message does the router display when you type this command? Why?Step 2Type the following command:userhost configureThis command puts the CLI in the configuration mode. What does the router display when entering this mode?Step 3Type the following command while in CLI configuration mode:userhost# quitWhat message does the router display when you exit from configuration mode?Part 4Keyboard SequencesStep 1From the CLI prompt, type the following commands:userhost show interfacesPress .What happens to the cursor when you enter this keyboard sequence?Press .What happens to the cursor when you enter this keyboard sequence? Press .What happens to the cursor when you press this keyboard sequence?Press .What happens to the cursor when you press this keyboard sequence? Step 2Type the following commands:CLI 入门实验 6userhost show interfacesuserhost show routeuserhost show system usersThese three commands are now stored in the CLI history buffer.Press twice. What happens?Press twice. What happens?Part 5Command OutputCommand output might exceed one full screen. For example, the show interface detail command displays information about the routers interfaces. Type it now:userhost show interfaces detailWhat does the router display?What happens when you press the space bar? What happens when you press the Enter key? Part 6CLI EnvironmentUse operational mode CLI set command to modify the CLI environment. You can modify the: CLI prompt Length of the screen Width of the screenDisplay the CLI environment by using the following command:userhost show cliWhat is displayed?What CLI command do you use to mo
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号