EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference NSM Commands
Defaults
No gateway IP address is configured by default.
Command
Mode
Global configuration mode
Usage
Guide
When the device does not know the destination address of a packet, the device will forward the packet to
the default gateway.
Examples
The following example sets the IP address of default gateway to 192.168.1.1.
ip default-gateway 192.168.1.1
Related
Commands
Command
Description
N/A
N/A
Platform
Description
5.3 ip default-network
Use this command to configure the default network globally. Use the no or default form of this
command to restore the default setting.
ip default-network network
no ip default-network network
default ip default-network network
Parameter
Description
Parameter
Description
network
Default network
Defaults
The default is 0.0.0.0/0.
Command
Mode
Global configuration mode
Usage
Guide
The goal of this command is to generate the default route. The default network must be reachable in the
routing table, but not the directly connected network.
The default network always starts with an asterisk (*), indicating that it is the candidate of the default
route. If there is connected route and the route without the next hop in the default network, the default
route must be a static route.
Examples
The following example sets 192.168.100.0 as the default network. Since the static route to the network is
configured, the device will automatically generate a default route.
ip route 192.168.100.0 255.255.255.0 serial 0/1

Table of Contents

Related product manuals