Presentation is loading. Please wait.

Presentation is loading. Please wait.

ZXR10 Routing Swtich QinQ & SVLAN Configuration

Similar presentations


Presentation on theme: "ZXR10 Routing Swtich QinQ & SVLAN Configuration"— Presentation transcript:

1 ZXR10 Routing Swtich QinQ & SVLAN Configuration

2 Objectives Know about Configuration of QinQ
Grasp Application Configuration of SVLAN

3 Content QinQ Configuration SVLAN Configuration

4 QinQ Configuration Access L2 interface Configure QinQ port attribute
ZXR10(config)# interface < interface-name> Configure QinQ port attribute ZXR10(config-gei_1/x)# switchport qinq{normal|uplink|customer|tpid <tpid>} Show QinQ configuration result ZXR10#show qinq 4

5 QinQ Configuration Example
Assume Switch A customer port is gei_3/1 and uplink port is gei_3/24; Switch B customer port is gei_7/1, uplink port is gei_7/24. SPVLAN 10 Customer port SPVLAN 10 Uplink port User's Network 1 CVLAN1~100 Switch A ISP Networks User's Network 2 CVLAN1~100 PE SPVLAN 10 uplink port Switch B Double tag service Add the designated outer VLAN tag (ovlan) according to the designated inner VLAN (in-vlan). Data uplink:Classify data traffic entering from customer port and add the outer tag ovlan to packets with in-vlan. Data downlink: When packets with double tag flow to the uplink port, forward them according to L2 forwarding principle; strip the outer tag from them when the packets are forwarded on the customer port. [related command]ZXR10(config)#vlan qinq session 1 customer gei_3/1 uplink gei_2/1 in-vlan ovlan 999 Double tag + designated priority According to the designated inner vlan, add the designated outer vlan tag, and add the designated priority; schedule and forward the data traffic according to the designated priority. Data uplink: Classify data traffic entering from customer port and add the outer tag ovlan to packets with in-vlan, and add the designated 802.1P priority. Data downlink: When packets with double tag flow to the uplink port, forward them according to L2 forwarding principle; strip the outer tag from them when the packets are forwarded on the customer port. [related command]ZXR10(config)#vlan qinq sessin 2 customer fei_5/1 uplink gei_1/1 in-vlan ovlan 997 priority 5 Double tag + mapping priority According to the designated inner VLAN, add the designated outer VLAN tag, and map the inner VLAN priority to the outer VLAN tag priority. If the inner tag priority is not considered, it does not need to map. Data uplink: Classify data traffic entering from customer port and add the outer tag ovlan to packets with in-vlan, and map the inner VLAN priority of each packet to the outer VLAN.Data downlink: When packets with double tag flow to the uplink port, forward them according to L2 forwarding principle; strip the outer tag from them when the packets are forwarded on the customer port. [related command]ZXR10(config)#vlan qinq session 3 customer gei_2/1 uplink gei_1/1in-vlan ovlan 2000 priority mapping VLAN transparent transmission service For the designated VLAN transparent transmission, do not add the outer tag. Data uplink: Classify data traffic entering from customer port and add the helper_vlan outer tag to packets with in-vlan, with the aim to aggregate multiple transparent transmission vlans, encapsulate channel with helper_vlan, strip helper_vlan on the outgoing interface and transparently transmit the packets. Data downlink: Transparently transmit VLAN data traffic to the uplink port, and according to L2 forwarding principle, forward the traffic from the customer port in original shape. [related command]ZXR10(config)#vlan qinq session 4 customer fei_2/1 uplink gei_2/2n-vlan untag helper-vlan 1 Untag packet service This type of service is rare. For packets without tag entering the customer port, add the corresponding VLAN tag on the outgoing interface. Data uplink: Classify data traffic entering from customer port, and for untagged packets, if they are configured with the egress tag, add the designated VLAN tag instead of adding the outer tag according to PVID of the port. Data downlink: the downlink data packets are forwarded normally. [related command]ZXR10(config)#vlan qinq session 5 customer fei_1/2 uplink gei_1/12 untag ovlan 1000 PE SPVLAN 10 Customer port SPVLAN: Service Provider VLAN CVLAN: Customer VLAN

6 QinQ Configuration Example
Configuration of Switch A ZXR10_A(config)# vlan 10 ZXR10_A(config)# interface gei_3/1 ZXR10_A(config-if)# switchport qinq customer ZXR10_A(config-if)# switchport access vlan 10 ZXR10_A(config)# interface gei_3/24 ZXR10_A(config-if)# switchport qinq uplink ZXR10_A(config-if)# switchport mode trunk ZXR10_A(config-if)# switchport trunk vlan 10 Configuration of Switch B ZXR10_B(config)# vlan 10 ZXR10_B(config)# interface gei_7/1 ZXR10_B(config-if)# switchport qinq customer ZXR10_B(config-if)# switchport access vlan 10 ZXR10_B(config)# interface gei_7/24 ZXR10_B(config-if)# switchport qinq uplink ZXR10_B(config-if)# switchport mode trunk ZXR10_B(config-if)# switchport trunk vlan 10

7 Content QinQ Configuration SVLAN Configuration

8 SVLAN Configuration Configure SVLAN rule for packet with tag
ZXR10(config)# vlan qinq session-no <session-id> customer-port <port-id> uplink-port <port-id>{{in-vlan <vlan-id>{{ovlan <vlan-id>}}}| default-vlan-forwarding } default-vlan-forwarding :Transparent transmission function When the customer port is on the old line card (8270), and the uplink port is the smartgroup, this function will become invalid and the use is restricted; and the other case is that, when using native vlan to add the outer tag, the two can not be used simultaneously. Configure SVLAN rule for packet without tag ZXR10(config)# vlan qinq session-no <session-id> customer-port <port-id> uplink-port <port-id>{untag ovlan <vlan-id>[undirect]} Display SVLAN configuration information ZXR10(config)# show vlan qinq [session <session-id>] 8

9 SVLAN Configuration Example
BRAS T600(vpls) 8905 2826E uplink:gei_1/3 uplink:gei_1/4 customer:gei_1/1 customer:gei_1/2 3000 1100:untag 997: (gei_1/1) 998: (gei_1/2)

10 SVLAN Configuration Example –Requirements
For datagram of VLAN from 8905 gei_1/1 (assume the frames of this VLAN range to be PPPOE dial-in user), add outer tag vlan997 on 8905 and uplink to BRAS via gei_1/4. For datagram of VLAN from 8905 gei_1/2 (assume the frames of this VLAN range to be PPPOE dial-in user), add outer tag vlan998 on 8905 and uplink to BRAS via gei_1/4. For datagram of VLAN from 8905 gei_1/1-2 (assume the frames of this VLAN range to be private network user), transparently transmit these VLANs via 8905 and uplink to T600 via gei_1/3. For the untagged frames received on 8905 gei_1/1-2, add a tag 1100 on and uplink to T600 via gei_1/3; Configure vlan3000 as management VLAN, used to manage 8905 and 2826E via T600, management VLAN should contain no outer tags.

11 SVLAN Configuration Example —Configuration(1)
8905 related port configuration (gei_1/1): ZXR10(config)# interface gei_1/1 ZXR10(config-if)# switchport mode hybrid //the port link type is modified to hybrid type ZXR10(config-if)# switchport hybrid native vlan 997 //it is recommended to modify native vlan to be the outer tag of a type of service, and here configure it to be the outer vlan of the dial in user ZXR10(config-if)# switchport hybrid vlan ,3000 tag //vlan needing to be transparently transmitted must be configured to be tag on customer port ZXR10(config-if)# switchport hybrid vlan 997,1100 untag //outer tag must be configured to be untag on customer port ZXR10(config-if)# switchport qinq customer //qinq customer port 11

12 SVLAN Configuration Example —Configuration(2)
8905 related port configuration (gei_1/2): ZXR10(config)# interface fei_1/2 ZXR10(config-if)# switchport mode hybrid ZXR10(config-if)# switchport hybrid native vlan 998 ZXR10(config-if)# switchport hybrid vlan ,3000 tag ZXR10(config-if)# switchport hybrid vlan 998,1100 untag ZXR10(config-if)# switchport qinq customer 12

13 SVLAN Configuration Example —Configuration(3)
8905 related port configuration (gei_1/3): ZXR10(config)# interface gei_1/3 ZXR10(config-if)# switchport mode hybrid ZXR10(config-if)# switchport hybrid native vlan 3000 //it is recommended to modify port native vlan to be tag of a type of service, and here configure it to be management vlan ZXR10(config-if)# switchport hybrid vlan ,1100,3000 tag //vlan needing to be transparently transmitted must be configured to be tag on uplink port ZXR10(config-if)# switchport hybrid vlan 4094 untag //configure only one help vlan globally ZXR10(config-if)# switchport qinq uplink //qinq uplink port 13

14 SVLAN Configuration Example —Configuration(4)
8905 related port configuration (gei_1/4): ZXR10(config)# interface gei_1/4 ZXR10(config-if)# switchport mode hybrid ZXR10(config-if)# switchport hybrid native vlan 997 //it is recommended to configure it to be VLAN ID of a type of service and do not user the default value ZXR10(config-if)# switchport hybrid vlan tag //outer tag, must be configured to be tag on uplink port ZXR10(config-if)# switchport qinq uplink 14

15 SVLAN Configuration Example —Configuration(5)
8905 related configuration: ZXR10(config)# vlan qinq session-no 1 customer-port gei_1/1 uplink-port gei_1/4 in-vlan ovlan 997 //Messages received on customer port gei_1/1, with vlan id to be , are transmitted with outer tag 997 to BRAS via uplink port gei_1/4. ZXR10(config)# vlan qinq session-no 2 customer-port gei_1/2 uplink-port gei_1/4 in-vlan ovlan 998 // Messages received on customer port gei_1/2, with vlan id to be , are transmitted with outer tag 998 to BRAS via uplink port gei_1/4. ZXR10(config)# vlan qinq session-no 3 customer-port gei_1/1 uplink-port gei_1/3 in-vlan ,3000 untag helpvlan 4094 // Messages received on customer port gei_1/1, with vlan id to be , are transmitted to T600 via port gei_1/3 ZXR10(config)# vlan qinq session-no 4 customer-port gei_1/2 uplink-port gei_1/3 in-vlan ,3000 untag helpvlan 4094 //Messages received on customer port gei_1/2, with vlan id to be , 3000 are transparently transmitted to T600 via gei_1/3 port. ZXR10(config)# vlan qinq session-no 5 customer-port gei_1/1 uplink-port gei_1/3 untag ovlan 1100 //Messages received on customer port gei_1/1, without tag, are sent to T600 after being tagged with 1100 on 8905. ZXR10(config)# vlan qinq session-no 6 customer-port gei_1/2 uplink-port gei_1/3 untag ovlan 1100 // Messages received on customer port gei_1/2, without tag, are sent to T600 after being tagged with 1100 on 8905. 15

16


Download ppt "ZXR10 Routing Swtich QinQ & SVLAN Configuration"

Similar presentations


Ads by Google