加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

思科7200系列路由器配置举例(1)

(2006-03-19 17:52:30)
分类: ~~~ ALL IN ONE ~~~

CERN rotuer: C7200, IOS: Version 12.0(5.0.2)T1

relavant CERN configuration:
 


class-map wfq-tcp
  match access-group 174
policy-map wfq
  class wfq-tcp
   bandwidth 1300
   random-detect
  class class-default
   bandwidth 200
interface FastEthernet5/0
description tftant diffserv experiment
ip address 192.168.62.1 255.255.255.0 secondary
ip address 192.168.63.1 255.255.255.0 secondary
ip address 192.65.183.1 255.255.255.0
no ip directed-broadcast
rate-limit input access-group 173 1296000 82000 164000 conform-action set-prec-transmit 5 exceed-action drop <==== this is the CAR actually active in the test

rate-limit input access-group 150 1296000 82000 164000 conform-action set-prec-transmit 5 exceed-action drop
full-duplex
!
interface ATM6/0.8 point-to-point
description to INFN (diffserv)
bandwidth 2000
ip address 192.168.60.5 255.255.255.252
no ip directed-broadcast
pvc 8/8 
  service-policy output wfq
  vbr-nrt 2000 2000 1
  encapsulation aal5mux ip
      
    

------------


Cernh5#sh in faste5/0 rate
FastEthernet5/0 tftant diffserv experiment
  Input
    matches: access-group 173
      params:  1296000 bps, 82000 limit, 164000 extended limit
      conformed 11392 packets, 17098392 bytes; action: set-prec-transmit 5
      exceeded 38 packets, 57532 bytes; action: drop
      last packet: 8ms ago, current burst: 50338 bytes
      last cleared 00:02:09 ago, conformed 1054000 bps, exceeded 3000 bps
Cernh5#sh queue atm 6/0.8
  Interface ATM6/0.8 VC 8/8
  Queueing strategy: weighted fair
  Total output drops per VC: 23673
  Output queue: 64/512/64/23673 (size/max total/threshold/drops)
     Conversations  2/2/64 (active/max active/max total)
     Reserved Conversations 2/2 (allocated/max allocated)

  (depth/weight/discards/tail drops/interleaves) 63/569/23673/0/0
  Conversation 73, linktype: ip, length: 1032
  source: 192.65.183.21, destination: 192.168.73.2, id: 0xCAEC, ttl: 254,
  TOS: 0 prot: 17, source port 62828, destination port 5000

  (depth/weight/random/tail/interleaves) 1/88/0/0/0
  Conversation 72, linktype: ip, length: 1504
  source: 192.65.183.21, destination: 192.168.73.2, id: 0xCBE8, ttl: 254,
  TOS: 160 prot: 6, source port 33276, destination port 32868
Cernh5#sh queueing in atm 6/0.8 vc 8/8         
  Interface ATM6/0.8 VC 8/8
  Queueing strategy: weighted fair
  Total output drops per VC: 30879
  Output queue: 65/512/64/30879 (size/max total/threshold/drops)
     Conversations  2/2/64 (active/max active/max total)
     Reserved Conversations 2/2 (allocated/max allocated)
Cernh5#sh atm vc 2
ATM6/0.8: VCD: 2, VPI: 8, VCI: 8
VBR-NRT, PeakRate: 2000, Average Rate: 2000, Burst Cells: 1
AAL5-MUX, etype:0x800, Flags: 0x2000023, VCmode: 0x0
OAM frequency: 0 second(s)
InARP DISABLED
Transmit priority 2
InPkts: 10540, OutPkts: 31112, InBytes: 571872, OutBytes: 40899496
InPRoc: 0, OutPRoc: 0
InFast: 10540, OutFast: 31112, InAS: 0, OutAS: 0
InPktDrops: 0, OutPktDrops: 34406
CrcErrors: 0, SarTimeOuts: 0, OverSizedSDUs: 0
OAM cells received: 0
OAM cells sent: 0
Status: UP

<after the end of the TCP test: TCP throughput = 1.22 Mbps>
Cernh5#sh in faste5/0 rate                     
FastEthernet5/0 tftant diffserv experiment
  Input
    matches: access-group 173
      params:  1296000 bps, 82000 limit, 164000 extended limit
      conformed 21232 packets, 31924170 bytes; action: set-prec-transmit 5
      exceeded 69 packets, 104466 bytes; action: drop
      last packet: 25556ms ago, current burst: 0 bytes
      last cleared 00:04:08 ago, conformed 1028000 bps, exceeded 3000 bps
Cernh5#sh tech page

------------------ show version ------------------

Cisco Internetwork Operating System Software
IOS (tm) 7200 Software (C7200-P-M), Version 12.0(5.0.2)T1,  MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Sat 19-Jun-99 13:36 by kpma
Image text-base: 0x60008900, data-base: 0x60D64000

ROM: System Bootstrap, Version 11.1(10) [dschwart 10], RELEASE SOFTWARE (fc1)
BOOTFLASH: 7200 Software (C7200-BOOT-M), Version 11.1(19)CC1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

Cernh5 uptime is 2 days, 23 hours, 52 minutes
System returned to ROM by power-on at 12:11:52 UTC Mon Jul 12 1999
System restarted at 13:58:29 UTC Tue Aug 24 1999
System image file is "slot0:c7200-p-mz.120-5.0.2.T1"

cisco 7206 (NPE150) processor with 122880K/8192K bytes of memory.
R4700 CPU at 150Mhz, Implementation 33, Rev 1.0, 512KB L2 Cache
6 slot midplane, Version 1.3

Last reset from power-on
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
4 Serial network interface(s)
1 ATM network interface(s)
125K bytes of non-volatile configuration memory.
1024K bytes of packet SRAM memory.

16384K bytes of Flash PCMCIA card at slot 0 (Sector size 128K).
4096K bytes of Flash internal SIMM (Sector size 256K).
Configuration register is 0x2102

         
------------------ show running-config ------------------


Building configuration...

Current configuration:
!
! Last configuration change at 10:27:15 UTC Wed Aug 25 1999 by jmj
! NVRAM config last updated at 10:27:31 UTC Wed Aug 25 1999 by jmj
!
version 12.0
service timestamps debug datetime localtime
service timestamps log datetime localtime
service password-encryption
!
hostname Cernh5
!
boot system flash slot0:c7200-p-mz.120-5.0.2.T1
boot system flash slot0:c7200-p-mz.120-5.0.2.T
logging console informational
aaa new-model
aaa authentication login default local
enable secret 5 <removed>
!
username tftant password 7 <removed>
username root password 7 <removed>
username jmj password 7 <removed>
username moroni password 7 <removed>
username rtb password 7 <removed>
username daemon password 7 <removed>
!
class-map unis-llli
  match access-group 180
class-map wfq-tcp
  match access-group 174
class-map dante-lli
  match access-group 120
class-map infn-lllli
  match access-group 170
class-map unit-important
  match access-group 190
class-map monarc-to-infn-vll
  match access-group 172
class-map switch-i
  match access-group 140
class-map rediris-li
  match access-group 110
class-map uniu-less-important
  match access-group 130
class-map grnet-lless-important
  match access-group 150
!
!
policy-map monarc
  class monarc-to-infn-vll
   bandwidth 1000
   queue-limit 10
policy-map wfq
  class wfq-tcp
   bandwidth 1300
   random-detect
  class class-default
   bandwidth 200
policy-map unit-uniu-grnet
  class uniu-less-important
   bandwidth 400
  class grnet-lless-important
   bandwidth 200
  class class-default
   bandwidth 100
policy-map ch-sp-dante-de-infn
  class switch-i
   bandwidth 500
  class rediris-li
   bandwidth 400
  class dante-lli
   bandwidth 300
  class unis-llli
   bandwidth 200
  class infn-lllli
   bandwidth 100
!
ip subnet-zero
ip rcmd rsh-enable
ip rcmd remote-host daemon 137.138.32.139 www
ip cef
no ip finger
ip host aixcn01 192.65.183.4
ip host afnmon-tft 192.65.183.2
ip host chathp1 192.65.183.3
ip host self 192.65.185.5
ip host infn 192.168.71.1
ip host grnet 192.168.51.1
ip host dfn 192.168.81.1
ip host DXMON 192.65.185.10
ip host dxmon.cern.ch 192.65.185.10
ip domain-name cern.ch
ip name-server 192.65.185.10
!
!
process-max-time 200
!
interface Loopback0
description loopback address for mpls network
ip address 192.168.61.1 255.255.255.255
no ip directed-broadcast
       
interface Loopback6
description Test for EIGRP
ip address 192.65.186.1 255.255.255.255
no ip directed-broadcast
!
interface FastEthernet1/0
description connect to cixp
ip address 192.65.185.5 255.255.255.0
no ip directed-broadcast
full-duplex
!
interface FastEthernet1/1
description Connect to Joop's FastEthernet switch
ip address 192.168.62.1 255.255.255.0 secondary
ip address 192.168.63.1 255.255.255.0 secondary
ip address 192.65.183.1 255.255.255.0
no ip directed-broadcast
rate-limit input access-group 173 1296000 82000 164000 conform-action set-prec-transmit 5 exceed-action drop
shutdown
full-duplex
!
interface Serial2/0
no ip address
no ip directed-broadcast
shutdown
!
interface Serial2/1
no ip address
no ip directed-broadcast
shutdown
!
interface Serial2/2
no ip address
no ip directed-broadcast
shutdown
!
interface Serial2/3
no ip address
no ip directed-broadcast
shutdown
!
interface FastEthernet5/0
description tftant diffserv experiment
ip address 192.168.62.1 255.255.255.0 secondary
ip address 192.168.63.1 255.255.255.0 secondary
ip address 192.65.183.1 255.255.255.0
no ip directed-broadcast
rate-limit input access-group 173 1296000 82000 164000 conform-action set-prec-transmit 5 exceed-action drop
rate-limit input access-group 150 1296000 82000 164000 conform-action set-prec-transmit 5 exceed-action drop
full-duplex
!
interface ATM6/0
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
!
interface ATM6/0.1 point-to-point
description PVC to LS1010 ATM switch (TEST-MPLS)
ip address 192.65.184.54 255.255.255.252
no ip directed-broadcast
atm pvc 111 0 100 aal5mux ip
!
interface ATM6/0.6 point-to-point
description to GRNET (diffserv)
bandwidth 2000
ip address 192.168.60.1 255.255.255.252
no ip directed-broadcast
pvc 6/6
  service-policy output wfq
  vbr-nrt 2000 2000 1
  encapsulation aal5mux ip
!
!
interface ATM6/0.8 point-to-point
description to INFN (diffserv)
bandwidth 2000
ip address 192.168.60.5 255.255.255.252
no ip directed-broadcast
pvc 8/8
  service-policy output wfq
  vbr-nrt 2000 2000 1
  encapsulation aal5mux ip
!


         

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有