2 interface ethernet, 3 ip address, 4 loopback – Accton Technology ES4626 User Manual

Page 144

Advertising
background image

144

3.2.3.2.2 interface Ethernet

Command: interface ethernet <interface-name>

Function:

Enters network management port configuration mode from Global Mode.

Parameters:

<interface-name> stands for port number, the default value is 0.

Command mode:

Global Mode

Usage Guide:

Run the exit command to exit the network management Interface Mode to

Global Mode.

Example:

Entering network management interface mode.

Switch(Config)#interface ethernet 0

Switch(Config-Ethernet0)#

3.2.3.2.3 ip address

Command: ip address <ip-address> <mask>

no ip address [<ip-address> <mask>]

Function:

Sets the IP address and mask for the switch; the “no ip address

[<ip-address> <mask>]”

command deletes the specified IP address setting.

Parameters:

<ip-address> is the IP address in decimal format; <mask> is the subnet

mask in decimal format.

Command mode:

Network management port configuration Mode

Default:

No IP address is configured by default.

Usage Guide:

This command configures the IP address for network management port.

Example:

Setting the IP address of the network management interface to

192.168.1.10/24.

Switch(Config-Ethernet0)#ip address 192.168.1.10 255.255.255.0

3.2.3.2.4 loopback

Command: loopback

no loopback

Function:

Enables the loopback test function for the network management port; the “no

loopback

” command disables the loopback test the on network management port.

Command mode:

Network management port configuration Mode

Default:

Loopback test is disabled in network management port by default.

Usage Guide:

Loopback test can be used to verify the network management port is

working normally. After loopback has been enabled, the port will assume a connection

established to itself, and all traffic sent from the port will be received at this very port.

Example:

Enabling loopback test in the network management port.

Switch(Config)#interface ethernet 0

Switch(Config-Ethernet0)#loopback

Advertising
This manual is related to the following products: