Fortinet black logo
6.4.6

Configure the provider switches

Configure the provider switches

You need to configure the provider switches PSW1, PSW2, and PSW3.

To configure the customer ports port1 and port2 of PSW1 and PSW3:

config switch interface

edit "port1"

set native-vlan 100

config qnq

set status enable

set add-inner 60

set remove-inner enable

end

next

end

config switch interface

edit "port2"

set native-vlan 200

config qnq

set status enable

end

next

end

You can use VLAN mapping to accept only specific customer VLANs. See Accept specific VLANs at the provider ingress.

To configure the service provider port port3 of PSW1 and PSW3:

config switch interface

edit "port3"

set allowed-vlans 100,200

set vlan-tpid “qnq”

next

end

config switch vlan-tpid

edit "qnq"

set ether-type 0x88a8

next

end

To configure the service provider ports port1 and port2 of PSW2:

config switch interface

edit "port1"

set allowed-vlans 100,200

set vlan-tpid "qnq"

next

end

config switch interface

edit "port2"

set allowed-vlans 100,200

set vlan-tpid "qnq"

next

end

config switch vlan-tpid

edit "qnq"

set ether-type 0x88a8

next

end

Non-edge provider switches can use VLAN mapping to retag services VLANs. See Retag service VLANs.

Configure the provider switches

You need to configure the provider switches PSW1, PSW2, and PSW3.

To configure the customer ports port1 and port2 of PSW1 and PSW3:

config switch interface

edit "port1"

set native-vlan 100

config qnq

set status enable

set add-inner 60

set remove-inner enable

end

next

end

config switch interface

edit "port2"

set native-vlan 200

config qnq

set status enable

end

next

end

You can use VLAN mapping to accept only specific customer VLANs. See Accept specific VLANs at the provider ingress.

To configure the service provider port port3 of PSW1 and PSW3:

config switch interface

edit "port3"

set allowed-vlans 100,200

set vlan-tpid “qnq”

next

end

config switch vlan-tpid

edit "qnq"

set ether-type 0x88a8

next

end

To configure the service provider ports port1 and port2 of PSW2:

config switch interface

edit "port1"

set allowed-vlans 100,200

set vlan-tpid "qnq"

next

end

config switch interface

edit "port2"

set allowed-vlans 100,200

set vlan-tpid "qnq"

next

end

config switch vlan-tpid

edit "qnq"

set ether-type 0x88a8

next

end

Non-edge provider switches can use VLAN mapping to retag services VLANs. See Retag service VLANs.