OcNOS-DC 6.4.2 : Layer 1 Guide : Layer 1 Command Reference : Port Based xConnect Commands
Port Based xConnect Commands
This chapter contains the port based xConnect commands.
backup
backup
Use this command to configure backup for primary endpoints.
Use no form of this command to unconfigure backup for primary endpoint.
Command Syntax
backup (ep1|ep2) IFNAME
no backup (ep1|ep2)
Parameters
IFNAME
Interface name for backup endpoint
Default
None
Command Mode
Configure-XC mode
Applicability
This command was introduced in OcNOS-DC version 2.0.
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#backup ep1 xe35
 
(config-XC)#no backup ep1
cross-connect
Use this command to provide name for a xConnect. This command will change mode from config to cross-connect mode.
Command Syntax
cross-connect <xc-name>
Parameters
xc-name
Cross-connect name
Default
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS-DC version 2.0
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#
cross-connect switchover type revertive
Use this command to configure revertive mode for cross-connect.
Use the no form of this command to make it non-revertive mode for cross-connect.
Command Syntax
cross-connect switchover type revertive
no cross-connect switchover type revertive
Parameters
None
Default
Non-revertive by default.
Command Mode
Configure-XC mode
Applicability
This command was introduced in OcNOS-DC version 2.0.
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#cross-connect switchover type revertive
(config-XC)#no cross-connect switchover type revertive
disable
Use this command to do admin shutdown on a cross-connect.
Use the no form of this command to enable cross-connect.
Command Syntax
disable
no disable
Parameters
None
Default
By default, the cross-connect will be enabled.
Command Mode
Configure-XC mode
Applicability
This command was introduced in OcNOS-DC version 2.0
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#disable
(config-XC)#no disable
ep1 ep2
Use this command to configure xConnect between two endpoints.
Command Syntax
ep1 IFNAME1 ep2 IFNAME2
Parameters
IFNAME1
Interface name for ep1
IFNAME2
Interface name for ep2
Default
None
Command Mode
Configure-XC mode
Applicability
This command was introduced in OcNOS-DC version 2.0.
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#ep1 xe33 ep2 xe34
link-fault-pass-through enable
Use this command to enable LFPT in the cross-connect.
Use the no form of this command to disable LFPT.
Command Syntax
link-fault-pass-through enable
no link-fault-pass-through enable
Parameters
None
Default
LFPT is disabled by default.
Command Mode
Configure-XC mode
Applicability
This command was introduced in OcNOS-DC version 2.0.
Example
#configure terminal
(config)#cross-connect temp
(config-XC)#link-fault-pass-through enable
(config-XC)#no link-fault-pass-through enable
show cross-connect
Use this command to show cross-connect entry.
Command Syntax
show cross-connect (name WORD| count|)
Parameters
WORD
Cross-connect name
count
Cross-connect count
Default
None
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS-DC version 2.0.
Example
OcNOS#sh cross-connect
 
Cross-connect name : temp
EP1:ce13/1 EP2:ce4/1 Revertive:No Bkp_EP1:ce14/1 Bkp_EP2:ce15/1 Admin Status:UP Oper Status:UP
+==================================================================================================================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes |Interface Status|
+==================================================================================================================+
| EP1* | - | - |177629 |12078772 |0 |0 |UP |
| EP2* | - | - |0 |0 |177633 |12079044 |UP |
| bkp_EP1 | - | - |0 |0 |0 |0 |UP |
| bkp_EP2 | - | - |0 |0 |0 |0 |UP |
+==================================================================================================================+
 
cross-connect summary
Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
 
OcNOS#sh cross-connect temp
 
Cross-connect name : temp
EP1:ce13/1 EP2:ce4/1 Revertive:No Bkp_EP1:ce14/1 Bkp_EP2:ce15/1 Admin Status:UP Oper Status:UP
+==================================================================================================================+
| EP | OVID | IVID | Rx packets | Rx bytes | Tx packets |Tx bytes |Interface Status|
+==================================================================================================================+
| EP1* | - | - |177629 |12078772 |0 |0 |UP |
| EP2* | - | - |0 |0 |177633 |12079044 |UP |
| bkp_EP1 | - | - |0 |0 |0 |0 |UP |
| bkp_EP2 | - | - |0 |0 |0 |0 |UP |
+==================================================================================================================+
 
cross-connect summary
Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1
 
OcNOS#sh cross-connect count
cross-connect summary
Total XC : 1
Admin Up : 1
Admin Down : 0
Total Rules : 1