Hi,
I'd got 2 instances running.
instance 1 : ens5f1
instance 2 : ens4f1
On instance 2 i cannot add pppoe interface from accel-cmd. It accepts the command but no interface in show command. If u add the interface in conf file and restart the service. It adds the ppooe server on interface. Regular expression seems to be working. on 2nd instance in interface=re:ens4f1\.[1-1000]. Please assist
ty
cannot add pppoe interface in cli
Re: cannot add pppoe interface in cli
Hi, hashbang.
For different instance you have to use different [CLI]tcp=127.0.0.1:port and use this port as arg for accel-cmd
For instance 1:
accel-cmd -p <Instance 1 port> pppoe interface add ens5f1.100
For instance 2:
accel-cmd -p <Instance 2 port> pppoe interface add ens4f1.200
For different instance you have to use different [CLI]tcp=127.0.0.1:port and use this port as arg for accel-cmd
For instance 1:
accel-cmd -p <Instance 1 port> pppoe interface add ens5f1.100
For instance 2:
accel-cmd -p <Instance 2 port> pppoe interface add ens4f1.200
Code: Select all
accel-cmd -h
Usage: accel-cmd [-v] [-4] [-6] [-n] [-f FAMILY] [-H HOST] [-p PORT] [-t TIMEOUT] [COMMAND]
-f, --family - Set protocol family to use for communicating with HOST. FAMILY can be set to "inet" (IPv4), "inet6" (IPv6) or "unspec" (automatic).
-4 - Shortcut for --family=inet.
-6 - Shortcut for --family=inet6.
-n, --numeric - Avoid name resolution for HOST and PORT.
-H, --host - Set hostname, or IP address, to communicate with. Defaults to "localhost".
-p, --port - Set remote port to use for communicating with HOST. Defaults to "2001".
-t, --timeout - Set inactivity timeout.
-P, --password - Set password for accessing HOST.
-v, --verbose - Verbose output.
-V, --version - Display version number and exit.
-h, --help - Display this help message and exit.
COMMAND is the accel-ppp command line to be executed (if omitted, commands are read from standard input).
The "help" command can be used (e.g. "accel-cmd help") to get information about available commands and their syntax.
Re: cannot add pppoe interface in cli
ty,
they are on different ports
accel-cmd -p 2002 pppoe interface add enp2s0f1.203
accel-cmd -p 2002 pppoe interface show
interface: connections: state:
-----------------------------------
enp2s0f1 0 active
in conf file
interface=enp2s0f1
if i change this to regular expression
interface=re:enp2s0f1\.
then it adds in cli
thanks
they are on different ports
accel-cmd -p 2002 pppoe interface add enp2s0f1.203
accel-cmd -p 2002 pppoe interface show
interface: connections: state:
-----------------------------------
enp2s0f1 0 active
in conf file
interface=enp2s0f1
if i change this to regular expression
interface=re:enp2s0f1\.
then it adds in cli
thanks
Re: cannot add pppoe interface in cli
bump
no one experienced this problem. I'll repeat the problem again.
if there is no interface added in conf file in pppoe section then giving this command doesnt add pppoe interface. You need to have one interface in conf file.
accel-cmd pppoe interface add enp3s0f1.222
results in no interface added.
and when you add this in conf file and restart the service. It gets added.
ty
no one experienced this problem. I'll repeat the problem again.
if there is no interface added in conf file in pppoe section then giving this command doesnt add pppoe interface. You need to have one interface in conf file.
accel-cmd pppoe interface add enp3s0f1.222
results in no interface added.
and when you add this in conf file and restart the service. It gets added.
ty
Re: cannot add pppoe interface in cli
Hi. It looks like you did something wrong or I dont get you
Code: Select all
root@accel-ppp-dev:~# accel-cmd pppoe interface show
interface: connections: state:
-----------------------------------
root@accel-ppp-dev:~# accel-cmd pppoe interface add ens19
root@accel-ppp-dev:~# accel-cmd pppoe interface show
interface: connections: state:
-----------------------------------
ens19 0 active
Re: cannot add pppoe interface in cli
hi,
TY,
I think i found the issue. maybe i'd mentioned it
if i add vlan interface example enp3s0f0.222 ONLY (with no physical interface). It simply accepts the command but dont add.
If i add physical interface first accel-cmd pppoe interface add enp3s0f0. It adds successfully
Now if i'd vlan interface accel-cmd pppoe interface add enp3s0f0.222 It adds successfully.
So wht i reckon is u need to have physical interface in list to add any other vlan interface.
ty
TY,
I think i found the issue. maybe i'd mentioned it
if i add vlan interface example enp3s0f0.222 ONLY (with no physical interface). It simply accepts the command but dont add.
If i add physical interface first accel-cmd pppoe interface add enp3s0f0. It adds successfully
Now if i'd vlan interface accel-cmd pppoe interface add enp3s0f0.222 It adds successfully.
So wht i reckon is u need to have physical interface in list to add any other vlan interface.
ty