Patton electronic SmartNode 4110 Series 用户手册
Serial port configuration task list
172
SmartWare Software Configuration Guide
14 • Serial port configuration
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
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
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 :
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.
Mode: Administrator execution
Example: Enabling an interface
The example shows how to enable the built-in serial interface on slot 0 and port 0. Check that State is set to
OPENED in the command output of
OPENED in the command output of
show port serial
.
node(cfg)#port serial 0 0
node(prt-ser)[0/0]#no shutdown
node(prt-ser)[0/0]#show port serial
node(prt-ser)[0/0]#no shutdown
node(prt-ser)[0/0]#show port serial
Serial Interface Configuration
------------------------------
------------------------------
Port : serial 0 0 0
State : OPENED
State : OPENED
Step
Command
Purpose
1
node(cfg)#port serial slot port
Selects the serial interface on slot and port
2
node(prt-ser)[slot/port]#no shutdown
Enables the interface
3
node(prt-ser)[slot/port]#show port serial Displays the serial interface configuration.