Cisco 2911 Router 配置范例

 

 

  
  
  
  
  1. 2911#show run 
  2. Building configuration... 
  3.  
  4. Current configuration : 5167 bytes 
  5. Last configuration change at 08:22:41 UTC Wed May 2 2012 by cisco 
  6. ! NVRAM config last updated at 05:49:51 UTC Wed May 2 2012 by cisco 
  7. ! NVRAM config last updated at 05:49:51 UTC Wed May 2 2012 by cisco 
  8. version 15.1 
  9. service timestamps debug datetime msec 
  10. service timestamps log datetime msec 
  11. no service password-encryption 
  12. hostname 2911 
  13. boot-start-marker 
  14. boot-end-marker 
  15. logging buffered 51200 warnings 
  16. enable secret 5 $1$6CYn$PRxXJhbBSFS65Q/8HfIJu. 
  17. no aaa new-model 
  18. no ipv6 cef 
  19. ip source-route 
  20. ip cef 
  21. ip dhcp excluded-address 192.168.40.250 192.168.40.254 
  22. ip dhcp excluded-address 192.168.50.250 192.168.50.254 
  23. ip dhcp pool Song 
  24.  network 192.168.40.240 255.255.255.240 
  25.  default-router 192.168.40.254  
  26.  dns-server 208.67.222.222 208.67.220.220  
  27.  lease 7 
  28. ip dhcp pool Sheng 
  29.  network 192.168.50.128 255.255.255.128 
  30.  default-router 192.168.50.254  
  31.  dns-server 208.67.222.222 208.67.220.220  
  32.  lease 7 
  33. no ip domain lookup 
  34. ip domain name cisco.com 
  35. multilink bundle-name authenticated 
  36. crypto pki token default removal timeout 0 
  37. crypto pki trustpoint TP-self-signed-433792230 
  38.  enrollment selfsigned 
  39.  subject-name cn=IOS-Self-Signed-Certificate-433792230 
  40.  revocation-check none 
  41.  rsakeypair TP-self-signed-433792230 
  42. crypto pki certificate chain TP-self-signed-433792230 
  43.  certificate self-signed 01 
  44.   30820229 30820192 A0030201 02020101 300D0609 2A864886 F70D0101 05050030  
  45.   30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274  
  46.   69666963 6174652D 34333337 39323233 30301E17 0D313230 32313630 32303430  
  47.   335A170D 32303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F  
  48.   532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3433 33373932  
  49.   32333030 819F300D 06092A86 4886F70D 01010105 0003818D 00308189 02818100  
  50.   E227E899 E664CFEA 3E43A483 DD44A491 1B3C6C44 1D3C61B4 BC0F5E20 E6C19746  
  51.   A4558A00 4FBEB2D9 CC13A63C C97581DA 3F84AFFA 8FF22356 08E48D25 AFC42034  
  52.   B1690136 2871D7B9 69C69F78 6F6E766A 7DB95B73 E99B3613 AAF708C5 182BE89C  
  53.   798E02C8 BB016A10 81C5AE6A 4A2D38E2 D866D5E9 070C87AF 7D323594 EE8A2883  
  54.   02030100 01A35330 51300F06 03551D13 0101FF04 05300301 01FF301F 0603551D  
  55.   23041830 168014FB 5B2A0956 C7F0A82B 3AFC39E5 7B3E270D 17129F30 1D060355  
  56.   1D0E0416 0414FB5B 2A0956C7 F0A82B3A FC39E57B 3E270D17 129F300D 06092A86  
  57.   4886F70D 01010505 00038181 00B10707 EEF7114E 68A39A24 D7365669 F9D8FE81  
  58.   ED70AD0C BDAEF025 87FD4757 9F9CBD56 9D5EF743 CDD8F84C 2AD8682C B347D84C  
  59.   C514A4BD E4FD17CB 93C02A68 E8BF35C7 2690CBDF D798EFC0 D68EF7CF A8FD94F8  
  60.   4EBDA7E7 06E4BD80 6A427477 33D9250D E98CBECD D8A0EA15 87997D69 24813DE6  
  61.   CF0935FF B09CD7AB 78DF8902 12 
  62.     quit 
  63. license udi pid CISCO2911/K9 sn FGL1607125L 
  64. username cisco privilege 15 secret 5 $1$JrAE$HttKboGTO2saXiStVoO1 
  65. username mgmt secret 5 $1$Z.np$KplCwsSkQox8zQV8NqR6/ 
  66. redundancy 
  67. !  
  68. interface Embedded-Service-Engine0/0 
  69.  no ip address 
  70.  shutdown 
  71. interface GigabitEthernet0/0 
  72.  description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$ 
  73.  ip address 10.10.10.1 255.255.255.248 
  74.  duplex auto 
  75.  speed auto 
  76. !          
  77. interface GigabitEthernet0/1 
  78.  description Song 
  79.  ip address 192.168.40.254 255.255.255.240 
  80.  ip nat inside 
  81.  ip virtual-reassembly in 
  82.  duplex auto 
  83.  speed auto 
  84. interface GigabitEthernet0/2 
  85.  description Sheng 
  86.  ip address 192.168.50.254 255.255.255.128 
  87.  ip nat inside 
  88.  ip virtual-reassembly in 
  89.  duplex full 
  90.  speed auto 
  91. interface FastEthernet0/0/0 
  92.  description Default-Shenzhen-IPLC-Hongkong-WAN 
  93.  ip address 202.134.11.134 255.255.255.252 
  94.  ip flow ingress 
  95.  ip nat outside 
  96.  ip virtual-reassembly in 
  97.  duplex auto 
  98.  speed auto 
  99. interface FastEthernet0/0/1 
  100.  description Shenzhen-IPLC-Hongkong-IDC 
  101.  ip address 172.16.0.254 255.255.255.0 
  102.  ip virtual-reassembly in 
  103.  duplex auto 
  104.  speed auto 
  105. router ospf 1 
  106.  network 172.16.0.0 0.0.0.255 area 1 
  107.  network 192.168.40.240 0.0.0.15 area 1 
  108.  network 192.168.50.128 0.0.0.127 area 1 
  109. ip forward-protocol nd 
  110. ip http server 
  111. ip http access-class 23 
  112. ip http authentication local 
  113. ip http secure-server 
  114. ip http timeout-policy idle 60 life 86400 requests 10000 
  115. ip flow-export source FastEthernet0/0/0 
  116. ip flow-export version 9 
  117. ip flow-export destination 192.168.2.5 2055 
  118. ip nat inside source list nat interface FastEthernet0/0/0 overload 
  119. ip nat inside source static tcp 192.168.2.1 3690 202.134.11.134 3690 extendable 
  120. ip route 0.0.0.0 0.0.0.0 202.134.11.133 
  121. ip access-list standard login 
  122.  permit 192.168.50.0 0.0.0.128 
  123.  permit 172.16.0.0 0.0.0.255 
  124.  permit 192.168.40.0 0.0.0.255 
  125.  permit 192.168.0.0 0.0.255.255 
  126. ip access-list extended nat 
  127.  permit ip any any 
  128. snmp-server community public RO 
  129. snmp-server location Shenzhen 
  130. snmp-server contact [email protected] 
  131. snmp-server host 192.168.2.5 ro  
  132. control-plane 
  133. line con 0 
  134.  login local 
  135. line aux 0 
  136. line 2 
  137.  no activation-character 
  138.  no exec 
  139.  transport preferred none 
  140.  transport input all 
  141.  transport output pad telnet rlogin lapb-ta mop udptn v120 ssh 
  142.  stopbits 1 
  143. line vty 0 4 
  144.  access-class login in 
  145.  privilege level 15 
  146.  login local 
  147.  transport input telnet ssh 
  148. line vty 5 15 
  149.  access-class 23 in 
  150.  privilege level 15 
  151.  login local 
  152.  transport input telnet ssh 
  153. scheduler allocate 20000 1000 
  154. end 

 

你可能感兴趣的:(netkiller,Cisco,snmp,router,netflow)