Ip Address; Ip Route - NETGEAR GSM7224v2 - Layer 2 Managed Gigabit Switch Cli Manual

Managed switches cli manual, software version 8.0
Hide thumbs Also See for GSM7224v2 - Layer 2 Managed Gigabit Switch:
Table of Contents

Advertisement

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 in a.b.c.d format where the range for a, b, c, and d is 1-255. The value for
<subnetmask> is a 4-digit dotted-decimal number which represents the Subnet Mask of the
interface. To remove all of the IP addresses (primary and secondary) configured on the interface,
enter the command no ip address.
Format
no ip address [{<ipaddr> <subnetmask> [secondary]}]
Mode
Interface Config

ip route

This command configures a static route. The <ipaddr> parameter is a valid IP address, and
<subnetmask> is a valid subnet mask. The <nexthopip> parameter is a valid IP address of
the next hop router. Specifying Null0 as nexthop parameter adds a static reject route. The
optional <preference> parameter is an integer (value from 1 to 255) that allows you to specify
the preference value (sometimes called "administrative distance") of an individual static route.
Among routes to the same destination, the route with the lowest preference value is the route
Routing Commands
Managed Switch CLI Manual, Release 8.0
v1.0, July 2009
4-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents