This section describes the commands you use to configure a logical interface for management access.
enable (Privileged EXEC access)
This command gives you access to the Privileged EXEC mode. From the Privileged EXEC mode, you can configure the network interface.
Format: enable
Mode: User EXEC
serviceport ip
This command sets the IP address, the netmask and the gateway of the network management port. You can specify the none option to clear the IPv4 address and mask and the default gateway.
Format: serviceport ip <ipaddr> <netmask> [gateway] \ none}
Mode: Privileged EXEC
serviceport protocol
This command specifies the network management port configuration protocol. If you modify this value, the change is effective immediately. If you use the bootp parameter, the switch periodically sends requests to a BootP server until a response is received. If you use the dhcp parameter, the switch periodically sends requests to a DHCP server until a response is received. If you use the none parameter, you must configure the network information for the switch manually.
This command sets the IP address, subnet mask and gateway of the device. The IP address and the gateway must be on the same subnet.You can specify the none option to clear the IPv4 address and mask and the default gateway
This command specifies the network configuration protocol to be used. If you modify this value, change is effective immediately. If you use the bootp parameter, the switch periodically sends requests to a BootP server until a response is received. If you use the dhcp parameter, the switch periodically sends requests to a DHCP server until a response is received. If you use the none parameter, you must configure the network information for the switch manually.
Default: none
Format: network protocol {none | bootp | dhcp}
Mode: Privileged EXEC
network mac-address
This command sets locally administered MAC addresses. The following rules apply:
• Bit 6 of byte 0 (called the U/L bit) indicates whether the address is universally administered (b'0') or locally administered (b'1').
• Bit 7 of byte 0 (called the I/G bit) indicates whether the destination address is an individual address (b'0') or a group address (b'1').
• The second character, of the twelve character macaddr, must be 2, 6, A or E.
A locally administered address must have bit 6 On (b'1') and bit 7 Off (b'0').
Format: network mac-address <macaddr>
Mode: Privileged EXEC
network mac-type
This command specifies whether the switch uses the burned in MAC address or the locally-administered MAC address.
Default: burnedin
Format: network mac-type {local | burnedin}
Mode: Privileged EXEC
no network mac-type
This command resets the value of MAC address to its default.
Format: no network mac-type
Mode: Privileged EXE
network javamode
This command specifies whether or not the switch should allow access to the Java applet in the header frame of the Web interface. When access is enabled, the Java applet can be viewed from the Web interface. When access is disabled, the user cannot view the Java applet.
Default: enabled
Format: network javamode
Mode: Privileged EXEC
no network javamode
This command disallows access to the Java applet in the header frame of the Web interface. When access is disabled, the user cannot view the Java applet.
Format: no network javamode
Mode: Privileged EXEC
show network
This command displays configuration settings associated with the switch network interface. The network interface is the logical interface used for in-band connectivity with the switch via any of the switch front panel ports. The configuration parameters associated with the switch network interface do not affect the configuration of the front panel ports through which traffic is switched or routed.The network interface is always considered to be up, whether or not any member ports are up; therefore, the show network command will always show "Interface Status" as "Up".
Format: show network
Modes:
Privileged EXEC
User EXEC
The display parameters for above command are:
Interface Status: The network interface status; it is always considered to be "up".
IP Address: The IP address of the interface. The factory default value is 0.0.0.0
Subnet Mask: The IP subnet mask for this interface. The factory default value is 0.0.0.0
Default Gateway: The default gateway for this IP interface. The factory default value is 0.0.0.0
IPv6 Administrative Mode: Whether enabled or disabled.
IPv6 Address/Length: The IPv6 address and length.
IPv6 Default Router: The IPv6 default router address.
Burned In MAC Address: The burned in MAC address used for in-band connectivity.
Locally Administered MAC Address: If desired, a locally administered MAC address can be configured for in-band connectivity. To take effect, 'MAC Address Type' must be set to 'Locally Administered'. Enter the address as twelve hexadecimal digits (6 bytes) with a colon between each byte. Bit 1 of byte 0 must be set to a 1 and bit 0 to a 0, i.e. byte 0 should have the following mask 'xxxx xx10'. The MAC address used by this bridge when it must be referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this bridge. However it is only required to be unique. When concatenated with dot1dStpPriority a unique Bridge Identifier is formed which is used in the Spanning Tree Protocol.
MAC Address Type: The MAC address which should be used for in-band connectivity. The choices are the burned in or the Locally Administered address. The factory default is to use the burned in MAC address.
Configured IPv4 Protocol: The IPv4 network protocol being used. The options are bootp | dhcp | none.
Configured IPv6 Protocol: The IPv6 network protocol being used. The options are dhcp | none.
DHCPv6 Client DUID: The DHCPv6 client’s unique client identifier. This row is displayed only when the configured IPv6 protocol is dhcp.
IPv6 Autoconfig Mode: Whether IPv6 Stateless address autoconfiguration is enabled or disabled.
show serviceport
This command displays service port configuration information.
Format: show serviceport
Mode:
Privileged EXEC
User EXEC
The display parameters for above command are:
Interface Status: The network interface status. It is always considered to be up.
IP Address: The IP address of the interface. The factory default value is 0.0.0.0
Subnet Mask: The IP subnet mask for this interface. The factory default value is 0.0.0.0
Default Gateway: The default gateway for this IP interface. The factory default value is 0.0.0.0
IPv6 Administrative Mode: Whether enabled or disabled. Default value is enabled.
IPv6 Address/Length: The IPv6 address and length. Default is Link Local format.
IPv6 Default Router: TheIPv6 default router address on the service port. The factory default value is an unspecified address.
Configured IPv4 Protocol: The IPv4 network protocol being used. The options are bootp | dhcp | none.
Configured IPv6 Protocol: The IPv6 network protocol being used. The options are dhcp | none.
DHCPv6 Client DUID: The DHCPv6 client’s unique client identifier. This row is displayed only when the configured IPv6 protocol is dhcp.
IPv6 Autoconfig Mode: Whether IPv6 Stateless address autoconfiguration is enabled or disabled.
Burned in MAC Address: The burned in MAC address used for in-band connectivity.