跳转到内容
Ask AI

PPPoE Client Configuration

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

[Command] interface dialerdialer 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

[Command] ppp chap usernameusername password

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

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

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

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

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

[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