OLT Config

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 16

Switch#config

Switch_config#interface gigaEthernet 0/1


Switch_config_g0/1#ip addr
ip addr
^
Unknown command
Switch_config_g0/1#ip ?
access-group -- Apply access-list
mcst -- Config multicast
mld-snooping -- Config MLD Snooping
Switch_config_g0/1#exit

Switch_config#
Switch_config#exit
Switch#Jan 1 00:10:47 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#sh running-config
Building configuration...

Current configuration:
!
!version 10.1.0F build 66461
service timestamps log date
service timestamps debug date
logging buffered 4096
!
error-disable-recovery 60
!
port-protected 1
!
!
!
!
!
!
spanning-tree mode rstp
!
!
!
!
!
!
!
!
Switch#92.168.1.1
92.168.1.1
^
Unknown command
Switch#
Switch#
Switch#92.168.1.1
92.168.1.1
^
Unknown command
Switch#sh running-config
Building configuration...
Current configuration:
!
!version 10.1.0F build 66461
service timestamps log date
service timestamps debug date
logging buffered 4096
!
error-disable-recovery 60
!
port-protected 1
!
!
!
!
!
!
spanning-tree mode rstp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
aaa authentication login default local
aaa authentication enable default none
aaa authorization exec default local
!
username admin password 0 admin
!
!

epon oam-version 1 0x30


epon oam-version 2 0x21
epon oam-version 3 0x20
!
epon onu-config-template loop-sla
cmd-sequence 001 epon onu all-port ctc loopback detect
cmd-sequence 002 epon onu all-port ctc notify loopback
cmd-sequence 003 exit
cmd-sequence 004 exit
!
!
!!slot 0 89 unknow CARD
interface GigaEthernet0/1
!
interface GigaEthernet0/2
!
interface GigaEthernet0/3
!
interface GigaEthernet0/4
!
interface GigaEthernet0/5
!
interface GigaEthernet0/6
!
interface EPON0/1
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport protected 1
!
interface EPON0/2
epon pre-config-template loop-sla binded-onu-llid 1-64
Switch#
Switch#
Switch#
Switch#sh running-config
Building configuration...

Current configuration:
!
!version 10.1.0F build 66461
service timestamps log date
service timestamps debug date
logging buffered 4096
!
error-disable-recovery 60
!
port-protected 1
!
!
!
!
!
!
spanning-tree mode rstp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
aaa authentication login default local
aaa authentication enable default none
aaa authorization exec default local
!
username admin password 0 admin
!
!

epon oam-version 1 0x30


epon oam-version 2 0x21
epon oam-version 3 0x20
!
epon onu-config-template loop-sla
cmd-sequence 001 epon onu all-port ctc loopback detect
cmd-sequence 002 epon onu all-port ctc notify loopback
cmd-sequence 003 exit
cmd-sequence 004 exit
!
!
!!slot 0 89 unknow CARD
interface GigaEthernet0/1
!
interface GigaEthernet0/2
!
interface GigaEthernet0/3
!
interface GigaEthernet0/4
!
interface GigaEthernet0/5
!
interface GigaEthernet0/6
!
interface EPON0/1
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport protected 1
!
interface EPON0/2
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport protected 1
!
interface EPON0/3
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport protected 1
!
interface EPON0/4
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport protected 1
!
!!slot end
!
interface VLAN1
ip address 192.168.2.100 255.255.255.0
!
!
!
vlan 1
!
!
!
!
!
!
!
ip http server
!
!
!
!
!
!
!Pending configurations for absent linecards:
!
!No configurations pending global
Switch#
Switch#
Switch#
Switch#
Switch#vlan 2
vlan 2
^
Unknown command
Switch#
Switch#
Switch#
Switch#conf
Switch_config#
Switch_config#
Switch_config#
Switch_config#vlan 2
Switch_config_vlan2#
Switch_config_vlan2#
Switch_config_vlan2#
Switch_config_vlan2#?
connect -- Open a outgoing connection
default -- Restore default configuration
disconnect -- Disconect an existing outgoing network
connection
dos -- Config dos attack function
dot1q-tunnel -- Enable dot1q tunnel globally
epon -- Ethernet Passive Optical System
error-disable-recovery -- A period in seconds after which the port will
recovery from error-disable state
exit -- Exit / quit
fan -- Config fans
help -- Description of the interactive help system
history -- Look up history
i2c_init
i2c_read
i2c_write
mac-vlan -- Config the entry of MAC-based VLAN
name -- Config the name of current vlan
no -- Negate configuration
power -- Config powers
privilege -- Set privilege for command
protocol-vlan -- Config the template of protocol-based VLAN
quit -- Exit / quit
rcommand -- Run command on remote hs
resume -- Resume an active outgoing network connection
short-ifdescr -- Use brief name as ifDescr
show -- Show configuration and status
ssh -- Open a ssh connection
subnet -- Config the entry of subnet based vlan
telnet -- Open a telnet connection
temperature -- Config up limit of temperature
vlan -- Vlan commands
where -- Display all outgoing telnet connection
Switch_config_vlan2#ip ?
ip ?
^
Unknown command
Switch_config_vlan2#exit
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#interface gigaEthernet 0/1
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#no shut
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#exit
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:13:13 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#
Switch#sh interface brief
Port Description Status Vlan Duplex Speed Type
g0/1 down 1 auto auto Giga-TX

g0/2 down 1 auto auto Giga-TX

g0/3 down 1 full auto Giga-FX

g0/4 down 1 full auto Giga-FX

g0/5 down 1 auto auto Giga-Combo


-TX
g0/6 down 1 auto auto Giga-Combo
-TX
epon0/1 down Giga-PON

epon0/2 down Giga-PON

epon0/3 down Giga-PON

epon0/4 down Giga-PON

v1 up
Switch#sh interface brief
Port Description Status Vlan Duplex Speed Type
g0/1 down 1 auto auto Giga-TX
g0/2 down 1 auto auto Giga-TX
g0/3 down 1 full auto Giga-FX
g0/4 down 1 full auto Giga-FX
g0/5 down 1 auto auto Giga-Combo-TX
g0/6 down 1 auto auto Giga-Combo-TX
epon0/1 down Giga-PON
epon0/2 down Giga-PON
epon0/3 down Giga-PON
epon0/4 down Giga-PON
v1 up
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#sh vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default g0/1, g0/2, g0/3, g0/4, g0/5
g0/6, epon0/1, epon0/2, epon0/3
epon0/4
2 Static VLAN0002
Switch#
Switch#
Switch#hconf
hconf
^
Unknown command
Switch#
Switch#
Switch#conf
Switch_config#
Switch_config#
Switch_config#
Switch_config#interface vlAN 2
Switch_config_v2#Jan 1 00:13:53 %LINE-5-UPDOWN: Line on Interface VLAN2, changed
state to up

Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#ip address 172.16.18.2 255.255.255.252
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#
Switch_config_v2#exit
Switch_config#ip ro
ip ro
^
Unknown command
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#ip default-gateway 172.16.18.1
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:15:05 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#
Switch#wr
Incomplete command
Switch#
Switch#
Switch#wr all
Saving current configuration...
OK!
Now saving current ifindex to flash memory...
OK!
Switch#Jan 1 00:15:09 /startup-config is wrote, TID:834f7b10
Jan 1 00:15:12 config.db is wrote, TID:834f7b10
Jan 1 00:15:17 /ifindex-config is wrote, TID:834f7b10

Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#conf
Switch_config#vlan 701-704
Creating VLAN(s),please wait...
OK!
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#interface epoN 0/1
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#no shut
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#switchport pvid 701
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#
Switch_config_epon0/1#exit
Switch_config#interface epoN 0/2
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#switchport pvid 702
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#no shut
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#
Switch_config_epon0/2#exit
Switch_config#interface epoN 0/3
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#no shut
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#switchport pvid 703
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#
Switch_config_epon0/3#exit
Switch_config#
Switch_config#
Switch_config#interface epoN 0/4
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#no shut
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#switchport pvid 704
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#
Switch_config_epon0/4#exit
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#conf
conf
^
Unknown command
Switch_config#confg\
confg\
^
Unknown command
Switch_config#
Switch_config#no interface vlAN 2
Switch_config#Jan 1 00:17:55 %LINE-5-UPDOWN: Line on Interface VLAN2, changed
state to down

Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#interface vlan 3
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#ip address 172.16.18.2 255.255.255.252
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#exit
Switch_config#
Switch_config#
Switch_config#vlan 3
Switch_config_vlan3#name access
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#no vlan 2
Deleting VLAN(s),please wait...
OK!
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:18:29 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#
Switch#sh vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default g0/1, g0/2, g0/3, g0/4, g0/5
g0/6
701 Static VLAN0701 epon0/1
702 Static VLAN0702 epon0/2
703 Static VLAN0703 epon0/3
704 Static VLAN0704 epon0/4
Switch#
Switch#conf
Switch_config#vlan 3
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#exit
Switch_config#Jan 1 00:18:40 %LINE-5-UPDOWN: Line on Interface VLAN3, changed
state to up

Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:18:42 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#
Switch#sh vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default g0/1, g0/2, g0/3, g0/4, g0/5
g0/6
3 Static VLAN0003
701 Static VLAN0701 epon0/1
702 Static VLAN0702 epon0/2
703 Static VLAN0703 epon0/3
704 Static VLAN0704 epon0/4
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#conf
Switch_config#vlan 3
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#name access
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#
Switch_config_vlan3#exit
Switch_config#
Switch_config#
Switch_config#interface vlAN 3
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#ip address 172.16.18.2 255.255.255.252
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#
Switch_config_v3#exit
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:19:26 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#wr all
Saving current configuration...
OK!
Now saving current ifindex to flash memory...
OK!
Switch#Jan 1 00:19:28 /startup-config is wrote, TID:834f7b10
Jan 1 00:19:31 config.db is wrote, TID:834f7b10
Jan 1 00:19:36 /ifindex-config is wrote, TID:834f7b10

Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#
Switch#conf
Switch_config#interface gigaEthernet 0/1
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#switchport mode trunk
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#switchport trunk vl
vlan-allowed vlan-untagged
Switch_config_g0/1#switchport trunk vlan-allowed remove 1-4094
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#switchport trunk vl
vlan-allowed vlan-untagged
Switch_config_g0/1#switchport trunk vlan-allowed add 3,701-704
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#
Switch_config_g0/1#exit
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:20:24 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#sh vlan
VLAN Status Name Ports
---- ------- -------------------------------- ---------------------------------
1 Static Default g0/2, g0/3, g0/4, g0/5, g0/6
3 Static access g0/1
701 Static VLAN0701 g0/1, epon0/1
702 Static VLAN0702 g0/1, epon0/2
703 Static VLAN0703 g0/1, epon0/3
704 Static VLAN0704 g0/1, epon0/4
Switch#
Switch#
Switch#
Switch#wr all
Saving current configuration...
OK!
Now saving current ifindex to flash memory...
OK!
Switch#Jan 1 00:20:39 /startup-config is wrote, TID:834f7b10
Jan 1 00:20:41 config.db is wrote, TID:834f7b10
Jan 1 00:20:47 /ifindex-config is wrote, TID:834f7b10

Switch#
Switch#
Switch#
Switch#
Switch#sh running-config
Building configuration...

Current configuration:
!
!version 10.1.0F build 66461
service timestamps log date
service timestamps debug date
logging buffered 4096
!
error-disable-recovery 60
!
port-protected 1
!
!
!
!
ip default-gateway 172.16.18.1
!
!
spanning-tree mode rstp
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
aaa authentication login default local
aaa authentication enable default none
aaa authorization exec default local
!
username admin password 0 admin
!
!

epon oam-version 1 0x30


epon oam-version 2 0x21
epon oam-version 3 0x20
!
epon onu-config-template loop-sla
cmd-sequence 001 epon onu all-port ctc loopback detect
cmd-sequence 002 epon onu all-port ctc notify loopback
cmd-sequence 003 exit
cmd-sequence 004 exit
!
!
!!slot 0 89 unknow CARD
interface GigaEthernet0/1
switchport trunk vlan-allowed 3,701-704
switchport mode trunk
!
interface GigaEthernet0/2
!
interface GigaEthernet0/3
!
interface GigaEthernet0/4
!
interface GigaEthernet0/5
!
interface GigaEthernet0/6
!
interface EPON0/1
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport pvid 701
switchport protected 1
!
interface EPON0/2
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport pvid 702
switchport protected 1
!
interface EPON0/3
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport pvid 703
switchport protected 1
!
interface EPON0/4
epon pre-config-template loop-sla binded-onu-llid 1-64
switchport pvid 704
switchport protected 1
!
!!slot end
!
interface VLAN1
ip address 192.168.2.100 255.255.255.0
!
interface VLAN3
ip address 172.16.18.2 255.255.255.252
!
!
!
vlan 3
name access
!
vlan 1,3,701-704
!
!
!
!
!
!
!
ip http server
!
!
!
!
!
!
!Pending configurations for absent linecards:
!
!No configurations pending global
Switch#
Switch#
Switch#
Switch#
Switch#conf
Switch_config#
Switch_config#
Switch_config#
Switch_config#username noc password noc
Switch_config#
Switch_config#
Switch_config#
Switch_config#
Switch_config#exit
Switch#Jan 1 00:21:22 %SYS-6-CONFIG: Configured from console 0 by admin

Switch#
Switch#
Switch#
Switch#
Switch#
Switch#wr all
Saving current configuration...
OK!
Now saving current ifindex to flash memory...
OK!
Switch#Jan 1 00:21:25 /startup-config is wrote, TID:834f7b10
Jan 1 00:21:27 config.db is wrote, TID:834f7b10
Jan 1 00:21:32 /ifindex-config is wrote, TID:834f7b10

You might also like