No Ip Routing - Planet Networking & Communication WGS3-2820 User Manual

Table of Contents

Advertisement

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 <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 changes the label IP address in show ip interface.
Format
ip address <ipaddr> <subnetmask> [secondary]
Mode
Interface Config
12.2.6 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]
Mode
Interface Config
12.2.7 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. 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 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
User's Manual of WGS3-2820/WGS3-5220
434

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wgs3-5220

Table of Contents