beautypg.com

4 no ip routing, 6 no ip address, 7 ip route – PLANET WGS3-24000 User Manual

Page 432

background image

432

12.2.4 no ip routing

This command disables the IP Router Admin Mode for the master switch.

Format

no ip routing

Mode

Global Config

12.2.5 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 is the IP Address of the interface. The value for 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 changes the label IP address in show ip interface.

Format

ip address [secondary]

Mode Interface

Config

12.2.6 no ip address

This command deletes an IP address from an interface. The value for is the IP Address of the interface. The value for

is a 4-digit dotted-decimal number which represents the Subnet Mask of the interface.

Format

no ip address [secondary]

Mode Interface

Config

12.2.7 ip route

This command configures a static route. The parameter is a valid IP address, and is a valid subnet

mask. The parameter is a valid IP address of the next hop router. The optional 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 entered into

the forwarding database. By specifying the preference of a static route, you control whether a static route is more or less

preferred than routes from dynamic routing protocols. The preference also controls whether a static route is more or less

preferred than other static routes to the same destination. A route with a preference of 255 cannot be used to forward traffic.

For the static routes to be visible, you must perform the following steps:

Enable ip routing globally.

Enable ip routing for the interface.

Confirm that the associated link is also up.

Default preference-1

This manual is related to the following products: