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. Configure the default gateway, that means configure a 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 By the following command, then can configure check the route table of switch. 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 |
This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.
More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.
©2000-2023 Ruijie Networks Co,Ltd