13.3. Network Settings Management

Commands to configure network are located at the network level. Available parameters:

Parameter

Description

ip

Static IP address of device. Default value: 192.168.1.2.

To set IP address, use the following command:

PMC> set network ip <IP_adrress>

To display device IP address, use the following command:

PMC> show network ip

You can also reset the IP address back to default value with the following command:

PMC> delete network ip

netmask

Network mask. Default value: 255.255.255.0.

To update network mask value, use the following command:

PMC> set network netmask <netmask_value>

Command to view the current value:

PMC> show network netmask

You can also reset netmask value back to default one using the following command:

PMC> delete network netmask

gateway

Default gateway. Default value: 192.168.1.1.

To update default gateway IP address, use the following command:

PMC> set network gateway <gateway_address>

Use the following command to view the current gateway address:

PMC> show network gateway

To reset gateway back to default address, use the following command:

PMC> delete network gateway

vlan

VLAN ID. Default value: 0. The device receive all packets and does not use VLAN Tag when transmitting them. If the value is other than 0, all received packets that have tag different from the specified one or with no tag will be filtered. The set value is added to Ethernet header when sending a packet.

To update the parameter, use the following command:

PMC> set network vlan <VLANID_value>

Use the following command to view the current value:

PMC> show network vlan

You can also reset VLAN ID value back to default one using the following command:

PMC> delete network vlan

arp

ARP table. Table has no entries by default. Dynamic entries are added when communicating with other network nodes. All dynamic entries are deleted after device restart.

You can add static ARP entries specifying IP and MAC addresses. If the destination IP address is present in the table, then when sending a packet, the device does not make an ARP request, but immediately substitutes the MAC address from the table into the Ethernet header.

To add ARP entries, use the following command:

PMC> network arp <IP_address> <HW_address>

To display ARP table, use the following command:

PMC> show network arp

Command to clear the ARP table:

PMC> delete network arp

You can also delete desired entry specifying the IP address. Use the following command:

PMC> delete network arp <IP_address>

ssh-port

Port used for PMC SSH inbound connections. Default value: 22.

Use the following command to set different port:

PMC> set network ssh-port <port_number>

To view the current parameter value:

PMC> show network ssh-port

To reset the port number back to default one, use the following command:

PMC> delete network ssh-port

To display information about all parameters available at the network level, use the following command:

PMC> show network

Network configuration will be stored in non-volatile memory if updated.

Use delete action to reset all or desired parameters to defaults.

PMC> delete network