Tuesday, 18 August 2015

XGS3600-28F: Config VLAN Trunk with HP Procurve and Cisco Router



I assumed that Cisco router (Gateway) is using port 1, XGS3600 port 1 is connected to Cisco router and XGS3600 port 2 to HP Procurve Switch, at HP Procurve port 1 will be connected to XGS3600, port 2 connected to PC1 and port 3 to PC2. Here are the simple configuration on Cisco Router, XGS3600 and HP Procurve respectively:

Cisco Router:
interface GigabitEthernet0/1.2
description Customer-1
encapsulation dot1Q 2
ip address 192.168.1.1 255.255.255.0
!

interface GigabitEthernet0/1.3
description Customer-2
encapsulation dot1Q 3
ip address 192.168.2.1 255.255.255.0
!

XGS3600:
Switch(vlan)# port-type 1 c-port
Switch(vlan)# egress-rule 1 trunk

Switch(vlan)# port-type 2 c-port
Switch(vlan)# egress-rule 2 trunk

Switch(vlan)# tag-group 2 Customer-1 1,2

Switch(vlan)# tag-group 3 Customer-2 1,2

HP Procurve:
vlan 2
   name "Customer-1"
   untagged 2
   tagged 1
   exit

vlan 3
   name "Customer-2"
   untagged 3
   tagged 1
   exit

PC1:
IP: 192.168.1.2/24

PC2:

IP: 192.168.2.2/24

Thank you to Gencar for his contribution.

No comments:

Post a Comment