You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have Cisco IOS XR routers, where we would like to configure multiple policy-maps each containing the relevant configuration under the class class-default section.
Original configuration:
policy-map pol_map_1
class class-default
set mpls experimental imposition 5
end-policy-map
policy-map pol_map_2
class class-default
set mpls experimental imposition 7
end-policy-map
Unfortunately because the below linked line we are not able to do that as the 2nd, 3rd, ... class class-default lines are removed from the commands list. The IOS XR is not supporting the formal configuration syntax in case of policy-maps.
This is the resulted commands list:
policy-map pol_map_1
class class-default
set mpls experimental imposition 5
end-policy-map
policy-map pol_map_2
set mpls experimental imposition 7
end-policy-map
Due to this the router doesn't accept the configuration, and fails with syntax error at the set mpls experimental imposition 7 line.
Hi Ansible Team,
we have Cisco IOS XR routers, where we would like to configure multiple policy-maps each containing the relevant configuration under the class class-default section.
Original configuration:
Unfortunately because the below linked line we are not able to do that as the 2nd, 3rd, ...
class class-default
lines are removed from the commands list. The IOS XR is not supporting theformal
configuration syntax in case of policy-maps.This is the resulted commands list:
Due to this the router doesn't accept the configuration, and fails with syntax error at the
set mpls experimental imposition 7
line.https://github.com/ansible-collections/ansible.netcommon/blame/0005f922cc5068e7e4d60099b0cad347f85e1308/plugins/module_utils/network/common/config.py#L405
The text was updated successfully, but these errors were encountered: