Vlans And Port Vlan Id Numbers; Vlan Numbers; Pvid Numbers - Juniper EX2500 Configuration Manual

Juniper networks switch user manual
Hide thumbs Also See for EX2500:
Table of Contents

Advertisement

EX2500 Ethernet Switch Configuration Guide

VLANs and Port VLAN ID Numbers

VLAN Numbers

PVID Numbers

22
VLANs and Port VLAN ID 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
----
------------------------
1
VLAN 1
2
VLAN 2
4095
Mgmt VLAN
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
----- ---- --- ---- --- --- ---- -------------- -----------------
1
1
y
n
2
2
y
n
3
3
y
n
4
4
y
n
5
5
y
n
6
6
y
n
... ...
24
24
n
n
MGMT
MGMT n
n
# = 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).
Status
------
-------------------------
ena
1-24,
po1-po36
dis
empty
ena
MGMT
NAME
e
e
1
1
e
e
1
2
e
e
1
3
e
e
1
4
e
e
1
5
e
e
1
6
...
e
e
1
24
d
d
4095 MGMT
Ports
VLAN(s)
1
1
1
1
1
1
...
1
4095

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents