cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
3
Helpful
4
Replies

cbwfq - match input-interface ethernet0/0.10

rabeder
Level 1
Level 1

hi,

i want to match packets based on input interface.

but not on the physical interface - i want to match on subinterface !

is this possible ??

4 Replies 4

thisisshanky
Level 11
Level 11

Yes it is possible.

match interface e0.10 should work!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

thanks for answer - seems it´s only possible for physical int:

class-map match-any gemdat_not_voice

description Traffic von Gemeinde jedoch ohne Voice

match dscp af21

match dscp af13

match dscp af12

match dscp af11

!

r-grztr1(config)#class-map match-any gemdat_not_voice

r-grztr1(config-cmap)#description Traffic von Gemeinde jedoch ohne Voice

r-grztr1(config-cmap)# match dscp af21

r-grztr1(config-cmap)#match ?

access-group Access group

any Any packets

class-map Class map

cos IEEE 802.1Q/ISL class of service/user priority values

destination-address Destination address

discard-class Discard behavior identifier

dscp Match DSCP in IP(v4) and IPv6 packets

fr-de Match on Frame-relay DE bit

fr-dlci Match on fr-dlci

input-interface Select an input interface to match

ip IP specific values

mpls Multi Protocol Label Switching specific values

not Negate this match result

packet Layer 3 Packet length

precedence Match Precedence in IP(v4) and IPv6 packets

protocol Protocol

qos-group Qos-group

source-address Source address

r-grztr1(config-cmap)#match inp

r-grztr1(config-cmap)#match input-interface fast

r-grztr1(config-cmap)#match input-interface fastEthernet 0/0.100

r-grztr1(config-cmap)#

!

class-map match-any gemdat_not_voice

description Traffic von Gemeinde jedoch ohne Voice

match dscp af21

match dscp af13

match dscp af12

match dscp af11

match input-interface FastEthernet0/0

!

as u can see although i configured the subint. - in the config we have the whole physical which is not

possible in my enviroment.

!

i tried with the latest 12.3 T (12.3.7T)

thanks for answer - seems it´s only possible for physical int:

class-map match-any gemdat_not_voice

description Traffic von Gemeinde jedoch ohne Voice

match dscp af21

match dscp af13

match dscp af12

match dscp af11

!

r-grztr1(config)#class-map match-any gemdat_not_voice

r-grztr1(config-cmap)#description Traffic von Gemeinde jedoch ohne Voice

r-grztr1(config-cmap)# match dscp af21

r-grztr1(config-cmap)#match ?

access-group Access group

any Any packets

class-map Class map

cos IEEE 802.1Q/ISL class of service/user priority values

destination-address Destination address

discard-class Discard behavior identifier

dscp Match DSCP in IP(v4) and IPv6 packets

fr-de Match on Frame-relay DE bit

fr-dlci Match on fr-dlci

input-interface Select an input interface to match

ip IP specific values

mpls Multi Protocol Label Switching specific values

not Negate this match result

packet Layer 3 Packet length

precedence Match Precedence in IP(v4) and IPv6 packets

protocol Protocol

qos-group Qos-group

source-address Source address

r-grztr1(config-cmap)#match inp

r-grztr1(config-cmap)#match input-interface fast

r-grztr1(config-cmap)#match input-interface fastEthernet 0/0.100

r-grztr1(config-cmap)#

!

class-map match-any gemdat_not_voice

description Traffic von Gemeinde jedoch ohne Voice

match dscp af21

match dscp af13

match dscp af12

match dscp af11

match input-interface FastEthernet0/0

!

as u can see although i configured the subint. - in the config we have the whole physical which is not

possible in my enviroment.

!

i tried with the latest 12.3 T (12.3.7T)

Hello,

I configured this, and the match command accepts the subinterface, but in the running config and in the output of the command show policy-map it appears that the policy only matches the physical interface:

I configured:

class-map TEST

match interface FastEthernet1/0.1

but the running config shows:

class-map TEST

match interface FastEthernet1/0

And this is when I inspect the policy map itself.

show policy-map interface FastEthernet1/1

Match: input-interface FastEthernet1/0

It looks like subinterfaces cannot be matched...

HTH,

GP

Review Cisco Networking for a $25 gift card