ZTE ZXR10 User Guide

4 (1)

ZXR10 6900

2.8.02.B

518057(86) 755 26770800 800-830-1118(86) 755 26770801

http://support.zte.com.cn800@zte.com.cn

式摘录、复制或翻译。

“ZTE” “ZTE ”

关合同或相关国法律、法规的要求进行。

http://support.zte.com.cn

 

 

 

 

 

 

R1.0

20081205

1

 

 

 

sjzl20086161

20081205

1 VLAN ..........................................................................................

1-1

1.1 VLAN ..........................................................................................................

1-1

 

1.1.1 VLAN ................................................................................................

1-1

 

1.1.2 VLAN ................................................................................................

1-2

 

1.1.3 VLAN .........................................................................................

1-2

 

1.1.4 VLAN................................................................................................

1-3

 

1.1.5 PVLAN.....................................................................................................

1-3

 

1.1.6 QinQ........................................................................................................

1-3

 

1.1.7 VLAN................................................................................................

1-4

 

1.1.8 VLAN................................................................................................

1-4

 

1.1.9 VLAN ................................................................................................

1-4

 

1.1.10 SuperVLAN..............................................................................................

1-5

 

1.1.11 SVLAN....................................................................................................

1-5

1.2

VLAN..........................................................................................................

1-5

 

1.2.1 VLAN................................................................................................

1-5

 

1.2.2 VLAN ........................................................................

1-6

 

1.2.3 VLAN ..................................................................................

1-6

 

1.2.4 VLAN...............................................................................

1-7

 

1.2.5 VLAN ...............................................................................

1-8

 

1.2.6 .................................................................................

1-8

 

1.2.7 VLAN ..................................................................................

1-8

 

1.2.8 VLAN .........................................................................................

1-8

1.3

PVLAN........................................................................................................

1-9

1.4

QinQ.........................................................................................................

1-10

1.5

VLAN.................................................................................................

1-11

1.6

VLAN.................................................................................................

1-13

1.7

VLAN .................................................................................................

1-14

1.8

SuperVLAN................................................................................................

1-14

1.9

SVLAN......................................................................................................

1-17

1.10 VLAN ........................................................................................

1-21

2 STP .............................................................................................

2-1

2.1

STP .............................................................................................................

2-1

 

2.1.1 SSTP ..................................................................................................

2-1

 

2.1.2 RSTP .................................................................................................

2-2

 

2.1.3 MSTP ................................................................................................

2-2

 

2.1.4 BPDU ................................................................................................

2-3

2.2

STP.............................................................................................................

2-7

 

2.2.1 STP ...................................................................................................

2-7

 

2.2.2 STP ............................................................................................

2-8

 

2.2.3 STP ............................................................................................

2-8

 

2.2.4 ..................................................................................................

2-8

 

2.2.5 MST .............................................................................

2-9

 

2.2.6 .................................................................................

2-9

2.3

BPDU ...................................................................................................

2-9

 

2.3.1 BPDU ........................................................................

2-9

 

2.3.2 ..................................................................................

2-10

 

2.3.3 ......................................................................................

2-10

2.4

STP ....................................................................................................

2-10

2.5

STP .............................................................................................

2-12

3 MAC .................................................................................

3-1

3.1 MAC .................................................................................................

3-1

 

3.1.1 MAC .........................................................................

3-1

 

3.1.2 MAC .......................................................................................

3-2

 

3.1.3 MAC .........................................................................

3-2

3.2

MAC .................................................................................................

3-3

 

3.2.1 MAC .............................................................................

3-3

 

3.2.2 MAC ....................................................................................

3-3

 

3.2.3 MAC .............................................................................

3-4

 

3.2.4 MAC .............................................................................

3-4

 

3.2.5 MAC ...............................................................

3-4

 

 

3.2.6 MAC ......................................................................

3-5

 

 

3.2.7 MAC ....................................................................................

3-5

 

 

3.2.8 MAC 256K .....................................................................

3-5

 

 

3.2.9 MAC .......................................................................................

3-6

 

3.3 MAC ..........................................................................................

3-7

4

.....................................................................................

4-1

 

4.1

.....................................................................................................

4-1

 

4.2

.....................................................................................................

4-2

 

4.3

..............................................................................................

4-2

 

4.4

.......................................................................................

4-4

5

IGMP Snooping .............................................................................

5-1

 

5.1

IGMP Snooping .............................................................................................

5-1

 

 

5.1.1 ...............................................................................................

5-2

 

 

5.1.2 ...............................................................................................

5-2

 

 

5.1.3 ..................................................................................................

5-2

 

5.2

IGMP Snooping.............................................................................................

5-2

 

 

5.2.1 IGMP Snooping...................................................................................

5-2

 

 

5.2.2 ........................................................................................

5-3

 

 

5.2.3 ...............................................................................................

5-4

 

 

5.2.4 IGMP Snooping............................................................................

5-4

 

 

5.2.5 IGMP Snooping .....................................................................

5-4

 

5.3

IGMP Snooping ......................................................................................

5-5

 

5.4

IGMP Snooping ...............................................................................

5-5

6

.....................................................................................

6-1

 

6.1

ZESR ..........................................................................................................

6-1

 

 

6.1.1 ZESR ................................................................................................

6-1

 

 

6.1.2 ZESR ................................................................................................

6-3

 

 

6.1.3 ZESR ..........................................................................................

6-4

 

6.2

ZESS ...........................................................................................................

6-6

 

 

6.2.1 ZESS ..................................................................................................

6-6

 

 

6.2.2 ZESS..................................................................................................

6-7

 

6.3

..................................................................................................

6-7

 

6.3.1 .................................................................................

6-7

 

6.3.2 ..........................................................................

6-8

7 OAM .................................................................................

7-1

7.1

OAM ................................................................................................

7-1

7.2

OAM ................................................................................................

7-3

7.3

CFM ...........................................................................................................

7-5

7.4 OAM ...............................................................................

7-9

7.5

OAM .................................................................................

7-11

7.6 CFM ............................................................................................

7-14

8 EPON OLT ..................................................................................

8-1

8.1 EPON OLT ..................................................................................................

8-1

8.2

EPON OLT..................................................................................................

8-3

 

8.2.1 OLT ...........................................................................................

8-3

 

8.2.2 EPON ..................................................................................

8-5

 

8.2.3 ONU ...................................................................................

8-8

 

8.2.4 OLT ..............................................................................

8-9

 

8.2.5 QoS.................................................................................................

8-11

 

8.2.6 OLT ..................................................................................

8-11

 

8.2.7 ONU .................................................................................

8-13

8.3 EPON OLT .........................................................................................

8-20

8.4 EPON OLT ..................................................................................

8-22

....................................................................................................

I

..................................................................................................

III

...................................................................................................

V

ZXR10 6900 V2.8.02.BZXR10 6902/6905/6908 V2.8.02.B

ZXR10 6900

 

 

 

 

ZXR10 6900 V2.8.02.B

19

 

 

 

 

 

 

ZXR10 6900 V2.8.02.B

 

 

 

 

 

 

 

ZXR10 6900 V2.8.02.B

CLI

 

 

 

DHCP VRRP ACL QoS

 

DOT1X

 

IPTV VBAS CPU

 

URPF UDLD

 

 

ZXR10 6900 V2.8.02.B

VLAN STP MAC

 

IGMP Snooping

 

OAM

 

EPON OLT

 

 

ZXR10 6900 V2.8.02.B

RIP OSPF

IPv4

IS-IS BGP

 

IP/LDP FRR

 

BFD

 

 

ZXR10 6900 V2.8.02.B

MPLS MPLS L3VPN

MPLS

MPLS L2VPN

 

 

 

 

 

 

ZXR10 6900 V2.8.02.B

IPv6 IPv6

IPv6

IPv6 IPv6

 

RIPng OSPFv3 IS-ISv6

 

BGP4+

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

 

ZXR10 / V4.8.22

ZXR10 / IPv6

IPv6

 

 

 

ZXR10 / V4.8.22

ZXR10 / RIP

IP

OSPF IS-IS

 

 

ZXR10 / V4.8.22

ZXR10 / BGP

IP

 

 

 

ZXR10 / V4.8.22

ZXR10 / MPLS

MPLS

 

 

 

ZXR10 / V4.8.22

ZXR10 / QoS

QoS

 

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

FTP/TFTP IPv4

 

 

 

 

ZXR10 / V4.8.22

ZXR10 /

 

DHCP VRRP

 

 

ZXR10 / V4.8.22

ZXR10 / NAT

 

Time Range DEBUG

 

 

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

 

ZXR10 / V4.8.22

ZXR10 / MAC

 

VLAN SuperVLAN STP

 

VBAS MAC PING UDLD

 

 

 

 

 

 

ZXR10 / V4.8.22

ZXR10 / VOIP

 

IPTV

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

 

ZXR10 / V4.8.22

ZXR10 /

 

 

 

 

ZXR106900 V2.8.02.B ZXROSV4.8.22

ZXR10 6900 V2.8.02.B

 

 

 

 

1 VLAN

VLAN PVLAN QinQ VLAN VLAN VLAN

 

SuperVLAN SVLAN

 

 

2 STP

STP BPDU

 

 

3 MAC

MAC

 

 

4

 

 

 

5 IGMP Snooping

IGMP Snooping

 

 

6

ZESR ZESS

 

 

7 OAM

OAM

 

 

8 EPON OLT

EPON OLT

 

 

 

 

 

 

1 VLAN

 

 

Ÿ VLAN

1-1

Ÿ VLAN

1-5

Ÿ PVLAN

1-9

Ÿ QinQ

1-10

Ÿ VLAN

1-11

Ÿ VLAN

1-13

Ÿ VLAN

1-14

Ÿ SuperVLAN

1-14

Ÿ SVLAN

1-17

Ÿ VLAN

1-21

1.1 VLAN

VLAN VLAN VLAN VLANVLAN VLAN

VLAN

1.1.1VLAN

VLAN VLAN VLAN VLAN VLAN VLAN

1-1

ZXR10 6900

1 2 3 VLAN VLAN 12 3 VLANVLAN VLAN

1.1.2 VLAN

VLANVLAN IEEE 802.1Q VLAN

VLAN 4 MAC / VLAN 1-1

1-1 VLAN

VLAN VLANTrunk VLANtagged VLANVLAN

802.1Q VLAN ID PVIDuntagged VLAN VLAN

1.1.3 VLAN

ZXR10 6900

Access Link

VLAN VLANVLAN VLAN

Trunk Link

VLAN VLANVLAN VLAN

Hybrid Link

1-2

1 VLAN

VLAN

1.1.4 VLAN

ZXR10 6900 VLAN VLAN

VLAN VLAN ID 1

VLAN VLAN0001

VLAN

VLAN untagged

1.1.5PVLAN

配一个VLAN

IEEE 802.1Q VLAN 4094

VLAN IP IP

VLAN IP

PVLAN

PVLAN VLAN Isolate PortPromiscuous PortVLAN

1.1.6 QinQ

QinQ IEEE 802.1Q VLAN QinQVLAN VLAN

QinQ L2VPN

QinQ 1-2 CustomerUplink PE Provider Edge

1-3

ZXR10 6900

1-2 QinQ

VLAN Trunk PE

1 A customer tagged untaggedA VLAN ID 10 VLAN 10 B B 2 customer802.1Q2

1 2VLAN ID VLAN ID

1.1.7 VLAN

VLAN VLAN VLAN IP VLAN IP VLAN VLAN VLAN

VLAN IP UNTAGVLAN VLAN PVID TAG TAGVLAN

1.1.8 VLAN

VLAN VLANVLANVLAN VLAN

1.1.9 VLAN

VLAN VLAN VLAN IDVLAN VLAN IDVLAN ID

1-4

1 VLAN

1.1.10 SuperVLAN

ISP IP IP IP IP

SuperVLAN VLAN VLAN Super-

VLAN VLAN IP

SuperVLAN ISP SuperVLAN IPVLAN VLAN SuperVLAN IP SuperVLANVLAN VLANSuperVLAN

1.1.11 SVLAN

SVLAN VLAN 802.1Q VLANVLAN VLANVPNVLAN VLAN

4094*4094 VLAN VLAN SPVLAN VLANVLAN CVLAN

QinQSVLAN

原有状态。SVLAN VLAN SVLAN802.1P cos

1.2 VLAN

1.2.1VLAN

1.VLAN VLAN

 

 

 

 

ZXR10(config)#vlan < vlan-id>

VLAN1

 

VLAN

 

 

ZXR10(config-vlan)#name < vlan-name>

VLAN

1-5

ZXR10 6900

VLAN VLAN VLANVLAN “VLAN” VLAN ID

VLAN ID 4 4 0 ID 4 VLAN VLAN0004

2. VLAN

 

 

 

 

ZXR10#vlan database

VLAN

ZXR10(vlan)#vlan < vlan-list>

VLAN

ZXR10(config-vlan)#name < vlan-name>

VLAN

VLAN VLAN VLANVLAN “VLAN” VLAN ID

VLAN ID 4 4 0 ID 4 VLAN VLAN0004

1.2.2

VLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

2

ZXR10(config-if)#switchport mode { access| trunk| hybrid}

VLAN

VLAN Access Trunk Hybrid Access

Access VLAN untagged

Trunk VLAN taggedVLAN Trunk

Hybrid VLANVLAN

Hybrid Trunk HybridTrunk VLAN

1.2.3 VLAN

Access VLAN Trunk Hybrid VLAN

Access VLAN

1-6

 

 

 

 

1 VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

 

2

ZXR10(config-if)#switchport access vlan { < vlan-id> | <

 

VLAN

 

vlan-name> }

 

 

 

 

 

 

 

 

Trunk VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

 

2

ZXR10(config-if)#switchport trunk vlan < vlan-list>

 

VLAN

 

Hybrid VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

 

2

ZXR10(config-if)#switchport hybrid vlan < vlan-list> [ tag| untag]

 

VLAN

 

 

 

 

VLAN

 

 

 

 

 

 

VLAN

 

 

 

 

 

 

 

 

 

 

 

 

 

ZXR10(config-vlan)#switchport { pvid| tag| untag} < port-list>

 

VLAN VLAN

 

 

 

 

 

 

 

 

 

1.2.4 VLAN

Access 1 VLAN VLAN VLAN

Trunk Hybrid VLAN VLAN VLAN VLAN VLANTrunk Hybrid VLAN VLAN 1

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

2

ZXR10(config-if)#switchport { trunk | hybrid} native vlan { <

Trunk Hybrid native

 

vlan-id> | < vlan-name> }

VLAN

 

 

 

1-7

ZXR10 6900

1.2.5

VLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

2

ZXR10(config-if)# ingress filtering { enable| disable}

VLAN

 

 

VLAN

 

 

 

VLAN

1.2.6

 

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)# interface < interface-name>

 

2

ZXR10(config-if)#acceptable frame types { all| tag}

 

untagged taggedtagged

1.2.7

VLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#vlan < vlan-id>

VLAN

2

ZXR10(config-vlan)#exit

VLAN

3

ZXR10(config)#interface vlan < vlan-id>

VLAN

shutdown VLAN noshutdown VLAN

VLAN down VLAN down VLANup VLAN up

1.2.8 VLAN

1-3 A gei_3/1 gei_3/2 B gei_7/1 gei_7/2 VLAN 10 A gei_3/4 gei_3/5 B gei_7/4 gei_7/5 VLAN 20 Access gei_3/24 gei_7/24 TrunkTrunk

1-8

1 VLAN

1-3 VLAN

A

ZXR10_A(config)#vlan 10

ZXR10_A(config-vlan)#switchport pvid gei_3/1-2

ZXR10_A(config)#vlan 20

ZXR10_A(config-vlan)#switchport pvid gei_3/4-5

ZXR10_A(config)#interface gei_3/24

ZXR10_A(config-if)#switchport mode trunk

ZXR10_A(config-if)#switchport trunk vlan 10

ZXR10_A(config-if)#switchport trunk vlan 20

B

ZXR10_B(config)#vlan 10

ZXR10_B(config-vlan)#switchport pvid gei_7/1-2

ZXR10_B(config)#vlan 20

ZXR10_B(config-vlan)#switchport pvid gei_7/4-5

ZXR10_B(config)#interface gei_7/24

ZXR10_B(config-if)#switchport mode trunk

ZXR10_B(config-if)#switchport trunk vlan 10

ZXR10_B(config-if)#switchport trunk vlan 20

1.3

PVLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#vlan private-map session-id < id> [ community <

PVLAN

 

port-list> ] [ isolate < port-list> ] [ promis < port-list> ] [ vlan < vlan-list>

isolate promis

 

]

 

 

 

 

2

ZXR10(config)#show vlan private-map [ < session-id> ]

PVLAN

1-9

ZXR10 6900

隔离组1 gei_3/1 gei_3/2 fei_7/4 fei_7/5 gei_5/102 gei_3/7 gei_3/8 fei_7/10 fei_7/11 gei_5/12

ZXR10(config)#vlan private-map session-id 1

isolate

gei_3/1-2,fei_7/4-5 promis gei_5/10

 

 

ZXR10(config)#vlan private-map session-id 2

isolate

gei_3/7-8,fei_7/10-11 promis gei_5/12

 

 

ZXR10(config)#show vlan private-map

 

 

Session_id

Isolate_Ports

 

Promis_Ports

----------

------------------------

------------------------

1

gei_3/1-2,fei_7/4-5,

 

gei_5/10

2

gei_3/7-8,

 

gei_5/12

1.4

QinQ

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface < interface-name>

 

2

ZXR10(config-if)#switchport qinq { normal| uplink| customer|

QinQ normal

 

tpid < tpid> }

QinQ

 

 

normal uplink

 

 

customer

 

 

 

 

 

 

3

ZXR10(config-if)#show qinq

QinQ

1-4 A customer gei_3/1 uplink gei_3/24 Bcustomer gei_7/1 uplink gei_7/24 QinQ SPVLAN customeruntagged uplink tagged

1-10

1 VLAN

1-4 QinQ

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

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

1.5

VLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#vlan subnet-map session-no< session-no> < ipaddr>

VLAN 128

 

< mask> vlan { < vlanid> < name> }

VLAN

 

 

 

2

ZXR10(config)#show vlan subnet-map

VLAN

1-11

ZXR10 6900

1-5 VLAN VLAN20 VLAN30 fei_1/1VLAN20 fei_1/2 VLAN30 fei_1/10 VLAN20 VLAN30 fei_1/1 fei_1/2 fei_1/10 Pvid IP 20.20.20.0/24 PC 1 IP

30.30.30.1 PC 2

1-5 VLAN

/* VLAN VLAN */

ZXR10(config)#interface fei_1/1

ZXR10(config-int)#switch mode hybrid

ZXR10(config-int)#switchport hybrid native vlan 20

ZXR10(config-int)#switch hybrid vlan 20 untag

ZXR10(config-int)#exit

ZXR10(config)#interface fei_1/2

ZXR10(config-int)#switch mode hybrid

ZXR10(config-int)#switchport hybrid native vlan 30

ZXR10(config-int)#switch hybrid vlan 30 untag

ZXR10(config-int)#exit

ZXR10(config)#interface fei_1/10

1-12

1 VLAN

ZXR10(config-int)#switch mode hybrid

ZXR10(config-int)#switch hybrid vlan 20,30 untag

ZXR10(config-int)#exit

/* VLAN */

ZXR10(config)# vlan subnet-map session-no 1

20.20.20.0 255.255.255.0 vlan 20

ZXR10(config)# vlan subnet-map session-no 2

30.30.30.1 255.255.255.255 vlan 30

1.6 VLAN

 

 

 

 

ZXR10(config)#vlan protocol-map session-no < session-no> { ethernet2|

VLAN

llc| snap} < 0xHHHH> vlan { < vlanId> | < name> }

 

 

 

ZXR10#show vlan protocol-map

VLAN

fei_1/1 0X800 0X7000VLAN

ZXR10(config)#vlan protocol-map session-no 1

ethernet2 0x800 vlan 10

ZXR10(config)#vlan protocol-map session-no 2 ethernet2

0x7000 vlan 20

ZXR10(config)#int fei_1/1

ZXR10(config-if)#switchport mode trunk

ZXR10(config-if)#switchport trunk vlan 10,20

ZXR10(config)#exit

ZXR10(config)#int fei_1/2

ZXR10(config-if)#switchport mode trunk

ZXR10(config-if)#switchport trunk vlan 10

ZXR10(config)#exit

ZXR10(config)#int fei_1/3

ZXR10(config-if)#switchport mode trunk

ZXR10(config-if)#switchport trunk vlan 20

ZXR10(config)#exit

1-13

ZXR10 6900

1.7

VLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#vlan translate session-no < session_id> { ingress-port

VLAN

 

| egress-port} < interface-name> ingress-vlan < vlan-list> egress-vlan

 

 

< vlanId> [ uplink-port < interface-name> ]

 

 

 

 

2

ZXR10#show vlan translate [ session-no < session_id> ]

VLAN

gei_1/1 VLAN VLAN 100fei_2/1 VLAN VLAN200 VLAN

ZXR10(config)#vlan translate session-no 1 ingress-port gei_1/1

ingress-vlan 100 egress-vlan 200

ZXR10(config)#int gei_1/1

ZXR10(config-if)#ingress filtering disable

ZXR10(config-if)#switchport access vlan 100

ZXR10(config)#exit

ZXR10(config)#int fei_2/1

ZXR10(config-if)#switchport access vlan 200

ZXR10(config-if)#exit

1.8

SuperVLAN

 

 

 

 

 

 

 

 

 

 

1

ZXR10(config)#interface supervlan < supervlan-id>

SuperVLAN supervlan-id

 

 

1-255

 

 

 

2

ZXR10(config)#vlan < vlan-id>

VLAN

3

ZXR10(config-vlan)#supervlan < supervlan-id>

VLAN

4

ZXR10(config)#interface supervlan < supervlan-id>

Supervlan

 

 

supervlan-id 1-255

 

 

 

1-14

 

 

1 VLAN

 

 

 

 

 

 

 

 

 

 

 

 

5

ZXR10(config-if)#inter-subvlan-routing { enable| disable}

/ VLAN

 

 

 

 

 

 

6

ZXR10(config-if)#arp-broadcast { enable| disable}

/ ARP

 

 

 

 

 

 

7

ZXR10(config)#vlan < vlan-id>

VLAN

8

ZXR10(config-vlan)#ip supervlan pool < ip address begin> < ip

SuperVLAN IP

 

address end>

 

 

 

 

9

ZXR10(config)#interface supervlan < supervlan-id>

SuperVLAN

10

ZXR10(config-if)#ip-pool-filter { enable| disable}

/ IP

 

 

 

 

 

 

11

ZXR10(config)#show supervlan [ { supervlan-id} ]

SuperVLAN

ARP

ARP VLAN SuperVLANARP ARP ARP ARPVLAN ARP ARP ARPVLAN ARP

IP

VLAN SueprVLAN ARP IPSueprVLAN ARP IP VLANIP-POOL ARP

IP ARP ARP VLAN ARP ARP IP ARPVLAN IP-POOL VLAN ARP

IP IP-POOL IPIP IP-POOL

1-6 A SuperVLAN 10.1.1.0/24 10.1.1.1B VLAN VLAN 2 VLAN 3 SuperVLAN A B

Trunk

1-15

ZTE ZXR10 User Guide

ZXR10 6900

1-6 SuperVLAN

A

/* SuperVLAN */

ZXR10_A(config)#interface supervlan 10

ZXR10_A(config-int)#ip address 10.1.1.1 255.255.255.0

/* SubVLAN SuperVLAN*/

ZXR10_A(config)#vlan 2

ZXR10_A(config-vlan)#supervlan 10

ZXR10_A(config)#vlan 3

ZXR10_A(config-vlan)#supervlan 10

/* vlan trunk */

ZXR10_A(config)#interface gei_7/10

ZXR10_A(config-int)#switch mode trunk

ZXR10_A(config-int)#switch trunk vlan 2-3

B

ZXR10_B(config)#interface gei_3/1

ZXR10_B(config-int)#switch access vlan 2

ZXR10_B(config)#interface gei_3/10

ZXR10_B(config-int)#switch access vlan 2

ZXR10_B(config)#interface gei_5/1

ZXR10_B(config-int)#switch access vlan 3

ZXR10_B(config)#interface gei_5/10

1-16

1 VLAN

ZXR10_B(config-int)#switch access vlan 3

ZXR10_B(config)#interface gei_8/10

ZXR10_B(config-int)#switch mode trunk

ZXR10_B(config-int)#switch trunk vlan 2-3

1.9 SVLAN

SVLAN SVLAN VFP SVLAN

SVLAN

 

 

 

 

 

 

1

ZXR10(config)#vlan qinq session-no < session-id> customer-port

SVLAN

 

< port-id> uplink-port < port-id> { { in-vlan < vlan-id> { {

 

 

ovlan < vlan-id> } | { untag helper-vlan < vlan-id> } } } |

 

 

default-vlan-forwarding | { untag ovlan < vlan-id> [ undirect] } }

 

 

 

 

2

ZXR10(config)#no vlan qinq { session-no < session-id> | all }

SVLAN

 

 

 

 

session-no < session-id>

1~1000

 

 

customer-port< port-id>

 

 

 

uplink-port< port-id>

 

 

 

in-vlan< vlan-id>

 

 

 

untag

 

 

 

ovlan< vlan-id>

 

 

 

ZXR10(config)#vlan qinq session 1 customer-port fei_1/1

uplink-port gei_2/2 in-vlan 1-10 ovlan 20

ZXR10(config)#vlan qinq session 2 customer-port fei_1/1

uplink-port gei_2/2 in-vlan 30 untag helper-vlan 4094

1-17

ZXR10 6900

VFP SVLAN

 

 

 

 

 

 

1

ZXR10(config)#vfp session < session-no> invlan { < vlan range> |

VFP SVLAN

 

any} in < acl-number> rule < rule-id> { { ovlan < vlanid> } | { untag {

 

 

global | pinpoint} } }

 

 

 

 

2

ZXR10(config)#interface < interface-name>

 

3

ZXR10(config-if)#ip access-group < acl-number> vfp

VFP SVLAN

VFP Vlan Filter Processor

SVLAN

VFP

ZXR10(config)#vfp session 1 invlan 1-10 in 100 rule 1 ovlan 20

ZXR10(config)#vfp session 2 invlan 30 in 100 rule 2 untag pinpoint

ZXR10(config)#interface fei_1/1

ZXR10(config-if)#ip access-group 100 vfp

SVLAN

 

 

 

 

ZXR10(config)#show vlan qinq [ session < session-id> ]

SVLAN

ZXR10#show vlan qinq

Session Customer Uplink In_Vlan Out_Vlan Priority redirect

------------------------------------------------------------

1

fei_1/1

fei_1/2 1-10

20 mapping

2

fei_1/1

gei_1/2 30

0

 

 

 

 

 

 

 

Session

 

 

 

 

 

 

1-18

1 VLAN

 

 

 

 

Customer

 

 

 

Uplink

 

 

 

In_Vlan

0 untag

 

 

Out_Vlan

0

 

 

Priority

mapping QoS

 

 

1-7 custom

1.custom fei_1/1 tag 10 S1 tag uplink fei_1/2tag 997 tag 10

2.custom fei_1/1 tag 11 S1 tag uplink fei_1/2tag 998 tag 11

3.custom fei_1/1 tag 999 uplink fei_1/2

1-7 SVLAN

SVLAN

S1 SVLAN

1-19

ZXR10 6900

ZXR10(config)#vlan qinq session-no 1 customer-port fei_1/1

uplink-port fei_1/2 in-vlan 10 ovlan 997

ZXR10(config)#vlan qinq session-no 2 customer-port fei_1/1

uplink-port fei_1/2 in-vlan 11 ovlan 998

ZXR10(config)#vlan qinq session-no 3 customer-port fei_1/1

uplink-port fei_1/2 in-vlan 999 untag helper-vlan 4094

S1 SVLAN

ZXR10(config)#interface fei_1/1

ZXR10(config-if)# negotiation auto

ZXR10(config-if)# switchport mode hybrid

ZXR10(config-if)# switchport hybrid vlan 999 tag

ZXR10(config-if)# switchport hybrid vlan 997-998 untag

ZXR10(config-if)# switchport qinq customer

ZXR10(config)#interface fei_1/2

ZXR10(config-if)# switchport mode hybrid

ZXR10(config-if)# switchport hybrid vlan 997-998 tag

ZXR10(config-if)# switchport hybrid vlan 999 tag

ZXR10(config-if)# switchport hybrid vlan 4094 untag

ZXR10(config-if)# switchport qinq uplink

1.custom fei_1/1 tag 10 IP 192.168.0.1 S1 tag uplink fei_1/2 tag 997 tag 10

2.custom fei_1/1 tag 10 IP 192.168.0.2 S1 tag uplink fei_1/2 tag 998 tag 10

3.custom fei_1/1 tag 11 S1 tag uplink fei_1/2tag 998 tag 11

4.custom fei_1/1 tag 999 uplink fei_1/2VFP SVLAN

S1 SVLAN

ZXR10(config)#vfp session 1 invlan 10 in 10

rule 1 ovlan 997

ZXR10(config)#vfp session 2 invlan 10 in 10 rule 2 ovlan 998

1-20

Loading...
+ 91 hidden pages