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
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...