Skip to main content
hhasny
Staff
Jun 30, 2024 2:37 PM UTC

Technical Tip: Hardware switch interface behavior

Description This article describes the behavior of an interface configured as a hardware-switch.
Scope FortiGate.
Solution

When an interface is configured as a hardware switch interface, the status of the interface will remain as UP even when there is no connection.

Upon checking the routing table, the connected route of the interface will remain. This is expected behavior.

 

get router info routing-table all
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default

Routing table for VRF=0
S* 0.0.0.0/0 [10/0] via 10.47.15.254, VLAN18, [1/0]
C 10.47.0.0/20 is directly connected, VLAN18
C 10.100.64.0/30 is directly connected, Test-HW-SW1
C 10.100.65.0/30 is directly connected, Test-HW-SW2
C 192.168.2.0/24 is directly connected, lan
C 202.82.246.56/29 is directly connected, lan

 

Click on the image below to zoom in.

 

Interface Status.PNG

    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024