Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

default password

admin / admin

set DHCP ( or static IP address )

config terminal

interface giga 0/0

ip address dhcp

quit

save running

enable SSH ( lab usage )

crypto key generate rsa 2048

ip ssh enable

bind ssh vrf default-router ????

enable netconf

Code Block
netconf-server
 call-home Director
  connection-type persistent idle-timeout 30
  connection-type persistent keep-alives max-wait 3
  endpoint Director address sdwan-m2m.pres3-preprod.ekinops.io port 2200
 exit

Code Block
JLK-vOneOS6-R3#show running-config
ip telnet disable
bind ssh vrf default-router
logging buffered debug
logging buffered size 130000
logging syslog debug
logging timestamp datetime
hostname JLK-vOneOS6-R3
ip ssh auth-method automatic
ip ssh enable
ip ssh max-sessions 10
ip ssh timeout 60000000
interface gigabitethernet 0/0
 ip address dhcp
exit
interface gigabitethernet 0/1
 ip address dhcp
exit
ip scp server enable
username uccallhome password b66638797c29b7d9985b65d9a37452c5 15 encrypted 1 type 2 2f3e6554641308b21cbecd64c0e494a0
netconf-server
 call-home Director
  connection-type persistent idle-timeout 30
  connection-type persistent keep-alives max-wait 3
  endpoint Director address sdwan-m2m.pres3-preprod.ekinops.io port 2200
 exit
exit

xml

!!! remove the <config xmkns… > before copying into the Director

Code Block
JLK-vOneOS6-R3#show running-config | display x
Possible completions:
  xml     Display output as XML
  xpath   Display output as xpath
JLK-vOneOS6-R3#show running-config | display xml
<config xmlns="http://tail-f.com/ns/config/1.0">
  <system xmlns="http://oneaccess-net.com/oneos/glob">
    <ip>
      <scp xmlns="http://oneaccess-net.com/oneos/admin/scp">
        <server>
          <status>enable</status>
        </server>
      </scp>
      <ssh xmlns="http://oneaccess-net.com/oneos/admin/sshs">
        <auth-method>automatic</auth-method>
        <enable/>
        <max-sessions>10</max-sessions>
        <timeout>60000000</timeout>
      </ssh>
      <telnet xmlns="http://oneaccess-net.com/oneos/admin/telnets">
        <status>disable</status>
      </telnet>
    </ip>
    <bind>
      <ssh xmlns="http://oneaccess-net.com/oneos/admin/sshs">
        <vrf>
          <vrf-name>default-router</vrf-name>
        </vrf>
      </ssh>
    </bind>
    <interface>
      <gigabitethernet xmlns="http://oneaccess-net.com/oneos/infrastructure/interface">
        <name>0/0</name>
        <ip xmlns="http://oneaccess-net.com/oneos/intfipglob">
          <address xmlns="http://oneaccess-net.com/oneos/infrastructure/ipmgmt">
            <dhcp/>
          </address>
        </ip>
      </gigabitethernet>
      <gigabitethernet xmlns="http://oneaccess-net.com/oneos/infrastructure/interface">
        <name>0/1</name>
        <ip xmlns="http://oneaccess-net.com/oneos/intfipglob">
          <address xmlns="http://oneaccess-net.com/oneos/infrastructure/ipmgmt">
            <dhcp/>
          </address>
        </ip>
      </gigabitethernet>
    </interface>
    <logging>
      <buffered xmlns="http://oneaccess-net.com/oneos/infrastructure/logging">
        <severity>debug</severity>
        <size>130000</size>
      </buffered>
      <syslog xmlns="http://oneaccess-net.com/oneos/infrastructure/logging">
        <severity>debug</severity>
      </syslog>
      <timestamp xmlns="http://oneaccess-net.com/oneos/infrastructure/logging">
        <datetime/>
      </timestamp>
    </logging>
    <username xmlns="http://oneaccess-net.com/oneos/admin/usermgmt">
      <user-credentials>
        <users_list>
          <name>uccallhome</name>
          <password>b66638797c29b7d9985b65d9a37452c5</password>
          <user_level>15</user_level>
          <encrypted>1</encrypted>
          <type>2</type>
          <salt>2f3e6554641308b21cbecd64c0e494a0</salt>
        </users_list>
      </user-credentials>
    </username>
    <hostname xmlns="http://oneaccess-net.com/oneos/ipservices/dns">JLK-vOneOS6-R3</hostname>
  </system>
  <netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
    <call-home>
      <netconf-client>
        <name>Director</name>
        <connection-type>
          <persistent>
            <idle-timeout>30</idle-timeout>
            <keep-alives>
              <max-wait>3</max-wait>
            </keep-alives>
          </persistent>
        </connection-type>
        <endpoint xmlns="http://oneaccess-net.com/oneos/admin/oneos_netconfd">
          <name>Director</name>
          <address>sdwan-m2m.pres3-preprod.ekinops.io</address>
          <port>2200</port>
        </endpoint>
      </netconf-client>
    </call-home>
  </netconf-server>
</config>
JLK-vOneOS6-R3#