You are on page 1of 6

Cau hinh Ip DSLAM: I./ Cau hinh thiet bi: 1./ System Login 2.

/ Dat enable password 3./ Change hostname 4./ Cau hinh quan li outband 5./ Cau hinh vlan 6./ Cau hinh quan li inband 7./ Cau hinh SMNP 8./ Cau hinh routing (default route only) 9./ Cau hinh port uplink 10./ Download Software 11./ Download/Upload Config (Backup, restore). 12./ Cau ninh ATM 13./ Cau hinh truy cap Internet a. Cau hinh pppoe provider b. Gan Vlan cho pppoe provider c. cau hinh circuit format 14./ Tao ADSL config profile. 15./ Cau hinh port thue bao. -------------o0o-------------1./ System login: user: root pass: vertex25 2./ Dat enable password: SWITCH(config)# passwrd enable "String" SWITCH(config)# service password-encryption 3./ Change hostname: SWITCH(config)# hostname "LAMDONG" LAMDONG(config)# 4./ Cau hinh quan li outband: SWITCH(config)#interface mgmt

SWITCH(config-if)# ip address 192.168.10.10/24 SWITCH(config-if)#no shutdown SWITCH(config-if)#exit SWITCH(config)# 5./ Cau hinh Vlan - Tao vlan: SWITCH(bridge)#vlan create "vlanid" ex. vlan create 4091

- gan port vao vlan: SWITCH(bridge)#vlan add VLAN PORTS tagged/untagged ex. vlan add 4091 0/1-0/4 tagged vlan add 101 1/1/1-7/72/1 untagged - Xoa port khoi vlan: SWITCH(bridge)#vlan del VLAN PORTs ex. vlan del 4091 0/1 - Xoa vlan: 1./ Xoa tat ca cac port ra khoi vlan 2./ SWITCH(bridge)#no vlan VLAN ex. no vlan 4091 6./ Cau hinh quan li inband: - Tao inteface cho vlan quan li: SWITCH(config)#host-vlan VLAN ex. host-vlan 4091 - Gan dia chi IP cho interface vua tao: SWITCH(config)# interface br4091 SWITCH(config-if)#ip address 172.20.233.10/26 SWITCH(config-if)#no shutdown SWITCH(config-if)#exit SWITCH(config)# - Xoa interface cua vlan SWITCH(config)# interface br4091 SWITCH(config-if)#shutdown SWITCH(config-if)#exit SWITCH(config)# no host-vlan 4091 7./ Cau hinh SNMP:

Ghi chu: community ro public/rw private duoc tao san (gia tri default), khi cau hinh SNMP phai xoa hai gia tri nay (vi li do an toan) SWITCH(config)#no snmp community ro public SWITCH(config)#no snmp community rw private - Cau hinh community SWITCH(config)#snmp community ro VNPT SWITCH(config)#snmp community rw LDGPT - Cau hinh trap2-host SWITCH(config)#snmp trap2-host 172.20.233.14 (ip address cua ACIE server) SWITCH(config)#snmp trap2-host 192.168.10.100 (ip address cua ACIE LCT) 8./ Cau hinh routing SWITCH(config)# ip route default 172.20.233.1 (Ip address cua BRAS) 9./ Cau hinh port uplink - Cau hinh loai port (Electrical/Optical) SWITCH(bridge)#port type PORT electrical/optical - Cau hinh port role (uplink/cascading...): khuyen nghi dung kieu uplink cho tat ca cac port SWITCH(bridge)#port role PORT uplink/cascading - Lock, Unlock port SWITCH(bridge)#port 0/1 (working_cu) enable/disable 10./ Download software Truoc khi co the download hoac upload software, phai cai dat FTP server truoc voi cac thong so can thiet sau: username: Administrator(tuy chon) password: Siemens#1 (tuy chon)

home directory: tuy chon, nhung cac software can download phai co trong thu muc nay permission: allow download, upload, - ADSL adn SHDSL card: SWITCH(config)#download iu load "ftp server ip adress" "iu load" ex. download iu load 172.20.233.14 she-r20m-iu_adsl72ifxa.607.029 Slot number: FTP username: FTP password: - CXU card: SWITCH(config)#download cxu load "ftp server ip address" "cxu load" ex. download cxu load 172.20.233.14 she-r20m-cxu.050 username: password: 11./ Download/Upload config (backup & restore). - Upload config(backup): SWITCH(config)#upload cxu config "ftp server ip address" "filename" ex. upload cxu config 172.20.233.14 Hubdalat1config username: password: - Download config(restore): SWITCH(config)#download cxu config "ftp server ip address" "filename" ex. upload cxu config 172.20.233.14 Hubdalat1config username: password: Sau khi download config can phai reset DSLAM de chay tren cau hinh vua restore SWITCH(config)#reset all 12./ Cau hinh ATM cho cac port thue bao moi port thue bao co 8 VCC duoc danh so tu 0-7, VCC 0 khong duoc duoc dung. Thong thuong se VCC 1 se duoc dung. Cac gia tri phai cau hinh la vpi va vci.

SWITCH(bridge)# lre PORTs atm vcc VCC vpi VPI vci VCI ex. lre 1/1-1/72 atm vcc 1 vpi 0 vci 35 13./ CaU hinh truy cap internet. a. Cau hinh pppoe provider SWITCH(config)#ip pppoe provider "providername" PPPoE PROVIDER TABLE PROVIDERNAME index: 1 vlan: 0 not created suboption105: none SWITCH(pppoe-provider)# vlanid C-VLAN SWITCH(pppoe-provider)#option105 circuit-id SWITCH(pppoe-provider)# commit exit ex. SWITCH(config)# ip pppoe provider MEGA_VNN PPPoE PROVIDER TABLE MEGA_VNN index: 1 vlan: 0 not created suboption105: none SWITCH(pppoe-provider)# vlanid 101 SWITCH(pppoe-provider)#option105 circuit-id SWITCH(pppoe-provider)# commit exit MEGA_VNN index: 1 vlan: 101 created suboption105: circuit id SWITCH(config)# b. Gan Vlan cho pppoe provider SWITCH(config)#bridge SWITCH(bridge)# vlan provider pppoe 101 1 c. cau hinh circuit format

SWITCH(bridge)# circuitid-format "%N %T 0/0/%S/%P:%p.%c" SWITCH(bridge)#exit d. enable ip dhcp relay SWITCH(config)#ip dhcp relay 14./ Tao ADSL config profile. - Tao profile: SWITCH(bridge)#adsl add line-config-profile "profilename" - Cau hinh profile: @. Gioi han toc do uplink: SWITCH(bridge)# adsl line-config-profile "profilename" atur max-txrate 640 Downlink: SWITCH(bridge)# adsl line-config-profile "profilename" atuc max-tx-rate 2048 @. Cau hinh chuan ADSL SWITCH(bridge)#adsl line-config-profile "profilename" gs standard adsl2+/adsl2+auto/G.dmt/multimode/G.lite... 15./ Cau hinh port thue bao. - Gan port vao vlan - Set port host protocol: SWITCH(bridge)#bridgeport host-protocol pppoe PORT (ex.1/1/1) -Set Pvid: SWITCH(bridge)#bridgeport pvid VLAN PORT (bridgeport pvid 101 1/1/1-7/72/1) - Gan ADSL profile cho port: SWITCH(bridge)#lre 1/1-1/72 adsl line-config profile "Profilename"