OPBNOS R2.6
Release
  • Open Packet Broker
  • What's New?
  • Getting Started
    • Licensing
    • Limitations
    • Image Management
      • Installing OPBNOS from ONIE
      • Installing OPBNOS from USB Drive
      • Image Upgrade from OPBNOS
      • Selecting OPBNOS on next boot
      • Removing available images
      • Rebooting the Switch
    • Supported HwSku
    • Scalability
    • Downloads
  • CLI Configuration Guide
    • Configuring License
    • Configuring Hostname
    • Configuring Username
    • On-Box FlowVision
    • Configuring AAA
      • Configuring AAA
      • Configuring TACACS
      • Configuring RADIUS
    • Interface Management
      • Configuring Management Interface
      • Configuring Physical Interface
    • Link Layer Discovery Protocol (LLDP)
      • Enabling LLDP
      • Displaying LLDP Neighbors
    • Configuring Interface Description
    • Configuring Auto Negotiation
    • Configuring FEC
    • Configuring Maximum Transition Unit
    • Configuring Port Speed
    • Configuring Interface Type
    • Configuring VLAN Modes
    • Configuring Loopback Mode
    • Configuring Packet Slicing
    • Configuring Ingress VLAN
    • Configuring Egress Tagging
    • Configuring Tx-only
    • Configuring An-clause
    • Configuring PortChannel
    • Configuring LAG Hash
    • Configuring Flows and Rules
      • Configuring Network Ports
      • Configuring Tool Ports
      • Configuring Flows
      • Configuring Flow Description
      • Configuring Flow Rules (NVIDIA)
      • Configuring Flow Rules (Broadcom)
      • Configuring Flow Match Expression Rules
      • Configuring Flow UDF Rules
      • Configuring Push/Pop VLAN
      • Configuring Flow Override Action(s)
      • Display Flow Information
      • Clear Flow Counters
    • Configuring GTP Flow
    • Configuring VxLAN Flow
    • Configuring SNMP
      • Configure SNMP community
      • Configuring SNMP Trap
      • Configuring SNMP Threshold
      • Configuring SNMP User
      • Configuring SNMP Location
      • Configuring SNMP Contact
    • Configuring SYSLOG
    • Ping
    • Traceroute
    • Configuring NTP
    • Configuring Timezone
    • Configuring sFlow
    • Display Interface Information
      • Front Panel Port Mapping
    • Display System Information
      • Interface Transceiver Information
      • System Uptime
      • Reboot Cause
      • Show Environment
      • Show System Memory
      • Show Docker Memory
      • Show Services
      • Show Platform Fan
      • Show platform pcieinfo
      • Show Platform PSU
      • Show Platform SSD
      • Show Platform Summary
      • Show Platform Syseeprom
      • Show Platform Temperature
    • Configuration Management
      • Copying Files To Device
      • Copying Files From Device
      • Copying Running and Startup Configuration
      • Saving Configuration
      • Display Configuration
      • Clearing Startup configuration
    • Zero Touch Provisioning
      • DHCP Discovery
      • ZTP Boot File
      • Enable ZTP
    • Troubleshooting
  • Aviz FlowVision Graphical User Interface Guide
    • FlowVision Controller Installation
      • FV ESXi Host Installation
      • FV VirtualBox Installation
    • System
      • Viewing the Dashboard
      • Accessing System and Device Information
      • Managing Topologies
      • Managing Devices
      • Viewing System Log
      • Managing Users
      • Performing Backup and Restore
      • Viewing Audit Logs
    • Configuration
      • Configuring Ports
      • Configuring Port Groups
      • Configuring Rule Templates
      • Configuring Flows
    • Statistics
      • Viewing Port Statistics
      • Viewing Flow Statistics
    • Help
  • REST API Guide
    • FLOW
    • Interface Management
    • Port Channel
    • LLDP
    • SNMP
    • System and Platform
    • Statistics
  • Use Cases
    • For Engineers
      • VxLAN Deployment (NVIDIA)
      • GTP Deployment
      • Truncation and Load Balancing
      • Ingress VLAN and Egress Tagging
      • Loopback-mode Port
      • VLAN Mode/Tag Actions
    • Command Reference
      • Converting Network-to-Tool port
      • Configuring 1G Electrical SFP
      • Enabling FlowVision On-box Support
  • Solution Integration
    • Network Visibility and Analysis with OPB, Arkime, Elasticsearch & Kibana
      • Installation Pre-Requisites
      • Solution Components
      • Configuring OPBNOS
      • Installing Arkime
      • Installing Kibana
      • Troubleshooting
  • Support
    • How to contact Aviz Networks Support?
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. Image Management

Image Upgrade from OPBNOS

To upgrade the OPB image to a newer version from OPBNOS CLI, use the following command:

Reference

Command

copy scp <server_url> [timeout <interval> ] { opbnos-image }

Description

Copies new file OS image from remote SCP server and install to the switch

Parameters

Server_url username@ipaddress:filepathandname

timeout timeout

interval Specifies the maximum time (in seconds) to wait for the server to reply to the connection request. The timeout interval is from 1 to 100 seconds.

sonic-image Copies OS image.

Mode

EXEC

Example

pbnoscli# copy scp aviz@10.2.2.10:/tmp/opb-nos-mellanox-20230428.bin opbnos-image
The authenticity of host '10.2.2.10 (10.2.2.10)' can't be established.
ECDSA key fingerprint is SHA256:+S2EmXkMAA6WYu6VKodKZtsha3HpVzLCnpG95yEqqlQ.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.2.2.10' (ECDSA) to the list of known hosts.
aviz@10.2.2.10's password: 
opb-nos-mellanox-20230714.2.5.0.bin           100% 1613MB 110.7MB/s   00:14    
New image will be installed, continue? [y/N]: y
Installing image OPBNOS-master.162-dirty-20230714.075726 and setting it as default...
Command: bash /etc/sonic//opb-nos-mellanox-20230714.2.5.0.bin
Verifying image checksum ... OK.
Preparing image archive ... OK.
Installing SONiC in SONiC
<...>
Command: sync;sync;sync

Command: sleep 3

Done
pbnoscli# 
//Image 'OPBNOS-master.162-dirty-20230714.075726' set as next-boot

pbnoscli# show boot 
Current: OPBNOS-master.116-dirty-20230428.065112
Next: OPBNOS-master.162-dirty-20230714.075726
Available: 
OPBNOS-master.162-dirty-20230714.075726
OPBNOS-master.116-dirty-20230428.065112
pbnoscli# 
//Reboot the switch to boot into the new image

pbnoscli# reboot 
Check if running config is saved
Do you want to reboot the device [y/n]: y

Jul 18 06:28:31.022227 System is not ready - one or more services are not up
/var/log: 195.4 MiB (204865536 bytes) trimmed on /dev/loop1
/host: 812.1 MiB (851562496 bytes) trimmed on /dev/sda3
<...>

You can verify the upgrade by using the command(s) below:

pbnoscli# show boot 
Current: OPBNOS-master.162-dirty-20230714.075726
Next: OPBNOS-master.162-dirty-20230714.075726
Available: 
OPBNOS-master.162-dirty-20230714.075726
OPBNOS-master.116-dirty-20230428.065112

pbnoscli# show version 
Aviz OPB NOS Version: 2.5.0
Distribution: Debian 11.7
Kernel: 5.10.0-18-2-amd64

Platform: x86_64-mlnx_msn4600c-r0
HwSKU: ACS-MSN4600C
ASIC: mellanox
ASIC Count: 1
Serial Number: MT2040X05753
Model Number: MSN4600-CS2FC
Hardware Revision: A1
Uptime: 06:33:17 up 3 min,  2 users,  load average: 1.12, 1.07, 0.47
Date: Tue 18 Jul 2023 06:33:17

Docker images:
REPOSITORY                TAG                                IMAGE ID       SIZE
docker-syncd-mlnx         latest                             6285f39b3816   909MB
docker-syncd-mlnx         master.162-dirty-20230714.075726   6285f39b3816   909MB
docker-snmp               latest                             a95af1989288   523MB
docker-snmp               master.162-dirty-20230714.075726   a95af1989288   523MB
docker-platform-monitor   latest                             b529bad5a55b   893MB
docker-platform-monitor   master.162-dirty-20230714.075726   b529bad5a55b   893MB
docker-orchagent          latest                             6c19d2cf72d9   492MB
docker-orchagent          master.162-dirty-20230714.075726   6c19d2cf72d9   492MB
docker-lldp               latest                             f88b57c0b979   511MB
docker-lldp               master.162-dirty-20230714.075726   f88b57c0b979   511MB
docker-database           latest                             631f36f9d480   469MB
docker-database           master.162-dirty-20230714.075726   631f36f9d480   469MB
docker-sflow              latest                             3804ef7e452a   471MB
docker-sflow              master.162-dirty-20230714.075726   3804ef7e452a   471MB
docker-nagr               latest                             34afc3ed58e0   920MB
docker-nagr               master.162-dirty-20230714.075726   34afc3ed58e0   920MB
fv                        latest                             ff7685f6df28   173MB
pbnoscli# 
PreviousInstalling OPBNOS from USB DriveNextSelecting OPBNOS on next boot

Was this helpful?