3Com 5104M-FIB Switch User Manual


 
2-122
SET IP ACTIVE_ DEFAULT_GATEWAY
SET IP ACTIVE_
DEFAULT_GATEWAY
Use the SET IP ACTIVE_DEFAULT_GATEWAY command to set which default
gateway is active currently when there are multiple default gateways configured
for this DMM.
The active default gateway is the IP address of the gateway (for example, a
router) that receives and forwards packets whose addresses are unknown to the
local network. Use the default gateway to communicate with the DMM from
different IP networks. Use this command to establish the desired active default
gateway.
Only one gateway at a time is active. By default, the gateway selected is the
Default Gateway assigned to the first interface that you assign to a network.
This Default Gateway assignment changes only when you actively set a default
gateway or when the interface that determined the Default Gateway loses
network connectivity. If the DMM loses its connection to the active default
gateway, it automatically searches all networks until it finds a new valid
gateway.
Format
Example
The following command sets the gateway with the IP address 131.05.08.58 to
be the active default gateway for the DMM:
CB5000> set ip active_default_gateway 131.05.08.58
Active Default Gateway changed.
Related Commands
SET IP DEFAULT_GATEWAY
SHOW IP
ip address Internet Protocol (IP) address in the following format: nnn.nnn.nnn.nnn
set
i
p act
i
ve_
d
e
f
au
l
t_gateway
i
p a
dd
ress