background image

Command Manual – User Access 
H3C SecPath Series Security Products 

Chapter 2  PPPoE Server Configuration Commands

 

2-1 

Chapter 2  PPPoE Server Configuration 

Commands 

2.1.1  display pppoe-server session 

Syntax 

display pppoe-server session

 { 

all

 | 

packet

 } 

View 

Any view  

Parameter 

all

: Displays all information about each PPPoE session. 

packet

: Displays statistics about the packets on each PPPoE session. 

Description 

Use the 

display pppoe-server

 

session 

command to view the status and statistics of 

PPPoE session. 

Related command: 

link-protocol ppp

pppoe-server bind

Example 

# View all the session information of PPPoE. 

<H3C> display pppoe-server session all 

There is 1 session in total: 

SID   Intf           State  OIntf          RemMAC          LocMAC 

2  Virtual-Template1:0  UP  Ethernet0/0/0   0050.ba22.7369  00e0.fc08.f4de 

Table 2-1 

Output information description  

Field 

Description 

SID Session 

Identifier 

Intf 

The corresponding Virtual-Template interface 

State 

State of sessions 

OIntf 

corresponding Ethernet interface 

RemMAC 

Remote MAC, MAC address of the other end. 

LocMAC Local 

MAC 

 

Summary of Contents for SecPath Series

Page 1: ...ld 1 12 1 2 PPP Link Efficiency Mechanism Commands 1 13 1 2 1 debugging ppp compression iphc rtp 1 13 1 2 2 debugging ppp compression iphc tcp 1 14 1 2 3 display ppp compression iphc rtp 1 15 1 2 4 di...

Page 2: ...bundle 3 2 3 1 4 dialer group 3 3 3 1 5 dialer rule 3 4 3 1 6 dialer user 3 5 3 1 7 display pppoe client session 3 5 3 1 8 interface dialer 3 7 3 1 9 pppoe client 3 8 3 1 10 reset pppoe client 3 9 Cha...

Page 3: ...iew Parameter cbcp packet Enable CBCP packet debugging scp packet Enable SCP packet debugging ccp Enable CCP debugging all Enable all debugging switches event Enable event information debugging error...

Page 4: ...der compression debugging compression iphc tcp Enable IP TCP header compression debugging pap Enable PPP PAP authentication debugging vjcomp packet Enable PPP VJCOMP packet debugging all Enable all de...

Page 5: ...ket Enable PPP IP packet debugging ipcp Enable PPP IP control protocol debugging lcp Enable PPP network control protocol debugging lqc packet Enable PPP link quality control protocol debugging mp Enab...

Page 6: ...link control protocol NCP network layer control protocol PAP Password Authentication Protocol and CHAP Challenge Handshake Authentication Protocol It is widely used for it supports user authentication...

Page 7: ...tion if the name does not exist authentication is denied Otherwise the domain name configured for PPP authentication applies By default no authentication is performed There are two PPP authentication...

Page 8: ...assword for the local firewall to be authenticated in CHAP mode to mypwd in plain text H3C Virtual Template1 ppp chap password simple mypwd 1 1 7 ppp chap user Syntax ppp chap user username undo ppp c...

Page 9: ...all from allocating a DNS address to peers By default the firewall does not allocate DNS address to peers When peer devices connect with the firewall through PPP for example when a PC dials in the gat...

Page 10: ...SP this allows the firewall to accept the unsolicited DNS address allocated by the peer through negotiation and then use the allocated DNS server to resolve domain names Use the undo ppp ipcp dns admi...

Page 11: ...ipcp remote address forced command on the interface of the firewall Related command remote address Example Set the IP address to be allocated to the peer by the PPP encapsulated interface Dialer1 to 1...

Page 12: ...Example Enable interface Dialer0 to request for a DNS address H3C Dialer0 ppp ipcp dns request 1 1 12 ppp lqc Syntax ppp lqc forbidden percentage resumptive percentage undo ppp lqc View Interface view...

Page 13: ...raged to enable PPP LQC on a dial up line That is because in case the link is disabled the DCC would disconnect the dial up line resulting in inability of LQC to work LQC can operate again only after...

Page 14: ...mode to myuser and mypwd H3C Serial1 0 0 ppp pap local user myuser password simple mypwd 1 1 14 ppp timer negotiate Syntax ppp timer negotiate seconds undo ppp timer negotiate View Interface view Para...

Page 15: ...face Example Set the time cycle for sending keepalive packets from the interface Ethernet0 0 0 to 20 seconds H3C Ethernet0 0 0 timer hold 20 1 2 PPP Link Efficiency Mechanism Commands 1 2 1 debugging...

Page 16: ...l context_state error full_header general_info undo debugging ppp compression iphc tcp all context_state error full_header general_info View User view Parameter all Enables all IPHC TCP debugging cont...

Page 17: ...he display ppp compression iphc rtp command to view the statistic information of the RTP header compression Example H3C display ppp compression iphc rtp 1 2 4 display ppp compression iphc tcp Syntax d...

Page 18: ...splay ppp compression stac lzs command to view information about STAC LZS compression Example Display information about STAC LZS compression H3C display ppp compression stac lzs Staz lzs compression I...

Page 19: ...ression iphc View Interface view Parameter nonstandard Nonstandard encapsulation mode Description Use the ppp compression iphc command to enable IP header compression on the interface Use the undo ppp...

Page 20: ...and to cancel the configuration and restore the default value RTP is connection oriented the number of RTP connections that a link can accommodate is relatively large The use of compression however re...

Page 21: ...at a link can accommodate is relatively large The use of compression however requires the system to maintain some information for each connection when compressing headers To restrict the memory load g...

Page 22: ...all you are recommended to disable the function when the load on the firewall is heavy Note that STAC LZS compression can take effect on a PPP link only when the stac lzs option is configured on both...

Page 23: ...ession iphc 1 2 12 reset ppp compression stac lzs Syntax reset ppp compression stac lzs interface type interface number View User view Parameter interface type Interface type interface number Interfac...

Page 24: ...ay pppoe server session command to view the status and statistics of PPPoE session Related command link protocol ppp pppoe server bind Example View all the session information of PPPoE H3C display ppp...

Page 25: ...D Out Discard Discarded packages that might be sent 2 1 2 pppoe server bind virtual template Syntax pppoe server bind virtual template number undo pppoe server bind View Interface view Parameter numbe...

Page 26: ...f command to enable the output display By default the system outputs the PPP related log information generated by the PPPoE server Example Disable the output display of the PPP related log information...

Page 27: ...undo pppoe server max sessions remote mac View System view Parameter number Maximum number of PPPoE sessions that can be established at a peer MAC address Description Use the pppoe server max session...

Page 28: ...max sessions remote mac and pppoe server max sessions local mac Example Set the maximum number of PPPoE sessions established by the system to 300 H3C pppoe server max sessions total 300 2 1 7 reset p...

Page 29: ...ient error information debugging switch event Enable PPPoE client event debugging switch packet Enable PPPoE Discovery phase negotiation packet debugging switch verbose Display the verbose contents of...

Page 30: ...Dialer1 dialer enable circular 3 1 3 dialer bundle Syntax dialer bundle number undo dialer bundle View Dialer interface view Parameter number Number of dialer bundle ranging from 1 to 255 Description...

Page 31: ...the dialer access group By default the interface is not placed in the dialer access group This command is used for associating a physical interface with a dialer access group Through the dialer rule...

Page 32: ...ponds Description Use the dialer rule command to configure the conditions of the data packet that can trigger a DCC call Use the undo dialer rule command to cancel the setting By default no conditions...

Page 33: ...By default no remote user name is set This command is only valid on dialer interfaces of Resource Shared DCC Up to 255 Dialer users can be set on one Dialer interface When one Dialer interface is con...

Page 34: ...display pppoe client session summary There is 2 session in total ID Bundle Dialer Intf Client MAC Server MAC State 1 1 1 Eth0 00e0fc0254f3 00049a23b050 PPPUP 2 2 2 Eth0 00e0fc0254f3 00049a23b050 PPPUP...

Page 35: ...e of 0 to 1 023 Description Use the interface dialer command to create a dialer circular group for the Circular DCC or configure a dialer interface for the Resource Shared DCC Use the undo interface d...

Page 36: ...ndle number number Dialer Bundle number corresponding to PPPoE session and its value ranges from 1 to 255 The parameter number can be used to identify a PPPoE session or as a PPPoE session no hostuniq...

Page 37: ...data to transmit If there is no data transmission on the PPPoE link within seconds the firewall automatically terminates the PPPoE session Only when it has new data to transmit the PPPoE session can b...

Page 38: ...nd Manual User Access H3C SecPath Series Security Products Chapter 3 PPPoE Client Configuration Commands 3 10 Example Clear all PPPoE sessions and re initiate PPPoE session later H3C reset pppoe clien...

Page 39: ...ce Description Use the display vlan interface command to view the VLAN configuration information about a certain interface only supporting sub interface Example Display the VLAN configuration informat...

Page 40: ...arameter vid VLAN ID used to identify a VLAN Description Use the display vlan statistics vid command to view packet statistics on a certain VLAN e g the received packet number and the sent packet numb...

Page 41: ...this VLAN reaches the limitation the subsequently received packets belonging to the VLAN will be discarded Through this command you can perform flow control Related command display vlan max packet pro...

Page 42: ...o 4094 Description Use the vlan type dot1q command to set the encapsulation type on the sub interface By default there is no encapsulation on the subinterface nor VLAN ID associated with the subinterf...

Reviews: