EX2500 Ethernet Switch Configuration Guide

VLANs and Port VLAN ID Numbers

VLAN Numbers

The EX2500 switch supports up to 1024 VLANs per switch. Even though the maximum number of VLANs supported at any given time is 1024, each can be identified with any number between 1 and 4094. VLAN 1 is the default VLAN for the data ports. VLAN 4095 is used by the management network, which includes the management port.

Use the following CLI command to view VLAN information:

ex2500(config)# show vlan

VLAN

Name

Status

Ports

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

1

VLAN 1

ena

1-24, po1-po36

2

VLAN

2

dis

empty

4095

Mgmt

VLAN

ena

MGMT

PVID Numbers

Each port in the switch has a configurable default VLAN number, known as its PVID. By default, the PVID for all non-management ports is set to 1, which correlates to the default VLAN ID. The PVID for each port can be configured to any VLAN number between 1 and 4094.

Use the following CLI commands to view and configure PVIDs:

„Port information:

ex2500# show interface information

Alias

Port Tag Edge Lrn Fld PVID

NAME

VLAN(s)

-----

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

1

 

1

y

n

e

e

1

1

1

2

 

2

y

n

e

e

1

2

1

3

 

3

y

n

e

e

1

3

1

4

 

4

y

n

e

e

1

4

1

5

 

5

y

n

e

e

1

5

1

6

 

6

y

n

e

e

1

6

1

...

...

 

 

 

 

 

...

...

24

24

 

n

n

e

e

1

24

1

MGMT

 

 

MGMT n

n

d

d

4095

MGMT

4095

# = PVID is tagged.

„Port configuration:

ex2500(config)# interface port 7 ex2500(config-if)# pvid 7

Each port on the switch can belong to one or more VLANs, and each VLAN can have any number of switch ports in its membership. Any port that belongs to multiple VLANs, however, must have VLAN tagging enabled (see “VLAN Tagging” on page 23).

22„ VLANs and Port VLAN ID Numbers

Page 36
Image 36
Juniper Networks EX2500 manual VLANs and Port Vlan ID Numbers, Vlan Numbers, Pvid Numbers, „ Port configuration