Service Port Commands

Use these M4500 CLI commands to configure the out-of-band service port IPv4 and IPv6 addresses, gateway, and protocol, and display service port settings.

show serviceport

This command displays service port configuration information.

Default None
Format show serviceport
Mode Privileged Exec

Display Message

Parameter Definition
Interface Status Indicates whether the interface is up or down.
IP Address The IP address of the interface. The factory default value is 192.168.0.238.
Subnet Mask The IP subnet mask for this interface. The factory default value is 255.255.255.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 Prefix is The IPv6 address and length. Default is Link Local format.
IPv6 Default Router The default gateway address on the service port. The factory default value is an unspecified address.
Configured IPv4 Protocol Indicate what IPv4 network protocol was used on the last, or current power-up cycle, if any.
Configured IPv6 Protocol Indicate what IPv6 network protocol was used on the last, or current power-up cycle, if any.
IPv6 AutoConfig Mode Whether IPv6 Stateless address autoconfiguration is enabled or disabled. Default value is disabled.
IPv6 Link-local Scope ID The scope ID for this interface
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.

show serviceport ipv6 dhcp statistics

This command displays the statistics of the DHCPv6 client running on the serviceport management interface.

Default None
Format show serviceport ipv6 dhcp statistics
Mode Privileged Exec

User Exec

Display Message

Parameter Definition
DHCPv6 Advertisement Packets Received The number of DHCPv6 Advertisement packets received on the network.
DHCPv6 Reply Packets Received The number of DHCPv6 Reply packets received on the network interface.
Received DHCPv6 Advertisement Packets Discard The number of DHCPv6 Advertisement packets discarded on the network.
Received DHCPv6 Reply Packets Discarded The number of DHCPv6 Reply packets discarded on the network interface.
DHCPv6 Malformed Packets Received The number of DHCPv6 packets that are received malformed on the network interface.
Total DHCPv6 Packets Received The total number of DHCPv6 packets received on the network interface.
DHCPv6 Solicit Packets Transmitted The number of DHCPv6 Solicit packets transmitted on the network interface.
DHCPv6 Request Packets Transmitted The number of DHCPv6 Request packets transmitted on the network interface
DHCPv6 Renew Packets Transmitted The number of DHCPv6 Renew packets transmitted on the network interface.
DHCPv6 Rebind Packets Transmitted The number of DHCPv6 Rebind packets transmitted on the network interface.
DHCPv6 Release Packets Transmitted The number of DHCPv6 Release packets transmitted on the network interface.
Total DHCPv6 Packets Transmitted The total number of DHCPv6 packets transmitted on the network interface.

Example: The following shows example CLI display output for the command.

CODE
(M4500-32C) #show serviceport ipv6 dhcp statistics
DHCPv6 Client Statistics
-------------------------
DHCPv6 Advertisement Packets Received.......... 0
DHCPv6 Reply Packets Received.................. 0
Received DHCPv6 Advertisement Packets Discard.. 0
Received DHCPv6 Reply Packets Discarded........ 0
DHCPv6 Malformed Packets Received.............. 0
Total DHCPv6 Packets Received.................. 0
DHCPv6 Solicit Packets Transmitted............. 0
DHCPv6 Request Packets Transmitted............. 0
DHCPv6 Renew Packets Transmitted............... 0
DHCPv6 Rebind Packets Transmitted.............. 0
DHCPv6 Release Packets Transmitted............. 0
Total DHCPv6 Packets Transmitted............... 0

show serviceport ipv6 neighbors

Use this command to display information about the IPv6 neighbor entries cached on the service port. The information is updated to show the type of the entry.

Default None
Format show serviceport ipv6 neighbors
Mode Privileged Exec

User Exec

Display Message

Parameter Definition
IPv6 Address The IPv6 address of the neighbor.
MAC Address The MAC Address of the neighbor.
isRtr Shows if the neighbor is a router. If TRUE, the neighbor is a router; if FALSE, it is not a router.
Neighbor State The state of the neighbor cache entry. The possible values are: Incomplete, Reachable, Stale, Delay, Probe, and Unknown.
Age The time in seconds that has elapsed since an entry was added to the cache.
Type The type of neighbor entry. The type is Static if the entry is manually configured and Dynamic if dynamically resolved.

Example: The following shows example CLI display output for the command.

CODE
(M4500-32C) #show serviceport ipv6 neighbors
Neighbor
Age

IPv6 Address                Type     MAC Address         isRtr   State
(Secs)

------------------------------------ -----------------   -----   ---------
------

fe80::290:e8ff:feaa:35      Dynamic  00:90:e8:aa:00:35   True    Stale
3

fe80::a9e:1ff:feff:eed4     Dynamic  08:9e:01:ff:ee:d4   True    Stale
3

serviceport ip

This command sets the IP address, the netmask and the gateway of the service port. User can specify the none option to clear the Ipv4 address, mask, and the default gateway.

Default None
Format serviceport ip {<ipaddr> <netmask> [<gateway>] | none}
Mode Global Config
Parameter Definition
<ipaddr> The user manually configures the IP address for the switch.
<netmask> The user manually configures the subnet mask for the switch.
<gateway> The user manually configures the default gateway.
none Resets the IP address, netmask, and default gateway.

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 dhcp parameter, the switch periodically sends requests to a DHCP server until a response is received. If you use the dhcp6 parameter, the switch periodically sends requests to a DHCPv6 server until a response is received. If you use the none parameter, you must configure the network information for the switch manually.

Default DHCP with client-id
Format serviceport protocol {none [dhcp6] | dhcp [client-id | restart] | dhcp6 [restart]}
Mode Global Config
Parameter Definition
none Disable the DHCP client on the sevice port. Option dhcp6 is used to disable the DHCPv6 client on the service port.
dhcp Periodically sends requests to a DHCP server until a response is received. Option client-id is used to send DHCP client messages with the client identifier option (DHCP Option 61). Option restart is used to restart DHCP client.
dhcp6 Periodically sends requests to a DHCPv6 server until a response is received. Option restart is used to restart DHCPv6 client.

serviceport ipv6 enable

Use this command to enable IPv6 operation on the service port.

Default Enabled
Format serviceport ipv6 enable
Mode Global Config

no serviceport ipv6 enable

Use this command to disable IPv6 operation on the service port.

Format no serviceport ipv6 enable
Mode Global Config

serviceport ipv6 address

Use this command to configure IPv6 global addressing (i.e. Default routers) information for the service port.

Note: Multiple IPv6 prefixes can be configured on the service port.
Default None
Format serviceport ipv6 address {<address>/<prefix-length> [eui64] | autoconfig}
Mode Global Config
Parameter Definition
<address> IPv6 prefix in IPv6 global address format.
<prefix-length> IPv6 prefix length value.
[eui64] Formulate IPv6 address in eui64 address format.
autoconfig Configure stateless global address autoconfiguration capability.

no serviceport ipv6 address

This command removes all configured IPv6 prefixes on the service port interface. Use this command with the address option to remove the manually configured IPv6 global address. Use the command with the autoconfig option to disable the stateless global address autoconfiguration on the service port.

Format no serviceport ipv6 address [{<address>/<prefix-length> [eui64] | autoconfig}]
Mode Global Config

serviceport ipv6 gateway

Use this command to configure IPv6 gateway (i.e. Default routers) information for the service port.

Note: Only a single IPv6 gateway address can be configured for the service port. There may be a combination of IPv6 prefixes and gateways that are explicitly configured and those that are set through auto-address configuration with a connected IPv6 router on their service port interface.
Default None
Format serviceport ipv6 gateway <gateway-address>
Mode Global Config

no serviceport ipv6 gateway

This command removes IPv6 gateways on the service port interface.

Format no serviceport ipv6 gateway
Mode Global Config

clear serviceport ipv6 dhcp statistics

This command clears IPv6 DHCP Statistics.

Default None
Format clear serviceport ipv6 dhcp statistics
Mode Privileged Exec

serviceport ipv6 neighbor

Use this command to configure IPv6 neighbor information for the service port.

Default None
Format serviceport ipv6 neighbor <ipv6-address><macaddr>
Mode Global Config

no serviceport ipv6 neighbor

Use this command to remove IPv6 neighbor on the service port interface.

Format no serviceport ipv6 neighbor <ipv6-address><macaddr>
Mode Global Config