FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
src/vnet/dhcp

dhcp6 client

Summary/usage

dhcp6 client <interface> [disable].

Description

This command is used to enable/disable DHCPv6 client on particular interface.

Example usage
Example of how to enable DHCPv6 client:
vpp# dhcp6 client GigabitEthernet2/0/0
Example of how to disable DHCPv6 client:
vpp# dhcp6 client GigabitEthernet2/0/0 disable

Declaration and implementation

Declaration: dhcp6_client_enable_disable_command (src/vnet/dhcp/dhcp6_ia_na_client_cp.c line 762)

Implementation: dhcp6_client_enable_disable_command_fn.

dhcp6 pd client

Summary/usage

dhcp6 pd client <interface> (prefix group <string> | disable).

Description

This command is used to enable/disable DHCPv6 PD client on particular interface.

Example usage
Example of how to enable DHCPv6 PD client:
vpp# dhcp6 pd client GigabitEthernet2/0/0 prefix group my-pd-group
Example of how to disable DHCPv6 PD client:
vpp# dhcp6 pd client GigabitEthernet2/0/0 disable

Declaration and implementation

Declaration: dhcp6_pd_client_enable_disable_command (src/vnet/dhcp/dhcp6_pd_client_cp.c line 1337)

Implementation: dhcp6_pd_client_enable_disable_command_fn.

set dhcp client

Summary/usage

set dhcp client [del] intfc <interface> [hostname <name>].

Declaration and implementation

Declaration: dhcp_client_set_command (src/vnet/dhcp/client.c line 1179)

Implementation: dhcp_client_set_command_fn.

set dhcp option-82 vss

Summary/usage

set dhcp option-82 vss [del] table <table id> [oui <n> vpn-id <n> | vpn-ascii-id <text>].

Declaration and implementation

Declaration: dhcp_proxy_vss_command (src/vnet/dhcp/dhcp4_proxy_node.c line 1012)

Implementation: dhcp_option_82_vss_fn.

set dhcp proxy

Summary/usage

set dhcp proxy [del] server <ip-addr> src-address <ip-addr> [server-fib-id <n>] [rx-fib-id <n>].

Declaration and implementation

Declaration: dhcp_proxy_set_command (src/vnet/dhcp/dhcp4_proxy_node.c line 900)

Implementation: dhcp4_proxy_set_command_fn.

set dhcpv6 proxy

Summary/usage

set dhcpv6 proxy [del] server <ipv6-addr> src-address <ipv6-addr> [server-fib-id <fib-id>] [rx-fib-id <fib-id>] .

Declaration and implementation

Declaration: dhcpv6_proxy_set_command (src/vnet/dhcp/dhcp6_proxy_node.c line 995)

Implementation: dhcpv6_proxy_set_command_fn.

set dhcpv6 vss

Summary/usage

set dhcpv6 vss table <table-id> [oui <n> vpn-id <n> | vpn-ascii-id <text>].

Declaration and implementation

Declaration: dhcpv6_proxy_vss_command (src/vnet/dhcp/dhcp6_proxy_node.c line 1108)

Implementation: dhcpv6_vss_command_fn.

set ip6 address

Summary/usage

set ip6 address <interface> [prefix group <string>] <address> [del].

Description

This command is used to add/delete IPv6 address potentially using available prefix from specified prefix group

Example usage
Example of how to add IPv6 address:
vpp# set ip6 address GigabitEthernet2/0/0
          prefix group my-prefix-group ::7/64
Example of how to delete IPv6 address:
vpp# set ip6 address GigabitEthernet2/0/0
          prefix group my-prefix-group ::7/64 del

Declaration and implementation

Declaration: ip6_address_add_del_command (src/vnet/dhcp/dhcp6_pd_client_cp.c line 1026)

Implementation: cp_ip6_address_add_del_command_function.

show dhcp client

Summary/usage

show dhcp client [intfc <intfc>][verbose].

Declaration and implementation

Declaration: show_dhcp_client_command (src/vnet/dhcp/client.c line 882)

Implementation: show_dhcp_client_command_fn.

show dhcp option-82-address interface

Summary/usage

show dhcp option-82-address interface <interface>.

Declaration and implementation

Declaration: dhcp_proxy_address_show_command (src/vnet/dhcp/dhcp4_proxy_node.c line 1078)

Implementation: dhcp_option_82_address_show_command_fn.

show dhcp proxy

Summary/usage

Display dhcp proxy server info.

Declaration and implementation

Declaration: dhcp_proxy_show_command (src/vnet/dhcp/dhcp4_proxy_node.c line 961)

Implementation: dhcp4_proxy_show_command_fn.

show dhcp vss

Summary/usage

show dhcp VSS.

Declaration and implementation

Declaration: dhcp_proxy_vss_show_command (src/vnet/dhcp/dhcp4_proxy_node.c line 1029)

Implementation: dhcp_vss_show_command_fn.

show dhcp6 addresses

Summary/usage

show dhcp6 addresses.

Declaration and implementation

Declaration: dhcp6_addresses_show_command (src/vnet/dhcp/dhcp6_ia_na_client_cp.c line 561)

Implementation: dhcp6_addresses_show_command_function.

show dhcp6 clients

Summary/usage

show dhcp6 clients.

Declaration and implementation

Declaration: dhcp6_clients_show_command (src/vnet/dhcp/dhcp6_ia_na_client_cp.c line 618)

Implementation: dhcp6_clients_show_command_function.

show dhcpv6 link-address interface

Summary/usage

show dhcpv6 link-address interface <interface>.

Declaration and implementation

Declaration: dhcpv6_proxy_address_show_command (src/vnet/dhcp/dhcp6_proxy_node.c line 1174)

Implementation: dhcpv6_link_address_show_command_fn.

show dhcpv6 proxy

Summary/usage

Display dhcpv6 proxy info.

Declaration and implementation

Declaration: dhcpv6_proxy_show_command (src/vnet/dhcp/dhcp6_proxy_node.c line 1059)

Implementation: dhcpv6_proxy_show_command_fn.

show dhcpv6 vss

Summary/usage

show dhcpv6 VSS.

Declaration and implementation

Declaration: dhcpv6_proxy_vss_show_command (src/vnet/dhcp/dhcp6_proxy_node.c line 1126)

Implementation: dhcpv6_vss_show_command_fn.

show ip6 addresses

Summary/usage

show ip6 addresses.

Declaration and implementation

Declaration: ip6_addresses_show_command (src/vnet/dhcp/dhcp6_pd_client_cp.c line 1065)

Implementation: cp_ip6_addresses_show_command_function.

show ip6 pd clients

Summary/usage

show ip6 pd clients.

Declaration and implementation

Declaration: ip6_pd_clients_show_command (src/vnet/dhcp/dhcp6_pd_client_cp.c line 1165)

Implementation: ip6_pd_clients_show_command_function.

show ip6 prefixes

Summary/usage

show ip6 prefixes.

Declaration and implementation

Declaration: ip6_prefixes_show_command (src/vnet/dhcp/dhcp6_pd_client_cp.c line 1103)

Implementation: cp_ip6_prefixes_show_command_function.