Management Interface Commands
Use these commands to configure a logical IPv4 interface for management access.
enable (Privileged EXEC access)
M4250
M4350
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 |
do (Privileged EXEC commands)
M4250
M4350
This command executes Privileged EXEC mode commands from any of the configuration modes.
| Format | do Priv Exec Mode Command |
| Mode |
Global Config Interface Config VLAN Config (also referred to as VLAN Database) Routing Config |
Command example:
The following is an example of the do command that executes the Privileged Exec command script list in Global Config Mode.
(NETGEAR Switch) #configure
(NETGEAR Switch)(config)#do script list
Configuration Script Name Size(Bytes)
-------------------------------- -----------
backup-config 2105
running-config 4483
startup-config 445
3 configuration script(s) found.
2041 Kbytes free.
ip management
M4250
M4350
Use this command to create an IPv4 management interface, enable DHCP on the IPv4 management interface, delete a previous IPv4 management interface, and set the source interface for all applications, including RADIUS, TACACS, DNS, SNTP, SNMP, and SysLog.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Default | vlan 1 |
| Format | ip management {vlan number | port unit/slot/port} {dhcp | ipaddr {prefix-length | subnet-mask}} |
| Mode | Global Config |
ip management source-interface
M4250
M4350
Use this command to specify the source IP address for all applications, including RADIUS, TACACS, DNS, SNTP, SNMP, and SysLog.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
For the loopback keyword, you can enter a number between 0 and 7.
| Default | vlan 1 |
| Format | ip management source-interface {serviceport | vlan number | port unit/slot/port | loopback number} |
| Mode | Global Config |
no ip management
Use this command to reset the IPv4 management interface to the default settings.
| Format | no ip management |
| Mode | Global Config |
serviceport ip
M4250
M4350
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 (that is, reset each of these values to 0.0.0.0).
| Format | serviceport ip {ipaddr netmask [gateway] | none} |
| Mode | Privileged EXEC |
serviceport protocol
M4250
M4350
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.
| Format | serviceport protocol {none | bootp | dhcp} |
| Mode | Privileged EXEC |
serviceport protocol dhcp
M4250
M4350
This command enables the DHCPv4 client on a service port. If you use the client-id optional parameter, the DHCP client messages are sent with the client identifier option.
| Default | none |
| Format | serviceport protocol dhcp [client-id] |
| Mode | Privileged EXEC |
There is no support for the no form of the command serviceport protocol dhcp client-id. To remove the client-id option from the DHCP client messages, issue the command serviceport protocol dhcp without the client-id option. The command serviceport protocol none can be used to disable the DHCP client and client-id option on the interface.
Command example:
(NETGEAR Switch) # serviceport protocol dhcp client-id
mac management address
M4250
M4350
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 | mac management address macaddr |
| Mode | Privileged EXEC |
mac management type
M4250
M4350
This command specifies whether the switch uses the burned in MAC address or the locally-administered MAC address.
| Default | burnedin |
| Format | mac management type {local | burnedin} |
| Mode | Privileged EXEC |
no mac management type
This command resets the value of MAC address to its default.
| Format | no mac management type |
| Mode | Privileged EXEC |
show ip management
M4250
M4350
This command displays configuration settings that are associated with the switch management interface. The management interface is the logical interface that is used for in-band connectivity with the switch over any of the switch front panel ports. The configuration parameters that are associated with the switch management interface do not affect the configuration of the front panel ports through which traffic is switched or routed. The management interface is always considered to be up, whether or not any member ports are up. Therefore, the output of the show ip management command always shows interface status as up.
| Format | show ip management |
| Modes |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| Interface Status | The management 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 |
You can configure a locally administered MAC address for in-band connectivity. This configuration requires the following:
We recommend that you use the MAC address that is the numerically smallest MAC address of all ports that belong to the bridge. When concatenated with dot1dStpPriority, a unique Bridge Identifier is formed, which is used in the Spanning Tree Protocol. |
| MAC Address Type | The MAC address that must 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. |
| 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. |
| DHCP Client Identifier | The client identifier is displayed in the output of the command only if DHCP is enabled with the client-id option on the management interface. |
Command example:
(NETGEAR Switch) #show ip management
IPv4 Interface Status.......................... Up
IPv4 Management Interface...................... vlan 1
IP Address..................................... 169.254.100.100
Subnet Mask.................................... 255.255.255.0
Method......................................... DHCP
Routing Mode................................... Enable
Default Gateway................................ 0.0.0.0
Source Interface............................... vlan 1
Burned In MAC Address.......................... DC:EF:09:D3:2D:48
Locally Administered MAC address............... 00:00:00:00:00:00
MAC Address Type............................... Burned In
IPv6 Management Interface is not Configured.
show serviceport
M4250
M4350
This command displays service port configuration information.
| Format | show serviceport |
| Mode |
Privileged EXEC User EXEC |
| Term | Definition |
|---|---|
| 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 | The IPv6 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. |
| DHCP Client Identifier | The client identifier is displayed in the output of the command only if DHCP is enabled with the client-id option on the service port. |
Command example:
The following example displays output for the service port:
(Netgear switch) #show serviceport
Interface Status............................... Up
IP Address..................................... 10.230.3.51
Subnet Mask.................................... 255.255.255.0
Default Gateway................................ 10.230.3.1
IPv6 Administrative Mode....................... Enabled
IPv6 Prefix is ................................ fe80::210:18ff:fe82:640/64
IPv6 Prefix is ................................ 2005::21/128
IPv6 Default Router is ........................ fe80::204:76ff:fe73:423a
Configured IPv4 Protocol ...................... DHCP
Configured IPv6 Protocol ...................... DHCP
DHCPv6 Client DUID ............................ 00:03:00:06:00:10:18:82:06:4C
IPv6 Autoconfig Mode........................... Disabled
Burned In MAC Address.......................... 00:10:18:82:06:4D
DHCP Client Identifier......................... 0NETGEAR-0010.1882.160C