09-16-2019 04:59 AM - edited 09-16-2019 05:18 AM
Hi,
I am new here so please ignore my rookie questions and un-orthodox manner.
My question is that i am applying a policy on main interface, would it affect the sub-interface as well? There is only one sub-interface under the main interface.
configure terminal
ip access-list extended acl-SERVERS
permit ip any host 10.22.21.22
!
class-map match-any class_VOICE-1Mbps-AtLeast
match protocol h323
class-map match-any class_SERVERS-2Mbps-AtLeast
match access-group name acl-SERVERS
class-map match-any class_BLOCK-TORRENT-DROP
match protocol edonkey
match protocol fasttrack
match protocol bittorrent
!
policy-map policy_LIMIT-ON-MPLS-OUT
class class_VOICE-1Mbps-AtLeast
bandwidth 1024
set ip dscp ef
class class_SERVERS-2Mbps-AtLeast
bandwidth 2048
set ip dscp af21
class class_BLOCK-TORRENT-DROP
drop
class class-default
!
interface GigabitEthernet0/1
no ip address
ip flow ingress
duplex auto
speed auto
service-policy output policy_LIMIT-ON-MPLS-OUT
end
!
interface GigabitEthernet0/1.1065
encapsulation dot1Q 1065
ip address 10.95.18.194 255.255.255.252
end
Please advise?
I actually applied this and traffic routed thru the subinterface was being marked ef and af21 as checked thru "show access-list acl-SERVERS " command.. there is no other markings applied. Any help will be highly appreciated.
09-16-2019 05:46 AM
09-16-2019 05:58 AM
09-16-2019 06:37 AM
09-16-2019 10:45 PM
My understanding was that as the physical interface is 1Gbps so we need to use the "bandwidth 20000" command, so that router will detect congestion when the traffic rate is beyond 20Mbps..
what i understand from what you said above is that the link congestion detection is not dependent upon the "bandwidth 20000" command, as its optional and used in routing metric calculation, while the congestion is detected otherwise... in our case 2Mbps for servers and 1Mbps for voice will be reserved whatever the BW is... but what if we use bandwidth percent command, that would depend on the bandwidth set using bandwidth command... right?
09-17-2019 12:51 AM
09-17-2019 02:18 AM
I am sorry to bother you with so may questions and i really appreciate your patience and replying to nicely.
here is what i am not getting... the interface bandwidth is 1Gig and the BW from ISP is 20Mbps, so should i mention this in bandwidth command under interface for my QoS policy to work right or would the policy work even if i dont mention it?
in my policy i am reserving bandwidth in bps but whet if instead of bps i use percentage, would it be according to the interface bandwidth or the bandwidth set thru command on the interface?
09-17-2019 08:15 AM
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: