FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
create pppoe session client-ip <client-ip> session-id <nn> client-mac <client-mac> [decap-vrf-id <nn>] [del].
Add or 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
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: create_pppoe_session_command (src/plugins/pppoe/pppoe.c line 567)
Implementation: pppoe_add_del_session_command_fn.
create pppoe tap if-name <intfc> [del].
Declaration: create_pppoe_tap_cmd (src/plugins/pppoe/pppoe_tap.c line 75)
Implementation: pppoe_add_del_tap_command_fn.
show pppoe fib.
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.
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: show_pppoe_fib_command (src/plugins/pppoe/pppoe.c line 696)
Implementation: show_pppoe_fib_command_fn.
show pppoe session.
Display all 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: show_pppoe_session_command (src/plugins/pppoe/pppoe.c line 608)
Implementation: show_pppoe_session_command_fn.