EasyManua.ls Logo

Ruijie RG-S2900G-E Series - Page 207

Ruijie RG-S2900G-E Series
943 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Guide Private VLAN Configuration
Command
Description
configure terminal
Enter the global configuration mode.
vlan p_vid
Enter the primary VLAN configuration mode.
private-vlan association
{svlist | add svlist | remove svlist}
Associate with the secondary VLANs.
no private-vlan association
Remove the association with all the secondary
VLANs.
end
Exit the VLAN mode.
show vlan private-vlan [type]
Show the private VLAN
For example:
Ruijie# configure terminal
Ruijie(config)# vlan 202
Ruijie(config-vlan)# private-vlan association 303-307,309,440
Ruijie(config-vlan)# end
Ruijie# show vlan private-vlan
VLAN Type Status Routed Interface Associated VLANs
--- ---- -------- ------ --------- ------------------
202 prim inactive Disabled 303-307,309,440
303 comm inactive Disabled 202
304 comm inactive Disabled 202
305 comm inactive Disabled 202
306 comm inactive Disabled 202
307 comm inactive Disabled 202
309 comm inactive Disabled 202
440 comm inactive Disabled 202
Note
This operation is performed in the configuration mode of the VLAN declared
as the primary VLAN.
Mapping Secondary VLANs to the Layer 3 Interface of the Primary VLAN
To map the secondary VLANs to the layer 3 interface of the primary VLAN,
execute the following commands:
Command
Description
configure terminal
Enter the global configuration mode.
interface vlan p_vid
Enter the interface configuration mode of the primary
VLAN.
private-vlan mapping
{svlist | add svlist | remove svlist}
Map the secondary VLANs to the layer 3 SVI of the
primary VLAN.
end
Exit the interface configuration mode.

Table of Contents

Related product manuals