Configuring VLANs

Displaying VLAN Information

After you configure the VLANs, you can verify the configuration using the following methods.

Displaying System-Wide VLAN Information

Use one of the following methods to display VLAN information for all the VLANs configured on the device.

USING THE CLI

Enter the following command at any CLI level. This example shows the display for the IP sub-net and IPX network VLANs configured in the examples in “Configuring an IP Sub-Net VLAN with Dynamic Ports” on page 16-33and “Configuring an IPX Network VLAN with Dynamic Ports” on page 16-34.

HP9300(config)# show vlans

Total PORT-VLAN entries: 2

Maximum PORT-VLAN entries: 8

legend: [S=Slot]

PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, Spanning tree Off Untagged Ports: (S2) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Untagged Ports: (S2) 17 18 19 20 21 22 23 24

Untagged Ports: (S4) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Untagged Ports: (S4) 17 18 19 20 21 22 23 24 Tagged Ports: None

PORT-VLAN 10, Name IP_VLAN, Priority level0, Spanning tree Off

Untagged Ports: (S1) 1 2 3 4 5 6

Tagged Ports: None

IP-subnet VLAN 1.1.1.0 255.255.255.0, Dynamic port enabled

Name: Mktg-LAN

Static ports: None

Exclude ports: None

Dynamic ports: (S1) 1 2 3 4 5 6

PORT-VLAN 20, Name IPX_VLAN, Priority level0, Spanning tree Off

Untagged Ports: (S2) 1 2 3 4 5 6

Tagged Ports: None

IPX-network VLAN 0000ABCD, frame type ethernet_ii, Dynamic port enabled Name: Eng-LAN

Static ports: None Exclude ports: None

Dynamic ports: (S2) 1 2 3 4 5 6

Syntax: show vlans [<vlan-id> ethernet <portnum>]

USING THE WEB MANAGEMENT INTERFACE

To display VLAN configuration information:

1.Log on to the device using a valid user name and password for read-only or read-write access. The System configuration dialog is displayed.

2.Click on the plus sign next to Configure in the tree view to expand the list of configuration options.

3.Click on the plus sign next to VLAN in the tree view to expand the list of VLAN option links.

4.Click on the Port link to display the Port-based VLAN table or the Protocol link to display the Protocol-based VLAN table.

16 - 57