PPPoE Client Configuration
interface dialer dialer
Section titled “interface dialer dialer”[Command] interface dialerdialer 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
Section titled “ppp chap username username”[Command] ppp chap usernameusername password
[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 1234[Command] mruvalue
[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 1400[Command] mtuMTU
[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
Section titled “tcp-mss-clamp”[Command] tcp-mss-clampValue
[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
Section titled “nat-zone”[Command] nat-zoneid
[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 1pppoe-client
Section titled “pppoe-client”[Command] pppoe-clientid
[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