IPv6 Management Commands
Use these commands to manage the switch through an IPv6 address.
IPv6 management commands allow a device to be managed via an IPv6 address in a switch or through IPv4 routing (that is, independent from the IPv6 routing package). For Routing/IPv6 builds of the switch software, dual IPv4/IPv6 operation over the service port is enabled. The switch software provides capabilities such as the following:
- Static assignment of IPv6 addresses and gateways for the service/network ports.
- The ability to ping an IPv6 link-local address over the service/network port.
- Using IPv6 management commands, you can send SNMP traps and queries via the service/network port.
- The user can manage a device via the network port (in addition to a Routing Interface or the Service port).
ipv6 management
M4250
M4350
Use this command to create an IPv6 management interface, enable IPv6 and DHCPv6 on the management interface, and delete a previous IPv6 management interface, if there was any. (The switch does not provide a default IPv6 management interface.)
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.
| Format | ipv6 management {vlan number | port unit/slot/port} {autoconfig | dhcp | prefix prefix-length} |
| Mode | Global Config |
no ipv6 management
Use this command to reset the IPv6 management interface to the default settings, that is, remove the IPv6 management interface. (The switch does not provide a default IPv6 management interface.)
| Format | no ipv6 management |
| Mode | Global Config |
serviceport ipv6 enable
M4250
M4350
Use this command to enable IPv6 operation on the service port. By default, IPv6 operation is enabled on the service port.
| Default | enabled |
| Format | serviceport ipv6 enable |
| Mode | Privileged EXEC |
no serviceport ipv6 enable
Use this command to disable IPv6 operation on the service port.
| Format | no serviceport ipv6 enable |
| Mode | Privileged EXEC |
serviceport ipv6 address
M4250
M4350
Use the options of this command to manually configure IPv6 global address, enable/disable stateless global address autoconfiguration and to enable/disable dhcpv6 client protocol information on the service port.
no serviceport ipv6 address
Use the command no serviceport ipv6 address to remove all configured IPv6 prefixes on the service port interface.
Use the command with the address option to remove the manually configured IPv6 global address on the network port interface.
Use the command with the autoconfig option to disable the stateless global address autoconfiguration on the service port.
Use the command with the dhcp option to disable the dhcpv6 client protocol on the service port.
| Format | no serviceport ipv6 address {address/prefix-length [eui64] | autoconfig | dhcp} |
| Mode | Privileged EXEC |
serviceport ipv6 gateway
M4250
M4350
Use this command to configure IPv6 gateway information (that is, default router information) for the service port.
| Format | serviceport ipv6 gateway gateway-address |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| gateway-address | Gateway address in IPv6 global or link-local address format. |
no serviceport ipv6 gateway
Use this command to remove IPv6 gateways on the service port interface.
| Format | no serviceport ipv6 gateway |
| Mode | Privileged EXEC |
serviceport ipv6 neighbor
M4250
M4350
Use this command to manually add IPv6 neighbors to the IPv6 neighbor table for the service port. If an IPv6 neighbor already exists in the neighbor table, the entry is automatically converted to a static entry. Static entries are not modified by the neighbor discovery process. They are, however, treated the same for IPv6 forwarding. Static IPv6 neighbor entries are applied to the hardware when the corresponding interface is operationally active.
| Format | serviceport ipv6 neighbor ipv6-address macaddr |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| ipv6-address | The IPv6 address of the neighbor or interface. |
| macaddr | The link-layer address. |
no serviceport ipv6 neighbor
Use this command to remove IPv6 neighbors from the IPv6 neighbor table for the service port.
| Format | no serviceport ipv6 neighbor ipv6-address macaddr |
| Mode | Privileged EXEC |
show serviceport ipv6 neighbors
M4250
M4350
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 |
| Field | Description |
|---|---|
| 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. |
Command example:
(NETGEAR Switch) #show serviceport ipv6 neighbors
Neighbor Age
IPv6 Address MAC Address isRtr State (Secs) Type
-------------------------------- ----------------- ----- --------- ------ -------
FE80::5E26:AFF:FEBD:852C 5c:26:0a:bd:85:2c FALSE Reachable 0 Dynamic
ping ipv6
M4250
M4350
Use this command to determine whether another computer is on the network. Ping provides a synchronous response when initiated from the CLI and Web interfaces. To use the command, configure the switch for network (in-band) connection. The source and target devices must have the ping utility enabled and running on top of TCP/IP. The switch can be pinged from any IP workstation with which the switch is connected through the default VLAN (VLAN 1), as long as there is a physical path between the switch and the workstation. The terminal interface sends three pings to the target station. Use the ipv6-address or hostname parameter to ping an interface by using the global IPv6 address of the interface.
The interface corresponds to a physical routing interface or VLAN routing interface. 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 description and format.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093.
You can utilize the ping or traceroute facilities over the service or network ports when using an IPv6 global address ipv6-global-address or hostname. Any IPv6 global address or gateway assignments to these interfaces causes IPv6 routes to be installed such that the ping or traceroute request is routed out the service or network port properly. When referencing an IPv6 link-local address, you must specify the interface keyword with either the unit/slot/port argument, vlan keyword and vlan-id argument, or serviceport keyword.
Use the optional size keyword and datagram-size parameter to specify the size of the ping packet.
| Default |
The default count is 1. The default interval is 3 seconds. The default size is 0 bytes. |
| Format | ping ipv6 {ipv6-global-address | hostname | {interface {unit/slot/port | vlan vlan-id | serviceport} link-local-address} [size datagram-size]} |
| Mode |
Privileged EXEC User EXEC |
ping ipv6 interface
M4250
M4350
Use this command to determine whether another computer is on the network. To use the command, configure the switch for network (in-band) connection. The source and target devices must have the ping utility enabled and running on top of TCP/IP. The switch can be pinged from any IP workstation with which the switch is connected through the default VLAN (VLAN 1), as long as there is a physical path between the switch and the workstation. The terminal interface sends three pings to the target station. You can use a loopback, network port, service port, VLAN, or physical interface as the source.
The interface corresponds to a physical routing interface or VLAN routing interface. 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.
The vlan keyword and vlan-id parameter are used to specify the VLAN ID of the routing VLAN. The vlan-id parameter is a number in the range of 1–4093. Use the optional size keyword and datagram-size parameter to specify the size of the ping packet.
| Format | ping ipv6 interface {unit/slot/port | vlan vlan-id | loopback loopback-id | serviceport} {link-local-address link-local-address | ipv6-address} [size datagram-size] |
| Modes |
Privileged EXEC User EXEC |