05-28-2024 11:02 AM
Summary:
This Article explains about how to setup QinQ in ICX switches. QinQ setup in used in networks like service provider, ISP’s etc. to help mange the network easily and provide more sublets independent of each other.
Question:
How to configure QinQ using tag profile in ICX switches
Customer Environment:
Customer environment would be mostly a service provider network.
Topology:
Note:
Configuration:
Client switch 1 Configuration:
!
vlan 100 by port
tagged ethe 1/1/2
router-interface ve 100
spanning-tree 802-1w
!
!
interface ve 100
ip address 100.0.0.2 255.255.255.0
!
Client switch 2 Configuration:
!
vlan 100 by port
tagged ethe 1/1/1
router-interface ve 100
spanning-tree 802-1w
spanning-tree 802-1w priority 1
!
!
interface ve 100
ip address 100.0.0.1 255.255.255.0
!
Service provider switch 1 Configuration:
!
vlan 1000 by port
tagged ethe 1/1/3
untagged ethe 1/1/2
!
tag-profile 9100
!
!
interface ethernet 1/1/2
tag-profile enable
l2protocol dot1q-tunnel stp
l2protocol dot1q-tunnel lacp
l2protocol dot1q-tunnel cdp
l2protocol dot1q-tunnel lldp
!
Service provider switch 2 Configuration:
vlan 1000 by port
tagged ethe 1/1/3
untagged ethe 1/1/1
!
tag-profile 9100
!
interface ethernet 1/1/1
tag-profile enable
l2protocol dot1q-tunnel stp
l2protocol dot1q-tunnel lacp
l2protocol dot1q-tunnel cdp
l2protocol dot1q-tunnel lldp
!
Outputs:
Client Switch 1:
LLDP details:
client_sw1#show lldp ne
Lcl Port Chassis ID Port ID Port Description System Name
1/1/2 28b3.713f.bcec 28b3.713f.bced 2.5GigabitEthernet1/1/2 service_sw1
1/1/2 609c.9ffe.44d0 609c.9ffe.44d0 2.5GigabitEthernet1/1/1 client_sw2
client_sw1#
Ping details:
client_sw1#show ip int
Interface IP-Address OK? Method Status Protocol VRF
Eth mgmt1 10.176.193.210 YES manual up up default-vrf
Ve 100 100.0.0.2 YES manual up up default-vrf
client_sw1#
client_sw1#ping 100.0.0.1
Sending 1, 16-byte ICMP Echo to 100.0.0.1, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 100.0.0.1 : bytes=16 time=3ms TTL=64
Success rate is 100 percent (1/1), round-trip min/avg/max=3/3/3 ms.
client_sw1#traceroute 100.0.0.1
Type Control-c to abort
Tracing the route to IP node 100.0.0.1(100.0.0.1) from 1 to 30 hops
1 1 ms 1 ms 5 ms 100.0.0.1
STP details:
client_sw1#show 802-1w
IEEE 802-1w is not configured on port-vlan 1
--- VLAN 100 [ STP Instance owned by VLAN 100 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge Bridge Bridge Bridge Force tx
Identifier MaxAge Hello FwdDly Version Hold
hex sec sec sec cnt
8000609c9fe853c0 20 2 15 Default 3
RootBridge RootPath DesignatedBri- Root Max Fwd Hel
Identifier Cost dge Identifier Port Age Dly lo
hex hex sec sec sec
0001609c9ffe44d0 20000 0001609c9ffe44d0 1/1/2 20 15 2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port Pri PortPath P2P Edge Role State Designa- Designated
Num Cost Mac Port ted cost bridge
1/1/2 128 20000 F F ROOT FORWARDING 0 0001609c9ffe44d0
client_sw1#
Client switch 2:
LLDP details:
client_sw2#show lldp ne
Lcl Port Chassis ID Port ID Port Description System Name
1/1/1 28b3.7129.9a4e 28b3.7129.9a4e GigabitEthernet1/1/1 service_sw2
1/1/1 609c.9fe8.53c0 609c.9fe8.53c1 GigabitEthernet1/1/2 client_sw1
client_sw2#
Ping details:
client_sw2#show ip int
Interface IP-Address OK? Method Status Protocol VRF
Eth mgmt1 10.176.194.211 YES NVRAM up up default-vrf
Ve 100 100.0.0.1 YES manual up up default-vrf
client_sw2#
client_sw2#ping 100.0.0.2
Sending 1, 16-byte ICMP Echo to 100.0.0.2, timeout 5000 msec, TTL 64
Type Control-c to abort
Reply from 100.0.0.2 : bytes=16 time=1ms TTL=64
Success rate is 100 percent (1/1), round-trip min/avg/max=1/1/1 ms.
client_sw2#traceroute 100.0.0.2
Type Control-c to abort
Tracing the route to IP node 100.0.0.2(100.0.0.2) from 1 to 30 hops
1 1 ms 1 ms 1 ms 100.0.0.2
client_sw2#
STP details:
client_sw2#show 802-1w
IEEE 802-1w is not configured on port-vlan 1
--- VLAN 100 [ STP Instance owned by VLAN 100 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge Bridge Bridge Bridge Force tx
Identifier MaxAge Hello FwdDly Version Hold
hex sec sec sec cnt
0001609c9ffe44d0 20 2 15 Default 3
RootBridge RootPath DesignatedBri- Root Max Fwd Hel
Identifier Cost dge Identifier Port Age Dly lo
hex hex sec sec sec
0001609c9ffe44d0 0 0001609c9ffe44d0 Root 20 15 2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port Pri PortPath P2P Edge Role State Designa- Designated
Num Cost Mac Port ted cost bridge
1/1/1 128 20000 F F DESIGNATED FORWARDING 0 0001609c9ffe44d0
client_sw2#