04-23-2006 12:16 AM - edited 03-03-2019 12:29 PM
Hello How do I remark traffic comming in on my fastethernet port so that it is marked as ef going out on the lan.
Jason
Solved! Go to Solution.
04-23-2006 12:24 AM
Jason,
Here is an example for remarking rtp traffic to ef.
ip cef
!
class-map match-any RTP
match ip rtp 2000 16383
!
!
policy-map REMARK
class RTP
set dscp ef
interface FastEthernet0/0
service-policy input REMARK
Patrick
04-23-2006 12:24 AM
Jason,
Here is an example for remarking rtp traffic to ef.
ip cef
!
class-map match-any RTP
match ip rtp 2000 16383
!
!
policy-map REMARK
class RTP
set dscp ef
interface FastEthernet0/0
service-policy input REMARK
Patrick
04-24-2006 12:08 AM
How would I match another port like ssh or telnet and mark that traffic.
Jason.
04-24-2006 12:18 AM
Hi Jason,
One way of doing that would be to use NBAR:
class-map SSH
match protocol ssh
or
class-map TELNET
match protocol telnet
Hope that helps - pls do remember to rate posts that help.
Paresh
04-24-2006 12:21 AM
Yet another way of doing that would be with the use of an ACL:
class-map SSH
match access-group 101
!
class-map TELNET
match access-group 102
!
access-list 101 permit tcp any any eq 22
access-list 101 permit tcp any eq 22 any
access-list 102 permit tcp any any eq telnet
access-list 102 permit tcp any eq telnet any
Hope that helps - pls do remember to rate posts that help.
Paresh
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: