Configuring physical ports
This chapter provides information about configuring physical ports with the CLI on the node.
Topics in this chapter include:
Configuring Ethernet port parameters
See "Configuring Ethernet port parameters" in the 7450 ESS, 7750 SR, 7950 XRS, and VSR Interface Configuration Guide for information.
Configuring cellular port parameters
The pdn-profile parameter must be configured for the cellular port.
The PDN profile defines the specific APN that the node can connect to. Configure the pdn-profile under the appropriate cellular port. If a PDN profile is not specified, the default profile is used; this default PDN profile cannot be changed.
For more information, see Cellular PDN profile configuration commands and Cellular MDA and cellular port configuration commands.
Configuring serial port parameters
Use the following CLI syntax to configure parameters on an RS-232 serial port.
- CLI Syntax:
-
config# port port-id
no shutdown
serial
rs232
character-length {6 | 7 | 8}
control-lead
input
dtr-dsr high
rts-dcd high
exit
output
dcd-rts high
cts-alb high
ri-rdl high
exit
monitor
dtr-dsr off
rts-dcd off
exit
hold-time {[up hold-time-up] [down hold-time-down]}
no loopback
parity {odd | even | mark | space}
speed {600 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200}
stop-bits {1|2}
exit
exit
exit
The following CLI syntax shows an example of configuring an RS-232 serial port.
- Example:
-
config# port 1/3/2
config>port# no shutdown
config>port# description "RS-232 Serial”
config>port# serial
config>port>serial# rs232
config>port>serial>rs232# character-length 8
config>port>serial>rs232# control-lead
config>port>serial>rs232>control-lead# input
config>port>serial>rs232>control-lead>input# dtr-dsr high
config>port>serial>rs232>control-lead>input# rts-dcd high
config>port>serial>rs232>control-lead>input# exit
config>port>serial>rs232>control-lead# output
config>port>serial>rs232>control-lead>output# dcd-rts high
config>port>serial>rs232>control-lead>output# cts-alb high
config>port>serial>rs232>control-lead>output# ri-rdl high
config>port>serial>rs232>control-lead>output# exit
config>port>serial>rs232>control-lead# monitor
config>port>serial>rs232>control-lead>monitor# dtr-dsr off
config>port>serial>rs232>control-lead>monitor# rts-dcd off
config>port>serial>rs232>control-lead>monitor# exit
config>port>serial>rs232>control-lead# exit
config>port>serial>rs232# hold-time up 100
config>port>serial>rs232# no loopback
config>port>serial>rs232# parity odd
config>port>serial>rs232# speed 9600
config>port>serial>rs232# stop-bits 1
config>port>serial>rs232# exit
config>port>serial# exit
config>port# exit
Use the admin>display-config detail command to display the serial RS-232 port configuration information.
*A:Dut>admin# display-config detail
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
.....
port 1/3/2
description "RS-232 Serial"
serial
rs232
speed 9600
control-lead
input
dtr-dsr high
rts-dcd high
exit
output
dcd-rts high
cts-alb high
ri-rdl high
exit
monitor
dtr-dsr off
rts-dcd off
exit
exit
character-length 8
parity odd
stop-bits 1
hold-time up 100 down 100
exit
exit
exit
exit
exit
.....
#--------------------------------------------------
Configuring RS-232 raw socket serial port parameters
Use the following CLI syntax to configure an RS-232 raw socket serial port.
- CLI Syntax:
-
config# port port-id
serial
rs232
socket
description description-string
rx
eop
length bytes
idle-timeout milliseconds
[no] special-char value
exit
no squelch-delay
no unsquelch-delay
exit
tx
inter-session-delay ms
exit
exit
exit
The following CLI syntax shows an example of configuring an RS-232 raw socket serial port.
- Example:
-
config# port 1/3/2
config>port# description "RS-232 Serial"
config>port# serial
config>port>serial# rs232
config>port>serial>rs232# socket
config>port>serial>rs232>socket# rx
config>port>serial>rs232>socket>rx# eop
config>port>serial>rs232>socket>rx>eop# idle-timeout 50
config>port>serial>rs232>socket>rx>eop# length 1500
config>port>serial>rs232>socket>rx>eop# no special-char
config>port>serial>rs232>socket>rx>eop# exit
config>port>serial>rs232>socket>rx# no squelch-delay
config>port>serial>rs232>socket>rx# no unsquelch-delay
config>port>serial>rs232>socket>rx# exit
config>port>serial>rs232>socket# tx
config>port>serial>rs232>socket>tx# inter-session-delay 10
config>port>serial>rs232>socket>tx# exit
config>port>serial>rs232>socket# exit
config>port>serial>rs232# exit
config>port>serial# exit
config>port# exit
Use the admin>display-config detail command to display the raw socket port configuration information.
*A:Dut>admin# display-config detail
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
.....
port 1/3/2
description "RS-232 Serial"
serial
rs232
socket
rx
eop
length 1500
idle-timeout 50
no special-char
exit
no squelch-delay
no unsquelch-delay
exit
tx
inter-session-delay 10
exit
exit
exit
exit
exit
.....
#--------------------------------------------------