PicOS Routing and Switching Configuration Guide
Pica8 PicOS supports Layer 2 switching protocols, including: STP, RSTP, MSTP, MAC learning, and Q-in-Q. PicOS also supports several Layer 3 protocols, including: static routing, RIPv2, OSPF, IGMP, PIM-SM, and IPv6. This guide provides instructions and examples for configuring switches and controllers. Intended for system administrators, this guide assumes a working knowledge of Layer 2 and Layer 3 protocols.
PicOS can run in 2 different modes of operation:
- Open vSwitch (OVS) Mode: In this mode, PicOS is dedicated and optimized for OpenFlow applications.
- Layer 2/Layer 3 (L2/L3) Mode: In this mode, PicOS can run switching and routing protocols, as well as OpenFlow applications.
In OVS mode, L2/L3 daemons are not running, and the system is fully dedicated to OpenFlow and OVS. In L2/L3 mode, L2/L3 daemons are running, and OVS can also be used if CrossFlow is activated.
This chapter assumes that user is running PicOS L2/L3 mode. Please see PicOS Mode Selection to learn how to switch between L2/L3 and OVS modes.
On N3048EP-ON/N3048ET-ON/N3132PX-ON/N3024ET-ON switches, run "copy running-config startup-config" command when set L2 / L3 CLI commands. Otherwise, the L2 / L3 configuration will be lost after PicOS reboot. For detail, please refer to Configuration Saving Guide.
Supported Features
Command-Line Interface
- From Linux Shell to L2/L3 Shell
- Operation Mode and Configuration Mode
- Rolling Back a Configuration
- Managing Configuration Files
- Saving and Loading Configuration Files
- Commit Confirmed
- Commit Check
- Commit Failed and Exit Discard
- Configuring a Command Alias
- Configure L2/L3 from Linux Shell
- Displaying the Configuration
- Bash Linux Shell
- PicOS Upgrade and Configuration Change
- Set CLI
- CLI Configuration
- Configuring Multi-window Command Configuration Display on The User Terminal
- Configuration Saving Guide
System Administration
- Configuring a User Account
- AAA Configuration Guide
- Configuring SSH and Telnet Parameters
- Configuring the Log-in ACL
- Configuring NTP and the Time Zone Parameter
- Configuring PTP
- Configuring the linux-config-unreliable
- Configuring IPFIX
- Configuring sFlow
- Configuring the Syslog Log Level
- Configuring the Syslog Disk and Syslog Host
- Displaying System Information
- IPv6 Management Support
- Configuring NETCONF
- SNMP Configuration
- PoE Configuration Guide
- Configuring USB Disable
- Configuring CPU Usage Alarm Threshold
- Configuring MAC Usage Alarm Threshold
- Configuring Mirroring
- Configuring Mirroring Guide
- NAC Configuration Guide
Ethernet Ports Management Configuration
- Physical Ethernet Port Configuration
- Interface Rate Configuraion
- 40G Changes to 4*10G in L2/L3
- 40G Changes to 4*10G in L2/L3 mode on P-5101
- 40G Changes to 4*10G in L2/L3 mode on P-5401
- 40G Changes to 4*10G in L2/L3 mode on accton_as6701_32x
- 40G Changes to 4*10G in L2/L3 mode on P-3922
- 40G Changes to 4*10G in L2/L3 mode on P-3920
- 40G Changes to 4*10G in L2/L3 mode on accton_as5712_54x/HP5712
- 40G Changes to 4*10G in L2/L3 mode on P-3930
- 40G Changes to 4*10G in L2/L3 mode on Niagara2632XL
- 40G Changes to 4*10G in L2/L3 mode on Niagara2948_6XL
- 40G Changes to 4*10G in L2/L3 mode on as5812_54t
- 40G Changes to 4*10G in L2/L3 mode on arctica4806xp
- Port Security Configuration
- CDR Function Configuration
- Time Domain Reflectometry (TDR)
- Configuring Port Breakout and Merge
- Configuring Port Mapping On S4148 Series Switch
Layer 2 Switching Configuration
- Static MAC entries and Dynamic MAC Address Learning
- Cut-Through Switching Method
- VLAN Port Configuration
- Q-in-Q Basic Port Configuration
- Voice VLAN Configuration Guide
- VXLAN Configuration
- Link Aggregation Configuration
- Symmetric Hash for LAG Configuration Example
- MLAG Configuration
- DHCP Configuration
- LLDP Configuration (Link Layer Discovery Protocol)
- LLDP MED Configuration
- MSTP Configuration
- MSTP Configuration Example
- Rapid PVST+ Configuration
- Rapid PVST+ Configuration Example
- BPDU Tunneling Configuration
- UDLD Configuration
- LFS Configuration
- Storm Control in Ethernet Port Configuration
- IGMP Snooping Configuration Guide
Layer 3 Unicast Routing Configuration
- Layer 3 VLAN Interface Configuration
- ARP Configuration
- Configuring IP Routing
- Default Administrative Distance Values
- Static Routing Configuration
- Static Routing Configuration Example
- RIPv2 Routing Protocol Configuration
- RIPv2 Routing Configuration Example
- OSPF (Open Shortest Path First)
- OSPF Overview
- Basic OSPF Configuration Tasks
- Basic OSPF Configuration Example
- OSPFv3 Routing Protocol Configuration
- OSPF Configuration Example: NSSA Stub Normal
- OSPF Stub Area NSSA Summary
- OSPF Virtual Link Configuration Guide
- OSPF Area Range Configuration Guide
- Importing an External Route into an OSPF Area
- BFD Protocol Configuration
- BFD Basic Configuration Example
- ECMP (Equal-Cost Multipath Routing) Configuration
- Symmetric Hash for ECMP Configuration Example
- VRRP Configuration
- IPv6 Neighbor Configuration
- IPv6 Static Routing Configuration
- IPv4/IPv6 BGP Configuration
- IPv4 BGP configuration
- IPv6 BGP Configuration
- Label BGP
- IPv6 RA Guard Configuration
IP Multicast Routing Configuration
ACL Configuration
QoS Configuration
- Weighted Random Early Detection
- QoS Principle
- SP Configuration Example
- WRR Configuration Example
- WFQ Configuration Example
- QoS Configuration Example
- PFC Configuration Example
- Buffer Management
- ACL-based Traffic Policer
- CoPP Configuration Guide
- Queue-based Rate Limiting
- Interface-based Rate Limiting
OpenFlow in Crossflow Mode
Copyright © 2025 Pica8 Inc. All Rights Reserved.