Wednesday 25 May 2016

bdcomandraisecom

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"