![background image](http://html1.mh-extra.com/html/patton-electronics/smartware-r-3-20/smartware-r-3-20_software-configuration-manual_4044387163.webp)
Serial port configuration task list
163
SmartWare Software Configuration Guide
14 • Serial port configuration
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
show port serial
.
node(cfg)#port serial 0 0
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
Hardware Port : V.35
Transmit Edge : normal
Port Type : DTE
CRC Type : CRC-16
Max Frame Length: 2048
Recv Threshold : 1
Encapsulation :
Configuring the serial encapsulation type
The synchronous serial interface supports the Frame Relay and PPP serial encapsulation method.
To set the encapsulation method used by a serial interface, use the
encapsulation
interface
configuration command.
This procedure describes how to set the encapsulation type of the serial interface.
Mode: Administrator execution
Example:
Configuring the serial encapsulation type
The following example enables Frame Relay encapsulation for the serial interface on slot 0 and port 0. Check
that in the command output of
show port serial
Encapsulation is set to framerelay.
node(cfg)#port serial 0 0
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.
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] encapsulation {
framerelay | ppp }
Sets the encapsulation type for the
selected interface.
3
node(prt-ser)[
slot/port
]#show port serial
Displays the serial interface configuration.