SmartWare Software Configuration Guide
SN(if-ip)[internal]#interface lan
SN(if-ip)[lan]#exit
SN(ctx-ip)[router]#interface internal
SN(if-ip)[internal]#ipaddress 192.168.3.1 255.255.255.0
SN(if-ip)[internal]#interface external
SN(if-ip)[external]#ipaddress 192.168.2.1 255.255.255.0
SN(if-ip)[external]#interface lan
SN(if-ip)[lan]#ipaddress 192.168.1.1 255.255.255.0
3. We define a voice profile which gives priority to voice packets. We set the rate limit according to the band-
width available for voice and data on PVC 1 (512kBits/sec in this case).
SN(cfg)#profile service-policy VoicePrio
SN(pf-srvpl)[VoicePr~]#rate-limit 512
SN(pf-srvpl)[VoicePr~]#source class local-voice
SN(src)[local-v~]#priority
SN(src)[local-v~]#source class local-default
SN(src)[local-d~]#priority
SN(src)[local-d~]#source class default
4. The serial interface settings are configured.
SN(cfg)#port serial 0 0
SN(prt-ser)[0/0]#shutdown
SN(prt-ser)[0/0]#encapsulation framerelay
SN(prt-ser)[0/0]#hardware-port x21
SN(prt-ser)[0/0]#port-type dte
5. 5
The Frame Relay configuration is done next. Therefore we have to change to the Frame Relay configuration
mode. We use the service-policy profile defined above to give voice priority over data.
SN(prt-ser)[0/0]#framerelay
SN(frm-rel)[0/0]#lmi-type ansi
SN(frm-rel)[0/0]#keepalive 20
SN(frm-rel)[0/0]#use profile service-policy VoicePrio out
6. The introduced PVCs need to be configured. We enable fragmentation for PVC 1. The voice uses codec
G.723 at a packet size of 30ms. Therefore the minimum fragment size must be 66 Bytes. Setting the frag-
Examples
14 • Serial port configuration
175
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?