HP HSR6800 Routers Layer 2 - WAN Command Reference Part number: 5998-4505 Software version: HSR6800-CMW520-R3303P05 Document version: 6PW105-20140507
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents ATM configuration commands ···································································································································· 1 atm class ···································································································································································· 1 atm-class ··························································································································································
ppp ipcp dns request ············································································································································ 43 ppp ipcp remote-address forced ·························································································································· 44 ppp lqc ··································································································································································· 45 ppp lqc lcp-ech
reset pppoe-server ················································································································································· 86 L2TP configuration commands ·································································································································· 87 allow l2tp ······························································································································································· 87 display
display fr interface ·············································································································································· 125 display fr lmi-info ················································································································································· 126 display fr map-info ·············································································································································· 127 display
Index ········································································································································································ 167 v
ATM configuration commands atm class Use atm class to create an ATM class and enter the ATM class view. Use undo atm class to delete the specified ATM class. Syntax atm class atm-class-name undo atm class atm-class-name Views System view Default command level 2: System level Parameters atm-class-name: Name of an ATM class, a string of 1 to 16 characters. Usage guidelines An ATM class is a group of predefined parameters that can be used for an ATM interface or PVC.
Parameters atm-class-name: Name of an ATM class, a string of 1 to 16 characters. Examples # Apply the ATM class named main to interface ATM 1/0/1. system-view [Sysname] interface atm 1/0/1 [Sysname-Atm1/0/1] atm-class main Related commands atm class atm-link check Use atm-link check to adapt the protocol state of an ATM P2P subinterface to the status of the PVC on the subinterface in addition to the status of the physical interface.
Views Layer 3 VE interface view, Layer 3 VE subinterface view Default command level 2: System level Parameters bandwidth-value: Specifies the intended bandwidth for the interface, in the range of 1 to 4294967295 kbps. Usage guidelines You can obtain the intended bandwidth of an interface by querying the ifspeed value of the MIB node with third-party software. The intended bandwidth is used for bandwidth monitoring of the network management, but does not affect the actual bandwidth of the interface.
Examples # Specify interface ATM 1/0/1 to use the internal transmission clock. system-view [Sysname] interface atm 1/0/1 [Sysname-Atm1/0/1] clock master Related commands display atm interface description Use description to configure a description for a VE interface. Use undo description to restore the default. Syntax description text undo description Default The description of a VE interface is interface name Interface, for example, Virtual-Ethernet1/0/1 Interface.
Related commands display interface display atm class Use display atm class to display the information about an ATM class. Syntax display atm class [ atm-class-name ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters atm-class-name: ATM class name, a string of 1 to 16 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display atm interface Use display atm interface to display the configuration and status information of the specified ATM interface, or all ATM interfaces if no ATM interface is specified. Syntax display atm interface [ atm interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface-number: Specifies an ATM interface to view its configuration and status information.
Field Description PVCs Number of PVCs configured on the interface. MAPs Number of mappings on the interface. input pkts: 0, input bytes: 0, input pkt errors: 0 Received packets, bytes, and errors. output pkts: 69, output bytes: 2218, output pkt errors: 8 Transmitted packets, bytes, and errors. Sub-interface Information Subinterface information. display atm map-info Use display atm map-info to display the PVC mapping information.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If no ATM interface is specified, the PVC mapping information of all ATM interfaces is displayed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier, and its value range is 0 to 255. VCI is short for virtual channel identifier, and its value range varies by interface type. HP recommends not using VCI values from 0 to 31, because they are reserved for special purposes. For more information about the value range, see Table 3. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. pvc-name: PVC name, a unique string of 1 to 16 characters on an ATM interface, case-insensitive. The name cannot be the same as a valid VPI/VCI value pair. For example, the name 1/20 is not allowed. vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier, and its value range is 0 to 255.
# Display information about a specified ATM PVC.
Field Description Interface State Link layer protocol status of the interface. PVC State PVC status. Output queue Information about each output queue on the PVC. OAM cells received Count of received OAM cells. F5 InEndloop Count of received F5 loopback cells. Count of received AIS cells. F5 InAIS If the AIS alarm state is not supported, this command displays only the count of AIS cells, not the AIS alarm state, which is the OAM AIS State field. Count of received RDI cells.
brief: Displays brief interface information. Without this keyword specified, this command displays detailed interface information. description: Displays complete interface description. If you do not specify this keyword, the command displays only the first 27 characters of the interface description. down: Displays information about interfaces in the down state and the causes. Without this keyword specified, this command displays information about interfaces in all states.
Internet protocol processing : disabled IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0023-8970-1fd7 IPv6 Packet Frame Type: PKTFMT_ETHNT_2, Last clearing of counters: Hardware Address: 0023-8970-1fd7 Never # Display brief information about interface Virtual-Ethernet 1/0/1.
Field Description Output queue : (Urgent queue : Size/Length/Discards) Packet statistics for the following output queues: Output queue : (Protocol queue : Size/Length/Discards) Output queue : (FIFO queuing : Size/Length/Discards) Last clearing of counters: Never Last 300 seconds input: 0 bytes/sec 0 packets/sec Last 300 seconds output: 0 bytes/sec 0 packets/sec • Urgent queues. • Protocol queues. • FIFO queues.
Related commands interface virtual-ethernet encapsulation Use encapsulation to specify an ATM AAL5 encapsulation type for a PVC. Use undo encapsulation to restore the default. Syntax encapsulation aal5-encap undo encapsulation Default Aal5snap encapsulation is used. Views PVC view, ATM class view Default command level 2: System level Parameters aal5-encap: Specifies an AAL5 encapsulation type.
undo interface atm interface-number.subnumber Default The connection type of subinterface is p2mp. Views System view Default command level 2: System level Parameters interface-number: Specifies an ATM main interface by its number. subnumber: Specifies an ATM subinterface by its number in the range of 0 to 1023. p2mp: Sets the connection type on the subinterface to point-to-multiple point. p2p: Sets the connection type on the subinterface to point-to-point.
Usage guidelines You cannot remove a Layer 3 VE interface that has been associated with a PVC. Examples # Create a Layer 3 VE interface Virtual-Ethernet 1/0/1. system-view [Sysname] interface virtual-ethernet 1/0/1 [Sysname-Virtual-Ethernet1/0/1] ip-precedence Use ip-precedence to set the precedence of the IP packets carried on PVCs. Use undo ip-precedence to remove the precedence setting of IP packets carried on PVCs.
Related commands • pvc-group • pvc Examples # Configure a PVC named aa, whose VPI/VCI is 1/32, to carry IP packets with precedence levels 0 to 3. system-view [Sysname] interface atm 1/0/1 [Sysname-Atm1/0/1] pvc-group aa 1/32 [Sysname-atm-pvc-group-Atm1/0/1-1/32-aa] ip-precedence aa 1/32 0 3 map bridge Use map bridge to establish the IPoEoA mapping or PPPoEoA mapping on a PVC. Use undo map bridge to delete the mapping.
[Sysname-atm-pvc-Atm2/0/1-1/102] map bridge virtual-ethernet 1/0/1 map ip Use map ip to create an IPoA mapping for the PVC. Use undo map ip to delete the mapping. Syntax In PVC view: map ip { ip-address [ ip-mask ] | default | inarp [ minutes ] } [ broadcast ] undo map ip { ip-address | default | inarp } In ATM class view: map ip inarp [ minutes ] [ broadcast ] undo map ip inarp Default No mapping is configured. If a mapping is configured, pseudo-broadcast is not supported by default.
Examples # Create an IPoA mapping on PVC 1/32, specifying the opposite IP address to 61.123.30.169 and supporting pseudo-broadcast. system-view [Sysname] interface atm 1/0/1 [Sysname-Atm1/0/1] pvc 1/32 [Sysname-atm-pvc-Atm1/0/1-1/32] map ip 61.123.30.169 broadcast # Enable InARP on PVC 1/33 and send InARP packets every 10 minutes.
[Sysname-atm-pvc-Atm1/0/1-1/101] map ppp virtual-template 10 mtu Use mtu to set the MTU on an ATM interface. Use undo mtu to restore the default. Syntax mtu mtu-number undo mtu Default The MTU for ATM interfaces is 1500 bytes. Views ATM interface view Default command level 2: System level Parameters mtu-number: Specifies the MTU size on an ATM interface in bytes. The value range for this argument is 128 to 2000 .
Default A PVC goes down when an AIS/RDI alarm cell is received and goes up if no AIS/RDI alarm cells are received in the last 3 seconds. Views PVC view, ATM class view Default command level 2: System level Parameters up up-seconds: Specifies that the PVC goes up if no AIS/RDI alarm cells are received in a period specified by the up-seconds argument (in seconds). The value range for the up-seconds argument is 3 to 60.
Default command level 2: System level Parameters frequency: Interval (in seconds) at which OAM F5 loopback cells are sent. The value range is 1 to 600. up up-count: Specifies that the PVC goes up when the number of successive OAM F5 loopback cells received correctly reaches the value specified by the up-count argument. The value range for the up-count argument is 1 to 600, and the default is 3.
values from 0 to 31, because they are reserved for special purposes. For more information about the value range, see Table 3. number: Specifies the number of OAM cells to be transmitted consecutively, in the range of 1 to 1000. The system default is 5. timeout: Specifies the OAM response timeout period in the range of 1 to 30 seconds. The system default is 2 seconds. Examples # Check the link state of PVC 1/32 on interface ATM 1/0/1, sending three cells and setting timeout period to 1 second.
Usage guidelines If you specified the pvc-name argument when creating a PVC, you can use the pvc pvc-name [ vpi/vci ] command to enter the view of that PVC. You can use either the undo pvc pvc-name [ vpi/vci ] command or the undo pvc vpi/vci command to delete that PVC. The VPI/VCI value of a PVC should be unique at an ATM interface (including the main interface and the subinterface). The actual number of PVCs that can be created depends on the pvc max-number command.
Before creating a PVC group, make sure the corresponding PVC exists. The encapsulation command and the oam-related commands are not applicable to secondary PVCs. The configurations corresponding to these commands on the primary PVC of a PVC group apply to all the secondary PVCs in the PVC group. Examples # Create a PVC group named aa, with the primary PVC being the PVC with the VPI/VCI value of 1/32.
The maximum number specified in this command is the total number of the PVCs available to both ATM main interface and the subinterfaces. This command applies to both ATM main interface and subinterface. However, the command itself is available only in ATM main interface view. Examples # Configure ATM 1/0/1 interface to support up to 1024 PVCs. system-view [Sysname] interface atm 1/0/1 [Sysname-Atm1/0/1] pvc max-number 1024 pvp limit Use pvp limit to set the parameters for VP policing.
• service vbr-rt • service ubr remark atm-clp Use remark atm-clp to configure the action of setting the CLP bit for ATM cells for the traffic behavior. Use undo remark atm-clp to cancel the action. Syntax remark [ green | red | yellow ] atm-clp atm-clp-value undo remark atm-clp Default The action of marking the CLP flag bit of ATM cells is not configured. Views Traffic behavior view Default command level 2: System level Parameters green: Sets the CLP bit for green packets.
Default command level 2: System level Parameters interface-number: Layer 3 VE interface number. Usage guidelines To collect traffic statistics for a specified period of time on an interface, clear the old statistics first. • Without the virtual-ethernet keyword specified, this command clears the statistics of all interfaces on the device. • If you specify the virtual-ethernet keyword without the interface-number argument, this command clears the statistics of all Layer 3 VE interfaces.
Interface type Value range of output-pcr ATM T1 64 to 1536 ATM E3 64 to 34000 ATM T3 64 to 44000 cdvt-value: Specifies the cell delay variation tolerance in μs. The effective range is 0 to 10,000 μs and the default is 500 μs. This argument cannot be configured in ATM class view. Usage guidelines Use this command to set the PVC service type and rate-related parameters. A newly set service type overwrites the previous one.
Default command level 2: System level Parameters output-pcr: Specifies the output peak rate of an ATM cell (in kbps). For more information about the value range, see Table 10. Usage guidelines Use this command and the service vbr-nrt, service vbr-rt, and service cbr commands to set the PVC service type and rate-related parameters. A newly set service type overwrites the previous one. Examples # Create a PVC named aa with the VPI/VCI value of 1/101.
output-mbs: Specifies the maximum burst size for ATM cell output, which specifies the maximum number of ATM cells that the output interface can cache. The value range is 1 to 512. Usage guidelines You can use this command as well as the service ubr, service vbr-rt and service cbr commands to set the service type and rate-related parameters of a PVC. A newly configured PVC service type overwrites the existing one. Examples # Create a PVC named aa, with the VPI/VCI value of 1/101.
Usage guidelines You can use this command as well as the service ubr, service cbr and service vbr-nrt commands to set the service type and rate-related parameters of a PVC. A newly configured PVC service type overwrites the existing one. This command is not applicable to ATM E1 interfaces. Examples # Create a PVC named aa with the VPI/VCI value of 1/101.
transmit-priority Use transmit-priority to assign transmission priority for an ATM PVC associated with the UBR, rt-VBR, or nrt-VBR service. At the time of bandwidth allocation, the PVCs with higher priorities take precedence over those with lower priorities. Use undo transmit-priority to restore the default transmission priority. Syntax transmit-priority value undo transmit-priority Default The transmission priority of UBR service, nrt-VBR service, and rt-VBR service are 0, 5, and 8.
PPP and MP configuration commands PPP configuration commands ip address ppp-negotiate Use ip address ppp-negotiate to enable IP address negotiation on the local interface, so that the local interface can accept the IP address allocated by the peer end. Use undo ip address ppp-negotiate to disable IP address negotiation. Syntax ip address ppp-negotiate undo ip address ppp-negotiate Default IP address negotiation is disabled.
Views VT interface view Default command level 2: System level Usage guidelines If extensible PPP accounting is enabled, AAA starts accounting after the PPP user notifies AAA of the peer IP address obtained in NCP negotiation. If extensible PPP accounting is disabled, AAA starts accounting after the PPP user starts NCP negotiation. Examples # Enable extensible PPP accounting on interface Virtual-Template 1.
addresses on the virtual template of the Ethernet interface, which cannot meet the demand. However, IP address pools configured in ISP domains can solve the problem. Examples # Configure IP address pool 0 that contains IP addresses 129.102.0.1 through 129.102.0.10. system-view [Sysname] domain test [Sysname-isp-test] ip pool 0 129.102.0.1 129.102.0.10 Related commands remote address link-protocol ppp Use link-protocol ppp to enable PPP encapsulation on an interface.
Parameters acl: Generates PPP accounting statistics for traffic that matches the configured ACL. If no ACL is configured, the device generates PPP accounting statistics for all traffic. acl-number: Specifies an ACL by its number in the range of 2000 to 3999, where: • 2000 to 2999 are numbers for basic IPv4 ACLs. • 3000 to 3999 are numbers for advanced IPv4 ACLs. name acl-name: Specifies an ACL by its name.
If you configure the ppp authentication-mode command without specifying the domain name, the system checks the username for domain information. If the username contains a domain name, the domain will be used for authentication If the domain does not exist, the user's access request will be denied. If the username does not contain a domain name, the default domain is used. You can use the domain default command to configure the default domain.
Parameters cipher: Sets a ciphertext password. simple: Sets a plaintext password. password: Specifies the password string for CHAP authentication. This argument is case sensitive. If simple is specified, it must be a string of 1 to 48 characters. If cipher is specified, it must be a ciphertext string of 1 to 97 characters. Usage guidelines For security purposes, all passwords, including passwords configured in plain text, are saved in cipher text to the configuration file.
[Sysname-Serial2/0/1] ppp chap user Root Related commands ppp authentication-mode ppp ipcp dns Use ppp ipcp dns to configure the primary and secondary DNS server IP addresses to be used in PPP negotiation. Use undo ppp ipcp dns to cancel the configuration. Syntax ppp ipcp dns primary-dns-address [ secondary-dns-address ] undo ppp ipcp dns primary-dns-address [ secondary-dns-address ] Default A device does not allocate DNS server IP addresses for its peer.
Syntax ppp ipcp dns admit-any undo ppp ipcp dns admit-any Default A device does not accept the DNS server IP addresses assigned by the peer if it does not request the peer for the DNS server IP addresses. Views Interface view Default command level 2: System level Usage guidelines You can configure a device to accept the DNS server IP addresses assigned by the peer, through which domain names can be resolved for the device.
Examples # Enable the device to request its peer for the DNS server IP address actively through interface Serial 2/0/1. system-view [Sysname] interface serial 2/0/1 [Sysname-Serial2/0/1] ppp ipcp dns request ppp ipcp remote-address forced Use ppp ipcp remote-address forced to configure a device to assign an IP address to the peer by force. This command also disables the peer from using a locally configured IP address. Use undo ppp ipcp remote-address forced to cancel the configuration.
ppp lqc Use ppp lqc to enable PPP link quality control (LQC). Use undo ppp lqc to disable PPP LQC. Syntax ppp lqc close-percentage [ resume-percentage ] undo ppp lqc Default PPP LQC is disabled. Views Interface view Default command level 2: System level Parameters close-percentage: PPP LQC close-percentage, in the range of 0 to 100. resume-percentage: PPP LQC resume-percentage, in the range of 0 to 100.
ppp lqc lcp-echo Use ppp lqc lcp-echo to configure an interface to periodically send large LCP echo packets on a PPP link. Use undo ppp lqc lcp-echo to restore the default. Syntax ppp lqc lcp-echo [ packet size ] [ interval seconds ] undo ppp lqc lcp-echo Default The interface does not send large LCP echo packets on a PPP link. Views Interface view Default command level 2: System level Parameters packet size: Specifies the size of LCP echo packets, in the range of 128 to 1500 bytes.
Usage guidelines HP recommends not using this feature when the IP addresses of the two peers are not in the same network segment. Otherwise, the peers might fail to communicate. Examples # Disable peer route creation on interface Serial 2/1/1. system-view [Sysname] interface serial 2/1/1 [Sysname-serial2/1/1] undo peer neighbor-route ppp pap local-user Use ppp pap local-user to set the local username and password for PAP authentication.
Related commands • local-user (Security Command Reference) • password (Security Command Reference) ppp timer negotiate Use ppp timer negotiate to set the PPP negotiation timeout time. Use undo ppp timer negotiate to restore the default. Syntax ppp timer negotiate seconds undo ppp timer negotiate Default The PPP negotiation timeout time is three seconds. Views Interface view Default command level 2: System level Parameters seconds: Negotiation timeout time to be set, in the range of 1 to 10 seconds.
Default command level 2: System level Examples # Enable PPP user binding. system-view [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ppp user bind enable Related commands ppp user bind virtual-template remote address Use remote address to set the IP address to be assigned to the peer device, or to specify the address pool used for assigning an IP address to the peer device. Use undo remote address to cancel the IP address configured to be assigned to the peer device.
command to assign an IP address to the peer from the address pool of the specified domain through AAA authentication, you can configure the command for the peer again. In this case, the original assigned IP address can still work, and the newly assigned IP address is used when the original one is released or used by a new PPP access. This command does not take effect until the next IPCP negotiation.
Examples # Set the interval and number of times for sending keepalive packets to 20 seconds and 10, respectively, on interface Serial 2/0/1. system-view [Sysname] interface serial 2/0/1 [Sysname-Serial2/0/1] timer hold 20 10 MP configuration commands bandwidth Use bandwidth to set the intended bandwidth for an interface. Use undo bandwidth to restore the default.
Use undo broadcast-limit link to restore the default. Syntax broadcast-limit link number undo broadcast-limit link Default The maximum number of links that can be used for transmitting multicast or broadcast packets is 30 for a VT. Views VT interface view Default command level 2: System level Parameters number: Maximum number of links that can be used for transmitting multicast or broadcast packets, in the range of 0 to 128.
Parameters text: Interface description, a case-sensitive character string of 1 to 80 characters. Examples # Set the description for interface VT 10 to virtual-interface. system-view [Sysname] interface virtual-template 10 [Sysname-Virtual-Template10] description virtual-interface # Set the description for interface MP-group 3 to mpgroup-interface.
If you specify the mp-group keyword without the mp-number argument, this command displays information about all existing MP-group interfaces. Examples # Display detailed information about interface MP-group 12.
Field Description Hold timer Interval at which the current interface sends keepalive packets. Internet protocol processing Network layer state (enabled or disabled). LCP initial LCP negotiation is complete. Physical Physical type of the interface. Output queue : (Urgent queue : Size/Length/Discards) Output queue : (Protocol queue : Size/Length/Discards) Traffic statistics of the interface output queues.
Field Description Cause Cause of a DOWN physical link. If the port has been shut down with the shutdown command, this field displays Administratively. To restore the physical state of the interface, use the undo shutdown command. display interface virtual-template Use display interface virtual-template to display the information about a VT.
Virtual-Template1 current state: UP Line protocol current state: UP (spoofing) Description: Virtual-Template1 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet Address is 6.1.1.
include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Examples # Display the information about all the MP interfaces.
Field Description 0 lost fragments Number of the lost fragments. 0 reordered Number of the packets reassembled. 0 unassigned Number of the packets waiting for being reassembled. 0 interleaved Number of the interleaved packets. sequence 0/0 rcvd/sent Received sequence number/sent sequence number. The member channels bundled are The following displays all the member channels bound in this logical channel.
vt vt-number: Specifies a VT number, in the range of 0 to 1023. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
Parameters mp-number: MP-group interface number. HSR6802, HSR6804, and HSR6808 routers support three-dimensional MP-group interface numbers, in the format of X/Y/Z: { { { X indicates the number of the slot where the base card resides. The value range depends on the device model. Y indicates the number of the slot where the subcard resides. The value range depends on the device model. Z indicates the interface number on the subcard. The value range is 0 to 1023.
mtu Use mtu to set the MTU size of the interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU of an interface is 1500 bytes. Views Virtual-template interface view, MP-group interface view Default command level 2: System level Parameters size: MTU in bytes, in the range of 128 to 2000. Examples # Set the MTU of VT 10 to 1200 bytes.
Usage guidelines To obtain more bandwidth, you can bind multiple PPP links to form a logical MP interface. Examples # Configure interface Serial 2/0/1 to operate in MP mode. (Assume that the interface has PPP encapsulation enabled.) system-view [Sysname] interface serial 2/0/1 [Sysname-Serial2/0/1] ppp mp ppp mp binding-mode Use ppp mp binding-mode to set the way in which MP binding is performed. Use undo ppp mp binding-mode to restore the default.
Related commands ppp mp user ppp mp endpoint Use ppp mp endpoint to configure the endpoint descriptor for LCP negotiation on an interface associated with a VT interface. Use undo ppp mp endpoint to restore the default endpoint descriptor. Syntax ppp mp endpoint string char-string undo ppp mp endpoint Default If the interface is assigned to an MP group by using the ppp mp mp-group command, the endpoint descriptor of the interface is the MP group interface name.
ppp mp fragment enable Use ppp mp fragment enable to enable MP fragmentation. Use undo ppp mp fragment enable disable MP fragmentation. Syntax ppp mp fragment enable undo ppp mp fragment enable Default MP fragmentation is enabled.
Parameters max-bind-num: Maximum number of links allowed in an MP bundle, in the range of 1 to 128. Usage guidelines Use the default setting in normal cases. Inappropriate use of this command can cause PPP performance degradation. Make sure you understand the impact of this command on your network before you use it. If the maximum number of links allowed in an MP bundle configured is less than the actual link number of an MP bundle, you will fail in MP binding.
Examples # Set the minimum MP packet size for fragmentation to 500 bytes. system-view [Sysname] interface virtual-template 0 [Sysname-Virtual-Template0] ppp mp min-fragment 500 ppp mp mp-group Use ppp mp mp-group to add the current interface to an MP-group. Use undo ppp mp to remove the current interface from the specified MP-group it belongs to.
ppp mp short-sequence Use ppp mp short-sequence to trigger MP short sequence number header format negotiation. After the negotiation succeeds, the local end receives packets with short sequence numbers. Use undo ppp mp short-sequence to restore the default. Syntax ppp mp short-sequence undo ppp mp short-sequence Default The long sequence number header format is used. Views Interface view Default command level 2: System level Usage guidelines This command applies to the incoming direction only.
Default command level 2: System level Parameters username: Username, a string of 1 to 80 characters. virtual-template number: Specifies a virtual-template number, in the range of 0 to 1023. Usage guidelines In establishing a PPP connection, if PPP authentication succeeds and a virtual-template is specified, the PPP link established will be added to the corresponding MP bundle according to the configuration of the virtual-template, and a new virtual interface will be formed for data transmission.
Usage guidelines After binding an interface to a VT interface, you can optionally enable PAP, CHAP, MS-CHAP, or MS-CHAP-V2 authentication. Interfaces bound to the same VT interface are bound together directly. The ppp mp virtual-template command and the ppp mp command are mutually exclusive. Examples # Bind interface Serial 2/0/1 to VT interface 1. (Assume the interface has PPP encapsulation enabled.
Default command level 2: System level Parameters interface-number: Number of a VT. Usage guidelines Before collecting traffic statistics within a specific period of time on a VT, clear the existing statistics. If you do not specify the virtual-template keyword, this command clears statistics on all interfaces. If you specify the virtual-template keyword without the interface-number argument, this command clears statistics on all VTs. Examples # Clear statistics on VT 10.
Syntax display ppp compression iphc rtp [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
Field Description Compress/Total: 0/0 (Packets) The number of sent compressed/total packets is 0/0. Send/Save/Total: 0/0/0 (Bytes) The bytes of sent/saved/total packets are 0/0/0. Connect: Number of connections. Rx Number of connections that the receiver can decompress. Tx Number of connections that the sender can compress. Long-search/Miss Times of searching compression entries and times of search failures.
Sent: Compress/Total: 0/0 (Packets) Send/Save/Total: 0/0/0 (Bytes) Connect: Rx/Tx: 16/16 Long-search/Miss: 0/0 Table 14 Command output Field Description Received Statistics on received packets. Compress/Error/Discard/Total: 0/0/0/0 (Packets) The number of received compressed/error/discarded/total packets is 0/0/0/0. Sent Statistics on sent packets. Compress/Total: 0/0 (Packets) The number of sent compressed/total packets is 0/0.
Examples # Enable LFI on Virtual-Template1 interface. system-view [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ppp mp lfi Related commands • ppp mp lfi delay-per-frag • ppp mp lfi size-per-frag ppp mp lfi delay-per-frag Use ppp mp lfi delay-per-frag to set the maximum delay for transmitting an LFI fragment. Use undo ppp mp lfi delay-per-frag to restore the default.
Views Virtual template interface view, MP-group interface view Default command level 2: System level Parameters size: Maximum size of an LFI fragment, in bytes, in the range of 40 to 1500. Examples # Configure the maximum size of LFI fragments on interface Virtual-Template 1 as 80 bytes.
Examples # Enable IP header compression on interface Serial 4/2/0. system-view [Sysname] interface serial 4/2/0 [Sysname-Serial4/2/0] ppp compression iphc Related commands • ppp compression iphc rtp-connections • ppp compression iphc tcp-connections ppp compression iphc rtp-connections Use ppp compression iphc rtp-connections to set the maximum number of connections for which an interface can perform RTP header compression.
ppp compression iphc tcp-connections Use ppp compression iphc tcp-connections to set the maximum number of connections for which an interface can perform TCP header compression. Use undo ppp compression iphc tcp-connections to restore the default, which is 16.
Parameters Interface-type Interface-number: Specifies an interface by its type and number. Usage guidelines If the interface-type interface-number argument is not provided, this command clears the IP header compression statistics on all interfaces. Examples # Clear the IP header compression statistics on all interfaces.
PPPoE server configuration commands Support for the commands in this chapter depends on the device model. Cross-card Layer 3 aggregate interfaces do not support the commands in this chapter. display pppoe-server session Use display pppoe-server session to display the information for PPPoE sessions.
Field Description LocMAC Local MAC address. pppoe-server abnormal-offline-count threshold Use pppoe-server abnormal-offline-count threshold to set the upper threshold for the PPPoE abnormal offline event count in five minutes. Use undo pppoe-server abnormal-offline-count threshold to restore the default.
Views System view Default command level 2: System level Parameters number: Upper threshold for the PPPoE abnormal offline event percentage, in the range of 0 to 100. Usage guidelines If the PPPoE abnormal offline event percentage in the last five minutes exceeds this threshold, the system outputs a trap message. PPPoE abnormal offline event percentage = 100 x Abnormal offline event count/(Abnormal offline event count + Normal offline event count).
pppoe-server log-information off Use pppoe-server log-information off to disable PPP log displaying on a device operating as a PPPoE server. Use undo pppoe-server log-information off to restore the default. Syntax pppoe-server log-information off undo pppoe-server log-information off Default PPP log displaying is enabled on a PPPoE server.
Parameters number: Maximum number of sessions allowed with regard to the local MAC address. The value range is 1 to 4096. Examples # Set the maximum number of PPPoE sessions allowed with regard to the local MAC address to 50. (Assume the device is operating as a PPPoE server.
undo pppoe-server max-sessions slot slot-number In IRF mode: pppoe-server max-sessions chassis chassis-number slot slot-number total number undo pppoe-server max-sessions chassis chassis-number slot slot-number Default The maximum number of PPPoE sessions allowed varies by device. Views System view Default command level 2: System level Parameters slot slot-number: Specifies a card by its slot number. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device.
Default command level 2: System level Parameters number: Lower threshold for the PPPoE normal offline event percentage, in the range of 0 to 100. Usage guidelines If the PPPoE normal offline event percentage in the last five minutes is lower than this threshold, the system outputs a trap message. PPPoE normal offline event percentage = 100 – PPPoE abnormal offline event percentage. Examples # Set the lower threshold for the PPPoE normal offline event percentage to 10.
L2TP configuration commands allow l2tp Use allow l2tp to specify the VT interface for receiving calls, the tunnel name on the LAC, and the domain name. Use undo allow to remove the configuration. Syntax allow l2tp virtual-template virtual-template-number remote remote-name [ domain domain-name ] undo allow Default An LNS denies all incoming calls.
system-view [Sysname] l2tp-group 2 [Sysname-l2tp2] allow l2tp virtual-template 1 remote aaa # Specify L2TP group 1 as the default L2TP group, accept the L2TP tunneling request initiated by any peer, and create a VA interface based on virtual template 1. system-view [Sysname] l2tp-group 1 [Sysname-l2tp1] allow l2tp virtual-template 1 Related commands l2tp-group display l2tp session Use display l2tp session to display information about L2TP sessions.
Related commands display l2tp tunnel display l2tp tunnel Use display l2tp tunnel to display information about L2TP tunnels. Syntax display l2tp tunnel [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
display ppp access-control interface Use display ppp access-control interface to display statistics about the dynamic firewalls on the VA interfaces created based on the specified VT interface. Syntax display ppp access-control interface interface-type interface-number [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number.
Table 18 Command output Field Description Interface VA interface servicing the PPP user. User Name PPP username. In-bound Policy ACL that filters PPP user data packets. From xx to xx Time range during which the firewall takes effect. x packets, x bytes, x% permitted Indicates the packets permitted by ACL rules: the number of packets and bytes, and the percentage of the permitted to the total.
[Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] Related commands allow l2tp l2tp enable Use l2tp enable to enable the L2TP function. Use undo l2tp enable to disable the L2TP function. Syntax l2tp enable undo l2tp enable Default The L2TP function is disabled. Views System view Default command level 2: System level Usage guidelines L2TP must be enabled for relevant L2TP configurations to take effect. Examples # Enable the L2TP function.
Default command level 2: System level Parameters group-number: Number of an L2TP group, in the range of 1 to 1000. Usage guidelines When you use the undo l2tp-group command to remove an L2TP group, all configuration information associated with the group will be deleted. Examples # Create an L2TP group numbered 2, and enter its view.
mandatory-chap Use mandatory-chap to force the LNS to perform a CHAP authentication of the user. Use undo mandatory-chap to disable CHAP authentication on the LNS. Syntax mandatory-chap undo mandatory-chap Default An LNS does not perform CHAP authentication of users. Views L2TP group view Default command level 2: System level Usage guidelines An LNS authenticates the client in addition to the proxy authentication that occurs at the LAC for higher security.
Default command level 2: System level Usage guidelines When you start a PPP session, a client of NAS-initialized VPN will first negotiate with the NAS for LCP parameters. If the negotiation succeeds, the NAS initializes a tunnel and then transfers the negotiated results to the LNS. Then the LNS verifies whether the client is valid, depending on the proxy authentication information. You can use the mandatory-lcp command to force the LNS to perform LCP re-negotiation for the client.
Syntax ppp lcp imsi request undo ppp lcp imsi request Default The LNS side does not initiate an IMSI negotiation request. Views VT interface view Default command level 2: System level Examples # Configure the LNS side to initiate an IMSI negotiation request. system-view [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ppp lcp imsi request ppp lcp imsi string Use ppp lcp imsi string to configure IMSI information for the client.
Use undo ppp lcp sn accept to restore the default. Syntax ppp lcp sn accept undo ppp lcp sn accept Default The client side rejects LNS-initiated SN negotiation requests. Views VT interface view Default command level 2: System level Examples # Configure the client side to accept LNS-initiated SN negotiation requests.
Syntax ppp lcp sn string sn-info undo ppp lcp sn string Default SN information is automatically obtained from the client. Views VT interface view Default command level 2: System level Parameters string sn-info: Configures SN information for the client, a case-sensitive string of 1 to 31 characters. Examples # Configure SN information as sn1 for the client.
system-view [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1]ppp user accept-format imsi-sn split # ppp user attach-format imsi-sn split Use ppp user attach-format imsi-sn split to configure a separator for the username sent for authentication during negotiation. Use undo ppp user attach-format to remove the configured separator. Syntax ppp user attach-format imsi-sn split splitchart undo ppp user attach-format Default No separator is configured.
Default command level 2: System level Examples # Replace the username with IMSI for authentication during negotiation. system-view [Sysname] interface virtual-template 1 [Sysname-Virtual-Template1] ppp user replace imsi reset l2tp tunnel Use reset l2tp tunnel to disconnect tunnels and all sessions of the tunnels.
Views L2TP group view Default command level 2: System level Parameters { ip ip-address }&<1-5>: Specifies the IP addresses of the tunnel peers (LNSs). &<1-5> means that you can specify up to five IP addresses. domain domain-name: Specifies the user domain that triggers the device to initiate a tunneling request to the tunnel peer. The domain-name argument is the name of a user domain, a case-insensitive string of 1 to 30 characters.
Usage guidelines Generally, authentication is required at both ends of a tunnel for the sake of security. However, you can disable the authentication when you check network connectivity or you have to receive tunneling requests from unknown tunnel peers. Examples # Disable L2TP tunnel authentication. system-view [Sysname] l2tp-group 1 [Sysname-l2tp1] undo tunnel authentication tunnel avp-hidden Use tunnel avp-hidden to specify to transfer AVP data in hidden mode.
Views L2TP group view Default command level 2: System level Examples # Enable the L2TP tunnel flow control function. system-view [Sysname] l2tp-group 1 [Sysname-l2tp1] tunnel flow-control tunnel name Use tunnel name to specify the name of a tunnel at the local end. Use undo tunnel name to restore the default. Syntax tunnel name name undo tunnel name Default A tunnel takes the system name of the device as its name at the local end.
undo tunnel password Default The key for tunnel authentication is null. Views L2TP group view Default command level 2: System level Parameters cipher: Sets a ciphertext key. simple: Sets a plaintext key. password: Specifies the key for tunnel authentication. This argument is case sensitive. If simple is specified, it must be a string of 1 to 53 characters. If cipher is specified, it must be a ciphertext string of 1 to 16 characters.
Usage guidelines You can set different hello intervals for the LNS and LAC. Examples # Set the hello interval to 99 seconds.
HDLC configuration commands link-protocol hdlc Use link-protocol hdlc to enable HDLC encapsulation on an interface. Syntax link-protocol hdlc Default PPP encapsulation is configured on an interface. Views Interface view Default command level 2: System level Usage guidelines HDLC can carry the network layer protocols, such as IP. Related commands timer hold Examples # Enable HDLC encapsulation on interface Serial 2/0/1.
Default command level 2: System level Parameters seconds: Specifies the link status polling interval (in seconds), in the range of 0 to 32767. retries: Specifies the link status polling times, in the range of 1 to 255. Usage guidelines H3C recommends that you set the same polling interval for the two ends of a link. If you set the link status polling interval to 0, the link status check function is disabled.
HDLC link bundling configuration commands bandwidth Use bandwidth to set the intended bandwidth for a HDLC link bundle interface. Use undo bandwidth to restore the default. Syntax bandwidth bandwidth-value undo bandwidth Views HDLC link bundle interface view Default command level 2: System level Parameters bandwidth-value: Specifies the intended bandwidth in the range of 1 to 4294967295 kbps.
Default command level 2: System level Parameters per-flow: Specifies per-flow load balancing. per-packet: Specifies per-packet load balancing. Usage guidelines The following load balancing modes are available: • Per-flow load balancing—Forwards packets of the same flow out of the same selected interface. A flow is identified by match criteria. { { • For IPv4 and IPv6 packets, the match criteria include source IP address and destination IP address. For MPLS packets, the match criteria are MPLS labels.
The link layer protocol of an interface to be assigned to an HDLC link bundle can only be HDLC. You cannot change the link layer protocol of an HDLC link bundle member interface. You can assign interfaces to an HDLC link bundle before you create the bundle. Examples # Assign POS 5/0/1 to HDLC link bundle numbered 1.
bundle member-priority Use bundle member-priority to set the bundling priority for an HDLC-enabled interface. Use undo bundle member-priority to restore the default. Syntax bundle member-priority priority undo bundle member-priority Default The bundling priority of an HDLC-enabled interface is 32768. Views Interface view Default command level 2: System level Parameters priority: Bundling priority of an HDLC-enabled interface. The value range for this argument is 1 to 65535.
Parameters bandwidth: Minimum amount of bandwidth (in kbps) required to bring up the HDLC link bundle. The value range for this argument is 64 to 1342177280. Examples # Set the minimum amount of bandwidth required to bring up HDLC link bundle 1 to 1000 kbps.
Syntax description text undo description Default The description of an interface is the interface name followed by the Interface string, for example, Hdlc-bundle1 Interface. Views HDLC link bundle interface view Default command level 2: System level Parameters text: Description of an interface, a case-sensitive string of 1 to 240 characters. Examples # Configure the description of HDLC link bundle interface 1 as hdlc-bundle interface.
• Basic information about the HDLC link bundle, including the limit on the number of selected member interfaces in the HDLC link bundle, the number of selected member interfaces required to bring up the HDLC link bundle, the minimum amount of bandwidth required to bring up the HDLC link bundle, the number of selected member interfaces, and the total bandwidth of all the selected member interfaces • The slot number of the HDLC link bundle interface • Information about individual member interfaces, inclu
Table 19 Command output Field Description bundle Name of the HDLC link bundle. slot Slot number of the interface card for which HDLC link bundling information is displayed. max-active links Limit on the number of selected member interfaces in the HDLC link bundle. This field will not be displayed if you have not limited the number of selected member interfaces in the HDLC link bundle. min-active links Number of selected member interfaces required to bring up the HDLC link bundle.
brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information. down: Displays information about interfaces in the DOWN state and the link down causes. If you do not specify this keyword, this command displays information about interfaces in all states. description: Displays the entire interface description.
Link: ADM - administratively down; Stby - standby Interface Link Cause HBDL2 DOWN Not connected Table 20 Command output Field Description Physical state of the HDLC link bundle interface: • DOWN (Administratively)—The interface is shut down using the shutdown command. HDLC-bundle1 current state • DOWN—The interface is administratively up but physically down. • UP—The interface is up both administratively and physically.
Field Description Link status: • ADM—The interface has been administratively shut Link: ADM - administratively down; Stby - standby down. To recover its physical state, perform the undo shutdown command. • Stby—The interface is operating as a backup interface. To see the primary interface, use the display standby state command (High Availability Command Reference).
Examples # Create HDLC link bundle interface 1 and enter its view. system-view [Sysname] interface hdlc-bundle 1 [Sysname-Hdlc-bundle1] mtu Use mtu to set the MTU size for an HDLC link bundle interface. Use undo mtu to restore the default. Syntax mtu size undo mtu Default The MTU size of an HDLC link bundle interface is 1500 bytes. Views HDLC link bundle interface view Default command level 2: System level Parameters size: Specifies the MTU in bytes on an HDLC link bundle interface.
Parameters bundle-id: ID of an HDLC link bundle interface. Usage guidelines Before collecting traffic statistics within a specific period of time on an interface, you must clear the existing statistics. If you do not specify hdlc-bundle, this command clears the statistics of all interfaces. If you specify hdlc-bundle but not bundle-id, this command clears the statistics of all HDLC link bundle interfaces.
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the IRF member ID, and the slot-number argument represents the slot number of the card. (In IRF mode.) Usage guidelines After a card is specified to handle traffic for an HDLC link bundle interface, all traffic that arrives at the bundle interface will be processed or forwarded by the card regardless of whether the receiving interface is located on the card or not.
[Sysname-Hdlc-bundle1] shutdown 122
Frame relay configuration commands Basic frame relay configuration commands display fr dlci-switch Use display fr dlci-switch to display the frame relay (FR) switching configuration. Syntax display fr dlci-switch [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number.
Field Description Interface(Dlci) <----------> Interface(Dlci) Input interface and its DLCI, and output interface and its DLCI. display fr inarp-info Use display fr inarp-info to display statistics about frame relay InARP packets, including requests and replies, for the specified or all main interfaces.
Field Description In ARP reply Received ARP replies. Related commands fr inarp display fr interface Use display fr interface to display information about the specified or all frame relay interfaces. Syntax display fr interface [ interface-type { interface-number | interface-number.subnumber } ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface-type { interface-number | interface-number.
display fr lmi-info Use display fr lmi-info to display the LMI frame statistics of an interface. If no interface is specified, the LMI frame statistics for all main interfaces are displayed. Syntax display fr lmi-info [ interface interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type interface-number: Specifies an interface by its type and number.
Field Description N391DTE = 6, N392DTE = 3, N393DTE = 4 DTE-side N.391, N.392, and N.393 settings. out status enquiry = 96, in status = 85 Number of the Status-Enquiry packets sent out through the interface and number of the Status messages received through the interface. status timeout = 3, discarded messages = 3 Number of the Status messages that are timed out and number of the discarded messages.
Usage guidelines This command displays whether the static address map entries are correct and whether dynamic address mapping operates correctly. Examples # Display the frame relay address map table. display fr map-info Map Statistics for interface Serial2/0/0 (DTE) DLCI = 100, IP INARP 100.100.1.1, Serial2/0/0 create time = 2002/0/10/21 14:48:44, status = ACTIVE encapsulation = ietf, vlink = 14, broadcast DLCI = 200, IP INARP 100.100.1.
Syntax display fr pvc-info interface interface-type { interface-number | interface-number.subnumber } [ dlci-number ] [ | { begin | exclude | include } regular-expression ] Views Any view Default command level 1: Monitor level Parameters interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its type and number. It can be a main or subinterface. The interface-number argument is a main interface number.
Table 26 Command output Field Description PVC statistics for interface Serial2/0/0 (DTE, physical UP) Display information about PVCs on the frame relay interface Serial 2/0/0. The interface operates in DTE mode, and is physically up. DLCI = 100, USAGE = UNUSED (0000), Serial2/0/0 DLCI 100 was assigned to the PVC through negotiation of LMI with DCE end. Its state is unused, and it belongs to interface Serial 2/0/0.
Examples # Display frame relay statistics about received and sent packets. display fr statistics Frame relay packet statistics for interface Serial2/0/0 (DTE) in packets = 84, in bytes = 1333 out packets = 92, out bytes = 1217 discarded in packets = 13, discarded out packets = 0 Frame relay packet statistics for interface Serial2/0/0.
On a DTE main interface, the device automatically creates virtual circuits according to the settings received from the DCE side. If you do that manually, make sure the DLCIs of the virtual circuits are identical to those used on the DCE. On a DTE subinterface, you must manually create the virtual circuits. Examples # Assign a virtual circuit with DLCI 100 to frame relay interface Serial 2/0/0.
Examples # Enable InARP at all PVCs of the frame relay interface Serial 2/0/0. system-view [Sysname] interface serial 2/0/0 [Sysname-Serial2/0/0] fr inarp fr interface-type Use fr interface-type to set the frame relay interface type. Use undo fr interface-type to restore the default frame relay interface type. Syntax fr interface-type { dce | dte | nni } undo fr interface-type Default The frame relay interface type is DTE.
Views Interface view Default command level 2: System level Parameters n391-value: The value of counter N391, is in the range of 1 to 255. Usage guidelines The DTE sends a Status-Enquiry message at a regular interval set by T391 to the DCE. The Status-Enquiry messages include the following types: link integrity verification messages and full link status enquiry messages. N391 defines that the ratio of sent link integrity verification messages to sent link Status-Enquiry messages is (N391–1):1.
The N392 counter sets an error threshold for the total number of monitored events set by the N393 counter. If the number of errors that occur among N393 events reaches the error threshold, the DCE considers the physical link and all DLCIs unavailable. N392 must be less than N393 on the DCE side. Examples # Set frame relay interface Serial 2/0/0 to operate in DCE mode, and set N392 to 5 and N393 to 6.
[Sysname] interface serial2/0/0 [Sysname-Serial2/0/0] link-protocol fr [Sysname-Serial2/0/0] fr interface-type dce [Sysname-Serial2/0/0] fr lmi n392dce 5 [Sysname-Serial2/0/0] fr lmi n393dce 6 fr lmi n393dce Use fr lmi n393dce to set the DCE-side N393 counter. Use undo fr lmi n393dce to restore the default. Syntax fr lmi n393dce n393-value undo fr lmi n393dce Default The DCE-side N393 counter is 4.
Use undo fr lmi n393dte to restore the default. Syntax fr lmi n393dte n393-value undo fr lmi n393dte Default The DTE-side N393 counter is 4. Views Interface view Default command level 2: System level Parameters n393-value: Sets the DTE-side N393 counter. It is in the range of 1 to 10. Usage guidelines The DTE sends Status-Enquiry messages at a regular interval to the DCE to inquire link status. On receiving a Status-Enquiry message, the DCE immediately sends a Status message.
Views Interface view Default command level 2: System level Parameters t392-value: Sets the DCE-side T392 timer, in seconds. The value range is 5 to 30. Usage guidelines The DCE-side T392 timer defines the maximum time that the DCE waits for a Status-Enquiry message. The DCE-side T392 timer must be greater than the DTE-side T391 timer (set by the timer hold command). Examples # Set frame relay interface Serial 2/0/0 to operate in DCE mode, and set T392 to 10 seconds.
Examples # Set the frame relay LMI type of Serial 2/0/0 to nonstandard compatible protocol. system-view [Sysname] interface serial 2/0/0 [Sysname-Serial2/0/0] fr lmi type nonstandard fr map ip Use fr map ip to add an IP address map entry for frame relay. Use undo fr map ip to remove an IP address map entry for frame relay.
fr switch Use fr switch name interface interface-type interface-number dlci dlci1 interface interface-type interface-number dlci dlci2 to create a PVC used for FR switching. Use fr switch name to enter the view of a PVC used for FR switching. Use undo fr switch to delete a specified PVC. Syntax fr switch name [ interface interface-type interface-number dlci dlci1 interface interface-type interface-number dlci dlci2 ] undo fr switch name Default No PVC used for FR switching exists.
undo fr switching Default FR switching is disabled. Views System view Default command level 2: System level Examples # Enable FR switching. system-view [Sysname] fr switching interface Use interface to create subinterface and enter subinterface view. Use undo interface to delete subinterface. Syntax interface interface-type interface-number.subnumber [ p2mp | p2p ] undo interface interface-type interface-number.
Syntax link-protocol fr [ ietf | nonstandard ] Default PPP is enabled. Views Interface view Default command level 2: System level Parameters ietf: Specifies the default encapsulation format according to the IETF standard. nonstandard: Specifies the nonstandard compatible encapsulation format. Usage guidelines If neither ietf nor nonstandard is specified, the command enables IETF frame relay. The frame relay encapsulation can be either ietf or nonstandard.
Parameters interface-number: MFR interface number. Usage guidelines Before performing this command, make sure the specified MFR interface already exists. A maximum of 16 physical interfaces can be bundled onto an MFR interface. To delete a physical interface from an MFR interface, use the link-protocol command on the interface to configure a link layer protocol except MFR.
Syntax reset fr pvc interface serial interface-number [ dlci dlci-number ] Views User view Default command level 2: System level Parameters interface-number: Interface number. dlci dlci-number: Specifies the DLCI to be assigned to an FR interface, in the range 16 to 1007. DLCI 0 through 15 and 1008 through 1023 are reserved for special use and are unavailable. Examples # Clear PVC statistics on Serial 2/0/0.
Syntax timer hold seconds retries undo timer hold Default The T391 parameter is 10 seconds, and the times for which the DTE sends status enquiry messages is 5. Views Interface view Default command level 2: System level Parameters seconds: Sets the value of T391 parameter at DTE side, in the range of 0 to 32767 in seconds. 0 indicates that the LMI protocol is disabled. retries: Specifies the times for which the DTE sends status enquiry messages, in the range of 1 to 255.
Default command level 2: System level Parameters bandwidth-value: Intended bandwidth, which is in the range of 1 to 4294967295 kbps. Usage guidelines You can obtain the intended bandwidth of an interface by using third-party software to query the value of the MIB ifspeed. The intended bandwidth of an interface is for the network management system to monitor the interface bandwidth, and does not affect the actual bandwidth of the interface.
begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Usage guidelines If you do not specify the mfr keyword, this command displays information about all interfaces on the current device.
Table 28 Command output Field Description Physical layer state of the MFR interface: • DOWN (Administratively)—Indicates that the interface has been shut down with the shutdown command. current state • DOWN—Indicates that the interface is physically down but administratively up. • UP—Indicates that the interface is both administratively and physically up. Link layer state of the MFR interface: • DOWN—Indicates that the link layer of the interface is down.
Field Description The brief information of interface(s) under route mode Brief information about Layer 3 interfaces. Link status: • ADM—The interface has been administratively shut Link: ADM - administratively down; Stby - standby down. To recover its physical state, perform the undo shutdown command. • Stby—The interface is operating as a backup interface. To see the primary interface, use the display standby state command (High Availability Command Reference).
verbose: Displays detailed statistics information, including the number of controlling packets sent and received. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
# Display detailed state information about all frame relay bundle links.
Field Description Number of sent and received Add_link acknowledgment messages. Add_link_ack(TX/RX) Add_link_ack messages notify receipt of the Add_link messages. Number of sent and received Add_link reject messages. Add_link_rej(TX/RX) Add_link_rej messages notify reject of the Add_link messages. Number of sent and received Remove_link messages. Remove_link(TX/RX) Remove_link messages notify removal of a link from the bundle. Number of sent and received Remove_link_ack messages.
Views System view Default command level 2: System level Parameters interface-number: MFR interface number. interface-number.subnumber: MFR subinterface number, of which, interface-number is the main interface number, and subnumber is the subinterface number, which is in the range of 1 to 1023. p2mp: Point-to-multipoint subinterface. p2p: Point-to-point subinterface. Usage guidelines To create an MFR subinterface successfully, make sure the MFR interface already exists.
Usage guidelines Before performing this command, make sure the specified MFR interface already exists. A maximum of 16 physical interfaces can be bundled onto an MFR interface. To delete a physical interface from an MFR interface, use the link-protocol command on the interface to configure a link layer protocol except MFR. After MFR encapsulation is enabled on a physical interface, the interface belongs to an MFR interface and cannot be configured with any FR-related commands except MFR.
system-view [Sysname] interface mfr 4/0/0 [Sysname-MFR4/0/0] mfr bundle-name bundle1 mfr fragment Use mfr fragment to enable fragmentation on the MFR bundle. Use undo mfr fragment to disable the function. Syntax mfr fragment undo mfr fragment Default Fragmentation is disabled on the MFR bundle. Views MFR interface view Default command level 2: System level Examples # Enable fragmentation on interface MFR 4/0/0.
Examples # Configure the maximum fragment size allowed on interface MFR 4/0/0 to be 70 bytes. system-view [Sysname] interface mfr 4/0/0 [Sysname-MFR4/0/0] mfr fragment-size 70 mfr link-name Use mfr link-name to set the frame relay bundle link identification (LID). Use undo mfr link-name to restore the default. Syntax mfr link-name [ name ] undo mfr link-name Default LID is the name of the physical interface.
Syntax mfr retry number undo mfr retry Default The maximum retry times for which a frame relay bundle link can resend hello message is twice. Views Frame relay interface view Default command level 2: System level Parameters number: Maximum retry times for which a bundle link can resend hello messages, in the range 1 to 5. Usage guidelines The bundle link sustains link status by periodically sending hello message to the peer end.
Parameters seconds: Time (in seconds) of waiting for hello acknowledgment message before resending hello message, in the range 1 to 10. Usage guidelines The bundle link sustains link status by periodically sending hello message to the peer end. If the times that a bundle link resends hello message reach the maximum without receiving acknowledgement from the peer, the system will regard the link protocol on the bundle link to be malfunctioning.
system-view [Sysname] interface serial 2/0/0 [Sysname-Serial2/0/0] link-protocol fr mfr 4/0/0 [Sysname-Serial2/0/0] mfr timer hello 15 mfr window-size Use mfr window-size to configure the number of fragments that can be held by the window used in sliding window algorithm when multilink frame relay reassembles received fragments. Use undo mfr window-size to restore the default.
Usage guidelines To collect statistics spanning a specific period for an interface, you must clear statistics of the interface before starting statistics collection. • If you do not specify mfr, this command clears the statistics of all interfaces. • If you specify the mfr but not an interface number, this command clears the statistics of all MFR interfaces. • If you specify both mfr and an interface number, this command clears the statistics of the specified MFR interface.
Modem management commands modem Use modem to enable modem call-in, modem call-out, or both on a user interface. Use undo modem to disable modem call-in, modem call-out, or both. Syntax modem [ both | call-in | call-out ] undo modem [ both | call-in | call-out ] Default Both modem call-in and call-out are disabled. Views User interface view Default command level 2: System level Parameters both: Enables both modem call-in and modem call-out. call-in: Enables only modem call-in.
Views User interface view Default command level 2: System level Usage guidelines When the modem is in auto-answer mode (the AA LED of the modem lights up), use the modem auto-answer command to prevent the device from issuing answer instructions. If the modem is in non-auto answer mode, use the undo modem auto-answer command to enable the device to issue answer instructions on the arrival of incoming calls. Make sure you set the same answer mode as on the modem.
service modem-callback Use service modem-callback to enable the callback function. Use undo service modem-callback to disable the callback function. Syntax service modem-callback undo service modem-callback Default The callback function is disabled. Views System view Default command level 3: Manage level Usage guidelines The service modem-callback command enables the modem to initiate a callback upon activation of the line when the modem detects the carrier or data is being received.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABCDEFILMOPRSTW display interface hdlc-bundle,115 A display interface mfr,146 allow l2tp,87 display interface mp-group,53 atm class,1 display interface virtual-ethernet,12 atm-class,1 display interface virtual-template,56 atm-link check,2 display l2tp session,88 B display l2tp tunnel,89 bandwidth,108 display mfr,149 bandwidth,145 display ppp access-control interface,90 bandwidth,2 display ppp compression iphc rtp,71 bandwidth,51 display ppp compression iphc tcp,73 broadcast-limit
interface virtual-ethernet,17 ppp authentication-mode,39 interface virtual-template,61 ppp chap password,40 interface virtual-template,91 ppp chap user,41 ip address ppp-negotiate,36 ppp compression iphc,76 ip pool,37 ppp compression iphc rtp-connections,77 ip-precedence,18 ppp compression iphc tcp-connections,78 L ppp ipcp dns,42 ppp ipcp dns admit-any,42 l2tp enable,92 ppp ipcp dns request,43 l2tp-group,92 ppp ipcp remote-address forced,44 l2tpmoreexam enable,93 ppp lcp imsi accept,95
pvc,25 service vbr-nrt,32 pvc max-number,27 service vbr-rt,33 pvc-group,26 shutdown,71 pvp limit,28 shutdown,121 R shutdown,34 shutdown,144 remark atm-clp,29 start l2tp,100 remote address,49 sub-interface rate-statistic,160 reset counters interface,159 Subscription service,164 reset counters interface,119 T reset counters interface mp-group,70 reset counters interface virtual-ethernet,29 timer hold,106 reset counters interface virtual-template,70 timer hold,144 reset fr inarp,143 time