Sonic Switch Configuration File#
Note
Tenants, tenancies, and other features are available if you have paid for multi-tenant support. Contact Penguin Computing to learn more.
You can apply a JSON configuration to a Sonic switch in a multi-tenant cluster
and the ICE ClusterWare ™ software configures the switch to match the provided
configuration. An example Sonic switch configuration file is available in
/opt/scyld/clusterware-tools/examples.
The JSON configuration file can include sections about BGP, extensions, and interfaces.
BGP: Border gateway protocol information. Includes
asn,router_id,neighbors,ipv4, andevpn.Extensions: Optional. Includes
sonic_evpnwith version and VXLAN information.Interfaces: Contains four dictionaries that are based on the interface name (Ethernet10, PortChannel1, etc.) and contain information specific to the type of interface.
vlans: Includes the VLAN name, identifier, and enabled status.ports: Members of a port channel that can include one optional untagged VLAN, a list of tagged VLANs, and the connected node (if any).portchannels: Includes either addresses or VLANs with a connected node (if any).loopbacks: Lists of IPv4 and IPv6 addresses.
See Apply Configuration to Multi-Tenant Switches for details about applying configuration files to switches.