跳转到内容
Ask AI

PPPoE Client Configuration

此内容尚不支持你的语言。

[Command]

interface dialer dialer id

[Purpose]

Configure dial-up interface ID

[Parameter]

ParameterDescription
dialer idid range:0~7

[View]

System view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1

ppp 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]

ParameterDescription
usernameusername
passwordpassword

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# ppp chap username test1 1234

[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]

ParameterDescription
valuerange of configuration:1312~10218

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# mru 1400

[Command]

mtu MTU

[Purpose]

Configure MTU value

[Parameter]

ParameterDescription
mturange of configuration:1312~10218

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# mtu 9216

[Command]

tcp-mss-clamp Value

[Purpose]

Configure tcp-mss-clamp value

[Parameter]

ParameterDescription
tcp-mss-clamprange of configuration:536~10178

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# tcp-mss-clamp 1500

[Command]

nat-zone id

[Purpose]

Configure nat zone

[Parameter]

ParameterDescription
idrange of configuration:0~3

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# nat-zone 1

[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]

ParameterDescription
StringService Name

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# service-name test1

[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]

ParameterDescription
IntervalInterval time, unit: seconds, configuration range: 0~65535

[View]

Dial up interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface dialer 1
sonic(config-dialerif-1)# keepalive 10

[Command]

pppoe-client id

[Purpose]

Port binding pppoe client configuration

[Parameter]

ParameterDescription
idrange of configuration:0~7

[View]

Interface view

[Use Cases]

sonic# configure terminal
sonic(config)# interface ethernet 1
sonic(config-if-1)# pppoe-client 1