Broadcom Sonic KB
Border Gateway Protocol- FAQ (Broadcom SoNiC)
1. How do I configure BGP hold and keepalive timers? Use timers <keepalive> <hold>. 2. How do I enable BGP in SONiC? Use router bgp <AS_number> to enter BGP configuration mode. 3. What does neighbor mean in BGP configuration? neighbor defines the IP ...
BGP Basic Configuration Commands
1. Enable BGP Activates BGP on the device with a specified Autonomous System number. Command: router bgp <AS-number> 2. Configure BGP Router ID Sets a unique identifier for the BGP router, usually an IP address to ensure consistent identification. ...
USB device management
1. To enable usb storage device auto detection sonic(config)# usb enable 2. To mount all available usb partitions sonic-cli# usb mount 3. To safely un-mount all mounted usb partitions sonic-cli# usb un-mount 4. To view the usb partitions which have ...
Configuration of STP and its parameters
1. To configure spanning-tree parameters on a per VLAN basis Command: spanning-tree <vlan-range> { { [ forward-time <seconds> ] } | { [ hello-time <seconds> ] } | { [ max-age <seconds> ] } | { [ priority <value> ] } } To disable- no spanning-tree ...
Syslog server configuration in Broadcom SoNiC
1. To Configure remote syslog server to forward syslog messages Command: logging server <host> [ message-type { audit | auditd-system | event | log } ] [ remote-port <vrport> ] [ protocol { tcp | tls | udp } ] [ source-interface { Ethernet | Loopback ...
MAC Address table configurations in Broadcom SoNiC
1.To configure MAC address-table Command: mac address-table <mac-address> { vlan { <phy-if-name> | PortChannel } } 2.To set the MAC aging time Command: mac address-table aging-time <mac-time> 3. To set the MAC move dampening threshold interval ...
IP Helper Configuration on Broadcom SoNiC
1. To Display IP helper global information Command: show ip forward-protocol 2. To Displays IP helper server addresses configured on interface Command: show ip helper-address [ <iface> ] 3.To Display IP helper packet counters and statistics on ...
How to configure LLDP in Broadcom SoNiC?
LLDP Basic Configurations 1. LLDP modes configuration (receive and transmit) at the interface level Commands- interface range <iface_range_num > lldp <mode> To remove configuration -no lldp <mode> Note- Mode options are receive and transmit . 2. To ...
DHCP Snooping configuration on Broadcom Sonic
Enabling DHCP Snooping Command: ip dhcp snooping This command enables DHCP Snooping globally on the device, helping monitor and block unauthorized DHCP servers. Disable DHCP snooping sonic-cli# configure terminal sonic-cli(config)# no ip dhcp ...
Configuring AAA in Broadcom sonic
AAA Authentication Fail through Description: Configures AAA authentication fail through. Syntax: aaa authentication failthrough <enable> Parameters: enable: Enable or disable the feature. Example: sonic(config)# aaa authentication failthrough enable ...
Authentication, Authorization and Accounting - FAQ
1. What is AAA in SONiC? A: AAA stands for Authentication, Authorization, and Accounting, used to manage access control in SONiC. 2. How is AAA fail-through configured in SONiC? A: Use aaa authentication failthrough enable in configuration mode to ...
NTP Configuration
NTP is crucial for synchronizing the time across all devices within a network. NTP plays a pivotal role in ensuring that all network components maintain accurate time settings which is essential for activities like logging, security protocols and ...
Management Interface Configuration (SONiC)
Configure the management interface (eth0) for network administration in SONiC. Default Configuration: By default, eth0 uses DHCP to dynamically obtain an IP address from a DHCP server. Static IP Configuration: Command Line: sudo config interface ip ...
Username and Password Configuration in SONiC
Adding and Managing Users To configure usernames and passwords in SONiC, follow these steps: Add a New User To add a new user, use the command: sudo useradd <new-username> Example: admin@sonic:~$ sudo useradd new-username Change User Password To set ...
Interface Configuration in SONiC
To manage interface settings in SONiC, use the following commands. Change Interface Speed To modify the speed of an interface, use the command: sudo config interface speed <interface> <speed_in_Mbps> Example: sudo config interface speed ethernet10 ...
Changing the Admin Password in SONiC
To enhance security, it’s important to change the admin password in SONiC regularly. Follow these steps to change the password for the admin user. Run the Password Change Command: Execute the following command to initiate the password change: sudo ...
Configuring Zero Touch Provisioning
ZTP Configuration Commands Zero Touch Provisioning (ZTP) simplifies the deployment of network devices by automating the configuration process. Here are the key commands to manage ZTP on your device. Enable ZTP The config ztp enable command activates ...
Managing SONiC Images
SONiC Installer The SONiC Installer is a command-line utility included with the SONiC software. It allows users to install an alternate image on a designated partition if the device is already running SONiC. This tool facilitates the installation of ...
How to Retrieve System Status Information on Broadcom sonic?
The following commands can be used to display the status of various parameters related to the physical state of the network node. Show Boot This command displays the current OS image, the image to be loaded on the next reboot, and lists all available ...
Creating and Modifying VLANs on Broadcom SONiC
Creating a New VLAN To create a new VLAN, use the following command: sudo config vlan add vlan-id vlan-id: Specify the ID for the new VLAN (e.g., 10, 20, etc.). Deleting an Existing VLAN To delete an existing VLAN, execute the command below: sudo ...
What are the basic system health and diagnostics check commands for Broadcom SONiC?
Health Checks: To monitor the health of the SONiC environment, several commands can be utilized: 1. System Health Summary: show system-health summary provides an overview of any critical issues. 2. Power Supply Status: show platform psusummary ...