Assigning Ip Address To Network Interface; Static Route And Default Gateway - Siemens S223 User Manual

Siemens single-board fast ethernet switch operators user manual
Table of Contents

Advertisement

UMN:CLI
4.3.3
4.3.4
58

Assigning IP Address to Network Interface

After enabling interface, you need to assign IP address. To assign IP address to specified
network interface, use the following command.
Command
ip address IP-ADDRESS/M
ip address IP-ADDRESS/M secondary
To disable the assigned IP address, use the following command.
Command
no ip address IP-ADDRESS/M
no ip address IP-ADDRESS/M
secondary
To display an assigned IP address, use the following command.
Command
show ip

Static Route and Default Gateway

It is possible to configure the static route. Static route is a route which user configures
manually. Packets are transmitted to the destination through static route. Static route in-
cludes destination address, neighbor router to receive packet, the number of routes that
packets have to go through.
To configure static route, use the following command.
Command
ip route A.B.C.D SUBNET-MASK
{GATEWAY | null} [<1-255>]
ip route A.B.C.D/M { SUBNET-MASK | null} [<1-
255> | src IP-ADDRESS]
no ip route A.B.C.D SUBNET-MASK
{ GATEWAY | null} [<1-255>]
no ip route IP-ADDRESS/M
{ SUBNET-MASK | null} [<1-255>]
To configure default gateway, use the following command on Global Configuration mode.
Command
ip route default { GATEWAY | null} [<1-255>]
no ip route default { GATEWAY | null} [<1-255>]
SURPASS hiD 6615 S223/S323 R1.5
Mode
Interface
Mode
Removes assigned IP address to an interface.
Interface
Removes assigned secondary IP address to an inter-
face.
Mode
Interface
Shows an assigned IP address of the interface.
Mode
Global
Mode
Global
User Manual
Description
Assigns IP address to an interface.
Assigns secondary IP address to an
interface.
Description
Description
Description
Configures static route.
A.B.C.D: destination IP prefix
GATEWAY: Ip gateway address
1-255: Distance value
Deletes configured static route.
Description
Configures default gateway.
GATEWAY: Ip gateway address
Deletes default gateway.
A50010-Y3-C150-2-7619

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S323Surpass hid 6615 s223Surpass hid 6615 s323 r1.5

Table of Contents