beautypg.com

2 ip routing, 3 ip address, 4 ip route – Kontron AT8904 CLI User Manual

Page 121: Ip routing - 7, Ip address - 7, Ip route - 7, At8904m routing commands

background image

AT8904M

Routing Commands

Page 3 - 7

AT8904M CLI Reference Manual

3.2.1.1

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

3.2.2

ip routing

This command enables the IP Router Admin Mode for the master switch.
Format

ip routing

Mode

Global Config

3.2.2.1

no ip routing

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

no ip routing

Mode

Global Config

3.2.3

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 adds the label IP address in

show ip interface

.

Format.

ip address

[secondary]

Mode

Interface Config

3.2.3.1

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

3.2.4

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