bab0914ce190a07ff43dfec0899dc4c5.ppt
- Количество слайдов: 52
! Matching voice traffic from customer 1 Pe 1(config)# class-map match-all cus 1_voice Pe 1(config-cmap)# match interface POS 1/0 Pe 1(config-cmap)# match ip precedence 4 Pe 1(config-cmap)# end ! Matching voice traffic from customer 2 Pe 1(config)# class-map match-all cus 2_voice Pe 1(config-cmap)# match interface POS 1/1 Pe 1(config-cmap)# match ip precedence 5 Pe 1(config-cmap)# end ! Matching any e 2 e traffic Pe 1(config)# class-map erp Pe 1(config-cmap)# match ip precedence 2 Pe 1(config-cmap)# end
Pe 1(config)# class-map isp_voice Pe 1(config-cmap)# match mpls experimental 4 Pe 1(config-cmap)# end Pe 1(config)# class-map isp_erp Pe 1(config-cmap)# match mpls experimental 2 Pe 1(config-cmap)# end Pe 1(config)# class-map isp_routine Pe 1(config-cmap)# match mpls experimental 1 Pe 1(config-cmap)# end
! Input Policy for setting experimental 4, 2, 1 Pe 1(config)# policy-map pe 1_input Pe 1(config-pmap)# class cus 1_voice Pe 1(config-pmap-c)# set mpls experimental 4 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class cus 2_voice Pe 1(config-pmap-c)# set mpls experimental 4 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class erp Pe 1(config-pmap-c)# set mpls experimental 2 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class-default Pe 1(config-pmap-c)# set mpls experimental 1 Pe 1(config-pmap)# exit
! Output Policy for configuring bandwidth, queue… Pe 1(config)# policy-map policy pe 1_output Pe 1(config-pmap)# class isp_voice Pe 1(config-pmap-c)# priority 100 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class isp_erp Pe 1(config-pmap-c)# bandwidth 50 Pe 1(config-pmap-c)# queue-limit 30 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class-default Pe 1(config-pmap-c)# bandwidth 20 Pe 1(config-pmap-c)# queue-limit 100 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# exit
Pe 1(config)# ATM 1/0 Pe 1(config-if)# no ip address Pe 1(config-if)# atm clock INTERNAL Pe 1(config-if)# no atm ilmi-keepalive Pe 1(config-if)# exit Pe 1(config)# interface ATM 1/0. 1 tag-switching Pe 1(config-if)# ip unnumbered loopback 0 Pe 1(config-if)# tag-switching multi-vc Pe 1(config-if)# tag-switching atm vpi 2 -5 Pe 1(config-if)# tag-switching ip ! Sets up 3 LVCs. Pe 1(config)# cos-map 1 ! 3 - standard Pe 1(config-mpls-cos-map)# class 3 standard ! 2 - premium Pe 1(config-mpls-cos-map)# exit ! 1 - standard ! 0 – available Pe 1(config)# mpls prefix-map 1 access-list 1 cos-map 1
! Matching voice traffic from customer 1 Pe 1(config)# class-map match-all cus 1_voice Pe 1(config-cmap)# match interface POS 1/0 Pe 1(config-cmap)# match ip precedence 4 Pe 1(config-cmap)# end ! Matching voice traffic from customer 2 Pe 1(config)# class-map match-all cus 2_voice Pe 1(config-cmap)# match interface POS 1/1 Pe 1(config-cmap)# match ip precedence 5 Pe 1(config-cmap)# end ! Matching any e 2 e traffic Pe 1(config)# class-map erp Pe 1(config-cmap)# match ip precedence 2 Pe 1(config-cmap)# end
P! Input Policy for setting experimental 2, 1, 0 e 1(config)# policy-map pe 1_input Pe 1(config-pmap)# class cus 1_voice Pe 1(config-pmap-c)# set mpls experimental 2 ! Voice for customer 1 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class cus 2_voice Pe 1(config-pmap-c)# set mpls experimental 2 ! Voice for customer 2 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class erp Pe 1(config-pmap-c)# set mpls experimental 1 ! ERP data Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class-default Pe 1(config-pmap-c)# set mpls experimental 0 ! All other traffic Pe 1(config-pmap)# exit Pe 1(config)# class-map isp_voice Pe 1(config-cmap)# match mpls experimental 2 Pe 1(config-cmap)# end
Pe 1(config)# class-map isp_erp Pe 1(config-cmap)# match mpls experimental 1 Pe 1(config-cmap)# end Pe 1(config)# class-map isp_available Pe 1(config-cmap)# match mpls experimental 0 Pe 1(config-cmap)# end ! Output Policy for configuring bandwidth, queue… Pe 1(config)# policy-map policy pe 1_output Pe 1(config-pmap)# class isp_voice Pe 1(config-pmap-c)# priority 100
Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class isp_erp Pe 1(config-pmap-c)# bandwidth 50 Pe 1(config-pmap-c)# queue-limit 30 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# class isp_available Pe 1(config-pmap-c)# bandwidth 20 Pe 1(config-pmap-c)# queue-limit 100 Pe 1(config-pmap-c)# exit Pe 1(config-pmap)# exit


