Syntax
debugging hdlc clns { in | in-out | out } [ interface interface-type interface-number
]
undo debugging hdlc clns { in | in-out |
out } [ interface interface-type interface-number ]
View
User view
Parameter
in:
Specifies to enable debugging for input packets.
in-out:
Specifies to enable debugging for input and output packets.
out:
Specifies to enable debugging for output packets.
interface-type: Interface type.
interface-number: Interface number.
Description
Use the debugging hdlc clns command
to enable debugging for HDLC OSI packets.
Use the undo debugging hdlc clns
command to disable debugging for HDLC OSI packets.
CLNP packets, ES-IS packets, and IS-IS
packets are all HDLC OSI packets.
Debugging for HDLC OSI packets is disabled
by default.
Example
# Enable debugging for input and output
HDLC OSI packets.
<H3C> debugging hdlc clns
in-out
Syntax
display atm map-info [ interface { interface-name | interface-type
interface-num } [ pvc { pvc-name | vpi/vci } ] ]
View
Any view
Parameter
interface-name: Name of the ATM interface. Provide this argument in this form: interface-name
= interface-type interface-num
interface-type: Interface type.
interface-num: Interface number.
pvc-name:
Name of the permanent virtual circuit (PVC). This argument can be up to 16
characters in length and is not case-sensitive. For an ATM interface, the name
of a PVC must be unique and cannot be a valid VPI/VCI pair. For example, The
VPI/VCI pair 1/20 cannot be the name of a PVC. (VPI: virtual path identifier,
VCI: virtual channel identifier)
vpi/vci:
VPI/VCI pair. VPI ranges from 0 to 255. The available range of VCI depends on
interface type and is listed in Table 1-1. Do not specify a VCI value
within a range of 0 to 31, which is reserved for special use.
Table 1-1 VCI range of an ATM interface
|
Interface type
|
VCI range
|
|
ADSL
|
0 to 255
|
|
GSHDSL
|
0 to 255
|
|
ATMOC3
|
0 to 1023
|
|
ATM25
|
0 to 511
|
|
ATME3
|
0 to 1023
|
|
ATMT3
|
0 to 1023
|
|
IMA-E1/T1
|
0 to 511
|
Description
Use the display atm map-info command
to display upper layer protocol map information about a specified ATM
interface.
If you do not specify an interface, then
upper layer protocol map information about all ATM interfaces is displayed.
Example
# Display upper layer protocol map
information about all ATM interfaces of the device.
<H3C> display atm map-info
Atm1/0/0.1, PVC 1/33, CLNS, State UP
Syntax
display
fr map-info [ interface interface-type
interface-num ]
View
Any view
Parameter
interface-type interface-num: Specifies the interface to be displayed. You can specify an
interface or a sub-interface. If you do not specify an interface, information
about all interfaces is displayed.
Description
Use the display fr map-info command
to display frame relay (FR) address map information.
You can use this command to check to see if
static address maps are correctly configured and dynamic address maps operate
properly.
Example
# Display FR address map information.
<H3C> display fr
map-info
Map Statistics for interface
Serial1/0/2 (DTE)
DLCI = 100, CLNS, Serial1/0/2
create time = 20026/1/21 14:48:44,
status = ACTIVE
encapsulation = ietf, vlink = 14
Table 1-2 Description on the fields of the display fr map-info command
|
Field
|
Description
|
|
Map Statistics
for interface Serial1/0/2 (DTE)
|
A message that prompts you whose
information is displayed
|
|
DLCI = 100, CLNS, Serial1/0/2
|
—
|
|
create time = 2006/1/21 14:48:44
|
The time the map is created
|
|
encapsulation = ietf
|
The encapsulation format is IETF.
|
Syntax
display x25 map
View
Any view
Parameter
None
Description
Use the display x25 map command to
display X.25 address map information.
X.25 address map can be configured by using
the x25 map command or the x25 pvc command. The display x25
map command can be used to show all X.25 address mappings.
Example
# Display X.25 address map information.
[H3C] display x25 map
Interface:Serial3/0/0(protocol status
is up):
ip address:202.38.162.2 X.121
address: 22
map-type: SVC_MAP VC-number: 0
Facility:
ACCEPT_REVERSE;
BROADCAST;
PACKET_SIZE: I 512 O 512 ;
Interface:Serial1/0/0.1(protocol
status is up):
Clns enabled X.121 address: 30
map-type: PVC_MAP VC-number: 0
Facility:
PACKET_SIZE: I 512 O 512 ;
Table 1-3 describes the
above output information.
Table 1-3 Description on the fields of
the display x25 map command
|
Field
|
Description
|
|
Interface:Serial3/0/0(protocol status is
up):
|
The mapped interface and its state
|
|
ip address:202.38.162.2 X.121 address: 22
|
The IP address and corresponding X.121
address of the interface
|
|
map-type: SVC_MAP
|
The map type is SVC_MAP
|
|
VC-number: 0
|
Number of the virtual circuits
|
|
Facility:
ACCEPT_REVERSE;
BROADCAST;
PACKET_SIZE: I 512 O 512 ;
|
—
|
|
Clns enabled
|
CLNS is enabled
|
1.1.5 display
x25 vc
Syntax
display x25 vc [ lci ]
View
Any view
Parameter
lci: Logical
channel identifier ranging from 1 to 4095. If you do not provide this argument,
all X.25 virtual circuits are displayed.
Description
Use the display x25 vc command to
display information about X.25 virtual circuits.
Switched virtual circuits (SVC) are
established on demand by X.25 network signaling. Whereas permanent virtual
circuits (PVC) are established by manually configuring and remain regardless of
data transmission. When operating in X.25 switching mode, a router can also
establish virtual circuits as needed to switch data. You can use this command
to check virtual circuits of all these types. But the displayed fields may
differ.
Example
# Display X.25 virtual circuits.
[H3C] display x25 vc
Interface: Serial2/0/0
SVC 1
State: P4
Map: clns to 130
Window size: input 2 output 2
Packet Size: input 128 output
128
Local PS: 5 Local PR: 5 Remote
PS: 5 Remote PR: 4
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 5/5 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes
420/420
Snd Queue(Current/Max): 0/200
Interface: Serial2/1/0
SVC 10
State: P4
SVC <--> Serial2/0/0 SVC 60
Window size: input 2 output 2
Packet Size: input 128 output
128
Local PS: 0 Local PR: 0 Remote
PS: 0 Remote PR: 0
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 5/5 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes
420/420
Snd Queue(Current/Max): 0/200
Interface: Serial2/0/0-1.1.1.1
PVC 1
State: P/Inactive
XOT PVC <--> Serial2/0/0
PVC 1 connected
Window size: input 2 output 2
Packet Size: input 128 output
128
Local PS: 0 Local PR: 0 Remote
PS: 0 Remote PR: 0
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 0/0 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 0/0
Snd Queue(Current/Max): 1/200
Interface: Serial2/0
PVC 1
State: D3
PVC <--> XOT
Serial2/0/0-1.1.1.1 PVC 1 connected
Window size: input 2 output 2
Packet Size: input 128 output
128
Local PS: 0 Local PR: 0 Remote
PS: 0 Remote PR: 0
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 0/0 INTERRUPT 0/0
RR 0/0 RNR 0/0 REJ 0/0
Bytes 0/0
Snd Queue(Current/Max): 0/200
Interface: Serial2/0/0
SVC 59
State: P4
PAD: UI-130 From remote 130
connected to local 220
Window size: input 2 output 2
Packet Size: input 128 output
128
Local PS: 3 Local PR: 1 Remote
PS: 1 Remote PR: 2
Local Busy: FALSE Reset times: 0
Input/Output:
DATA 9/11 INTERRUPT 0/0
RR 6/2 RNR 0/0 REJ 0/0
Bytes
53/363
Snd Queue(Current/Max): 0/200
Syntax
fr map clns dlci
[ ietf | compression frf9 ] *
fr map clns dlci nonstandard
undo fr map clns dlci
View
Interface view
Parameter
dlci: Local
virtual circuit number ranging from 16 to 1007.
nonstandard:
Specifies to encapsulate the mapping in a non-standard
format; does not support frf9 compression.
ietf: Specifies to encapsulate the mapping in IETF format.
compression frf9: Specifies to adopt payload compression. Not available for
point-to-point interfaces.
Description
Use the fr map clns command to add
an FR mapping for OSI packets.
Use the undo fr map clns command to
remove an FR mapping established for OSI packets.
Address mapping can be achieved through
manually configuring or reverse address resolution protocol (RARP). Static
address mapping can be achieved through manually configuring, which is
applicable when there are few peer ESs or the default routes exist. Whereas
dynamic address mapping can be achieved through RARP, which is applicable when
the peer router supports RARP and the network is relatively complex.
As OSI packets cannot be forwarded through
Layer 3 address mapping, you can only map by protocol for OSI packets. There
can only be one mapping for OSI packets. So you must remove the existing map
before you create a new one.
No FR mapping is established for OSI
packets by default.
Example
# With a virtual circuit (DLCI = 40)
existing on Serial1/0/0 interface, configure a static address mapping.
[H3C-Serial1/0/0] fr map clns 40
Syntax
map clns
undo map
clns
View
ATM PVC view
Parameter
None
Description
Use the map clns command to create a
CLNSOA mapping for a PVC.
Use the undo map clns command to
remove existing CLNSOA mapping.
You can configure only one CLNS mapping for
a virtual circuit on a point-to-multipoint interface. So you must remove the
existing one before you create another map on the same interface.
No CLNSOA mapping is established by
default.
Example
# Create a static mapping on PVC 1/32.
[H3C-atm-pvc-Atm1/0/0-1/32] map clns
Syntax
x25 default-protocol [ protocol-type ]
undo x25
default-protocol
View
Interface
view
Parameter
protocol-type: Protocol type, which can be IP or CLNS.
Description
Use the x25 default-protocol command
to set the upper layer protocol for an X.25 interface that X.25 protocol
carries by default.
Use the undo x25 default-protocol
command to revert to the default upper layer protocol.
The default upper layer protocol carried by
X.25 protocol is IP.
During course of establishing a X.25 SVC,
the called party checks the CUD (call user data) fields in X.25 call request
packets and reject the call request if the CUD fields cannot be recognized. You
can specify a default upper layer protocol that X.25 carries, through which an
call request packet with unrecognized CUD field is treated as the PDU (protocol
data unit) of the default upper layer protocol.
Example
# Set the default upper layer protocol that
the X.25 interface Serial0/0/0 carries to OSI protocol.
[H3C-Serial0/0/0] x25
default-protocol clns
Syntax
x25 map clns
x121-address x.121-address [ option ]
undo x25
map clns
View
Interface view
Parameter
clns:
Specifies to use CLNS protocol.
protocol-address: Protocol address of the peer ES.
x.121-address: X.121 address of the peer ES.
option:
Attributes or user facilities specific to the address mapping.
Description
Use the x25
map clns command to configure a CLNS address mapping for an X.121 address.
Use the undo
x25 map command to remove an existing mapping.
No CLNS
address mapping is configured by default.
Since X.25 protocol can multiplex multiple
logical virtual circuits on a physical interface, you need to manually specify
the mapping between network addresses and X.121 addresses.
You can configure only one X.25 CLNS
mapping on a point-to-multipoint X.25 interface. You need to remove the
existing X.25 CLNS mapping first if you want to configure another mapping on
the same interface.
You cannot modify any parameters (including
protocol address, X.121 address and all options) of a configured address
mapping. As an alternative, you can delete the address mapping using the undo
x25 map command, and then establish a new one.
Protocol addresses of address mappings
configured for the same X.25 interface cannot be the same.
The options of the option argument
are described as follows.
broadcast:
Specifies to send internet protocol broadcast packets and IP-based multicast
packets to the destination. This option provides solid support for routing
protocols such as Routing Information Protocol (RIP).
closed-user-group group-number: Specifies the number of
the closed user group corresponding to the address mapping.
idle-timer minutes: Specifies the maximum idle time
of the virtual circuit associated with the address mapping. Value of 0 stands
for an infinite idle time.
no-callin:
Rejects any call for the address mapping.
no-callout: Disables
calls launched using the address mapping.
packet-size input-packet output-packet: Specifies
the maximum acceptable packet size in bytes for input and output packets. The
two parameters range from 16 to 4096 (include) and must be the integer power of
2. This option is used when negotiating with the peer.
reverse-charge-accept: Specifies to accept calls that contain reverse charge requests.
Calls of this type are only accepted if you specify this option.
reverse-charge-request: Specifies to carry reverse charge requests when launching calls
using this address mapping.
roa-list name:
Specifies an ROA list name configured using the x25 roa command in
system view for the X.25 interface.
send-delay milliseconds:
Specifies to carry maximum transmission delay requests when launching calls
using this address mapping.
threshold
in out: Specifies the acceptable throughput. The
value of in/out can be 75, 150, 300, 600, 1200, 2400, 4800, 9600,
19200, and 48000. This option is used when negotiating with the peer.
vc-per-map count: Specifies the maximum number of
virtual circuits permitted to associate with the address mapping.
window-size input-window-size
output-window-size: Specifies the acceptable input and output window size.
The two values range from 1 (include) to the modulus of the X.25 interface that
accommodates the address mapping (exclude). This option is used when
negotiating with the peer.
Example
# Configure CLNS address mapping on X.25
interface Serial0/0/0.
[H3C] interface serial 0/0/0
[H3C-Serial0/0/0] x25 map clns
x121-address 2
# Configure IP and CLNS address mapping on
X.25 interface Serial0/0/0.
[H3C] interface serial 0/0/0
[H3C-Serial0/0/0] x25 map ip 1.1.1.1
clns x121-address 2
Syntax
x25 pvc pvc-number
{ ip protocol-address [ compressedtcp ] | clns }*x121-address
x.121-address [ option ]
undo x25 pvc pvc-number
View
Interface view
Parameter
pvc-number:
PVC number ranging from 1 to 4094 (include). This argument must be within PVC
channel range.
protocol-address: Protocol address of the peer of the PVC.
compressedtcp: Specifies to enable compressed TCP.
x.121-address: X.121 address of the peer of the PVC.
option:
Attributes of the PVC.
Description
Use the x25 pvc command to configure
an X.25 PVC route.
Use the undo x25 pvc command to
remove an X.25 PVC route.
X.25 PVCs are not created by default. The
flow control parameters of a PVC with its corresponding attributes not
configured are the same as those of the X.25 interface that accommodates it.
(Refer to the x25 packet-size and x25 window-size command for
ways to set the flow control parameters of an X.25 interface.)
You can configure only one X.25 CLNS PVC
for a point-to-multipoint X.25 interface. So you must remove the existing one
first if you want to configure another X.25 CLNS PVC for the same interface.
Upon the establishment of a PVC, the
corresponding address mapping is automatically created. So to create the
corresponding address mapping first is unnecessary (and actually impossible).
Before create a PVC, be sure to enable the
PVC channel range. The PVC channel range refers to channels with channel
numbers ranging from 1 (include) to the lower limit (exclude) of the nearest
channel range of enabled channels. If the lower limit itself is 1, the PVC
channel range is disabled. Table
1-4 lists typical PVC channel ranges.
Table 1-4 Typical PVC channel ranges
|
Incoming-only channel range
|
Two-way channel range
|
Out-going channel range
|
PVC channel
|
|
[0, 0]
|
[1, 1024]
|
[0, 0]
|
Disabled
|
|
[0, 0]
|
[10, 24]
|
[0, 0]
|
[1, 9]
|
|
[1, 10]
|
[15, 30]
|
[0, 0]
|
Disabled
|
|
[5, 10]
|
[15, 25]
|
[30, 32]
|
[1, 4]
|
|
[0, 0]
|
[0, 0]
|
[20, 45]
|
[1, 19]
|
|
[0, 0]
|
[0, 0]
|
[0, 0]
|
[1, 4094]
|
The options of the option argument
are described as follows.
broadcast:
Specifies to forward broadcast packets to the peer of the PVC
packet-size input-packet
output-packet: Set the maximum input and output packet size in bytes of the
PVC. These two values range from 16 to 4096 (include) and must be the integer
power of 2.
window-size input-window-size
output-window-size: Set the input and output windows size of the PVC. These
two values range from 1 (include) to the modulus of the X.25 interface
(exclude) accommodating the PVC.
Example
# Configure X.25 as the link layer protocol
of Serial0/0/0 interface and enable PVC channel range to create a PVC.
[H3C] interface serial 0/0/0
[H3C-Serial0/0/0] link-protocol x25
[H3C-Serial0/0/0] x25 vc-range
bi-channel 8 1024
[H3C-Serial0/0/0] x25 pvc 2 clns
x121-address 20112451 broadcast packet-size 512 512