ITPub博客

首页 > IT职业 > IT生活 > 分享——部分CCIE考试涉及常用命令(转)

分享——部分CCIE考试涉及常用命令(转)

原创 IT生活 作者:tigeerfish 时间:2007-08-08 13:19:56 0 删除 编辑
分享——部分CCIE考试涉及常用命令(转)[@more@]

  Ping (Normal)

  

  Ping (Extended,Privilege)

  

  Trace

  

  Show ip route

  

  Show session

  

  Show line

  

  Clear line x

  

  Who

  

   X

  

  R>hostname R6

  

  line con 0

  

  exec-timeout 0 0

  

  No ip domain-lookup

  

  No exec-timeout

  

  Ip subnet-zero

  

  Login password (configured)

  

  Vty password (configured)

  

  Enable password

  

  No logg console (logg console) or logg syn(line con 0)

  

  No logg buffer (logg buffer)

  

  Ip Classless

  

  X

  

  Config a Router as a frame relay switch

  

  Frame-relay switching

  

  interface serial 1

  

  encapsulation frame-relay

  

  frame-relay intf dce

  

  frame-relay lmi-type ansi

  

  frame-relay route 102 interface s2 201

  

  frame-relay route 103 interface s3 301

  

  ….

  

  Clockrate 64000(options)

  

  interface serial 2

  

  encapsulation frame-relay

  

  frame-relay intf dce

  

  frame-relay lmi-type ansi

  

  frame-relay route 201 interface s1 102

  

  frame-relay route 203 interface s3 302

  

  …    Clockrate 64000(options)

  

  RIP Commands

  

  Router rip

  

  ip rip send v 1/ v 2

  

  Neighbor x.x.x.x(when use passive interface)

  

  Offset list

  

  split-horizon ( in interface)

  

  Show ip protocols

  

  *auto-summary        Enable Automatic Network Number Summarization

  

  **default-information    Control Distribution of Default Information

  

  **default-metric        Set Metric of Redistributed Routes

  

  **distance            Define an Administrative Distance

  

  ***distribute-list        Filter Networks in Routing Updates

  

  *flash-update-threshold    Specify Flash Update Threshold in Second

  

  *maximum-paths        Forward Packets Over Multiple Paths

  

  **neighbor            Specify a Neighbor Router

  

  ***network            Enable Routing on an IP Network

  

  *offset-list            Add or Subtract Offset From IGRP or RIP Metrics

  

  *passive-interface    Suppress Routing Updates on an Interface

  

  ***redistribute        Redistribute Information from Another Routing     Protocol

  

  *timers            Adjust Routing Timers

  

  *traffic-share        Algorithm for Computing Traffic Share for Alternate Routes

  

  *validate-update-source    Perform Sanity Checks Against Source Address of

  

  Routing Updates

  

  **version            Set Routing Protocol Version

  

  Rtr(config-if)#ip rip

  

  **Authentication    Authentication Control

  

  **receive        Advertisement Reception

  

  **send        Advertisement Transmission

  

  EIGRP Command

  

  *auto-summary        Enable Automatic Network Number Summarization

  

  **default-information    Control Distribution of Default Information

  

  **default-metric        Set Metric of Redistributed Routes

  

  **distance            Define an Administrative Distance

  

  ***distribute-list        Filter Networks in Routing Updates

  

  *eigrp            EIGRP Specific Commands

  

  *maximum-paths    Forward Packets Over Multiple Paths

  

  metric            Modify IGRP Routing Metrics and Parameters

  

  **neighbor        Specify a Neighbor Router

  

  ***network        Enable Routing on an IP Network

  

  *offset-list            Add or Subtract Offset from IGRP or RIP Metrics

  

  *passive-interface    Suppress Routing Updates on an Interface

  

  ***redistribute        Redistribute Information From Another Routing Protocol

  

  *timers            Adjust Routing Timers

  

  *traffic-share        Algorithm for Computing Traffic Share for Alternate Routes

  

  *variance            Control Load Balancing Variance

  

  Rtr(config-if)#ip hello-interval eigrp 1

  

  <1-65535> Seconds between hello transmissions

  

  Rtr(config-if)#ip hold-time eigrp 1

  

  <1-65535> Seconds before neighbor is considered down

  

  Rtr(config-if)#ip split-horizon eigrp

  

  <1-65535> Autonomous system number

  

  RIP/IGRP/EIGRP Split Horizon

  

  Serial Interfaces

  

  .Frame Relay not enabled 每 Split Horizon is enabled

  

  .Frame Relay enabled, no sub interface - Split Horizon is disabled

  

  .Frame Relay enabled, sub-interfaces - Split Horizon is enabled

  

  Useful Command in OSPF

  

  Show ip ospf nei

  

  Sh ip protocols

  

  Sh ip ospf interface

  

  Sh ip ospf database

  

  Debug ospf adj

  

  Rtr(config)#router ospf 1

  

  Rtr(config-router)#

  

  Router Configuration Commands:

  

  ***area            OSPF Area Parameters

  

  **auto-cost        Calculate OSPF Interface Cost According to Bandwidth

  

  *default-information    Control Distribution of Default Information

  

  *default-metric        Set Metric of Redistributed Routes

  

  *distance        Define an Administrative Distance

  

  *distribute-list        Filter Networks in Routing Updates

  

  **neighbor        Specify a Neighbor Router

  

  ***network        Enable Routing on an IP Network

  

  *passive-interface        Suppress Routing Updates on an Interface

  

  ***redistribute        Redistribute Information from Another Routing             Protocol

  

  *router-id        Router-id for this OSPF Process

  

  ***summary-address    Configure IP Address Summaries

  

  *timers            Adjust Routing Timers

  

  Rtr(config-router)#area

  

  <0-4294967295>    OSPF Area ID as a Decimal Value

  

  A.B.C.D    OSPF Area ID in IP Address Format

  

  Rtr(config-router)#area 1

  

  **Authentication    Enable Authentication

  

  *default-cost        Set the Summary Default-cost of a NSSA/stub Area

  

  *nssa            Specify a NSSA Area

  

  ***range            Summarize Routes Matching Address/mask

  

  (Border Routers Only)

  

  *stub                Specify a Stub Area

  

  ***virtual-link        Define a Virtual Link and its Parameters

  

  Rtr(config-router)#default-information originate

  

  Always    Always Advertise Default Route

  

  metric        OSPF Default Metric

  

  metric-type    OSPF Metric Type for Default Routes

  

  route-map    Route-map Reference

  

  

  

  Rtr(config-if)#ip ospf

  

  ***authentication-key    Authentication Password (Key)

  

  **cost    Interface Cost

  

  *database-filter        Filter OSPF LSA During


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8227599/viewspace-934608/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    387
  • 访问量
    870266