语音Qos配置例举

发表于:2007-06-23来源:作者:点击数: 标签:
! version 12.2 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname router1 ! logging buffered 5000 debugging logging rate-limit console 10 except erro

   
  !
  version 12.2
  no service single-slot-reload-enable
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname router1
  !

  logging buffered 5000 debugging
  logging rate-limit console 10 except errors
  enable secret 5 XXXXXXXXXXXXXXXXXXXXXXXXX
  enable password XXXXXXXX
  !
  memory-size iomem 10
  ip su.net-zero
  no ip source-route
  !
  !
  no ip finger
  ip name-server 213.61.132.2
  ip name-server 10.1.16.5
  !
  no ip dhcp-client network-discovery
  !
  class-map match-all voice
  match aclearcase/" target="_blank" >ccess-group 199
  !
  !
  policy-map WAN
  class voice
  priority 1536
  class class-default
  fair-queue
  !
  !
  !
  controller E1 0/0
  clock source internal
  channel-group 0 unframed
  !
  buffers small permanent 75
  buffers small max-free 250
  !
  interface Ethernet0/0
  ip address 10.1.31.239 255.255.240.0
  ip helper-address 10.1.47.255
  no ip mroute-cache
  half-duplex
  no cdp enable
  !
  interface Serial0/0:0
  ip address 192.168.254.249 255.255.255.252
  encapsulation ppp
  ip tcp header-compression iphc-format
  service-policy output WAN
  ip rtp header-compression iphc-format
  ip rtp compression-connections 400
  !
  interface Ethernet0/1
  no ip address
  no ip mroute-cache
  shutdown
  half-duplex
  no cdp enable
  !
  router eigrp 100
  network 10.0.0.0
  network 192.168.254.0
  no auto-summary
  no eigrp log-neighbor-changes
  !
  ip classless
  no ip forward-protocol udp bootps
  no ip forward-protocol udp bootpc
  no ip forward-protocol udp netbios-ns
  no ip forward-protocol udp netbios-dgm
  ip route 0.0.0.0 0.0.0.0 10.1.31.10
  ip route 10.1.48.0 255.255.240.0 192.168.254.250
  ip route 192.168.0.0 255.255.255.252 192.168.254.251
  no ip http server
  !
  logging facility local6
  logging 10.1.16.40
  access-list 2 permit 192.168.0.0 0.0.255.255
  access-list 2 permit 10.1.0.0 0.0.255.255
  access-list 199 permit ip any any precedence critical
  !
  line con 0
  exec-timeout 0 0
  transport input none
  line aux 0
  line vty 0 4
  password mus
  login
  line vty 5 15
  password mus
  login
  !
  no scheduler allocate
  end

原文转自:http://www.ltesting.net