Core switches must be configured with interfaces, VLANs, routing protocols, and redundancy mechanisms to ensure proper network connectivity and stability.Interface and VLAN Configuration
Core switches require proper interface configuration to connect to BRAS devices, firewalls, and downstream switches. Each interface should have an IP address assigned and be added to the appropriate VLANs. For example, create interconnection VLANs and bind VLANIF interfaces to VPN instances to isolate traffic between public and private networks . Ensure that each VLAN has a gateway IP address for routing traffic between VLANs .
Routing Protocols
Routing protocols such as OSPF should be configured on the core switch to enable dynamic routing between the user network and egress points. Specify the correct network statements and ensure that routes from firewalls and other devices are properly propagated through the core switch . If OSPF is not an option, static routes and VLAN gateways can be used to maintain connectivity .
Redundancy and Load Balancing
For high availability, core switches often use MLAG (Multi-Chassis Link Aggregation) to provide redundancy and load balancing. Each core switch should have a unique bridge MAC address, and STP (MSTP, RSTP, or standard STP) must be enabled to prevent loops. Ensure that STP priorities and configurations are consistent across both switches to avoid root bridge conflicts . Verify that peer ports are operational and ICCP is established for proper primary device election in MLAG setups .
Troubleshooting Tips
- Check for error-disabled ports using show interfaces status err-disabled to identify STP or BPDU Guard issues .
- Verify trunk port configurations and ensure SFPs and cabling are functioning correctly .
- Rebooting switches can resolve temporary configuration or VLAN issues in some cases .
- For Cisco Nexus switches, core files can be collected and copied to remote hosts for diagnostics if kernel crashes occur .
Best Practices
- Document all VLANs, IP addresses, and routing configurations.
- Use consistent naming conventions for VLANs and interfaces.
- Test connectivity between core switches and downstream devices before deploying to production.
- Regularly back up switch configurations and core files for recovery and troubleshooting purposes . By following these steps, core switches can be properly configured to provide reliable connectivity, redundancy, and efficient traffic management across the network.