Ruijie Community

Title: How to configure default route on Ruijie switch? [Print this page]

Author: admin    Time: 2022-5-19 11:46
Title: How to configure default route on Ruijie switch?
the default gateway of the Lay3 switch is provided by the static routing. A device can also learn network routing through the dynamic routing protocol so as to implement remote management.
Configuring the Default Gateway of a Switch
Configure the default gateway, that is, default route, of a layer 3 switch.
Ruijie>enable
Ruijie#configure terminal
Ruijie(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.254------>configure default gateway of switch as 192.168.1.254
Ruijie(config)#end
Ruijie#write------>save configuration after checking.

Verification
Ruijie#show ip route
Codes:C - Connected, L - Local, S - Static
R - RIP, O - OSPF, B - BGP, I - IS-IS, V - Overflow route
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
SU - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
IA - Inter area, * - candidate default
Gateway of last resort is 192.168.1.254 to network 0.0.0.0
S*  0.0.0.0/0 [1/0] via 192.168.1.254

Author: liej465@gmail.c    Time: 2023-6-19 19:39
Nice information.





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