Перейти к содержимому

Рекомендованные сообщения

Опубликовано:

як правильно назначити ip адрес для OLT при такому конфігу, щоб OLT можна було пінгувати як із будь якого ONU і сервера який підключений на interface GigaEthernet0/5 ?

Switch#show config
!version 10.1.0B build 13023
service timestamps log date
service timestamps debug date
!
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode rstp
!
!
!
!
!
!
aaa authentication login default local
aaa authentication enable default enable
!
username admin password 0 9999
!
enable password 0 9999 level 15
!

epon onu-config-template T1
 cmd-sequence 1 epon onu port 1 ctc notify loopback
 cmd-sequence 2 epon onu port 1 ctc vlan mode tag 100
 cmd-sequence 3 switchport port-security mode dynamic
 cmd-sequence 4 switchport port-security dynamic maximum 3
!
!
!!slot 0 84
interface GigaEthernet0/1
 shutdown
!
interface GigaEthernet0/2
 shutdown
!
interface GigaEthernet0/3
 shutdown
!
interface GigaEthernet0/4
 shutdown
!
interface GigaEthernet0/5
 switchport trunk vlan-allowed 100
 switchport mode trunk
 switchport pvid 100
  dhcp snooping trust
!
interface GigaEthernet0/6
 shutdown
!
interface EPON0/1
 epon pre-config-template T1 binded-onu-llid 1-64
 epon bind-onu mac 8014.a805.afc8 1
 epon bind-onu mac 8014.a805.afb0 2
 epon bind-onu mac 8014.a805.afd0 3
 
 switchport mode trunk
 switchport protected
!
interface EPON0/1:1
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/1:2
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/1:3
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!

!
interface EPON0/2
 epon pre-config-template T1 binded-onu-llid 1-64
 epon bind-onu mac c07e.4047.1fdb 1
 epon bind-onu mac c07e.4047.1d0b 2
 epon bind-onu mac 8014.a805.afc0 3
  switchport mode trunk
 switchport protected
!
interface EPON0/2:1
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/2:2
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!

interface EPON0/3
 epon pre-config-template T1 binded-onu-llid 1-64
 epon bind-onu mac c07e.4047.1f76 1
 epon bind-onu mac c07e.4047.1df4 2
 epon bind-onu mac c07e.4047.1fe2 3
  switchport mode trunk
 switchport protected
!
interface EPON0/3:1
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/3:2
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/3:3
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!

interface EPON0/4
 epon pre-config-template T1 binded-onu-llid 1-64
 epon bind-onu mac c07e.4047.1bb5 1
 epon bind-onu mac c07e.4048.0171 2
 epon bind-onu mac c07e.4047.1cd7 3
  switchport mode trunk
 switchport protected
!
interface EPON0/4:1
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/4:2
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end
!
interface EPON0/4:3
 onu-configuration
 switchport port-security dynamic maximum 3
 switchport port-security mode dynamic
  epon onu port 1 ctc vlan mode tag 100
  epon onu port 1 ctc notify loopback
!!onu-configuration-end


!
!!slot end
!
!
!
!
vlan 100
 name Internet
!
vlan 1,100
!
!
!
ip dhcp-relay snooping
ip dhcp-relay snooping vlan  100
!
!
!
!
!
!Pending configurations for absent linecards:
!
!No configurations pending global

Опубликовано:

Зависит от дизайна сети в конкретном случае. Лучше чем /30 на менеджмент и роутинг вроде ничего не придумали.

один сервер і олт , больше ничего , все в одном вилане . 

Опубликовано:

 

Зависит от дизайна сети в конкретном случае. Лучше чем /30 на менеджмент и роутинг вроде ничего не придумали.

один сервер і олт , больше ничего , все в одном вилане .
В таком случае достаточно было оставить все "с коробки" в первом влане. Но с таким дизайном и подходом нужно менять что-то в консерваатории.

Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас
×
×
  • Создать...