Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 1659

For ex series ethernet switches
Table of Contents

Advertisement

Configuring VLANs and GVRP on Access Switch B
CLI Quick
Configuration
Copyright © 2010, Juniper Networks, Inc.
}
lldp {
interface all;
}
lldp-med {
interface all;
}
gvrp {
interface xe-0/1/1.0;
}
rstp;
}
ethernet-switching-options {
storm-control {
interface all {
level 50;
}
}
}
vlans {
finance {
vlan-id 100;
}
lab {
vlan-id 200;
}
sales {
vlan-id 300;
}
To configure three VLANs on the switch, bind access interfaces for PC4 and PC5 to the
VLANs (finance and lab), and enable GVRP on the trunk interface of Access Switch
Switch B, perform these tasks:
To quickly configure Access Switch B to support the three VLANs, bind interfaces for the
two PCs to the appropriate VLANs, and enable GVRP on the trunk interface, copy the
following commands and paste them into the switch terminal window of Switch B:
[edit]
set vlans finance vlan-id 100
set vlans lab vlan-id 200
set vlans sales vlan-id 300
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members finance
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members lab
set interfaces xe-0/1/0 unit 0 family ethernet-switching port-mode trunk
set protocols gvrp interface xe-0/1/0.0
Chapter 64: Examples: Bridging and VLAN Configuration
1555

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents