cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

86
Views
0
Helpful
1
Replies
khgrant
Cisco Employee

wrong command when no ip address with prefix length format mask of iosxr NED

 

Hi, experts

 

 

We found an issue with IOSXR NED v4.3 and NSO 4.2.

 

When we try to NO ip address of an interface with prefix length format mask, the command is wrong with a redundant space between ip address and the mask.

 

Detail is as below.

 

 

admin@ncs(config-config)# cisco-ios-xr:interface GigabitEthernet 0/0/0/0.100

 

admin@ncs(config-subif)# encapsulation dot1q 100

 

admin@ncs(config-subif)# ipv4 address 3.4.5.6 /24

 

admin@ncs(config-subif)# commit dry-run

 

cli  devices {

 

         device r6 {

 

             config {

 

                 cisco-ios-xr:interface {

 

                     GigabitEthernet-subinterface {

 

    +                    GigabitEthernet 0/0/0/0.100 {

 

    +                        encapsulation {

 

    +                            dot1q {

 

    +                                vlan-id [ 100 ];

 

    +                            }

 

    +                        }

 

    +                        ipv4 {

 

    +                            address {

 

    +                                ip 3.4.5.6;

 

    +                                mask /24;

 

    +                            }

 

    +                        }

 

    +                    }

 

                     }

 

                 }

 

             }

 

         }

 

     }

 

 

admin@ncs(config-subif)# commit

 

Commit complete.

 

admin@ncs(config-subif)# no ipv4 address 3.4.5.6 ?

 

Description: Set the IPv4 address of an interface

 

Possible completions:

 

  <A.B.C.D or /X>   IP subnet mask or /masklength

 

  <A.B.C.D or /X>   IP subnet mask or /prefix[/24]

 

  <cr>             

 

admin@ncs(config-subif)# no ipv4 address 3.4.5.6 /24

 

admin@ncs(config-subif)# commit dry-run

 

cli  devices {

 

         device r6 {

 

             config {

 

                 cisco-ios-xr:interface {

 

                     GigabitEthernet-subinterface {

 

                         GigabitEthernet 0/0/0/0.100 {

 

                             ipv4 {

 

                                 address {

 

    -                                ip 3.4.5.6;

 

    -                                mask /24;

 

                                 }

 

                             }

 

                         }

 

                     }

 

                 }

 

             }

 

         }

 

     }

 

 

admin@ncs(config-subif)# commit dry-run ?

 

Possible completions:

 

  outformat   Format of the diff

 

  <cr>       

 

admin@ncs(config-subif)# commit dry-run outformat native

 

native {

 

    device {

 

        name r6

 

        data interface GigabitEthernet 0/0/0/0.100

 

              no ipv4 address 3.4.5.6 /24

 

             exit

 

    }

 

}

 

admin@ncs(config-subif)# commit

 

Aborted: Network Element Driver error ned_prepare_cli for device r6: command: no ipv4 address 3.4.5.6 /24:

 

                                                      ^

 

% Invalid input detected at '^' marker.

 

admin@ncs(config-subif)#

 

 

 

Best regards.

 

 

  He Chang

1 REPLY 1
khgrant
Cisco Employee

 

Please raise a TAC case.

 

Cheers,

 

KJ.

 

Create
Recognize Your Peers
Content for Community-Ad