An example configuration of the aggregation switch is provided below. This example covers configuring a 25G interface to connect an access switch or OLT LTX-8/16 rev.B, LTX-8/16C, configuring a 100G interface to connect LTX-8/16, and configuring a 100G interface as an uplink interface to upstream data network equipment.
Apart from configuring interfaces the example shows configuring IGMP snooping, LLDP, AAA, NTP.
bridge multicast filtering #enabling multicast data filtering
!
vlan database #creating service VLAN
vlan 30,100,2149
exit
!
traffic-limiter mode kbps #specifying operation mode for storm control on ports
!
errdisable recovery cause storm-control #enabling link recovery on a port after storm control
errdisable recovery cause loopback-detection #enabling link recovery on a port after detecting LBD loop
!
loopback-detection mode multicast-mac-addr
loopback-detection interval 1
!
port jumbo-frame #allowing jumbo frames to be transmitted through the switch
!
ip igmp snooping #enabling IGMP snooping to monitor user subscriptions to IPTV channels
ip igmp snooping vlan 30
!
encrypted tacacs-server host 10.10.0.3 timeout 2 key key_hash #configuring the AAA server and authorization key. In the configuration, the key will be presented in encrypted form
!
aaa authentication login authorization default tacacs local #configuring AAA authorization parameters
aaa accounting login start-stop group tacacs+
aaa accounting commands stop-only group tacacs+
!
clock timezone KRSN +7 #selecting the time zone for shifting the system time in relation to the NTP server time
clock source sntp #configuring SNTP protocol as a system time protocol
!
sntp client poll timer 3600 #configuring update timers and other SNTP parameters
sntp unicast client enable
sntp unicast client poll
sntp server 10.10.0.2 poll
!
interface TwentyFiveGigaEthernet1/0/1 #an example of interface configuration for connecting an access switch or LTX-8/16 rev.B, LTX-8/16C
spanning-tree disable
spanning-tree bpdu filtering
loopback-detection enable #activation of loopback detection on the port
description "Some access switch"
storm-control broadcast kbps 256 #specifying storm control thresholds for broadcast traffic
storm-control unicast kbps 256 #specifying storm control thresholds for unicast traffic
storm-control multicast kbps 256 #specifying storm control thresholds for multicast traffic
switchport mode trunk #specifying the port operation mode with tagged traffic
switchport trunk allowed vlan add 30,100,2149 #VLANs allowed on the trunk
lldp optional-tlv sys-name sys-desc #LLDP parameters to be broadcasted from this port
switchport forbidden default-vlan #VLAN 1 can be forbidden if necessary
exit
!
interface HundredGigabitEthernet1/0/1 #an example of interface configuration for connecting LTX-8/16
spanning-tree disable
spanning-tree bpdu filtering
loopback-detection enable #activation of loopback detection on the port
description "LTX"
storm-control broadcast kbps 256 #specifying storm control thresholds for broadcast traffic
storm-control unicast kbps 256 #specifying storm control thresholds for unicast traffic
storm-control multicast kbps 256 #specifying storm control thresholds for multicast traffic
switchport mode trunk #specifying the port operation mode with tagged traffic
switchport trunk allowed vlan add 30,100,2149 #VLANs allowed on the trunk
lldp optional-tlv sys-name sys-desc #LLDP parameters to be broadcasted from this port
switchport forbidden default-vlan #VLAN 1 can be forbidden if necessary
exit
!
interface HundredGigabitEthernet1/0/2 #an example of uplink interface configuration for connecting to upstream equipment
loopback-detection enable #activation of loopback detection on the port
description "Uplink"
switchport mode trunk #specifying the port operation mode with tagged traffic
switchport trunk allowed vlan add 30,100,2149 #VLANs allowed on the trunk
lldp optional-tlv sys-name sys-desc #LLDP parameters to be broadcasted from this port
switchport forbidden default-vlan #VLAN 1 can be forbidden if necessary
exit
!
interface vlan 100 #configuring management VLAN parameters
name Management
ip address 10.10.0.3 255.255.0.0
exit
!