Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Silver

Use of FlexConfig for unsupported commands

I want to manage an unsupported command in a class map using CSM 4.0, on an 877 router.

The original class map:

class-map match-any P2P

match protocol gnutella

match protocol edonkey

match protocol fasttrack

match protocol kazaa2

match protocol bittorrent

Under a class map there is a match statement for bittorrent. When I import this config including this command and do an initial deployment to a file CSM complains that the match bittorrent is an unsupported command. Oh, and CSM changes the orignal policy name to one of its own choosing, but I can work with that.

CSM generated class map:

class-map match-any CSM_CLASS_MAP_1
match protocol gnutella
match protocol edonkey
match protocol fasttrack
match protocol kazaa2

So I created a flexconfig which contains the lines:

class-map match-any CSM_CLASS_MAP_1

match protocol bittorrent

When I deploy the new configuration to a file CSM simply adds these lines straight onto the last line of configuration, if I look at the text file it generated I end up with this line:

bridge 3 route ipclass-map match-any CSM_CLASS_MAP_1match protocol bittorrent

What am I doing wrong? The documention goes on about using scripting languages to do sophisticated manipulation of config variables, but can it do simple stuff like this?

168
Views
0
Helpful
0
Replies
CreatePlease to create content