Configuration Guide
Private VLAN Configuration
The following example configures Secondary VLAN routing:
Ruijie#
configure terminal
Ruijie(config)#
interface vlan
202
Ruijie(config-if)#
private-vlan mapping add
303-307,309,440
Ruijie(config-if)#
end
Ruijie#
Note
The primary VLAN and the secondary VLANs in this process are associated.
Configuring a Layer 2 Interface as the Host Port of a Private VLAN
To configure a layer 2 interface as the Host Port of a private VLAN, execute the
following commands:
Command
Description
configure terminal
Enter the global configuration mode.
interface <
interface
>
Enter the interface configuration mode.
Three kinds of interfaces are available: fastethernet,
GE and 10GE.
switchport mode private-vlan host
Configure the interface as the host interface of the
private VLAN.
no switchport mode
Remove the configuration.
End
Exit the interface mode.
switchport private-vlan
host-association
p_vid s_vid
Associate the layer 2 interface with the private VLAN.
no switchport private-vlan
host-association
Remove the association.
For example:
Ruijie#
configure terminal
Ruijie(config)#
interface gigabitEthernet
0/2
Ruijie(config-if)#
switchport mode private-vlan host
Ruijie(config-if)#
switchport private-vlan host-association
202 203
Ruijie(config-if)#
end
Note
The primary VLAN and the secondary VLANs in this process are associated.
Содержание 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 ...