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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

XML weirdness in Cisco ACE module

Hello,

I'm investigating the xml interface of a Cisco ACE module in a 6500

chassis and see something weird.

When I log in with SSH and do the following:

switch/contextA# show running-config interface

Generating configuration....

interface vlan 115

ip address 172.31.3.6 255.255.255.0

access-group input ALLOWALL

access-group output ALLOWALL

nat-pool 1 172.31.2.12 172.31.2.12 netmask 255.255.255.255 pat

no shutdown

switch/contextA# xml-show on

switch/contextA# show running-config interface

Generating configuration....

<xml_show_running_config>

<interface type='vlan' number='115'>

<ip_address address='172.31.3.6' netmask='255.255.255.0'/>

<access-group access-type='input' access-name='ALLOWALL'/>

<access-group output='ALLOWALL'/>

<nat-pool nat-id='1' mapped-ip-addr-start='172.31.2.12' mapped-ip-addr-end='172.31.2.12' netmask='255.255.255.255' nat-config-type='pat'/>

<shutdown sense='no'/>

</interface>

</xml_show_running_config>

Notice the difference between the access-group input/output in the xml

output. They differ a lot. Also the ACE will not accept the

configuration via XML that it outputted itself when I delete "interface vlan 115"

I get the following when trying to insert it via a HTTP POST:

<response_xml>

<command>

<interface type='vlan' number='115'>

<ip_address address='172.31.3.6' netmask='255.255.255.0'/>

<access-group output='ALLOWALL'/>

<nat-pool nat-id='1' mapped-ip-addr-start='172.31.2.12' mapped-ip-addr-end='172.31.2.12' netmask='255.255.255.255'

nat-config-type='pat'/>

<shutdown sense='no'/>

</interface>

</command>

<status code="105" text="XML_ERR_ATTR_INVALID">

<error_message>Error while processing Attribute: output</error_message>

</status>

</response_xml>

Relevant info:

Software

loader: Version 12.2[120]

system: Version A2(2.0) [build 3.0(0)A2(2.0)]

system image file: [LCP] disk0:c6ace-t1k9-mz.A2_2_0.bin

installed license: ACE-VIRT-050

Does anybody know why this is and how to fix this? It seems like a big bug to me.

With kind regards,

Tom van Leeuwen

226
Views
0
Helpful
0
Replies