122 © 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
CLI Command Reference
routing
This command enables IPv4 routing for an interface. You can view the current value for this
function with the
show ip brief command. The value is labeled as “Routing Mode.”
Default disabled
Format
routing
Mode Interface Config
no routing
This command disables routing for an interface.
You can view the current value for this function with the
show ip brief command. The value
is labeled as “Routing Mode.”
Format
no routing
Mode Interface Config
ip routing
This command enables the IP Router Admin Mode for the master switch.
Format
ip routing
Mode Global Config
no ip routing
This command disables the IP Router Admin Mode for the master switch.
Format
no ip routing
Mode Global Config
ip address
This command configures an IP address on an interface. You can also use this command to
configure one or more secondary IP addresses on the interface.The value for
<ipaddr> is the
IP address of the interface. The value for
<subnetmask> is a 4-digit dotted-decimal number
which represents the subnet mask of the interface. The subnet mask must have contiguous
ones and be no longer than 30 bits, for example 255.255.255.0. This command adds the label
IP address in
show ip interface.
Format.
ip address <ipaddr> <subnetmask> [secondary]
Mode Interface Config
no ip address
This command deletes an IP address from an interface. The value for <ipaddr> is the IP
address of the interface. The value for
<subnetmask> is a 4-digit dotted-decimal number
which represents the Subnet Mask of the interface.
Format
no ip address <ipaddr> <subnetmask> [secondary]