# cgv6if - Adding, printing, and deleting IPv6 addresses

Adds, prints, and deletes IPv6 addresses for a CG board.

#### Usage

cgv6if command v6address/prefixlength -i interface -b boardnumber

Valid commands include:

Command | Description
--- | ---
print | Prints all IPv6 addresses.
add | Adds a new IPv6 address.
delete | Deletes a manually created IPv6 address.
deleteall | Deletes all manually created IPv6 addresses.
router | Adds a static router.
showrouter | Shows static routers.
delrouter | Deletes a static router.

Valid arguments include:

Argument | Description
--- | ---
v6address | IPv6 address for this interface.
prefixlength | IPv6 prefix length for the corresponding address.
-i interface | Network interface number (1 or 2).
-b boardnumber | Number of the CG board. The default value is 0.

#### Description

Use cgv6if to add, print, and delete IPv6 addresses without editing individual board keyword files. cgv6if is similar to the standard ifconfig utility found on most systems with IP processing capabilities.

Example

cgv6if print
cgv6if delete fe80::1245:5678:9abc:def0/64 -i 1
cgv6if deleteall -i 1
cgv6if add fe80::1245:5678:9abc:def0/64 -i 1 -b 3
cgv6if router 2001:DB8::1234:5678:9abc:def0 -i 1
cgv6if delrouter 2001:DB8::1234:5678:9abc:def0 -i 1