cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
70
Views
1
Helpful
4
Replies
Highlighted
Cisco Employee

IOS-XR NED question : negotiation

 

Hi Team;

 

A real device (iosxr) supports this config:

 

In the simulated device:

 

 

So… apparently the NED does not support the configuration “negotiation”.

 

But looking at the NED documentation… it seems this is actually supported:

 

 

  1. I don’t believe there is a mismatch between implementation and documentation… what am I missing here?

 

 

Best Regards

Paulo Oliveira

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

 

Hi,

 

I would check the NED you have in your system. Maybe you are not running the latest version.

 

Sometimes people update the NED package and perform “package reload” but forget to re-create the NETSIM devices. This means that the NETSIM device still runs on the old YANG model.

 

Roque

 

View solution in original post

4 REPLIES 4
Highlighted
Cisco Employee

 

Hi,

 

I would check the NED you have in your system. Maybe you are not running the latest version.

 

Sometimes people update the NED package and perform “package reload” but forget to re-create the NETSIM devices. This means that the NETSIM device still runs on the old YANG model.

 

Roque

 

View solution in original post

Highlighted
Cisco Employee

 

works. for me as well…

 

admin@ncs> show packages package cisco-iosxr package-version
package-version 4.1
[ok][2016-03-07 09:46:46]
admin@ncs>

NETSIM example:

xr0# config

Entering configuration mode terminal

xr0(config)# interface GigabitEthernet 0/0/0/12

xr0(config-if)# ?

---<skip>---

  mpls                MPLS interface subcommands

  mtu                 Set the MTU on an interface

  negotiation         Select autonegotiation mode

  nv                  Network Virtualisation interface configuration

---<skip>---

xr0(config-if)# negotiation auto allow-overrides

xr0(config-if)# top

xr0(config)# commit

Commit complete.

xr0(config)# exit

xr0# show running-config | display xml

<config xmlns="http://tail-f.com/ns/config/1.0">

  <interface xmlns="http://tail-f.com/ned/cisco-ios-xr">

---<skip>---

    <GigabitEthernet>

      <id>0/0/0/12</id>

      <negotiation>

        <auto>

          <allow-overrides/>

        </auto>

      </negotiation>

    </GigabitEthernet>

  </interface>

---<skip>---

 


NSO example:

 

admin@ncs% set devices device xr0 config cisco-ios-xr:interface GigabitEthernet 0/0/0/12 ?
Description: GigabitEthernet/IEEE 802.3 interface(s)
Possible completions:
  backup            - Modify backup parameters
  bandwidth         - Set the bandwidth of an interface
---<skip>---
  mtu               - Set the MTU on an interface
  negotiation       - Select autonegotiation mode
  nv                - Network Virtualisation interface configuration
  platform          - platform specific interface configuration
  proxy-arp         - Enable proxy ARP
  service-policy    - Configure QoS Service Policy
admin@ncs% set devices device xr0 config cisco-ios-xr:interface GigabitEthernet 0/0/0/12 negotiation auto allow-overrides
[ok][2016-03-07 09:44:47]

[edit]
admin@ncs%

Highlighted
Cisco Employee

 

Hi,

 

 

I found it’s been added from NED ver 3.4.0 (revision 2014-11-26).

 

 

Paulo, what’s your version?

 

 

Thanks,

Akira

 

Highlighted
Cisco Employee

 

Thanks you to all

   


Next steps:
- Update Ned package and re-create net-sim devices.

Best Regards
Paulo Oliveira

 

Content for Community-Ad
Cisco Community August2020 Spotlight Award Winners
This widget could not be displayed.