Manual switch uplink configuration
Based on the type of switch that you select, following are the sample code snippets to manually configure an uplink to customer infrastructure switches (switch 1 and switch 2):
HPE FlexFabric switch
<5950-2>sys
[5950-2]int b 50
[5950-2-Bridge-Aggregation50]dis this
#
interface Bridge-Aggregation50
description Uplink-to-Customer-Network
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan <OAM_VLAN> <CAN_VLAN> <provider VLAN> <transport VLAN>
port trunk pvid vlan <pvid of customer VLAN>
link-aggregation mode dynamic
undo mac-address static source-check enable
#
return
[5950-2-Bridge-Aggregation50]
Cumulus NOS switch
#net add vlan 4032 ip address 10.254.253.3/29
#net add vlan 4032 ip address-virtual 44:38:39:FF:00:09 10.254.253.2/29
#net add vlan 4032 vlan-id 4032
#net add vlan 4032 vlan-raw-device bridge
#net add bond uplink bond slaves swp1
#net add bond uplink clag id 100
#net add bond uplink alias LACP etherchannel to uplink for core
#net add bond uplink bridge pvid 4032
#net add bond uplink bridge vids 4032,,380-399,304,305
#net commit
#net add routing route 0.0.0.0/0 10.254.253.1
#net commit
The following table shows the sample values for the VRR IP interface configuration:
VLAN name | VLAN ID | 6960-1 | 6960-2 | Virtual IP | MAC address |
---|---|---|---|---|---|
VIM-PXE | 301 | 10.xx.xx.2 | 10.xx.xx.3 | 10.xx.xx.1 | 44:38:39:FF:00:01 |
BLS | 302 | 10.xx.xx.2 | 10.xx.xx.3 | 10.xx.xx.1 | 44:38:39:FF:00:02 |
CLM | 303 | 10.xx.xx.2 | 10.xx.xx.3 | 10.xx.xx.1 | 44:38:39:FF:00:03 |
CAN | 304 | ||||
OAM | 305 | ||||
Transport VLAN | 4032 | 10.xx.xx.3 | 10.xx.xx.4 | 10.xx.xx.2 | 44:38:39:FF:00:09 |