PPPoE Client Configuration
PPPoE Client Configuration
Section titled “PPPoE Client Configuration”interface dialer dialer id
Section titled “interface dialer dialer id”[Command]
interface dialer dialer id
[Purpose]
Configure dial-up interface ID
[Parameter]
| Parameter | Description |
|---|---|
| dialer id | id range:0~7 |
[View]
System view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1ppp chap username username password [challenge-name string]
Section titled “ppp chap username username password [challenge-name string]”[Command]
ppp chap username username password [challenge-name string]
[Purpose]
Configure PPP authentication username and password
[Parameter]
| Parameter | Description |
|---|---|
| username | username |
| password | password |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# ppp chap username test1 1234mru value
Section titled “mru value”[Command]
mru value
[Purpose]
Set the maximum receive unit for the client, with a default of 1492. The final receive unit size will be determined through negotiation with the server’s MRU value, typically based on the client’s setting. The negotiated result can be verified by checking the final MTU value on the PPP interface using the ifconfig command.
[Parameter]
| Parameter | Description |
|---|---|
| value | range of configuration:1312~10218 |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# mru 1400mtu MTU
Section titled “mtu MTU”[Command]
mtu MTU
[Purpose]
Configure MTU value
[Parameter]
| Parameter | Description |
|---|---|
| mtu | range of configuration:1312~10218 |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# mtu 9216tcp-mss-clamp Value
Section titled “tcp-mss-clamp Value”[Command]
tcp-mss-clamp Value
[Purpose]
Configure tcp-mss-clamp value
[Parameter]
| Parameter | Description |
|---|---|
| tcp-mss-clamp | range of configuration:536~10178 |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# tcp-mss-clamp 1500nat-zone id
Section titled “nat-zone id”[Command]
nat-zone id
[Purpose]
Configure nat zone
[Parameter]
| Parameter | Description |
|---|---|
| id | range of configuration:0~3 |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# nat-zone 1service-name string
Section titled “service-name string”[Command]
service-name string
[Purpose]
Configure the service name field on the client side to specify the specific service name that the PPPoE client expects to connect to.
[Parameter]
| Parameter | Description |
|---|---|
| String | Service Name |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# service-name test1keepalive interval
Section titled “keepalive interval”[Command]
keepalive interval
[Purpose]
Configure the keepalive value on the client side and specify the time interval for the current dial-up interface to send link keep alive messages.
[Parameter]
| Parameter | Description |
|---|---|
| Interval | Interval time, unit: seconds, configuration range: 0~65535 |
[View]
Dial up interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface dialer 1sonic(config-dialerif-1)# keepalive 10pppoe-client id
Section titled “pppoe-client id”[Command]
pppoe-client id
[Purpose]
Port binding pppoe client configuration
[Parameter]
| Parameter | Description |
|---|---|
| id | range of configuration:0~7 |
[View]
Interface view
[Use Cases]
sonic# configure terminalsonic(config)# interface ethernet 1sonic(config-if-1)# pppoe-client 1