background image

2 — Basic Commands on Running Local Management

2-2

2.2

Checking Your Router Performances

i)

To check for 

line parameters

:

bsp line

ii)

To check for 

line performance

:

bsp perf

iii)

To check for 

line status

:

bsp mode

iv)

To check 

net data rate

:

bsp channel

v)

To monitor traffic:

bun list channels

2.3

Checking Your Router Entries

Messages displayed are the settings you have saved.
i)

To list existing interfaces:

ip device

or

bridge device  

[for Transparent Bridge and RFC 2684 (RFC 1483) Ethernet Framing]

ii)

To list existing subnet mask:

ip subnet

or

ppp 1 lansubnet 

(for RFC 2364 and RFC 2516)

iii)

To list existing route table (not applicable for Transparent Bridge)

ip route

Summary of Contents for ADSL Ethernet Router Series

Page 1: ...thernet Router Series Technical Manual Version 1 5 Protocols Discussed RFC 2684 RFC 1483 Ethernet Framing RFC 2684 RFC 1483 IP Framing RFC 2225 RFC 1577 IPoA RFC 2516 PPPoE RFC 2364 PPPoA Transparent...

Page 2: ...ed P N 040 513447 151 Ref 9009000 Virata is a registered trademark of Virata Corporation All other company or product names are trademarks or registered trademarks or service marks of their respective...

Page 3: ...r spill liquid of any kind on the unit Do not place the unit on an unstable stand or table The unit may drop and become damaged Do not expose the unit to direct sunlight Do not put any heat generating...

Page 4: ...s 3 3 3 Configuring Your Router 4 1 3 1 Configuration Flow Chart 4 1 3 2 Network Setup Overview 4 2 3 3 Configuring the Basics 4 4 3 3 1 Configuring the Basics Step 1 Resetting your Router s Configura...

Page 5: ...6 1 To Enable DNS Relay with fixed IP address from your ADSL Service Provider 4 17 3 6 2 To Check DNS Relay Server Status 4 17 3 6 3 To Disable DNS Relay 4 17 3 7 Setting Up SNMP 4 18 3 7 1 Read Write...

Page 6: ...mands 7 1 6 1 1 Step 1 Configuring the LAN 7 1 6 1 2 Step 2 Configuring PPP Client and PNS PPTP Network Server 7 1 6 1 3 Step 3 Binding to Ethernet Interface 7 2 6 2 Setting Up Dial Up Networking 7 2...

Page 7: ...A 2 1 device add A 11 A 2 2 device delete A 12 A 2 3 device flush A 12 A 2 4 device list A 13 A 3 PPP Commands A 14 A 3 1 Console object types A 14 A 3 2 Console examples A 14 A 3 3 channel echo every...

Page 8: ...dnsrelay trace untrace A 30 A 5 7 help A 31 A 5 8 status A 31 A 5 9 version A 32 A 6 BUN Commands A 33 A 6 1 bun list channels A 33 A 7 PPTP Commands A 34 A 7 1 Console object types A 34 A 7 2 Consol...

Page 9: ...d The line protocols discussed are RFC 2684 RFC 1483 Ethernet Framing RFC 2684 RFC 1483 IP Framing RFC 2225 RFC 1577 IP over ATM RFC 2364 PPPoA and RFC 2516 PPPoE The configuring of NAT Inbound Port F...

Page 10: ...in italics are to be replaced with values from your ISP System Administrator In the example ppp 1 pvc 0 35 ip you are to replace 1 0 and 35 with actual values given from your System Administrator x N...

Page 11: ...Accessories Communications HyperTerminal Double click HyperTerminal 1 Setting Up Local Management Local management refers to the process of managing and configuring the settings of your router for yo...

Page 12: ...dialog box select the COM port that your router is connected to and click OK iv From the Port Settings make the following selections for the fields Bits per second 9600 Data bits 8 Parity None Stop b...

Page 13: ...of your serial cable Make sure that the connection is firm and power on the router again You may now proceed with the following chapters to run local management v Power on the Power Mains and the swi...

Page 14: ...Basic Commands on Running Local Management This section gives you the basic guidelines on console commands how to check your router performances router entries to disconnect connect your ADSL link and...

Page 15: ...rate bsp channel v To monitor traffic bun list channels 2 3 Checking Your Router Entries Messages displayed are the settings you have saved i To list existing interfaces ip device or bridge device for...

Page 16: ...Connect the ADSL Link i To disconnect the ADSL link bsp down Upon issuing this command ADSL Link will be disconnected unless the following command is issued ii To re connect establish the ADSL link b...

Page 17: ...Framing RFC 2684 IP Framing RFC 2225 IPoA RFC 2364 PPPoA RFC 2516 PPPoE Transparent Bridge Configure Routing Table Enable IP Forwarding NAT required Enable NAT Config Save N o Y e s Transparent Bridge...

Page 18: ...re required to replace these values with those given by your ADSL Service Provider System Administrator 2 Console commands are case sensitive Punctuations examples _ underscore hyphen spacing etc must...

Page 19: ...PPPoE The WAN IP and WAN Gateway will be dynamically assigned by the PPP server There is no need to specify the WAN IP nor to configure a default route to the WAN Gateway Configuring the PCs For PC A...

Page 20: ...tep 6 Enabling NAT Step 7 Saving the Configurations With the basics configured you may proceed also with the configurations on the following sections 3 4 Setting Up NAT Inbound Port Forwarding 3 5 Con...

Page 21: ...interfaces You may type ip device bridge device to list existing interfaces ip device flush bridge device flush To identify your current line protocol configured type ip device Check the type and dev...

Page 22: ...if any You may type ip route to list existing routes ip route flush d To remove NAT on a WAN interface if any See illustration shown below To list any existing NAT enabled WAN interface ip nat If you...

Page 23: ...nfiguring the WAN For RFC 2684 RFC 1483 Ethernet Framing a To add a bridge device assuming the PVC given by your ADSL Service Provider is 0 35 For LLC SNAP encapsulation bridge device add bun port atm...

Page 24: ...9 154 all in one line ip subnet add wan home 202 166 29 154 ff ff ff 0 For multiple PVCs Repeat a with different PVCs values Append wan with an underscore _ followed by a unique digit for each of the...

Page 25: ...ip ipatm pvc add wan atm 0 35 remoteip 202 166 29 2 OR To obtain WAN settings automatically from your ADSL Service Provider ip device add wan atm atm dhcp ip ipatm pvc add wan atm 0 35 remoteip 202 1...

Page 26: ...connection ppp 1 echo every 10 d If you do not want to enable NAT you mayenable the PPP IP Unnumbered feature availability will depend on your router package PPP IP Unnumbered allows you to enable IP...

Page 27: ...k disruption and re connection ppp 1 echo every 10 e If you do not want to enable NAT youmay enable the PPP IP Unnumbered feature availability will depend on your router package PPP IP Unnumbered allo...

Page 28: ...is feature to reduce unnecessary traffic ip rip accept all none ip rip send all none 3 3 5 Configuring the Basics Step 5 Enabling IP Forwarding To enable IP forwarding between your LAN and WAN ip rela...

Page 29: ...C A IP 192 168 1 2 Subnet mask 255 255 255 0 Gateway 192 168 1 1 For PC B IP 192 168 1 3 Subnet mask 255 255 255 0 Gateway 192 168 1 1 NAT Inbound Port Forwarding is not applicable for Transparent Bri...

Page 30: ...Port 21 nat inbound add wan 21 tcp 192 168 1 101 iii To show the current IP forwarding rules nat inbound list e g Interface Port Proto New IP address 1 wan 80 tcp 192 168 1 100 2 wan 21 tcp 192 168 1...

Page 31: ...ul commands for DHCP i To list down the configuration file dhcpserver config ii To delete the last command line dhcpserver config delete iii To remove all previous configuration lines dhcpserver confi...

Page 32: ...IP Properties to Obtain an IP address automatically option ii Sample of DHCPSERVER Configurations dhcpserver config add allow unknown clients config add subnet 192 168 1 0 netmask 255 255 255 0 config...

Page 33: ...the PPP module device is 1 ppp 1 enableprimarydns relay config save restart Ensure that the DNS Server address of the DHCP Server is set to the LAN IP address of your router Example section 3 5 2 DHCP...

Page 34: ...Dynamic IP obtained from far end server range 192 168 1 2 to 192 168 1 100 IP for router Fixed at 192 168 1 1 ii To enable SNMP read and write access ip snmp access writestm4 192 168 1 115 Assuming t...

Page 35: ...trap delete community_name 192 168 1 5 21 snmp trap list No trap destinations set 3 8 Setting up Telnet Access By factory default Telnet Access is enabled If the feature has been removed from your ro...

Page 36: ...ter 3 20 3 9 Configuring Autoloop for IP Interface ip device add loop loop 127 0 0 1 ip autoloop on config save By default autoloop is disabled Once the above commands are issued you are able to ping...

Page 37: ...nderscore hyphen spacing etc must be adhered to strictly 3 For any queries on the console commands you may refer to Appendix A Commonly Used Commands for the syntax and descriptions 4 1 NetworkSetupOv...

Page 38: ...lear For the rest of the configurations follow the instructions below a To delete all the interfaces You may type ip device bridge device to list existing interfaces ip device flush bridge device flus...

Page 39: ...in one line For VCMUX encapsulation bridge device add bun port atm rfc1483 true mode vcmuxbridged txvpi 0 txvci 35 rxvpi 0 rxvci 35 all in one line For multiple PVCs repeat the above commands with the...

Page 40: ...PVC values and options to use 5 1 Example on RFC 2684 RFC 1483 IP Framing i To reset all IP configurations ppp1 clear ip device flush bridge device flush ip subnet flush ip route flush ii Configuring...

Page 41: ...flush ii Configuring the LAN ip device add lan ether edd 192 168 1 1 ip subnet add lan home 192 168 1 1 ff ff ff 0 iii Configuring the WAN for CHAP authentication ip device add ppp_device ether ppp DE...

Page 42: ...must be adhered to strictly 5 For detailed description and syntax of console commands you may refer to Appendix A Commonly Used Commands on this Technical Manual 6 1 Running the Console Commands 6 1 1...

Page 43: ...s desktop right click on Network Neighborhood icon and select Properties ii Click on Add iii Select Adapter and click Add iv From the Manufacturers list scroll down and select Microsoft From the Netwo...

Page 44: ...You may be prompted for your Windows 98 CD ROM Place the CD ROM into your CD ROM Drive and follow the instructions prompted vii Restart your system when prompted You should see Microsoft Virtual Priv...

Page 45: ...using Windows 98 from your Windows desktop click on Start Programs Accessories Communications Dial Up Networking Double click on Make New Connection vi At the following prompt enter any name for the c...

Page 46: ...ernet Connection i From your Dial Up Networking folder double click on your newly created icon ii Enter the User name and Password given by your ADSL Service Provider and click Connect Upon successful...

Page 47: ...is hidden not shown by ip help Example ip autoloop autoloop off ip device type dev file IP address device ether ether nice mtu 1500 192 168 2 1 device loop loop mtu 2048 127 0 0 1 ip ping 127 0 0 1 i...

Page 48: ...on is included Example ip config device add ether ether nice mtu 1500 192 168 2 1 device add vlane ether lane mtu 1500 192 168 55 1 subnet add vlane home 192 168 55 0 ff ff ff 00 subnet add ether home...

Page 49: ...ds It is often chosen to be the same as type though this is perhaps slightly confusing type specifies the class of interface Ethernet like IP over ATM or loopback For an Ethernet like or IP over ATM i...

Page 50: ...DHCP server on that interface The ip device command lists the current configuration of any devices attached to the IP stack A device configured to use DHCP will show dhcp in the IP address column foll...

Page 51: ...pends on the system IP address is the IP address of the machine at the other end of the PVC If it is not specified TCP IP will use Inverse ATMARP RFC 2225 RFC 1577 to determine the IP address if it is...

Page 52: ...to every non loopback interface relay if1 from if1 to every non loopback interface and from every interface to if1 relay if1 forward from if1 to every non loopback interface relay if1 if2 from if1 to...

Page 53: ...FC 1058 or RIP version 2 RFC 1723 TCP IP will accept incoming information on each interface Configuration saving saves this information By default both RIP versions are accepted on all interfaces rip...

Page 54: ...erface If both versions are specified routing information is broadcast in duplicate once using each version Specifying all affects all interfaces except the loopback interface if any Configuration sav...

Page 55: ...if dest is 0 0 0 0 then it would be better for the mask to default to 0 0 0 0 This may change in future versions cost default 1 is the number of hops counted as the cost of the route which may affect...

Page 56: ...0 0 0 202 166 29 2 0 0 0 0 A 1 10 snmp Syntax snmp access read write delete flush parameters snmp config save snmp help cmd all snmp trap add delete flush list parameters snmp version Description Mana...

Page 57: ...attached to the bridge The maximum number of devices is 10 If a device is successfully added to the bridge the device will be active immediately To make the changes permanent the configuration needs t...

Page 58: ...for the device add command Configuration saving saves this information Example device delete bun port atm rfc1483 true mode llcbridged txvpi 0 txvci 35 rxvpi 0 rxvci 35 all in one line See also devic...

Page 59: ...t Description This command lists all the devices that are currently attached to the bridge It does not show the stored configuration which can be seen with the config print command Example device list...

Page 60: ...tion Channels are numbered from 1 Many ppp console commands affect only a single channel The command is prefixed with the channel number Users A user is a user name and password All users must have di...

Page 61: ...firm the continued presence of an open PPP connection by sending an LCP echo every few seconds and requiring an echo reply The number of seconds between echo requests is specified as a parameter If 0...

Page 62: ...command will initiate LCP over the newly connected link The ip indicates which form of data is transported over the connection The ip is assumed if not given If the channel is not linked to an interf...

Page 63: ...on saving saves this information By default a channel has no connection information Example ppp 3 pppoe 3 32 set channel 3 to be VPI 3 VCI 32 ppp 4 info all read PVC settings for channel 4 ppp 5 pppoe...

Page 64: ...rovided ip is assumed If the channel is not linked to an interface and the channel is for IP data the channel is linked to interface 1 If the channel is not linked to an interface and the channel is f...

Page 65: ...efault no login is performed A 3 7 user Syntax user add name pwd passwd pap chap user name user delete name all Description This command stores information about a particular login name password combi...

Page 66: ...This command displays or sets the current level of event tracing in the NAT process Larger values of n result in more verbose trace output for example All trace messages are printed as background outp...

Page 67: ...network which the packet s destination IP address should be translated to If a rule is added for an interface on which NAT is not enabled the rule is added anyway but a warning is printed to alert the...

Page 68: ...layed Example nat info Interface table size 1 116 bytes Session table size per interface 128 6656 bytes Total 6656 bytes Hash table size per interface 128 512 bytes Total 512 bytes Fragment table size...

Page 69: ...ce enabled or whether NAT is still waiting to find out the interface s IP address not ready Example nat interfaces Name Status IP address ethernet enabled 194 129 40 2 ppp not ready A 4 5 ip nat Synta...

Page 70: ...number and the age of the session are printed The all option causes the sessions command to print out information on every session including sessions which have timed out Normally the sessions command...

Page 71: ...et subnet subnet number netmask netmask parameters declarations The subnet statement is used to provide the DHCP server with enough information to determine whether or not an IP address is on that sub...

Page 72: ...ort a much wider range of configuration options The available options are as follows option subnet mask ip address The subnet mask option specifies the client s subnet mask as per RFC 950 If no subnet...

Page 73: ...the DNS relay including the DNS server address the number of communication retries the relay will attempt in the event of a failed connection and whether or not the relay has managed to connect succe...

Page 74: ...tion retry value set to 4 A 5 4 dnsrelay server Syntax dnsrelay server DNS server IP address Description This command tells the DNS relay which DNS server to contact Caution must be exercised when usi...

Page 75: ...it knows which DNS server to try to contact and if so whether or not it has successfully connected to the server Example dnsrelay status DNS relay status DNS server address discovery incomplete dnsre...

Page 76: ...resolver queries response Trace DNS server responses error Report all serious error evel events warn Report all minor warning level events conn Trace DNS server connectivity all Activate all trace op...

Page 77: ...ription This command provides a summary of all leases known to the server on each interface in turn It also shows remaining available IP addresses i e those with no specified lease time or client iden...

Page 78: ...A Commonly Used Commands A 32 A 5 9 version Syntax dhcpserver version Description This command displays the current version number of the DHCP software Example dhcpserver version DHCP Version 1 02...

Page 79: ...n List all open connections on the specified port If no port is nominated all channels on all ports will be displayed The channels are shown with their identification number and a selection of useful...

Page 80: ...se examples are for configuration of the PPTP Access Concentrator PAC Obviously the PPP client or server and the PNS must also be configured Dial Out The PPTP module uses functionality provided by the...

Page 81: ...ecified no incoming control connections will be accepted in this case tunnels may only be established via the local create and connect commands Configuration saving saves this information The default...

Page 82: ...cated for use by an incoming control connection from a remote PNS At least one such tunnel must exist if any incoming connections are to be accepted at all Incoming connections are mapped to the first...

Page 83: ...el 1 enter pptp 1 delete See also tunnel create on section A 7 4 using the ipaddress option A 7 6 tunnel info Syntax tunnel info all Description Provide information about the current settings of this...

Page 84: ...tcp SUN Remote Procedure Call RPC 111 udp Network News Transfer Protocol NNTP 119 tcp Network Time Protocol NTP 123 tcp and 123 udp News 144 tcp Simple Management Network Protocol SNMP 161 udp SNMP tr...

Reviews: