Wednesday 5 April 2023

PART 1 - DevOPs -DOCKER - Netconf and Yangs Configuration and Verification

Pre-Check 

show run | i aaa   > check authorization 

show run | i ssh   > SSH version and ssh source 

show run | i netconf > check netconf enable or not


COMMAND TO ENABLE netconf

conf t

netconf-yang

username <> privilege 15 password 0 <>

aaa new-model 

aaa authorization exce default local 

!

snmp-server community public RW

snmp-server trap link ietf

snmp-server enable traps snmp authntication linkdown linkup

snmp-server enable traps syslog

snmp-server manager

!

netconf-yang cisco-ia snmp-trap-control trap-list 1.3.6.1.6.3.1.1.5.3

netconf-yang cisco-ia snmp-trap-control trap-list 1.3.6.1.6.3.1.1.5.4

netconf-yang cisco-ia snmp-trap-control trap-list 1.3.6.1.4.9.9.41.2.0.1

!

 logging history debugging 

 logging snmp-trap emergencies

 logging snmp-trap alerts

 logging snmp-trap critical

 logging snmp-trap errors

 logging snmp-trap warnings

 logging snmp-trap notifications

 logging snmp-trap informational

 logging snmp-trap debugging


!

verficiation 

#show platform software yang-management process

TEST CONNECTION ON NETCONF SSH PORT 830 (TCP)

ssh -l "username" 10.x.x.x -p 830 

Telemetry 

#show telemetry ietf subsciprtion all

DOCKER CONTAINER ON CAT9K (App Hosting) VERIFICATION

show iox-service

show run | se app-host

show app-hosting list

show app-hosting detail appid xRDP

app-hosting connect appid xRDP session


No comments:

Post a Comment