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 the 7450 ESS, 7750 SR, 7950 XRS, and VSR Interface Configuration Guide, "Configuring Ethernet port parameters" 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-idno shutdownserialrs232character-length {6 | 7 | 8}control-leadinputdtr-dsr highrts-dcd highexitoutputdcd-rts highcts-alb highri-rdl highexitmonitordtr-dsr offrts-dcd offexithold-time {[up hold-time-up] [down hold-time-down]}no loopbackparity {odd | even | mark | space}speed {600 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200}stop-bits {1|2}exitexitexit
The following CLI syntax shows an example of configuring an RS-232 serial port.
- Example:
config# port 1/3/2config>port# no shutdownconfig>port# description "RS-232 Serial”config>port# serialconfig>port>serial# rs232config>port>serial>rs232# character-length 8config>port>serial>rs232# control-leadconfig>port>serial>rs232>control-lead# inputconfig>port>serial>rs232>control-lead>input# dtr-dsr highconfig>port>serial>rs232>control-lead>input# rts-dcd highconfig>port>serial>rs232>control-lead>input# exitconfig>port>serial>rs232>control-lead# outputconfig>port>serial>rs232>control-lead>output# dcd-rts highconfig>port>serial>rs232>control-lead>output# cts-alb highconfig>port>serial>rs232>control-lead>output# ri-rdl highconfig>port>serial>rs232>control-lead>output# exitconfig>port>serial>rs232>control-lead# monitorconfig>port>serial>rs232>control-lead>monitor# dtr-dsr offconfig>port>serial>rs232>control-lead>monitor# rts-dcd offconfig>port>serial>rs232>control-lead>monitor# exitconfig>port>serial>rs232>control-lead# exitconfig>port>serial>rs232# hold-time up 100config>port>serial>rs232# no loopbackconfig>port>serial>rs232# parity oddconfig>port>serial>rs232# speed 9600config>port>serial>rs232# stop-bits 1config>port>serial>rs232# exitconfig>port>serial# exitconfig>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-idserialrs232socketdescription description-stringrxeoplength bytesidle-timeout milliseconds[no] special-char valueexitno squelch-delayno unsquelch-delayexittxinter-session-delay msexitexitexit
The following CLI syntax shows an example of configuring an RS-232 raw socket serial port.
- Example:
config# port 1/3/2config>port# description "RS-232 Serial"config>port# serialconfig>port>serial# rs232config>port>serial>rs232# socketconfig>port>serial>rs232>socket# rxconfig>port>serial>rs232>socket>rx# eopconfig>port>serial>rs232>socket>rx>eop# idle-timeout 50config>port>serial>rs232>socket>rx>eop# length 1500config>port>serial>rs232>socket>rx>eop# no special-charconfig>port>serial>rs232>socket>rx>eop# exitconfig>port>serial>rs232>socket>rx# no squelch-delayconfig>port>serial>rs232>socket>rx# no unsquelch-delayconfig>port>serial>rs232>socket>rx# exitconfig>port>serial>rs232>socket# txconfig>port>serial>rs232>socket>tx# inter-session-delay 10config>port>serial>rs232>socket>tx# exitconfig>port>serial>rs232>socket# exitconfig>port>serial>rs232# exitconfig>port>serial# exitconfig>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
.....
#--------------------------------------------------