Configuration Guide
Private VLAN Configuration
Configuring a Layer 2 Interface as the Isolated PVLAN Trunk Port
To configure a layer 2 interface as the isolated trunk port in the PVLAN, execute
the following commands:
Command
Description
Ruijie#
configure terminal
Enter the global configuration mode.
Ruijie(config-if)#
interface
<
interface
>
Enter the interface configuration mode.
Three kinds of interfaces are available: Megabit,
Gigabit, 10 Gigabit.
Ruijie(config-if)#
switchport mode
trunk
Configure the trunk mode.
Ruijie(config-if)#
switchport
private-vlan association trunk
p_vid
s_vid
OR:
Ruijie(config-if)#
no
switchport
private-vlan association trunk
p_vid
s_vid
Associate the Layer2 port and the private VLAN.
p_vid:
primary vlan id;
s_vid:
secondary vlan id.
Remove the configuration.
Ruijie(config-if)#
switchport trunk
allowed vlan
{
all
| [
add
|
remove
|
except
] }
vlan-list
(Optional) Configure the allowed VLAN list on
the Trunk port.
all: all supported VLANs in the allowed VLAN
list;
add: add the specified VLAN list to the allowed
VLAN list;
remove: remove the specified VLAN from the
allowed VLAN list;
except: add all VLANs beyond the VLAN list to
the allowed VLAN list.
vlan-list:
can be a VLAN, or a series of VLAN, for
example, 10-20.
Ruijie(config-if)#
switchport trunk
native vlan
vlan-id
Configure the Native VLAN
Use the no switchport trunk native command in
the interface configuration mode to restore the
Trunk Native VLAN list to the default VLAN1.
For example:
Ruijie#
configure terminal
Ruijie(config)#
interface
gigabitEthernet 0/2
Ruijie(config-if)#
switchport mode trunk
Ruijie(config-if)#
switchport private-vlan association trunk
202 203
Ruijie(config-if)#
switchport trunk allowed vlan
100
Ruijie(config-if)#
switchport trunk native vlan 100
Содержание RG-S2900G-E Series
Страница 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Страница 91: ...Configuration Guide Configuring PoE Configuration ...
Страница 133: ...Configuration Guide EEE Configuration ...
Страница 319: ...Configuration Guide QinQ Configuration ...
Страница 408: ......
Страница 409: ...IP Routing Configuration 1 Static Route Configuration ...
Страница 412: ......
Страница 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Страница 621: ...Configuration Guide CPU Protection Configuration udp helper 180 4 dhcp client 180 4 lacp 180 4 ...
Страница 757: ......
Страница 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Страница 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Страница 901: ...Configuration Guide ERSPAN Configuration ...
Страница 902: ...Web based Configuration 1 Web based Configuration ...