Supermicro Enterprise Advanced SONiC v4.5.0 — 4.3 Configuring Layer 3 Interfaces

Enterprise Advanced SONiC: Layer 2 and Layer 3 Enablement 4.3 Configuring Layer 3 Interfaces Layer 3 interfaces enable IP routing on switch ports, allowing direct routing between network segments without requiring an external router. Supermicro Enterprise Advanced SONiC supports routed interfaces on physical ports, VLAN interfaces (SVIs) for inter-VLAN routing, and loopback interfaces for stable router identifiers and VTEP source addresses in overlay deployments. 1. Configure a Layer 3 interface by entering its IP address and the subnet mask associated with the switch. Leaf1(config)# interface Eth1/3 !

similarly you can change Eth interface to vlan [1-4094] to configure VLAN instead Ethernet interface Leaf1(conf-if-Ethernet1/3)# Leaf1(conf-if-Ethernet1/3)# description "Test Config" Leaf1(conf-if-Ethernet1/3)# ip address 10.210.9.3/31 Leaf1(conf-if-Ethernet1/3)# ipv6 address 10:21:10:9::3/64 Leaf1(conf-if-Ethernet1/3)# ip access-group ipv4_ingress_acl in Leaf1(conf-if-Ethernet1/3)# ipv6 access-group ipv6_ingress_acl in Leaf1(conf-if-Ethernet1/3)# mtu 9100 Leaf1(conf-if-Ethernet1/3)# speed 10000 Leaf1(conf-if-Ethernet68)# no shutdown Leaf1(conf-if-Ethernet68)# 2. Verify that the interface is up and operational, as well as whether it is configured correctly and transmitting/receiving traffic.

Leaf1(config)# do show interface Eth1/3 Eth1/3 is up, line protocol is up, reason oper-up Hardware is Eth, address is 0c:29:ef:e1:f8:02 Description: Test Config IPV4 address is 10.210.9.3/31 Mode of IPV4 address assignment: MANUAL IPV6 address is 10:21:10:9::3/64,fe80::e29:efff:fee1:f802/64 30