Professional Documents
Culture Documents
Pseudowire
CLI Commands
Version 3.5.20
260-668242-016
PSEUDOWIRE
Warranty
Aviat Networks makes no representation or warranties with respect to the contents hereof
and specifically disclaims any implied warranties or merchantability or fitness for any
particular purpose.
Further, Aviat Networks reserves the right to revise this publication and to make changes
from time to time in the content hereof without obligation of Aviat Networks to notify any
person of such revision or changes.
Safety Recommendations
The following safety recommendations must be considered to avoid injuries to persons
and/or damage to the equipment:
1. Installation and Service Personnel: Installation and service must be carried out by
authorized personnel who have the technical training and experience necessary to be
aware of any hazardous operations during installation and service, and of measures to
avoid any danger to themselves, to any other personnel, and to the equipment.
2. Access to the Equipment: Access to the equipment in use must be restricted to service
personnel only.
3. Safety Norms: Recommended safety norms are detailed in the Health and Safety
sections of the Eclipse User Manual.
4. Service Personnel Skill: Service personnel must have received adequate technical
training on telecommunications and in particular on the equipment and capabilities this
addendum refers to.
Trademarks
All trademarks are the property of their respective owners.
IV AVIAT NETWORKS
PSEUDOWIRE
Americas Technical Help Desk EMEA Technical Help Desk Asia Pacific Technical Help Desk
Aviat Networks, Inc. Aviat Networks Aviat Networks
San Antonio, TX Blantyre, Glasgow, Scotland Clark Freeport Zone
U.S.A. G72 0FB Philippines 2023
United Kingdom
Phone:+1 210 526 6345 Phone: +1 210 526 6345 Phone: +1 210 526 6345
Toll Free (USA): Fax: Fax: +63 45 599 5196
+1 800 227 8332 +44 16 9871 7204 (English)
Fax:+1 210 526 6315 +33 1 5552 8012 (French)
Email: Email: Email:
CustomerCare.Americas@aviatn CustomerCare.EMEA@aviatnet.co CustomerCare.Asia@aviatnet.co
et.com m m
Or you can contact your local Aviat Networks office. Contact information is available on our
website at: http://www.aviatnetworks.com/services/customer-support/technical-
assistance/
VI AVIAT NETWORKS
PSEUDOWIRE COMMANDS CHAPTER 2
Pseudowire Commands
This section lists the pseudowire CLI commands for the CTR 8540.
N O TE: T1 is not c ur r ently s uppor ted.
cablelength long
Command Objective
This command sets the Line Build Out of the E1 to various values.
CAUTION: The cablelength long command must be executed only when Line Mode is set
to Long Haul (CSU).
Syntax
cablelength long { neg225db | neg15db | neg75db | zerodb }
Parameter Description
neg225db
Cable Length of neg225db
neg75db
Cable Length of neg75db
neg15db
Cable Length of neg15db
zerodb
Cable Length of zerodb
Mode
E1 Configuration Mode
Example
aos(config-controller)# cablelength long neg225db
cablelength short
Command Objective
This command sets the Line Length for the E1-DSU line.
CAUTION: The cablelength short command must be executed only when Line Mode is set
to Short Haul (DSU).
Syntax
cablelength short {<integer(0-655)>}
Parameter Description
integer(0-655)
Line length for the E1-DSU
Mode
E1 Configuration Mode
Example
aos(config-controller)# cablelength short 133
clear controller
Command Objective
This command resets the E1 controller on default mode.
Syntax
clear controller e1 <Interface-Index>
Parameter Description
Interface-Index
<0>/<1-16> Slot Number/Port Number
Mode
Global Configuration Mode
Example
aos(config)# clear controller e1 0/1
Syntax
clear pseudowire counters [vcid] <integer(1-128)>
Parameter Description
Integer(1-128)
Vcid value
Mode
Privileged/User EXEC Mode
Example
aos# clear pseudowire counters vcid 3
aos# clear pseudowire counters
clock recovered
Command Objective
This command configures TDM Pseudowire time stamp generation mode.
N O TE: Can be modified only w hen the Ps eudow ir e is yet to be made ac tive
and r tp is enabled.
Syntax
clock recovered {adaptive | differential}
Parameter Description
adaptive
From incoming TDM attachment circuit
differential
From high-quality timing source
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# clock recovered differential
clock source
Command Objective
This command selects the clock source for the time-division multiplexing (TDM).
Syntax
clock source { internal | line }
Parameter Description
internal
Internal clock to be used
line
Line clock to be used
Mode
E1 Configuration Mode
Example
aos(config-controller)# clock source internal
controller clock-output
Command Objective
This command configures the T1 or E1 port to generate a reference clock.
N O TE: The inter fac e index mus t be uniquely s pec ified.
Syntax
controller clock-output <Interface-Index>
Parameter Description
Interface-Index
<0>/<1-16> Slot Number/Port Number
Mode
Global Configuration Mode
Example
aos(config)# controller clock-output 0/1
controller mode
Command Objective
This command configures a E1 controller as E1 mode.
Syntax
controller mode e1
Parameter Description
e1
e1 mode
Mode
Global Configuration Mode
Defaults
e1
Example
aos(config)# controller mode e1
controller
Command Objective
This command configures a E1 controller and enters into the E1 controller configuration
mode.
N O TE: The Inter fac e- Index mus t be uniquely s pec ified.
Syntax
controller e1 } <Interface-Index>
Parameter Description
e1
E1 type controller
Interface-Index
<0>/<1-16> Slot Number/Port Number
Mode
Global Configuration Mode
Default
e1
Example
aos(config)# controller e1 0/1
aos (config-controller)#
debug e1
Command Objective
This command enables debug options for /E1 Module. The no form of the command disables
debug options for E1 Module.
Syntax
debug t1e1 { [failure] [resource] [timer] [info] | all }
no debug t1e1 { [failure] [resource] [timer] [info] | [all] }
Parameter Description
failure
Failure traces
resource
Resource traces
timer
info
Data Information traces
all
All traces
Mode
Privileged EXEC Mode
Default
Debugging is disabled
Example
aos# debug t1e1 all
ecid
Command Objective
This command sets unique integer that represent particular TDM Pw configuration.
CAUTION: This value can be modified only when the Pseudowire is yet to be made active.
Syntax
ecid <integer(1-1048575)>
Parameter Description
integer(1-1048575)
Ecid value.
Mode
Serial Interface configuration mode
Example
aos(config-if-pw)# ecid 11111
exit
Command Objective
This command exits to the interface configuration config-if mode.
Syntax
exit
Parameter Description
exit
Mode
Interface configuration mode
Example
aos(config-if)# exit
aos(config)#
fdl
Command Objective
This command sets the Facilities Data Link (FDL) option on the E1 Link.
Syntax
fdl { ansiT1403 | att54016 | both | other }
Parameter Description
ansiT1403
ANSI 403 FDL option
att54016
ATT 54016 FDL option
both
Both the above options
other
Other type
Mode
E1 Configuration Mode
Example
aos(config-controller)# fdl AnsiT1403
framing
Command Objective
This command selects the frame type for the E1 data line.
N O TE: Fr aming c an be c hanged only w hen c hannel- gr oups ar e not
c r eated.
Syntax
framing { sf | esf | non-crc4 | crc4 | unframed | e1unframed }
Parameter Description
sf
Super frame line type D4
esf
Extended super frame type
non-crc4
non-crc4 Line type is E1
crc4
crc4 Line type is E1 CRC
unframed
unframed Line type is DS1 unframed
e1unframed
e1unframed Line type is E1 unframed
Mode
E1 Configuration Mode
Example
aos(config-controller)# framing sf
interface cem
This command creates and configures virtual packet interface – Circuit emulation Interface
(cem) for specified E1 controller and enters into configuration mode.
Command Objective
CAUTION: The Interface-id must be uniquely specified and it is mapped 1:1 to the E1
controller.
Syntax
interface cem <interface-id>
Parameter Description
Interface-id
<0>/<1-16> Slot Number/Port Number
Mode
Global Configuration Mode
Example
aos(config)# interface cem 0/1
aos(config-if)#
jitter-buffer
Command Objective
This command configures TDM Pseudowire jitter buffer size
CAUTION: Can be modified only when the Pseudowire is yet to be made active and
packet-reorder is enabled.
Syntax
jitter-buffer <size>
Parameter Description
size
(powers of 2) jitter buffer size (2-1024)
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# jitter-buffer 32
Syntax
line status change trap { enable | disable }
Parameter Description
enable
Enables trap state of Line Status Change
disable
Disables trap state of Line Status Change
Mode
E1 Configuration Mode
Example
aos(config-controller)# line status change trap enable
linecode
Command Objective
Syntax
linecode { b8zs | hdb3 | ami }
Parameter Description
b8zs
B8ZS line code type
hdb3
HDB3 line code type
ami
AMI line code type
Mode
E1 Configuration Mode
Example
aos(config-controller)# linecode b8zs
loopback
Command Objective
This command loops an entire E1 line (including all channel-groups defined on the
controller) towards loopback mode.
Syntax
loopback { local | remote-liu | remote-framer | dual }
Parameter Description
local
Local loopback mode
remote-liu
Remote loopback LIU mode
remote-framer
Remote loopback Framer mode
dual
Dual loopback mode
Mode
E1 Configuration Mode
Example
mode
Command Objective
This command sets the E1 Line Mode to either CSU(Long) or DSU(Short Haul).
N O TE: If the line length is gr eater than 655 feet, then the mode mus t be
CSU and the line build out value mus t be s et. (Suppor ted L BO values ar e
0db, -7. 5db, -15db, -22. 5 db).
Syntax
mode { csu | dsu }
Parameter Description
csu
Channel Service Units
dsu
Data Service Units
Mode
E1 Configuration Mode
Example
aos(config-controller)# mode csu
no cablelength long
Command Objective
This command restores the Default Line configuration to Short Haul(DSU).
Syntax
no cablelength long
Mode
E1 Configuration Mode
Example
aos(config-controller)# no cablelength long
no clock recovered
Command Objective
This command disables the TDM Pseudowire time stamp generation mode.
CAUTION: This value can be modified only when the Pseudowire is yet to be made active
and RTP is enabled.
Syntax
no clock recovered
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# no clock recovered
no clock source
Command Objective
This configures the clock source to its default setting (local).
Syntax
no clock source
Mode
E1 Configuration Mode
Example
aos(config-controller)# no clock source
no controller clock-output
Command Objective
This command disables generating a reference clock on a T1 or E1 port.
Syntax
no controller clock-output
Mode
Global Configuration Mode
Example
aos(config)# no controller clock-output
no fdl
Command Objective
This command disables the facilities data link on the E1 Link.
Syntax
no fdl
Mode
E1 Configuration Mode
Example
aos(config-controller)# no fdl
no interface cem
Command Objective
This command disables the virtual packet interface.
CAUTION: The Interface must be removed from switch and Pseudowire before it is
disabled.
Syntax
no interface cem <interface-id>
Parameter Description
Interface-id
<0>/<1-16> Slot Number/Port Number
Mode
Global Configuration Mode
Example
aos(config)# no interface cem 0/1
no loopback
Command Objective
This removes the E1 loopback mode.
Syntax
no loopback
Mode
E1 Configuration Mode
Example
aos(config-controller)# no loopback
no packet-reorder
Command Objective
Syntax
packet-reorder
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# no packet-reorder
no shutdown
Command Objective
This command activates the TDM Pseudowire entity.
CAUTION: This value can be modified only when all the Pseudowire parameters are set.
Syntax
no shutdown
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# no sh
no vendorid
Command Objective
This command clears the transmission vendor circuit identifier.
Syntax
no vendorid
Mode
E1 Configuration Mode
Example
aos(config-controller)# no vendorid
no xconnect
Command Objective
Syntax
no xconnect
Mode
Interface configuration mode.
Example
aos(config-if)# no xconnect
packet-reorder
Command Objective
This command enables TDM Pseudowire re-ordering of out of order packets.
CAUTION: This value can be modified only when the Pseudowire is yet to be made active.
Syntax
packet-reorder
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# packet-reorder
payload-size
Command Objective
This command configures TDM Pseudowire packet payload size.
CAUTION: This value can be modified only when the Pseudowire is yet to be made active.
Syntax
payload-size <size>
Parameter Description
size
Configures payload size (256/192)
The E1 mode supports only 256 payload size.
Mode
Circuit emulation Interface configuration mode.
Example
regen-priority
Command Objective
This command sets a specific regenerated priority for a CEM PDU (tagged or untagged).
Syntax
regen-priority <integer(0-7)>
Parameter Description
integer(0-7)
outgoing queue id through which the PDU has to be sent,
0 - Low priority, 7 - High priority
Mode
Serial Interface configuration mode
Example
aos(config-if-pw)# regen-priority 1
rtp
Command Objective
This command configures TDM Pseudowire RTP header inclusion.
CAUTION: This value can be modified only when the Pseudowire is yet to be made active.
Syntax
rtp {enable | disable}
Parameter Description
enable
Includes RTP header
disable
Excludes RTP header
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# rtp enable
show cem
Command Objective
This command will give configurations of circuit emulated interface if interface-id is
specified or for all or specific cem interface.
Syntax
show cem [interface-id | integer(1-128)]
Parameter Description
Interface-id
<0>/<1-16> Slot Number/Port Number (Global Configuration Mode).
integer(1-128)
Vcid Value (Privileged/User EXEC Mode).
Mode
Global Configuration Mode
Privileged/User EXEC Mode
Example
aos# sh cem
cem0/1 up, line protocol is up (connected)
Interface SubType: Not Applicable
Syntax
show controller clock-output
Mode
Privileged/User EXEC Mode
Example
aos# show controller clock-output
Sync Clock Output port: 0/2
show controllers
Command Objective
This command displays E1 controller configurations for the E1 link.
Syntax
show controllers { e1 } [Interface-Index]
Parameter Description
e1
E1 controller configurations for E1 link
[Interface-Index]
<0>/<1-16> Slot Number/Port Number of e1 link.
Mode
Privileged/User EXEC Mode
Example
aos# show controller e1 0/1
E1 1 is up.
Applique type is UnChannelized Mode - balanced.
Framing is E1.
Line Code is HDB3.
No alarm present.
No loopback.
Syntax
show pseudowire counters [vcid] <integer(1-128)>
Parameter Description
Integer(1-128)
Vcid value
Mode
Privileged/User EXEC Mode
Example
aos# show pseudowire counters vcid 3
RX:
----
Valid Packets: 80825325
Channel Out Of Sync: 0
Empty FBP: 0
TS Sync Lost: 0
Forwarded Packets: 80825325
FBP Drop Packets: 0
MTU Drop Packets: 0
TX Queue Drop Packets: 0
TX:
----
Valid Packets: 0
Dummy Packets: 0
Underrun Dataunit: 12213
Buffer Underrun: 1
Forwarded Packets: 0
Out Of Window Packets: 0
Window Switchover: 0
Stray Packets: 0
AIS Drop Packets: 0
MPLS Drop Packets: 0
Out Of Sequence Packets: 0
RAI Packets: 0
FBP Drop packets: 0
Buffer Overun Dropped Packets: 0
Buffer Overun Events: 0
Malformed Packets: 0
Multiple Packets: 0
Denied Packets: 0
Out Of Band CAS Packets: 0
RDI Dropped Packets: 0
aos# show pseudowire counters
VCID RxValid RxDrop RxErrors
---- ------- ------ --------
1 13881 0 0
Syntax
show pseudowire vcid <integer(1-128)>
Parameter Description
integer(1-128)
Vcid Value.
Mode
Privileged/User EXEC Mode
Example
aos# show pseudowire vcid 4
shutdown
Command Objective
This command disables/deactivates TDM Pseudowire entity.
Syntax
shutdown
Mode
Circuit emulation Interface configuration mode.
Example
aos(config-if-pw)# sh
vendorid
Command Objective
This command sets the E1 transmission vendors circuit identifier, for the purpose of
facilitating troubleshooting.
Syntax
vendorid <string(255)>
Parameter Description
<string(255)>
vendor's circuit identifier
Mode
E1 Configuration Mode
Example
aos(config-controller)# vendorid “New York – Boston”
vlan-priority
Command Objective
This command sets a specific VLAN priority for a VLAN tagged CESoP PDU (applicable only
for tagged PDU).
Syntax
vlan-priority <integer(0-7)>
Parameter Description
integer(0-7)
outgoing queue id through which the PDU has to be sent,
0 - low priority, 7 - High priority
Mode
Serial Interface configuration mode
Example
aos(config-if-pw)# vlan-priority 5
xconnect
Command Objective
This command creates Pseudowire and sets it in a not ready state.
Syntax
xconnect <mac-address> vcid <integer> encapsulation mef8 vlan
<vlan-id> port <interface>
Parameter Description
Macaddress
Mac address of destination
integer
Unique id representing PW ranging from 0 to 128.
vlan-id
Vlan id with range 1-4094
interface
Destination port number with range 1-65536
The port is mandatory only when the <mac> given is the same as the switch mac.port
option, which cannot be specified in other cases.
Mode
Interface configuration mode
Example
aos(config-if)# xconnect 00:03:02:03:04:05 vcid 4 encapsulation
mef8 vlan 1