cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
909
Views
0
Helpful
4
Replies

Configuration for Switch C3850 L3 to Router C2921 =QoS-Voice traffic=

legend_mau
Level 1
Level 1

Yellow everybody!!!

I need all your help... Because I don't know a lot about Qos...

I want to take control about some configuration for my network and I bought 2 switchs C3850 with IPbase licenses, my idea is enable ip routing to make route between vlans, I'm going to use EIGRP between SP and my Switch. Because actually the SP has all the control over my LAN.

I would like to know which is the configuration that I must to setup on the switch interface Gi1/1/1 to send to Primary Router the voice or QoS traffic.

I've this auto QoS switch access interfaces:

interface GigabitEthernet1/0/3
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy

and interface Gi1/1/1 I've this configuration:

interface GigabitEthernet1/1/1

ip address 172.35.2.2 255.255.255.252

no shutdown

service-policy input VoIP_DSCP

and the Service Provider has this configuration:

class-map match-any in_VoIP
match access-group name acl_VoIP
match ip dscp ef
match ip dscp cs5

policy-map VoIP_DSCP
class cm_in_VoIP
set ip dscp ef

interface GigabitEthernet0/1
service-policy input VoIP_DSCP

ip address 172.35.2.1 255.255.255.252

Plisssss help me!!!!!!!!! :(

4 Replies 4

Hello.

it looks like you have Auto QoS already configured on your 3850. Can you post the full configuration of your 3850 ?

Thks George, yes I'm using autoQos and here is the configuration:

#show running-config
Building configuration...

Current configuration : 68883 bytes

version 15.2
no service pad
service timestamps debug datetime msec localtime
service timestamps log datetime msec localtime
service password-encryption
service compress-config
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!

switch 1 provision ws-c3850-24p
switch 2 provision ws-c3850-24p

!
!
qos queue-softmax-multiplier 100
!
table-map AutoQos-4.0-Trust-Cos-Table
default copy
table-map policed-dscp
map from 0 to 8
map from 10 to 8
map from 18 to 8
map from 24 to 8
map from 46 to 8
default copy
!
!
diagnostic bootup level minimal
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
hw-switch switch 1 logging onboard message level 3
hw-switch switch 2 logging onboard message level 3
!
redundancy
mode sso
!
vlan 50
name data_users
!
vlan 90
name voice
!
vlan 131
name VIDEO
!
class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
match dscp af41 af42 af43
match cos 4
class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
match dscp af11 af12 af13
match cos 1
class-map match-any AutoQos-4.0-Output-Priority-Queue
match dscp cs4 cs5 ef
match cos 5
class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
match dscp af31 af32 af33
class-map match-any AutoQos-4.0-Voip-Data-CiscoPhone-Class
match cos 5
class-map match-any AutoQos-4.0-Voip-Signal-CiscoPhone-Class
match cos 3
class-map match-any non-client-nrt-class
class-map match-any AutoQos-4.0-Default-Class
match access-group name AutoQos-4.0-Acl-Default
class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
match dscp af21 af22 af23
match cos 2
class-map match-any AutoQos-4.0-Output-Scavenger-Queue
match dscp cs1
class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
match dscp cs2 cs3 cs6 cs7
match cos 3
!
policy-map port_child_policy
class non-client-nrt-class
bandwidth remaining ratio 10
policy-map AutoQos-4.0-Output-Policy
class AutoQos-4.0-Output-Priority-Queue
priority level 1 percent 30
class AutoQos-4.0-Output-Control-Mgmt-Queue
bandwidth remaining percent 10
queue-limit dscp cs2 percent 80
queue-limit dscp cs3 percent 90
queue-limit dscp cs6 percent 100
queue-limit dscp cs7 percent 100
queue-buffers ratio 10
class AutoQos-4.0-Output-Multimedia-Conf-Queue
bandwidth remaining percent 10
queue-buffers ratio 10
class AutoQos-4.0-Output-Trans-Data-Queue
bandwidth remaining percent 10
queue-buffers ratio 10
class AutoQos-4.0-Output-Bulk-Data-Queue
bandwidth remaining percent 4
queue-buffers ratio 10
class AutoQos-4.0-Output-Scavenger-Queue
bandwidth remaining percent 1
queue-buffers ratio 10
class AutoQos-4.0-Output-Multimedia-Strm-Queue
bandwidth remaining percent 10
queue-buffers ratio 10
class class-default
bandwidth remaining percent 25
queue-buffers ratio 25
policy-map AutoQos-4.0-Trust-Cos-Input-Policy
class class-default
set cos cos table AutoQos-4.0-Trust-Cos-Table
policy-map AutoQos-4.0-CiscoPhone-Input-Policy
class AutoQos-4.0-Voip-Data-CiscoPhone-Class
set dscp ef
police cir 128000 bc 8000
conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp
class AutoQos-4.0-Voip-Signal-CiscoPhone-Class
set dscp cs3
police cir 32000 bc 8000
conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp
class AutoQos-4.0-Default-Class
set dscp default
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
vrf forwarding Mgmt-vrf
no ip address
negotiation auto
!
interface GigabitEthernet1/0/1
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
!
interface GigabitEthernet1/0/2
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
!
interface GigabitEthernet1/0/3
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
!
.
.
.
.
.
.
.

!
interface GigabitEthernet1/1/1
description LINK-TO-SPPR
ip address 172.35.2.2 255.255.255.252
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
!
interface TenGigabitEthernet1/1/2
!
interface TenGigabitEthernet1/1/3
!
interface TenGigabitEthernet1/1/4
!
interface GigabitEthernet2/0/1
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
!
interface GigabitEthernet2/0/2
switchport access vlan 50
switchport mode access
switchport voice vlan 90
trust device cisco-phone
auto qos voip cisco-phone
spanning-tree portfast
spanning-tree bpduguard enable
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy
!
.
.
.
.
.
.
!
interface GigabitEthernet2/1/1
description LINK-TO-SPSE
ip address 172.35.2.6 255.255.255.252
!
interface GigabitEthernet2/1/2
!
interface GigabitEthernet2/1/3
!
interface GigabitEthernet2/1/4
!
interface TenGigabitEthernet2/1/1
!
interface TenGigabitEthernet2/1/2
!
interface TenGigabitEthernet2/1/3
!
interface TenGigabitEthernet2/1/4
!
!
!
ip forward-protocol nd
no ip http server
ip http authentication aaa
ip http secure-server
!
!
ip access-list extended AutoQos-4.0-Acl-Default
permit ip any any
!
!
!
!
!
!
ntp server
end

Regards

Hello,

actually, I would assign the exact same service policies to both interfaces connected to the primary and secondary router:

interface GigabitEthernet1/1/1
description LINK-TO-SPPR
ip address 172.35.2.2 255.255.255.252
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy

interface GigabitEthernet2/1/1
description LINK-TO-SPSE
ip address 172.35.2.6 255.255.255.252
service-policy input AutoQos-4.0-CiscoPhone-Input-Policy
service-policy output AutoQos-4.0-Output-Policy

Thanks a lot Georg!!

I will try and inform about the results!! :)

Regards