UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

4.3.3Assigning 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

Mode

Description

 

 

 

ip address IP-ADDRESS/M

 

Assigns IP address to an interface.

 

Interface

 

ip address IP-ADDRESS/Msecondary

Assigns secondary IP address to an

 

interface.

 

 

 

 

 

To disable the assigned IP address, use the following command.

Command

Mode

Description

 

 

 

no ip address IP-ADDRESS/M

 

Removes assigned IP address to an interface.

 

Interface

 

no ip address IP-ADDRESS/M

Removes assigned secondary IP address to an inter-

secondary

 

face.

 

 

 

To display an assigned IP address, use the following command.

Command

Mode

Description

 

 

 

show ip

Interface

Shows an assigned IP address of the interface.

 

 

 

4.3.4Static 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

Mode

Description

 

 

 

ip route A.B.C.D SUBNET-MASK

 

Configures static route.

{GATEWAY null} [<1-255>]

 

A.B.C.D: destination IP prefix

 

 

GATEWAY: Ip gateway address

ip route A.B.C.D/M { SUBNET-MASK null} [<1-

 

255> src IP-ADDRESS]

Global

1-255: Distance value

 

 

no ip route A.B.C.D SUBNET-MASK

 

 

 

{ GATEWAY null} [<1-255>]

 

Deletes configured static route.

 

 

no ip route IP-ADDRESS/M

 

 

 

{ SUBNET-MASK null} [<1-255>]

 

 

 

 

 

To configure default gateway, use the following command on Global Configuration mode.

Command

Mode

Description

 

 

 

ip route default { GATEWAY null} [<1-255>]

 

Configures default gateway.

Global

GATEWAY: Ip gateway address

 

 

 

 

no ip route default { GATEWAY null} [<1-255>]

 

Deletes default gateway.

 

 

 

58

A50010-Y3-C150-2-7619

Page 58
Image 58
Siemens S323, S223 Assigning IP Address to Network Interface, Static Route and Default Gateway, Ip address IP-ADDRESS/M