BD COM Configure Command
Getting started with your BDCOM OLT:
- Connect your Management PC to the console port of the OLT using a Serial connector, alternatively, a USB-to-Serial connector also works
- To get into the CLI interface of the OLT – use an application like PuTTY or Teraterm
- Select the Serial interface and ensure that the COM port number is the same as assigned by your management PC
- One the CLI interface opens, type the command ‘enable’ and press enter
To set a VLAN and IP address:
- Type the command ‘config’ and press enter. The CLI field should read ‘switch_config#’
- Type the command ‘interface vlan1’ and press enter
- Type the command ‘ip 192.168.1.1 255.255.255.0’ and press enter. We used 192.168.1.1 and 255.255.255.0 as our default IP address and subnet mask – you can change this information based on your network range
- Type the command ‘no shutdown’ and press enter
- Type the command ‘exit’ and press enter
- Type the command ‘exit’ and press enter
- Your OLT should be on the main level of the OLT CLI interface
To set the http server (enable the Web Graphical User Interface):
- Type the command ‘config’ and press enter. The CLI field should read ‘switch_config#’
- Type the command ‘ip http server’ and press enter
- Type the command ‘no shutdown’ and press enter
- Type the command ‘exit’ and press enter
- Type the command ‘exit’ and press enter
- Your OLT should be on the main level of the OLT CLI interface
To activate a Gigabit Ethernet port of the OLT:
- Type the command ‘config’ and press enter. The CLI field should read ‘switch_config#’
- Type the command ‘interface gigaEthernet 0/1’ and press enter – this will activate the Gigabit Ethernet port 0/1 of the OLT device
- Type the command ‘no shutdown’ and press enter
- Type the command ‘exit’ and press enter
- Type the command ‘exit’ and press enter
- Type the command ‘write’ and press enter. The command ‘write’ will save the changes made on the OLT device
- Your OLT should be on the main level of the OLT CLI interface
To activate a PON ports on the OLT:
- Type the command ‘config’ and press enter. The CLI field should read ‘switch_config#’
- Type the command ‘interface ePON 0/1’ and press enter. This will activate the 0/1 PON port of the OLT device (ensure that you do have the proprietary OLT-GSFP-20 module connected to the OLT PON port
- Type the command ‘no shutdown’ and press enter
- Wait for the OLT CLI to update the changes.
- Type the command ‘write’ and press enter. The command ‘write’ will save the changes made on the OLT device.
- Type the command ‘exit’ and press enter
- Type the command ‘exit’ and press enter
- Your OLT should be on the main level of the OLT CLI Interface
To connect to the Web Graphical User Interface of the OLT:
- Connect a LAN cable from your management PC to the activated Gigabit Ethernet port of the OLT
- Ensure that you management PC is on the same IP address range and subnet mask as the OLT.
- Open Command Prompt to do a ping test to the OLT device to establish communication. Type the command ‘ping 192.168.1.1’ and press enter.
- Wait for the response of your ping test. For a successful communication between the Management PC and the OLT, there should be a 0% loss in your response on Command Prompt
- Open your web browser and type in the IP address of the OLT – 192.168.1.1.
- If the default screen opens on the device information – then you are successfully connected to the Web Graphical User Interface of the device.
Basic command of BD COM Switch
OLT Commands:
TO ENABLE
enable
#show run
TO SHOW DESCRIPTION
show interface brief
TO SHOW DESCRIPTION OF SPECIFIC EPON:
show running-config interface epon 0/4
To configure trunk port..
#config
#interface gigaethernet 0/2
To turn off/on the port
#No shutdown/shutdown
Exit
Write
interface gigaethenret 0/2
switchport mode trunk
swtich port trunk vlan-allowed 89,99
For description for port
config
interface gigaethenret 0/2
description ....
exit
write
To Choose speed
duplex full/half/auto
exit
write
To check mac-address of client
#sh mac address-table interface gigaethernet 0/2
To configure access port:
config
switchport mode access
switchport pvid 19
exit
write
To remove access port:
no switchport mode
switchport pvid
exit
wite
To create user:
config
username .... password ...
exit
write
To remove vlan-allowed/vlan tagged
config
interface gigaethernet 0/2
no switchport trunk vlan-allowed
To view the active onu
sh epon active-onu
Basic command of Raisecom Switch
To show port
sh in po
To show status of running Port
#sh run in po
To show Vlan
#sh vlan
To shut port
#in po 5
(config-port)#shut
#end
sh in po
To UP the Port
#in po 5
(config-port)#noshut
#end
TO show switch detail
#sh ver
To show Vlan
#show vlan
Sh description of Port
#sh in po des
To show mac address of certain port
#sh mac-address-table l2 port 10
or
#sh mac-add-table l2 po 2
To show mac address of certain Vlan
#sh mac-add-table l2 vlan 566
To link up Vlan
#vlan 550
(config-vlan)#state active
To shutdown Vlan
#Vlan 900
(config-vlan)#state suspend
TO MAKE PORT TRUNK
#in port …
(config-port)#switchport mode trunk
TO ADD VLAN WITH EXISTING VLANS IN PORT 4
#in po 4
(config-port)#switchport trunk allowed vlan add 500-799
TO OVERWRITE VLAN IN PORT 4
#in po 4
(config-port)#switchport trunk allowed vlan 500-799
TO REMOVE VLAN 550 IN PORT 4
#in po 4
(config-port)#switchport trunk allowed vlan remove 550
TO REMOVE ALL ALLOWED VLAN FROM TRUNK PORT
(config-port)#no switchport trunk allowed vlan
#end
TO REMOVE UNTAGGED VLAN FROM TRUNK PORT
#in port ..
(config-port)#no switchport trunk untagged vlan
To remove trunk:
#in port ..
(config-port)#no switchport mode
TO MAKE PORT ACCESS
#in port ..
(config-port)#switchport access vlan 19
To remove access vlan:
#In port ..
(config-port)#no switchport access vlan
TO ACTIVATE MULTIPLE VLANS
#config
(config)#create vlan 800-810 active
To describe the port
(config-port)##desc ...../ des "abc def"
Comments