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 OpenFlow in Crossflow Mode 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.
Warning:
On FS S5810 Series and S5860 Series 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.
PICOS Supported Features
Collection of Feature Specification of Different Platforms
Command-Line Interface
- From Linux Shell to L2/L3 Shell
- Operation Mode and Configuration Mode
- Displaying the Current Configuration
- Display Setting Configuration
- 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
- 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 Management Interface
- Configuring User Account and Login Banner
- Configuring SSH and Telnet Parameters
- Configuring the Log-in ACL
- AAA Configuration Guide
- NAC Configuration Guide
- 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 Server
- 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
- Mirror Configuration
- Configuring gNMI-gRPC Based Telemetry Technology
- Remote Network Monitoring (RMON)
- RESTCONF Configuration
- EFM OAM Configuration
- Configure Telnet to Access to the Remote Device
Interface Management Configuration Guide
- Ethernet Ports Management Configuration
- Port Naming Conventions
- Physical Ethernet Port Configuration
- Configuring Port Breakout and Merge
- Interface Rate Configuraion
- Port Security Configuration
- CDR Function Configuration
- Time Domain Reflectometry (TDR)
- Configuring Port Mapping On S4148 Series Switch
- 10G-Base-KR Interface Configuration
- Forwarding Error Correction (FEC)
- Configuring the Loopback Interface
- Layer 3 VLAN Interface Configuration
- Configuring Routed Interface
- Uplink Failure Detection
Layer 2 Switching Configuration
- Static MAC entries and Dynamic MAC Address Learning
- Cut-Through Switching Method
- MLAG Configuration
- Principle of MLAG
- Configuration Notes and Constraints
- Configuring MLAG
- Configuration Example of MLAG
- Example for Configuring a Basic MLAG
- Example for Configuring MLAG with Active-Active-VRRP
- Example for Configuring MLAG with DHCP Relay
- Example for Configuring MLAG with DHCP Snooping
- Example for Configuring MLAG with IGMP Snooping
- Example for Configuring MLAG with Rapid PVST+
- Example for Configuring MLAG with VXLAN
- MLAG Maintenance and Troubleshooting
- How to bind a LAG interface to the MLAG link?
- How to check whether the VLAN configuration on the two peer-link ports are consistent?
- How to confirm whether the MAC address table has been correctly synchronized?
- How to enable MLAG traceoptions
- How to ensure the reliability of the peer link?
- How to verify configurations on MLAG peer are consistent?
- How to verify MLAG link status?
- How to verify MLAG neighbor status?
- How to verify that the peer link connection status is normal?
- How to view and clear MLAG statistics?
- VLAN Configuration
- GVRP
- MVRP
- Q-in-Q Basic Port Configuration
- Private VLAN Configuration Guide
- Voice VLAN Configuration Guide
- Link Aggregation Configuration
- Symmetric Hash for LAG Configuration Example
- 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
- Ethernet Ring Protection Switching (ERPS)
- Loopback Detection
- LLDP Configuration (Link Layer Discovery Protocol)
Layer 3 Routing Configuration
- ARP Configuration
- Configuring IP Routing
- Static Routing Configuration
- VRF Configuration Guide
- DHCP Configuration
- Default Administrative Distance Values
- OSPF (Open Shortest Path First)
- OSPF Overview
- Basic OSPF Configuration Tasks
- Configuring OSPF Route Summarization
- Basic OSPF Configuration Example
- OSPF Area Type Configuration Example: NSSA, Stub and Standard Areas
- OSPF Stub and NSSA Areas with no-summary
- OSPF Area Range Configuration Guide
- OSPF Route Redistribution and Route Maps
- Example for Configuring OSPF with Different VRFs
- OSPFv3 Configuration Guide
- OSPF Multi-Instance Support
- OSPF GR
- ECMP (Equal-Cost Multipath Routing) Configuration
- Symmetric Hash for ECMP Configuration Example
- VRRP Configuration
- IPv4/IPv6 BGP Configuration
- BGP Introduction
- BGP Regular Expressions
- Basic BGP Configuration
- Configuring BGP Security
- Configuring a BGP Route Reflector
- Configuring BGP Timers
- Configuring BGP Route Aggregation
- Configuring BGP Dynamic Neighbors
- Configuring eBGP Multihop
- Configuring Removing and Replacing Private ASNs from the AS Path
- Configuring BGP Multipath
- Configuring ebgp-requires-policy
- Enable BGP Read-only Mode
- Configuring Route Maps for Route Updates
- BGP Unnumbered
- Configuring BGP Attribute
- Configuration Examples
- Routing Map Configuration
- IPv6 Support
- IPv6 Neighbor Discovery Inspection
- IPv6 Neighbor Discovery Snooping
- VRF Route Leaking Configuration
- Bidirectional Forwarding Detection (BFD)
- RIP/RIPng Configuration
- Policy-Based Routing (PBR)
- IPv4 Source Guard (IPSG for IPv4)
- IPv6 Source Guard (IPSG for IPv6)
- IS-IS Configuration
IP Multicast Routing Configuration
- IGMP Configuration
- PIM Configuration Guide
- IGMP Snooping Configuration Guide
- Multicast Source Discovery Protocol (MSDP)
- Multicast VLAN Registration (MVR)
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
- ACL-based Traffic Policer
- CoPP Configuration Guide
- Queue-based Rate Limiting
- Interface-based Rate Limiting
- Buffer Management
VXLAN Configuration
BGP EVPN Configuration Guide
- Introduction to BGP EVPN
- BGP EVPN Route Types
- Anycast Gateway for EVPN Distributed Networks
- EVPN Symmetric Routing Configuration Example
- EVPN Asymmetric Routing Example
- EVPN Enhancements
- EVPN With NAC Configuration Guide
- EVPN Multihoming Configuration Guide
Generic Routing Encapsulation Protocol (GRE)
MPLS Configuration
- MPLS Overview
- Configuration Restrictions and Guidlines
- Basic MPLS LDP Configuration
- (Optional) Configuring MPLS LDP Security
- (Optional) Configuring MPLS LDP Timers
- (Optional) Configuring MPLS LDP to Allocate Labels for Host Routes Only
- (Optional) Configuring MPLS LDP PHP (Penultimate Hop Popping)
- Example for Configuring MPLS LDP
- RFC Lists for MPLS
Lossless Network Configuration
- Lossless Network Introduction
- Application Scenarios
- Key Features of Lossless Network
- Configuring Priority-based Flow Control (PFC)
- Configuring Explicit Congestion Notification (ECN)
- Configuring Easy ECN
- PFC and ECN Statistical Reporting through gRPC
- Configuring Dynamic Load Balancing
- Typical Configuration Example of Lossless Network
OpenFlow in Crossflow Mode
Copyright © 2024 Pica8 Inc. All Rights Reserved.