Draytek Vigor VigorAccess, VigorAccess IP DSLAM Quick Start Manual

Page 1
VigorAccess IP DSLAM
Quick Start Guide
Version: 1.0
Date: 2006/05/22
Page 2
Page 3
VViiggoorrAAcccceessss IIPP DDSSLLAAMM QQuuiicckk SSttaarrtt GGuuiidde
This quick start guide will guide you to finish the basic configuration for accessing Internet with VigorAccess IP
DSLAM.
e
X
NNeettwwoorrkk TTooppoollooggyy OOvveerrvviieeww
Above diagram shows the basic network topology (example) among master device, slave device, MDF, CPE (ATU-R) router and user’s computer. One thing is important – always set the VPI/VCI value for the CPE the same as the ones configured in master and slave IP DSLAM. The default setting for VPI/VCI of IP DSLAM is 8/35. By the way, the values for these devices can be changed (yet must match with CPE) if necessary. Please finish all the connections according to the real situation of the environment for the devices.
Note: A master device connects to Internet through UP-G connector. Yet, a slave device also can work alone without connecting the master device. For a standalone slave device, please use UP1or UP2 to access Internet with Ethernet cable.
Y
Z
Quick Start Guide for VigorAccess
MMaannaaggeemmeenntt ffoorr VViiggoorrAAcccceessss
If users want to configure or monitor the devices, there are some methods provided here to utilize. The MGN port on the master device allows you to make control remotely; yet the Console port on the master/slave device only allows you to make control locally.
Note: If you are not used to configure the settings with terminal emulator software or Telnet commands, you can use VigorCMS (SNMP-based) software to manage these devices. For the detailed information, please contact your dealer.
VigorAccess can be managed via MGN, Console, even Uplink Ports. It depends on your necessity.
PPoorrtt CCoonnnneeccttiioonn ffoorr MMaannaaggeemmeenntt
No matter what tool you would like to use for managing master and/or slave device, the first thing you have to do is making correct port connection.
1
Page 4
For Master Device For Slave Device Connect to a PC through
CONSOLE port. It is useful for controlling the device locally.
Connect to a PC through MGN port. It is useful for controlling the master device remotely.
Connect to a PC through CONSOLE port. It is useful for controlling the device locally.
[
CCoonnffiigguurraattiioonn bbyy UUssiinngg TTeerrmmiinnaall EEmmuullaattoorr SSooffttwwaarree
S How to Login with a T e rminal Emulator Software
For Master Device For Slave Device
1. The default setting is “baud rate 9600, no
parity, and 8 bit with 1 stop bit (N,8,1)”.
2. Use any terminal emulator software for
executing commands. Username – admin
Password – 1234
1. The default setting is “baud rate 9600, no parity,
and 8 bit with 1 stop bit (N,8,1)”.
2. Use any terminal emulator software for executing
commands. Username – admin;
No Password
S How to Login to DSL Module for Managing DSLAM
Both master and slave devices have DSL module installed. The DSL module plays the core role for aggregating all ATM traffic coming from DSL ports to the uplink Ethernet interface, and vice versa. Through the master controller in the master device, administrator can login to the DSL module inside master or slave device for managing DSLAM.
To DSL Module in Master Device To DSL Module in Slave Device
There are two ways provided:
Admin>dsl -c (press <Ctrl-Z> to return)
-
-
Admin>dsl -m (‘exit’ to return)
Only one slave device can be logged in at one time.
-
Admin>dsl -s n (type ‘exit’ to return),
n is “1” to “6” indicating the port the slave device connects to
S How to Plug and Play Slave Device
By default, ports G1 to G6 on master device are disabled. If the slave connects to the master device, please refer to the picture below to ensure the connection is well.
2
Quick Start Guide for VigorAccess
Page 5
Please turn on the interface that connected to a slave device. In the above picture, you have to turn ON the interface G1, G4 and G6 for they connect to different slave devices. Use the command on Master below to turn on the interface.
Admin>system link -m gn on
-
(n means “1” to “6”)
Admin>system link
-
(check the status)
S How to Check the Connectivity
Master Device
UP-G
Slave Device
Connect to other slave device
To check the connectivity between the Master
The results
and Slave Devices, please do the following:
1. Login through terminal emulator software.
You will get the following results:
2. Type the following command
Admin>dsl
-
S How to Check the Version Information
To display the basic information of the controller inside the master device
1. Login through terminal emulator software.
2. Type the following command
Admin>system basic
-
The results
You will get the following results:
Quick Start Guide for VigorAccess
3
Page 6
To display the DSL module information inside the master/slave device
1. Login the specified DSL module.
2. Type the following command to get the
DSL module information
$get system info
-
The results
You will get the following results:
S How to Save the Configuration
To save the configuration for the controller To save the configuration for the DSL module
Type the following comman d to save the configuration. Next time, the saved configuration will be invoked after powering on the device.
Admin>commit
-
Type the following comman d to save the configuration. Next time, the saved configuration will be invoked after powering on the device.
$commit
-
\
CCoonnffiigguurraattiioonn bbyy UUssiinngg TTeellnneett
T o use Telnet for managing Master/Slave device, refer to the following sections.
Default IP Settings for Master Device Default IP Settings for Slave Device
1. The default IP address of Outband (MGN
port): 172.16.1.1/255.255.255.0)
2. IP address for Inband (UPLINK port): 0.0.0.0
(disable)
Proprietary DHCP is configured on UPLINK port in slave device by default. The IP address will be assigned automatically when it connects to the master device.
S How to Change Master IP Setting
Changing master IP address setting (for management) is allowed to suit personal requirement. Type the command below to change the settings.
For Outband (MGN port connection) , please set as the following
Admin>network out <new-ip> <mask> [vlanid]
-
For Inband (UPLINK port connection) , please set as the following
Admin>network in <new-ip> <mask> [vlanid]
-
For the Status, please set as the following
-
Admin>network out or - Admin>network in
Note: The IP addresses for MGN port and UPLINK ports cannot belong to the same domain.
4
Quick Start Guide for VigorAccess
Page 7
S How to Configure IP Address for Slave-Standalone Device
A slave device can work alone without connecting the master device. There are two types of slave device that user might have. One is the device with two fast-ethernet interface version; the other is the device with one gigabit-ethernet interface version.
For two fast-ethernet interface version, please set as the following
$aggr intf ifname aggr-0 ip <new-ip> mask <mask> usedhcp false
-
For one gigabit-ethernet interface version, please set as the following
$ethernet intf ifname eth-0 ip <new-ip> mask <mask> usedhcp false
-
Change back to master-slave architecture, please set as the following
$aggr (ethernet) intf ifname aggr-0 (eth-0) ip 0.0.0.0 mask 0.0.0.0 usedhcp true
-
S How to Login with Telnet
For Master Device For Slave Device
1. Make sure the device IP has been configured
well.
2. Make sure the connection of MGN port (for
outband) or UPLINK port (for inband) is well done.
3. Open Telnet command screen.
4. Username/Password
admin/1234 (type ‘exit’ to return)
-
1. Make sure the device IP has been configured well.
2. Make sure the connection of UPLINK port is well
done.
3. Open Telnet command screen.
4. Username/Password
admin/1234 (type ‘exit’ to return)
-
Now, please use Telnet commands to manage the m aster/slave device for your necessity.
S How to Set G5 and G6 as UPLINK Interface
For the environment with available Fiber connection, the UP-G connector in Master device is used as the channel to access Internet. For such condition, you can connect slave devices to G1 to G6.
However, for the environment without
available Fiber connection, G5 and/or G6 in Master device can be used as the channel to access Internet. For such condition, only G1 to G4 connectors can be used for the slave devices. For example,
-
Admin> system G6 up
or
-
Admin>system uplink G6 up
Enable the port by typing:
Admin>system link –m G6 on
-
Quick Start Guide for VigorAccess
5
Page 8
]
RReeffeerreennccee –– CCoommmmoonn UUssee CCoommmmaannddss ffoorr CCoonnffiigguurraattiioonn PPaarrtt II::
Here provides some general and common commands used in IP DSLAM for users to configure the IP DSLAM Controller.
S How to configure Inband IP Address
Users can use the following commands to configure the inband IP address for the UP-LINK interface or inband management.
Command Description
Admin> network
Admin/network> inband ?
Admin/network> inband -s
Admin/network> inband <IP_addr> <NetMask>
Admin/network> inband <IP_addr> <NetMask> <vlan_id>
Enter network directory Help Display the settings Edit the inband IP address without VLAN
Edit the inband IP address with VLAN
S How to configure Outband IP Address
Users can use the following commands to configure the outband IP address for outband management.
Command Description
Admin> network
Admin/network> outband ?
Admin/network> outband -s
Admin/network> outband <IP_addr> <NetMask>
Admin/network> outband <IP_addr> <NetMask> <vlan_id>
Enter network directory Help Display the settings Edit the outband IP address without VLAN
Edit the outband IP address with VLAN
S How to configure Static Route
Static route is used to indicate the path of specified network. So it can offer a more effective and quicker way for connection rather than other method. Users can use the following commands to configure the default route and some static routes.
Command Description
Admin> network
Admin/network> route ?
Enter network directory Help
Admin/network> route –r
Admin/network> route -s
Admin/network> route default <RtIP>
6
Display the routing table Display the static route entries Add a default route
Quick Start Guide for VigorAccess
Page 9
Admin/network> route default 0.0.0.0
Delete the default route
Admin/network> route -a <TargetIP> <NetMask> <GatewayIP>
Admin/network> route -e <RtIdx> <TargetIP> <NetMask> <GatewayIP>
Admin/network> route -d <RtIdx>
Admin/network> route -D
Add a static route entry
Edit the static route entry
Delete the static route entry Delete all static route entries
S How to configure NTP and Time
Users can use the following commands to configure the NTP server IP and the polling interval or not to use the NTP by configuring the current time settings manually, including the time zon e and the daylight saves time.
Command Description
Admin> service
Admin/service> ntp –s
Admin/service> ntp ?
Admin/service> ntp now
Admin/service> ntp -e <IP_addr> <interval>
Enter service directory Display the settings Help Display the current time Edit the NTP server IP address and the polling
interval
Admin/service> ntp -t <MMDDhhmmYYYY>
Admin/service> ntp -z <time_zone> <DST>
Admin/service> ntp on/off
Edit the year, month, date, hour, and minute. Edit the time zone and the daylight saving time. Turn on/off the NTP
S How to configure SNMP
Users can use the following commands to configure the SNMP settings, including SNMP community, SNMP Trap port, and SNMP Trap host. Let the EMS can communicate with IP-DSLAM via SNMP.
Command Description
Admin> service
Admin/service> snmp -l
Admin/service> snmp -s
Admin/service> snmp -c <CommRO> <CommRW> <CommTrap>
Admin/service> snmp -a <HostIP>
Admin/service> snmp -e <EntryIdx> <HostIP>
Enter service directory Display the general SNMP settings Display the SNMP Trap host entries Edit the read-only, read-write, and trap community
Add a trap host Edit the trap host
Admin/service> snmp -d <EntryIdx>
Admin/service> snmp –D
Delete the trap host entry Delete all the trap host entries
Quick Start Guide for VigorAccess
7
Page 10
S How to Upgrade Firmware
Users can use the following commands to upgrade new firmware. Make sure you have prepared a TFTP server on a host and put the firmware (ipdslam.all for example) in the right directory of the TFTP server
Command Description
Admin> system
Admin/system> upgrade <ServIP> <FirmName>
Admin/system> reboot
Admin/system> basicInfo
Enter system directory Execute the firmware upgrading
Reboot the Controller to run the new firmware After rebooting, check the firmware version
S How to Save Configuration
Users can use the following command to save the current configuration.
Command Description
Admin> commit
Save the con figuration
S How to Enable/Disable the Switch Port
Users can use the following commands to enable or disable the port on Controller. By default, G1 to G6 are off, but G0 and UP-G are on. If users find that when they connect the subtend slave machines to the master machine but the connection cannot be constructed, check the link status of the port connected to the master machine is enabled.
Command Description
Admin> system
Admin/system> link_state -s
Admin/system> link_state -m <IntfName> on/off
Enter system directory Display the current status of all ports Turn on/off of the specific port
S How to Connect to DSL Module
Users can login to DSL module in master or slave units using the following command. Once entering into DSL module, the command described in Part II can be used.
Command Description
Admin> dsl
Admin> dsl –c
Admin> dsl –s m
Admin> dsl –s <slaveId>
Display the current connectivity with DSL modules Login to DSL module in master via serial channel Login to DSL modules in master via Ethernet channel Login to DSL modules in slave via Ethernet channel
<slaveID> is “1” to “6” indicating the port the slave device connects to
8
Quick Start Guide for VigorAccess
Page 11
PPaarrtt IIII::
Here provides some general and common commands used in IP DSLAM for users to configure the IP DSLAM DSL Module.
Note: Please refer to the Command Line Interface manual for getting more commands that IP DSLAM supports. Contact your dealer for advanced information.
S How to Monitor DSL Status
Users can use the following command to check the status for specified DSL port. The commands are listed as below.
Command Description
$get adsl atuc physical ifname dsl-*
$get adsl atur physical ifname dsl-*
for downstream (*: 0 ~ 23) for upstream (*: 0 ~ 23)
S How to Enable/Disable a DSL Port
Users can use the following command to enable or disable DSL port for certain user. The commands are listed as below.
Command Description
$modify adsl line intf ifname dsl-* enable
$modify adsl line intf ifname dsl-* disable
Enable (*: 0 ~ 23)
Disable (*: 0 ~ 23)
S How to Read DSL Training Rate
Users can use the following command to read DSL Training Rate for specified DSL port. The commands are listed as below.
Command Description
$get adsl atuc channel ifname dsli-*
for downstream/interleave channel (*: 0 ~ 23)
$get adsl atur channel ifname dslf-*
$get adsl atuc channel ifname dsli-*
$get adsl atur channel ifname dslf-*
for upstream/fast channel (*: 0 ~ 23) for downstream/interleave channel (*: 0 ~ 23) for upstream/fast channel (*: 0 ~ 23)
S How to Change ADSL Line Profile
Users can use the following command to change the ADSL Line Profile for specified DSL port. The commands are listed as below.
Command Description
$modify adsl line intf ifname dsl-* disable
$modify adsl line profile ifname dsl-* ?
$modify adsl line intf ifname dsl-* enable
Quick Start Guide for VigorAccess
Disable (*: 0 ~ 23)
(*: 0 ~ 23, ?: means to get more information) Enable (*: 0 ~ 23)
9
Page 12
S How to Change ADSL Line Rate
Users can use the following command to change the ADSL Line Rate for specified DSL port. The commands are listed as below.
Command Description
$modify adsl line intf ifname dsl-* disable
$modify adsl line profile ifname dsl-* atucintlmaxtxrate 0x7e0000
$modify adsl line intf ifname dsl-* enable
Disable (*: 0 ~ 23)
Necessary variables (*: 0 ~ 23)
Enable (*: 0 ~ 23)
S How to Change ADSL to Fast Channel/Rate
Users can use the following command to change the ADSL to fast channel/rate for specified DSL port. The commands are listed as below.
Command Description
$modify adsl line intf ifname dsl-* disable
$modify adsl line profile ifname dsl-* type fastOnly atucfastmaxtxrate 0x7e0000
$modify adsl line intf ifname dsl-* enable
Disable (*: 0 ~ 23)
Necessary variables (*: 0 ~ 23)
Enable (*: 0 ~ 23)
S How to Set ADSL Alarm Profile
Users can use the following command to change the ADSL Alarm profile for specified DSL port. The commands are listed as below.
Command Description
$modify adsl line intf ifname dsl-* disable
$modify adsl alarm profile ifname dsl-*
$modify adsl line intf ifname dsl-* enable
?
Disable (*: 0 ~ 23)
(*: 0 ~ 23, ?: means to get more information)
Enable (*: 0 ~ 23)
S How to Change VPI/VCI for Existing VCC
Users can use the following command to change VPI/VCI for existing VCC. The commands are listed as below.
Command Description
$modify atm vc intf ifname aal5-* disable
$modify atm vc intf ifname aal5-* vpi <new-vpi> vci <new-vci>
Disable (*: Existing aal5 interface)
(*: Existing aal5 interface)
10
$modify atm vc intf ifname aal5-* enable
Enable (*: Existing aal5 interface)
Quick Start Guide for VigorAccess
Page 13
S How to Change Management IP Address for Existing Ethernet Port
Users can use the following command to change management IP address for existing Ethernet port. The commands are listed as below.
Command Description
$modify aggr intf ifname aggr-0 ip <new-ip> mask <new-mask>
$modify ethernet intf ifname eth-* ip <new-ip> mask <new-mask>
Aggregation Ethernet
Non-Aggregation Ethernet (*: 0 or 1)
S How to Create more VC/EOA/Bridge
Users can use the following command to create more VC/EOA/Bridge. The commands are listed as below.
Command Description
$create atm vc intf ifname aal5-* vpi <vpi> vci <vci> lowif atm-* [vcmux/llcmux] [fast/interleaved]
$create eoa intf ifname eoa-* lowif aal5-*
$create bridge port intf portid <bridge-port-id> ifname eoa-*
(*:0 ~ 23 is used for atm; 0~191 is used for aal5)
(*:0~191 is used for aal5 and eoa)
(*:0~191 is used for eoa,; 1~192 is used for <bridge-port-id>)
S How to Setup SNMP Community/Host/Trap
Users can use the following command to setup SNMP community/host/trap. The commands are listed as below.
Command Description
$create snmp comm community <community> <RW|RO>
$create snmp host ip <host-ip> community <community>
$create snmp traphost ip <host-ip> community <community>
Create SNMP community
Create a host to manage the device through SNMP
Create a host to capture the traps.
S How to Create VLAN
Users can use the following command to create VLAN. The commands are listed as below.
Command Description
$create vlan static vlanname <vlan-name> valnid <vlan-id> [egressports <bridge ports>]
Create VLAN
Quick Start Guide for VigorAccess
11
Page 14
S How to Setup Port VLAN ID (PVID)
Users can use the following command to setup port VLAN ID. The commands are listed as below.
Command Description
$modify gvrp port info portid <bridge-port-id> portvalnid <default-pvid>
Setup port VLAN ID
S How to Filter MAC Address by Port
Users can use the following command to filter MAC address by port. The commands are listed as below.
Command Description
$create acl port macentry portId <bridge-port-id> macaddr 00:00:00:01:02:03
Allow source address 00:00:00:01:02:03 access from bridge port; bridge-port-id means other source addresses from bridge port <bridge-port-id> are denied
$create acl port macentry portId <bridge-port-id> macaddr 00:00:00:01:02:04
Allow source address 00:00:00:01:02:04 access from bridge port; bridge-port-id means other source addresses from bridge port <bridge-port-id> are denied
S How to Deny MAC Address Globally
Users can use the following command to deny MAC Address globally. The commands are listed as below.
Command Description
$create acl global macentry macaddr 00:00:00:01:02:03 deny enable
Mac source address 00:00:00:01:02:03,04 access from any bridge ports is denied
S How to Filter Net BIOS
Users can use the following command to filter Net BIOS. The commands are listed as below.
Command Description
$create filter rule entry ruleid <id> action drop description NETBIOS-TCP
$create filter subrule tcp ruleid <id> subruleid 1 srcportfrom 137 srcportto 139 srcportcmp inrange
$modify filter rule entry ruleid <id> status enable
$create filter rule map ifname all ruleid <id> stageid 1
$create filter rule entry ruleid <id2> action drop description NETBIOS-UDP
$create filter subrule udp ruleid <id2> subruleid 1 srcportfrom 137 srcportto 139 srcportcmp inrange
NETBIOS-NS: Name Service137 TCP/UDP NETBIOS-DGM: Datagram Service 138 TCP/UDP NETBIOS-SSN: Session Service 139 TCP/UDP
12
Quick Start Guide for VigorAccess
Page 15
$modify filter rule entry ruleid <id2> status enable
$create filter rule map ifname all ruleid <id2> stageid 1
S How to Enable Spanning Tree Protocol
Users can use the following command to enable spanning tree protocol. The commands are listed as below.
Command Description
$modify stp info enable
$modify stp port info portid <bridge-port-id> enable
$get stp port info portid <bridge-port-id>
Enable STP globally Bridge port id: 1~193
S How to Enable IGMP Snooping
Users can use the following command to enable IGMP snooping. The commands are listed as below. Be aware that IGMP Snooping is the Factory Default Setting.
Command Description
$create filter rule entry ruleid <id> action sendtocontrol description IGMP
$create filter subrule ip ruleid <id> subruleid 1 prototypefrom 2 prototypecmp eq
$modify filter rule entry ruleid <id> status enable
$create filter rule map ifname all ruleid <id> stageid 1
$modify igmpsnoop cfg info status enable
$modify igmpsnoop port info portid <bridge-port-id> status enable leavemode fastNormal
or
$modify igmpsnoop port info portid <bridge-port-id> status enable leavemode Fast
The feature is enabled in default.
S How to Upgrade Control Plane Code Remotely
Users can use the following command to remotely upgrade control plane code. Make sure you have prepared TFTP server, vendor supplied CP.bin.gz , and put CP.bin.gz into root directory of TFTP server. The commands are listed as below.
Command Description
$firmware upgrade CP.bin.gz CP <tftp-server-ip>
Quick Start Guide for VigorAccess
Upgrade the control p lane code
13
Page 16
S How to Upgrade Full Image Remotely
Users can use the following command to remotely upgr ade full image. Make sure you have prepared TFTP server, vendor supplied TEImage.bin.gz, and put TEImage.bin.gz into root directory of TFTP server. The commands are listed as below.
Command Description
$reboot config safe
$create ethernet intf ifname eth-0 ip <ip_address> mask <mask> $download src TEImage.bin.gz dest /nvram/TEImage.bin ip <server_ip> (or $download src TEImage.bin.gz dest /nvram/image/ ip <server_ip> for version 2.10.x and onwards) Downloading the File.
...........................................................
Download file size is 1991180 Check if TEImage.bin shall uncompress
Uncompressing "TEImage.bin.gz" (11990111->4194304)......
TEImage.bin.gz is in proper format
Unlocking Flash........
Unlock successful
Erasing Flash ........................................
Erasing successful Starting to Uncompress TEImage.bin.gz and Burn Flash
Uncompressing "TEImage.bin.gz" (1990111->4194304)......
######################### Flash Programmed successfully Done. Download session Completed, Bytes received 1991180...
Reboot from Safe mode
$ $reboot
Reboot from Default mode
S Wizard Commands
In addition to the primitive commands described as above. Several wizard commands are provided which is used easily. Type wizard to see the command syntax.
Command Description
$ wizard <List of Wizard Commands>
--------------------------------------------------------------­dsl show [fast] alarm show pvc show pvc create <dsl: 1~24> <vc: 1~8> <vpi> <vci> [<llcmux|vcmux>] [<interleaved|fast>] pvc delete <dsl: 1~24> <vc: 1~8> bridge delete <bridge id: 1~193> tca show <acked> critical show <acked> firmware upgrade [-]<source file> <CP|DP|FD|DSL> <server ip> fd show port <disable|enable|restart> <dsl: 1~24> config backup <filename> <server ip> config restore <filename> <server ip>
---------------------------------------------------------
dsl show [fast] firmware upgrade
Display all the 24 ports DSL status Upgrade firmware without removing the existing one
in advance
config backup/restore
Backup or restore the current configuration
14
Quick Start Guide for VigorAccess
Loading...