Cisco及华为网络技术论坛
您的位置:
首页 > Vlan9.com > Cisco认证 > 正文 阅读排行榜

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


来源:Vlan9.com收集整理 作者: 出处:Vlan9.com 2007-08-17 进入论坛

  Ping (Normal)
  
  Ping (Extended,Privilege)
  
  Trace
  
  Show ip route
  
  Show session
  
  Show line
  
  Clear line x
  
  Who
  
  <Ctrl-Shift-6> 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
  
  <Ctrl-Shift-6>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
  
  <cr>
  
  Rtr(config-if)#ip ospf
  
  ***authentication-key    Authentication Password (Key)
  
  **cost    Interface Cost
  
  *database-filter        Filter OSPF LSA During Synchronization and                 Flooding
  
  *dead-interval        Interval After Which a Neighbor is Declared Dead
  
  ***demand-circuit        OSPF Demand Circuit
  
  *hello-interval        Time Between HELLO Packets
  
  ***message-digest-key    Message Digest Authentication Password (Key)
  
  ***network            Network Type
  
  ***priority            Router Priority
  
  *retransmit-interval    Time Between Retransmitting Lost Link State                 Advertisements
  
  *transmit-delay        Link State Transmit Delay
  
  3550 Spanning Tree
  
  *forward-time Set the forward delay for the spanning tree
  
  * hello-time    Set the hello interval for the spanning tree
  
  * max-age     Set the max age interval for the spanning                  tree
  
  *** priority    Set the bridge priority for the spanning                  tree
  
  ***root        Configure switch as root
  
  **backbonefast Enable BackboneFast Feature
  
  **etherchannel Spanning tree etherchannel specific configuration
  
  *extend    Spanning Tree 802.1t extensions
  
  ***pathcost   Spanning tree pathcost options
  
  ***portfast   Spanning tree portfast options
  
  **uplinkfast  Enable UplinkFast Feature
  
  ATM PVC Configuration Example
  
  interface atm2/0
  
  encapsulation aal5snap
  
  ip address 192.192.192.1 255.255.255.0
  
  pvc 0/106
  
  protocols ip 192.192.192.2 broadcast
  
  interface atm2/0
  
  encapsulation aal5snap
  
  ip address 192.192.192.2 255.255.255.0
  
  pvc 0/106
  
  protocols ip 192.192.192.1 broadcast
  
  End-Station Configuration Example
  
  interface ATM3/0
  
  no ip address
  
  pvc 0/5 qsaal
  
  pvc 0/16 ilmi
  
  !
  
  !
  
  interface ATM3/0.1 multipoint
  
  ip address 1.1.1.1 255.255.255.0
  
  atm esi-address 777777777777.00
  
  atm arp-server nsap self
  
  or
  
  atm arp-server nsap 47.009181000000001007386901.555555555555.00
  
  ATM Feature Example
  
  hostname RtrA
  
  !
  
  interface ATM3/0.1 point-to-point
  
  ip address 1.1.1.1 255.255.255.0
  
  pvc 0/108
  
  class-vc vclass
  
  protocol ip 1.1.1.2
  
  encapsulation aal5snap
  
  !
  
  vc-class atm vclass
  
  abr 1000 0
  
  VOIP
  
  dial-type {dtmf | pulse}—tone or pulse dialing
  
  cptone country—set regional tone, ring and cadence
  
  ring frequency {25 | 50}—(FXS only) ring frequency in hertz;
  
  Should match end device
  
  ring number number—(FXO only) maximum number of rings to be detected before answering a call over an FXO voice port
  
  connection plar number—private line auto ring down, auto-dials
  
  remote number
  
  music-threshold decibels (-70 to -30)—specify the threshold for
  
  on-hold music
  
  description string—to include a description of what this voice port
  
  is connected to
  
  comfort-noise—generates background noise(optional, w/ VAD)
  
  num-exp extension extension-string—define how to expand
  
  an extension number into a particular destination pattern
  
  ip precedence {0|1|2|3|4|5|6|7}—gives voice traffic precedence
  
  over other IP traffic
  
  Dial Peer Configuration Example
  
  dial-peer voice 1 pots
  
  destination-pattern 1001
  
  port 1/0/0dial-peer voice 2 voip
  
  destination-pattern 1002
  
  session target ipv4:10.18.0.1
  
  DLSw+ Ethernet Configuration Example
  
  Router A#
  
  dlsw local-peer peer-id 10.1.1.2
  
  dlsw remote-peer 0 tcp 10.2.2.1
  
  dlsw bridge-group 1
  
  !
  
  interface Ethernet 0
  
  bridge-group 1
  
  !
  
  bridge 1 protocol ieee
  
  QoS Quality of Service
  
  Policy Based Routing
  
  Committed Access Rate
  
  Weighted Fair Queuing
  
  Class Based Weithted Fair Queuing
  
  Priority Queuing
  
  Custom Queuing
  
  Frame-relay Traffic Shaping
  
  Weighted Random Early Detection
  
  IP Features
  
  Network Address Translation (NAT)
  
  Hot Standby Routing Protocol (HSRP)
  
  Domain Name Service (DNS)
  
  Dynamic Host Control Protocol (DHCP)
  
  Network Time Protocol (NTP)
  
  HTTP 更多请看Cisco与华为技术网(Vlan9.com)CCIE专题,或进入论坛讨论。

vlan9_logo
相关专题
  • CCIE (258篇文章)

论坛精华
阅读排行榜
最新技术文档
热门关键字导读