Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

Inspecting the Private VLAN Configuration

The standard methods of inspecting configurations also apply in PVLANs.

To inspect your PVLAN configurations, use the following commands.
  • Display the specific interface configuration. INTERFACE mode and INTERFACE VLAN mode show config
  • Inspect the running-config, and, with the grep pipe option, display a specific part of the running-config. show running-config | grep string The following example shows the PVLAN parts of the running-config from the S50V switch in the topology diagram previously shown.
  • Display the type and status of the configured PVLAN interfaces. show interfaces private-vlan [interface interface] This command is specific to the PVLAN feature. For more information, refer to the Security chapter in the Dell Networking OS Command Line Reference Guide.
  • Display the configured PVLANs or interfaces that are part of a PVLAN. show vlan private-vlan [community | interface | isolated | primary | primary_vlan | interface interface] This command is specific to the PVLAN feature. The following examples show the results of using this command without the command options on the FN IOM switch in the topology diagram previously shown.
  • Display the primary-secondary VLAN mapping. The following example shows the output from the FN IOM switch. show vlan private-vlan mapping This command is specific to the PVLAN feature.
The show arp and show vlan commands are revised to display PVLAN data.

Example of Viewing a Private VLAN

Dell#show vlan private-vlan
                                 Primary Secondary Type      Active Ports
                                 ------- --------- --------- ------ ------------------------------------------
                                 20               Primary    Yes   Te 1/1,5
                                 30       Community  Yes   Te 1/2
                                 40       Isolated   Yes   Te 1/3
                                 Dell#
                              

Example of the show vlan private-vlan mapping Command

S50-1#show vlan private-vlan mapping
                                 Private Vlan:
                                 Primary     : 4000
                                 Isolated    : 4003
                                 Community   : 4001
                              
  • NOTE: In the following example, notice the addition of the PVLAN codes – P, I, and C – in the left column.

Example of Viewing VLAN Status

Dell#show vlan
                                 Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P - Primary, C -
                                 Community, I - Isolated
                                 Q: U - Untagged, T - Tagged
                                 x - Dot1x untagged, X - Dot1x tagged
                                 G - GVRP tagged, M - Vlan-stack, H - VSN tagged
                                 i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged
                                 
                                 NUM   Status Description Q Ports
                                 * 1   Active             U Te 5/41
                                 P 20  Active             T Te 1/1,5
                                 C 30  Active             T Te 1/2
                                 I 40  Active             T Te 1/3
                                 Dell#
                              

Example of Viewing Private VLAN Configuration

Dell#show vlan
                                 !
                                 interface TenGigabitEthernet 1/1
                                 no ip address
                                 switchport
                                 switchport mode private-vlan promiscuous
                                 no keepalive
                                 no shutdown
                                 !
                                 interface TenGigabitEthernet 1/2
                                 no ip address
                                 switchport
                                 switchport mode private-vlan host
                                 no shutdown
                                 !
                                 interface TenGigabitEthernet 1/3
                                 no ip address
                                 switchport
                                 switchport mode private-vlan host
                                 no shutdown
                                 !
                                 interface TenGigabitEthernet 1/5
                                 no ip address
                                 switchport
                                 switchport mode private-vlan trunk
                                 no shutdown
                                 interface Vlan 20
                                 private-vlan mode primary
                                 private-vlan mapping secondary-vlan 30,40
                                 no ip address
                                 tagged TenGigabitEthernet 1/1,5
                                 shutdown
                                 !
                                 interface Vlan 30
                                 private-vlan mode community
                                 no ip address
                                 tagged TenGigabitEthernet 1/2
                                 no shutdown
                                 !
                                 
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\