[Sysname-Serial2/1/0] fr interface-type dte
[Sysname-Serial2/1/0] ipv6 ind solicitation retrans-timer 2
link-protocol fr
Use link-protocol fr to enable Frame Relay encapsulation on an interface.
Use undo link-protocol to restore the default.
Syntax
link-protocol fr
undo link-protocol
Default
PPP encapsulation is enabled on all interfaces except Ethernet interfaces, VLAN interfaces, and
ATM interfaces.
Views
Interface view
Predefined user roles
network-admin
Examples
# Enable Frame Relay encapsulation on interface Serial 2/1/0.
<Sysname> system-view
[Sysname] interface serial 2/1/0
[Sysname-Serial2/1/0] link-protocol fr
reset fr compression iphc
Use reset fr compression iphc to clear Frame Relay IPHC statistics.
Syntax
reset fr compression iphc { rtp | tcp } [ interface interface-type interface-number ]
[ dlci dlci-number ]
Views
User view
Predefined user roles
network-admin
Parameters
rtp: Clears RTP header compression statistics.
tcp: Clears TCP header compression statistics.
interface interface-type interface-number: Specifies an interface by its type and number. If you do
not specify an interface, this command clears IPHC statistics for all interfaces.
dlci dlci-number: Specifies a VC by its DLCI in the range of 16 to 1007. Before you specify a VC, you
must specify an interface. If you do not specify a VC, this command clears IPHC statistics for all VCs
on an interface.
Examples
# Clear IPHC statistics for all interfaces.
350