Basic ipv4 configuration, Ip address, Table 137: basic ip configuration commands – Microsens MS453490M Management Guide User Manual

Page 918: Address, Ip address (918)

Advertising
background image

C

HAPTER

41

| IP Interface Commands

IPv4 Interface

– 918 –

B

ASIC

IP

V

4

C

ONFIGURATION

This section describes commands used to configure IP addresses for VLAN

interfaces on the switch.

ip address

This command sets the IPv4 address for the currently selected VLAN

interface. Use the no form to restore the default IP address.

S

YNTAX

ip address {ip-address netmask | bootp | dhcp}
no ip address

ip-address - IP address
netmask - Network mask for the associated IP subnet. This mask

identifies the host address bits used for routing to specific subnets.
bootp - Obtains IP address from BOOTP.
dhcp - Obtains IP address from DHCP.

D

EFAULT

S

ETTING

IP Address: 192.168.1.10

Subnet Mask: 255.255.255.0

C

OMMAND

M

ODE

Interface Configuration (VLAN)

C

OMMAND

U

SAGE

An IP address must be assigned to this device to gain management

access over the network or to connect the switch to existing IP subnets.

A specific IP address can be manually configured, or the switch can be

directed to obtain an address from a BOOTP or DHCP server. Valid IP

addresses consist of four numbers, 0 to 255, separated by periods.

Anything other than this format is not be accepted by the configuration

program.

If bootp or dhcp options are selected, the system will immediately

start broadcasting service requests for all VLANs configured to obtain

address assignments through BOOTP or DHCP. IP is enabled but will not

function until a BOOTP or DHCP reply has been received. Requests are

Table 137: Basic IP Configuration Commands

Command

Function

Mode

ip address

Sets the IP address for the current interface

IC

ip default-gateway

Defines the default gateway through which this router

can reach other subnetworks

GC

show ip default-gateway

Displays the default gateway configured for this device PE

show ip interface

Displays the IP settings for this device

PE

traceroute

Shows the route packets take to the specified host

PE

ping

Sends ICMP echo request packets to another node on

the network

NE, PE

Advertising