Manuals
/
ADC
/
Computer Equipment
/
Network Card
ADC
SG-1
user manual
Command-Line Interface CLI June 30 SG1-UM-8500-03
Models:
SG-1
1
30
226
226
Download
226 pages
28.6 Kb
27
28
29
30
31
32
33
34
<
>
Install
Password
users\defaulttelnet
Connecting the Power Source
Warranty
Configuration Port Cabling
Reset web
Menu Types of Commands
Method of Procedure
Ip tcp adjust-mss on off
Page 30
Image 30
Chapter 3:
Command-Line
Interface (CLI)
June 30, 2006
3-4
SG1-UM-8500-03
Page 29
Page 31
Page 30
Image 30
Page 29
Page 31
Contents
SG-1 Service Gateway System
Revision History
Table of Contents
Table of ContentsJune 30
SG1-UM-8500-03
June 30, 2006Table of Contents
Appendix B Redirection Server
Table of Contents June 30 SG1-UM-8500-03
List of Figures
SG1-UM-8500-03 Vii
List of Figures June 30 Viii SG1-UM-8500-03
List of Tables
List of Tables June 30 SG1-UM-8500-03
Intended Audience
Introduction
Organization
Chapter Description
Inspecting Your Shipment
Conventions
EU Compliance
Element Meaning
Features
Chapter
Site Preparations
Method of Procedure
Before YOU Begin
Overview June 30
Unpacking and Checking the Contents of Your Shipment
System Installation Notes
Packing List
Number
Specific SG-1 Chassis Installation Requirements
Required Tools and Equipment
Location Requirements
Environmental Requirements
Power Requirements
Blank Faceplate Requirement
System Cabling Requirements
Chassis Ground and Power Cabling
Configuration Port Cabling
Network Cabling
Overview June 30 SG1-UM-8500-03
Connecting the SG-1 Chassis Ground
Connecting the Power Source
Mounting the SG-1 Chassis
Connecting AC Power to an SG-1 AC Chassis
Installing Interface Cables
Installation June 30
Connecting Network Cards
June 30 Installation
Straight-Through and Cross-Over Cable Pin-Outs
Installing Cards and Blank Faceplates
Connecting the Craft Port Interface
Powering UP the SG-1
Connecting to an Ethernet Port
Installing Blank Faceplates
Serial Cable
Installation June 30 SG1-UM-8500-03
SG-1 Sub-Menus and Associated Commands Types of Commands
Overview
Understanding the Interface Structure
General Commands Enter the following command
Commands and Navigation
Menu Types of Commands
Command Path Navigation
COMMAND-LINE Editing
June 30 Command-Line Interface CLI
Navigation Commands Use This Feature
Command-Line Interface CLI June 30 SG1-UM-8500-03
Connecting to the Craft Port
Default Username/Password Authority
Logging on to the Craft Port
Host configure terminal Hostconfig# interface ethernet
Setting the IP Address
Accessing the Command Line Interface June 30
Write memory
Interface Identification Card/Type Slot/Port
Ethernet Mode
Parameters
Value Explanation
Host show configuration
Displaying the IP Address
Logging on
Configuring the SG-1
\users\defaulttelnet
Logging OFF
Using the Command Line Interface June 30
What to do Next
FIRST-LEVEL Commands
Using the ? command
Using the Grep command
System-command grep string
Showing a List of Available Parameters
June 30 First-Level Commands Examples
Using the show ? command
Host show ?
Show version softwarehardwarepack
Using the show version command
Host show version
Show version software SCC Show version hardware
Host show version Software Module Num Application
650003 8200935 Host
Displaying the configuration in Nvram
Show configuration
June 30, 2006Chapter 6 First-Level Commands Examples
Ip local-pool pool1 162.10.1.1 162.10.1.254 internal
Ip domain-name POPmaestro
Displaying Ethernet Port Statistics
Displaying Ethernet port configurations
Host show terminal
Host show ethernet 0 \
First-Level Commands June 30 Examples
Show port sonet
Displaying Sonet port status
Host show port sonet
Host show port sonet
Displaying ATM Port Status
Host show atm pvc
Show atm pvc
Show crnumber
Displaying User Status
Host show user
Number
First-Level Commands June 30
Host show ip-route
Displaying System Administrators
Displaying Routing Tables
Show ip-route
Show system Show system load
Displaying System Parameters
Host show system
Load
June 30 First-Level Commands
Displaying License Attributes
Host show license
Show license
DATE=December 22 2005 160357 Version
SN1=6046838
First-Level Commands June 30
Displaying Vrrp attributes
Host show vrrp interface
Ethernetvlan
Displaying active GRE and IP-in-IP tunnels
Host show ip-tunnel
10.10.1.20
Displaying show mpls-labels commands
Host show mpls-labels
0xc2010000 123876 192.0.1.8
Host show labels vc
VC Type Group ID Label Tunnel Endpoint Upper stack FEC ID
0xc2010001 1034 212.1.3.4
Host show mpls l2transport vc
Displaying show mpls l2transport vc commands
Displaying a list of available write commands
Host write ?
June 30 First-Level Commands Examples
Using the copy-TFTP command
Using the ping command to test network connectivity
Host copy-TFTP flash
Atm atm port number
Atm
Atm slot number
Atm sub-interface number
Host reload non-graceful
Using the reload command to restart the system
Host reload non-graceful Resetting the system in 10 seconds
Reload non-graceful
Clear user line number
Clearing Users
Host clear user
Line number
Traceroute ip address -h number -i seconds
Using the Traceroute Command
Host traceroute
Seconds
Using the exit command
Exit
Using Debug Mode
Switching to Debug Mode
Host debug
Show memory system log-modules statistics arp
Using the show command in debug mode
Hostdebug# show
System
First-Level Commands June 30 Examples
Group Error Event Trace Name Min Max
Module Group Error Event Event Trace Name Min Max
Show arp command
Clear arp command
Clear arp arp-specific ifindexNetAddress Parameters
Show memory
Defining the Sonet port source clock
Defining port-ethernet redundancy-mode command
Hostdebug# port-ethernet redundancy-mode
Hostdebug# port sonet source-clock
Hostdebug# radius-server check
Radius-server check user-name password auth-type PAP
Checking the system Radius interface
User-name
First-Level Commands June 30 SG1-UM-8500-03
Second Level Commands
Using the configure command
Second Level Commands June 30 Examples
Banner Command
Ethernet Commands
Hostconfig# banner command
Second Level Commands June 30
Ethernet mode
Configure Ethernet Ports Card Type Slot\Port
Hostconfig# no interface Ethernet 0\1
Ethernet Operating Mode
Hostconfig# no interface Ethernet
No interface Ethernet slot number\port number
Configuring Ethernet Redundancy
Using the port-ethernet redundancy-enable command
Hostconfig# port-ethernet redundancy-enable
Hostconfig# no port-ethernet redundancy-enable
June 30 Second Level Commands Examples
Using the no port-ethernet redundancy-enable command
Hostconfig# no port-ethernet redundancy-enable 1\1 1\2
Hostconfig# interface loopback
Loopback Commands
Configuring interface loopback
Interface loopback interface number IP address mask
Configuring the Vlan
Vlan Commands
Hostconfig# no interface loopback
Hostconfig# interface vlan
Second Level Commands June 30 Usage
Vlan id
Vlan name
Using the password pre-authentication command
Authentication Commands
Hostconfig# no interface vlan
Hostconfig# password pre-authentication
Def-service-auth command parameters
Setting the default-service authentication mode
Hostconfig# def-service-auth
Hostconfig# def-service-auth ppp-auto
Domain-authentication separator @# then press Enter
Changing domain authentication settings
Hostconfig# domain-authentication
No domain-authentication then press Enter
Hostconfig# no authentication web-auth-method
ATM Commands
Second Level Commands June 30 Example
Using the port sonet command
Configuring SONET/SDH port redundancy
Hostconfig# port sonet redundancy-enable
Hostconfig# interface
Using the pppoa enable command
Hostconfig# pppoa enable interface
HostConfig# no pppoa enable interface
Using the interface atm command
Hostconfig# interface atm
Interface atm command parameters
Hostconfig# no interface atm
Parameter Description Legal values/range
Vpi
Configuring a single PVC
Hostconfig# atm pvc
Vci
Configuring a range of PVC’s
Hostconfig# atm pvc range
Configuring the Radius server host
Configuring the Radius server in the SG-1 configuration
Hostconfig# radius-server
Hostconfig# radius-server host
Configuring the Radius proxy for native IP
Hostconfig# radius-proxy client
Radius-proxy client parameters Parameter Description Values
Service cache offon aging-time minutes
Using the service cache command
Hostconfig# service cache
Using the ip radius source-interface command
Hostconfig# access list
Access List Commands
Hostconfig# no ip radius source-interface
No ip radius source-interface
Hostcongfig# access-list native-ip
Hostconfig# access-list SNMP-permit 25.3.2.251
Using the access-list native-ip command
Access-listnative-ipsource ip address source mask
Using the access-list native-ip-pass-through command
Hostcongfig# no access-list native-ip
No access-list native-ip source ip address
Hostcongfig# access-list native-ip-pass-through
No access-list native-ip-pass-through source ip address
Snmp Commands
Hostcongfig# no access-list native-ip-pass-through
Using the SNMP-server community
Using the SNMP-server trap-source-int
Hostconfig# SNMP-server trap-source-int
Tunnel Commands
Hostconfig# interface tunnel
Setting the no interface tunnel command
Hostconfig# no interface tunnel
No interface tunnel interface number
Ip tunnel echo echo source IP address
Using the ip tunnel echo command
Hostconfig# ip tunnel echo
Echo source ip address
Setting the Idle-Timeout
Timeouts Commands
Setting the Session-Timeout
Idle-timeout command
Hostconfig# native-ip def-service-auth
Native IP Commands
Hostconfig# native-ip dhcp pre-auth-mode
Native-ip def-service-auth service name
Using the native-ip enable command
Hostconfig# native-ip enable interface
Using the no native-ip enable command
Hostconfig# no native-ip enable interface
Hostconfig# no native-ip enable Vlan 1\1\9
Hostconfig# native-ip raoming
Hostconfig# native-ip realm
Hostconfig# no native-ip realm
Native-ip realm realm string
Hostconfig# no native-ip roaming
No native-ip roaming
Ip tcp adjust-mss on off
Using the ip tcp adjust-mss command
Hostconfig# ip tcp adjust-mss
Hostconfig# ip tcp adjust-mss on
L2TP and PPP Commands
Hostconfig# tunnel-server
Hostconfig# ip primary-name-server
Hostconfig# ip secondary-name-server
Ip primary-name-server IP address
Hostconfig# ip local-pool
Setting multi-link mode
Hostconfig# multilink-mode
Defining an address pool
Using the lcp renegotiate command
Hostconfig# lcp renegotiate
Lcp renegotiate or no lcp renegotiate
Using the lcp echo command
Hostconfig# lcp echo
Using the service internal command
Hostconfig# service internal
Usage Scenarios SG-1 as xDSL aggregator using ATM network
PPPoE support
Using the no pppoe enable command
Using the pppoe enable command
Hostconfig# pppoe enable interface
Hostconfig# no pppoe enable interface
Hostconfig# ip dhcp relay server
Dhcp Commands
Using the ip dhcp relay server command
Using the no ip dhcp relay server command
Hostconfig# ip dhcp relay information option
Using the no ip dhcp relay information option command
Hostconfig# no ip dhcp relay information option
Hostconfig# ip dhcp relay agent-id-overwrite interface
Hostconfig# ip dhcp relay advertise-protocol
Ip dhcp relay advertise-protocol rip ospf
Hostconfig# ip igmp proxy upstream-interface
Igmp Commands
Using the ip igmp proxy command
Using the no ip igmp proxy command
Ip forward Hostconfig# no ip forward
Routing Command
Hostconfig# ip forward
Hostconfig# ip route
Tunnel interface ip
Route network 192.168.4.0 to Loopback interface
Hostconfig# ip default-gateway
Hostconfig# no ip route
Using the ip default-gateway command
Hostconfig# no ip default-gateway
Hostconfig# router
No ip default-gateway
Using the router command
Using the router id command
Ip rip authentication key key name
Hostconfig# no router
Hostconfig# ip rip authentication key
Hostconfig# ip ospf interface ... area
Hostconfig# ip ospf interface ... hello-interval
Hostconfig# no ip ospf interface
Using the ip ospf interface hello-interval command
Hostconfig# no ip ospf interface ... hello-interval
Hostconfig# no ip ospf interface ... dead-interval
Using the ip ospf interface dead-interval command
Hostconfig# ip ospf interface ... dead-interval
Using the ip ospf interface authentication command
Hostconfig# no ip ospf interface ... authentication-key
Using the ip ospf interface authentication-key command
Hostconfig# ip ospf interface ... authentication-key
Simple-pass message-digest null
Using the no ip ospf interface message-digest-key command
Using the ip ospf interface message-digest-key command
Hostconfig# no ip ospf interface ... message-digest-key
Keyid
Hostconfig# ip ospf advertise network
Hostconfig# ip ospf area
Hostconfig# no ip ospf area ... stub
No ip ospf area area-idstub
Hostconfig# mpls ip interface
Hostconfig# no ip ospf advertise network
Using the mpls ip interface command
Hostconfig# no mpls ip interface
Hostconfig# no mpls ip Ethernet 0\1
Using the mpls l2transport interface command
Hostconfig# mpls l2transport interface
Using mpls l2transport route command
Hostconfig# no mpls l2transport interface
Hostconfig# no mpls l2transport interface 194.90.1.4
Hostconfig# mpls l2transport route interface
Using the no mpls l2transport route command
Hostconfig# no mpls l2transport route interface
Hostconfig# no mpls ip default-route
Hostconfig# mpls ip default-route
Mpls ip default-route
No mpls ip default-route
Priority value
17. vrrp command parameters
Ethernet Vlan
On off
June 30 Second Level Commands Example 1 SCC1 configuration
Hostconfig# no vrrp interface Ethernet 0\1
Second Level Commands June 30 Using the no vrrp command
Hostconfig# no vrrp interface
Using the vrrp preempt command
Configure watchdog
Debug Commands
Hostconfig# vrrp preempt interface Vlan 1\2 7 enable
Config-debug# watchdog-TimeValue
Configure error level commands
Configure time server
Config-debug# time-server-ip
Config-debug# error-level
June 30 Second Level Commands Example
Set-all
Debug modules
Vrrp Mpls
Debug groups
Trace commands
Config-debug# trace
Config-debug# exit
Configure
Config-debug# sysLog-server-ip
Example Config-debug# exit cr Host
Example Config-debug# end cr config# SG1-UM-8500-03
Attribute
Vendor-Specific Attributes Table
Table A-1. Vendor-Specific Attribute List
First Num Attribute Name Group Introduced Description
Appendix a SG-1Vendor-Specific Attributes June 30
June 30 Appendix a SG-1Vendor-Specific Attributes
Radius
Appendix a SG-1Vendor-Specific Attributes June 30
June 30 Appendix a SG-1Vendor-Specific Attributes
User Group
Hierarchical Attribute Mode
Authentication Response Type Accounting Behavior
Useraccounting sub-attribute
Scenario Action Radius definition Accounting Behavior
Useraccounting=disable
Useraccounting=enable
General
Adc-avpair = userorig-name=test
Userorig-name sub-attribute
Adc-avpair = userorig-name=original user name
Userauth-type sub-attribute
June 30 Appendix a SG-1Vendor-Specific Attributes General
Adc-avpair = userauth-type=pre-auth
Useraction sub-attribute
User SSC-host sub-attribute
User service-name sub-attribute
Adc-avpair = useraction=Reject
Adc-avpair = userSSC-host=SSC host IP address
Adc-avpair = userservice-name=service name
Adc-avpair = userservice-name=SRV1
Userpersonal-site sub-attribute
Adc-avpair = usermac-address=00022d386dbe
Adc-avpair = userpersonal-site=site URL
Adc-avpair = usermac-address=User MAC address
Adc-avpair = usergroup=group number
Userclass sub-attribute
Usermax-allowed-sessions sub-attribute
Adc-avpair = usermax-allowed-sessions=1
Adc-avpair = userclass=user class data
Adc-avpair = usereds-cookie=user eds cookie
Adc-avpair = usereds-enc-key=EDS encryption key
Adc-avpair = usereds-enc-key=02f804fea90102f8
Adc-avpair = usereds-cookie=rt123456
Useroriginal-url-prefix sub-attribute
Adc-avpair = useroriginal-url-prefix=prefixed string
Adc-avpair = useroriginal-url-prefix=?url=
Adc-avpair = dhcpdhcp-server=DHCP Server IP
Dhcp Group
Dhcpdhcp-server sub-attribute
Adc-avpair = dhcpdhcp-server=194.90.1.5
Dhcpopt82-relay-remote-id sub-attribute
Adc-avpair = dhcpdiscover-action=normal update
Adc-avpair = dhcpdiscover-action=update
Adc-avpair = dhcpopt82-relay-remote-id=01844400660300
Adc-avpair = serviceservice-timeout=500
Service Group
Adc-avpair = serviceservice-timeout=timeout in seconds
Protocol Group
Adc-avpair = serviceauto-service-name=service name
Adc-avpair = servicenext-service-name=service name
Adc-avpair = servicenext-service-name=SRV12
Adc-avpair = serviceauto-service-name=SRV12
Adc-avpair = serviceauth-source=CLI
Serviceauth-source
Adc-avpair = serviceauth-source=service user CLI
Servicedata-quota
Adc-avpair = servicedata-quota-used=5000000
Adc-avpair = servicedata-quota=5000000
Servicedata-quota-used
Serviceacl-data-quota
Adc-avpair = serviceservice-cache=off
Adc-avpair = serviceacl-data-quota=1015000000
Serviceservice-cache
Serviceacl-data-quota-used
Adc-avpair = serviceacl-data-quota-used=video5000000
Serviceacl-packet-quota
ADC-avpair = serviceacl-packet-quota=mail100300
Serviceacl-packet-quota-used
Adc-avpair = serviceacl-packet-quota-used=mail100245
Serviceroaming
Adc-avpair = serviceroaming=disable
Route Group
Adc-avpair = routenext-hop=Next-hopIP address
Adc-avpair = routenext-hop=192.168.1.23
Adc-avpair = routeadvertise-protocol=ripv2 ospf
Adc-avpair = routenip-pipe-next-hop=Next-hop IP address
Adc-avpair = routenip-pipe-next-hop=192.168.1.23
Adc-avpair = routeadvertise-protocol=ospf
Adc-avpair = routeforward-addr=IP address
Adc-avpair = routeforward-addr=192.168.1.4
Vpdn Group
Adc-avpair = vpdntunnel-id=username
Adc-avpair = vpdntunnel-id=test
Adc-avpair = vpdnip-address=x.x.x.x
Adc-avpair = vpdnl2tp-tunnel-password=password
Adc-avpair = vpdnl2tp-tunnel-password=test
Adc-avpair = vpdnip-address=192.168.4.3
Vpdntunnel-client-ip-address
Vpdnip-tunnel sub attribute
Vpdnnativeip sub-attribute
Gcon-avpair = vpdnnativeip=ppp
Adc-avpair = vpdnip-tunnel=gre192.168.1.34
QOS Group
Gcon-avpair = qosup-mean-rate=up mean rate in Kbits
Gcon-avpair = qosup-mean-rate=128
Qosacl-down-mean-rate sub attribute
Adc-avpair = qoscos=access-list nameCOS value
Adc-avpair = qosacl-up-mean-rate=acl1128
Adc-avpair = qosacl-down-mean-rate=acl1256
Qosacl-priority sub attribute
Adc-avpair = qosacl-priority=acl11
Adc-avpair = dnsip-primary=Primary DNS IP
DNS Group
Dnsip-primary
Adc-avpair = dnsip-primary=194.90.1.5
Using password command
Appendix B
Default-redirection-site URL name
Password user type password
Using default-redirection-site command
RDSHost configure terminal cr
Using orup-active command
Orup Commands
Using Orup Original Requested URL Prefix
Using no orup-active command
Service-name service name
Service Name Commands
Using service-name command
No service-name
June 30 Appendix B Redirection Server Usage
Tftp Commands
Using copy-TFTP command
Event-level NUM output-device Logging media
Using copy-TFTP flash def-redirection-page command
Example 2 Unsuccessful software download
Copy-TFTP flash def-redirection-page IP address File name
Using sysLog-server-ip command
Parameter sysLog server IP
RDSHost sysLog-server-ip 192.168.1.8 cr
Show Commands
Using show version command
Using show system command
Using show configuration command
Show configuration
June 30 Appendix B Redirection Server Example
Using interface Ethernet command
Appendix B Redirection Server June 30 Example
Hostconfig# no interface Ethernet 1 cr
No interface Ethernet Interface number
Using no ip default-gateway command
Default Gateway Commands
Using ip default-gateway command
No ip default-gateway
Parameter non-graceful
Using Reload Command
Format
RDSHost RDSHost reload non-graceful
Write Commands
Using write terminal command
Write terminal
Poweroff
Using Poweroff Command
Using write memory command
Using access-list SNMP-permit command
Using SNMP-server community command
Using no access-list SNMP-permit command
No access-list SNMP-permit IP address
Appendix B Redirection Server June 30 Parameters IP address
Reset configuration
Using Reset Configuration Command
Http Commands
Using http-proxy-server port command
Parameter port number
Using no http-proxy-server port command
Http-proxy-server port port number
No http-proxy-server port port number
Ip primary-name-server IP address
Using ip primary-name-server command
Name Server
RDSHost write terminal cr Ip dns server
Using no ip remote-proxy command
Using ip remote-proxy command
RDSHostconfig ip remote-proxy192.168.1.4 8080 cr
RDSHost write terminal cr Ip remote-proxy 192.168.1.4
Hostname rdstest
Using Hostname Command
RDSHostconfig hostname rdstest cr RDSHost write terminal cr
Eds-url-identity eds url name
Using remote-ip-in-ip command
No eds-url-identity
Remote-ip-in-ip IP address
Using no remote-ip-in-ip command
No remote-ip-in-ip IP address
Using show proc command
Show User Commands
Using show users command
Using show memory command
Reset web
Using Debug Protocol Command
Using Rest WEB Command
Show cpu
Using Date Command
RDSHostADC date 180730 10/02/2002 cr
ADC Technical Assistance Center
Sales Assistance
Systems Integration
800.366.3891
Appendix C Product Support June 30 SG1-UM-8500-03
Glossary
SG1-UM-8500-03 GL-1
Glossary June 30 GL-2 SG1-UM-8500-03
Certification and Warranty
World Headquarters
For Technical Assistance
Top
Page
Image
Contents