![background image](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387162.webp)
Serial port configuration task list
162
SmartWare Software Configuration Guide
14 • Serial port configuration
Disabling an interface
Before you replace a compact serial cable or attach your SmartNode to other serial equipment, use the
shutdown
command to disable the serial interfaces. This prevents anomalies and hardware faults. When you
shut down an interface, it has the state CLOSED in the
show port serial
command display.
Note
Use the
no shutdown
command to enable the serial interface after the con-
figuration procedure.
This procedure describes how to shut down a serial interface
Mode: Administrator execution
Example:
Disabling an interface
The example shows how to disable the built-in serial interface on slot 0 and port 0 of a SmartNode. Check that
State is set to CLOSED in the command output of
show port serial
.
node(cfg)#port serial 0 0
node(prt-ser)[0/0]#shutdown
node(prt-ser)[0/0]#show port serial
Serial Interface Configuration
------------------------------
Port : serial 0 0 0
State : CLOSED
Hardware Port : V.35
Transmit Edge : normal
Port Type : DTE
CRC Type : CRC-16
Max Frame Length: 2048
Recv Threshold : 1
Encapsulation :
Enabling an interface
After configuring the serial interface or connecting other serial devices, use the
no shutdown
command to
enable the serial interfaces again. When you enable an interface, it has the state OPENED in the
show port
serial
command display.
Note
Use the
shutdown
command to disable the serial interface for any software
or hardware configuration procedure.
This procedure describes how to enable a serial interface.
Step
Command
Purpose
1
node(cfg)#port serial
slot port
Selects the serial interface on slot and port
2
node(prt-ser)[
slot/port
]#shutdown
Shuts the selected interface down
3
node(prt-ser)[
slot/port
]#show port serial
Displays the serial interface configuration.