FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
src/plugins/pppoe

create pppoe cp

Summary/usage

create pppoe cp if-name <intfc> [del].

Declaration and implementation

Declaration: create_pppoe_cp_cmd (src/plugins/pppoe/pppoe_cp.c line 74)

Implementation: pppoe_add_del_cp_command_fn.

create pppoe session

Summary/usage

create pppoe session client-ip <client-ip> session-id <nn> client-mac <client-mac> [decap-vrf-id <nn>] [del].

Description

Add or delete a PPPPOE Session.

Example usage
Example of how to create a PPPPOE Session:
vpp# create pppoe session client-ip 10.0.3.1 session-id 13
            client-mac 00:01:02:03:04:05 
Example of how to delete a PPPPOE Session:
vpp# create pppoe session client-ip 10.0.3.1 session-id 13
            client-mac 00:01:02:03:04:05 del 

Declaration and implementation

Declaration: create_pppoe_session_command (src/plugins/pppoe/pppoe.c line 575)

Implementation: pppoe_add_del_session_command_fn.

show pppoe fib

Summary/usage

show pppoe fib.

Description

This command dispays the MAC Address entries of the PPPoE FIB table. Output can be filtered to just get the number of MAC Addresses or display each MAC Address.

Example usage
Example of how to display the number of MAC Address entries in the PPPoE FIB table:
vpp# show pppoe fib
    Mac Address      session_id      Interface           sw_if_index  session_index
 52:54:00:53:18:33     1          GigabitEthernet0/8/0        2          0
 52:54:00:53:18:55     2          GigabitEthernet0/8/1        3          1

Declaration and implementation

Declaration: show_pppoe_fib_command (src/plugins/pppoe/pppoe.c line 704)

Implementation: show_pppoe_fib_command_fn.

show pppoe session

Summary/usage

show pppoe session.

Description

Display all the PPPPOE Session entries.

Example usage
Example of how to display the PPPPOE Session entries:
vpp# show pppoe session
[0] client-ip 10.0.3.1 session_id 13 encap-if-index 0 decap-vrf-id 13 sw_if_index 5
    local-mac a0:b0:c0:d0:e0:f0 client-mac 00:01:02:03:04:05

Declaration and implementation

Declaration: show_pppoe_session_command (src/plugins/pppoe/pppoe.c line 616)

Implementation: show_pppoe_session_command_fn.