Ruijie Community

Title: How to change the Layer 2 interface of S5310E to a Layer 3 interface? [Print this page]

Author: GTAC-Sophia    Time: 2023-6-27 11:45
Title: How to change the Layer 2 interface of S5310E to a Layer 3 interface?
You can configure it according to the following command
S5310E(config)#int g0/1
S5310E(config-if-GigabitEthernet 0/1)#no switchport
S5310E(config-if-GigabitEthernet 0/1)#end
S5310E#write
After you have switched, you can check the switchstatus with the following commands:
Ruijie(config)#show interfaces gigabitEthernet 0/16
Layer 2 interface


Layer 3 interface



You can use the following command to switch the L3interface to the L2 interface
S5310E(config)#int g0/1
S5310E(config-if-GigabitEthernet 0/1)#switchport
S5310E(config-if-GigabitEthernet 0/1)#end
S5310E#write





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2