Complete Cli Examples - HP 9304m Installation And Getting Started Manual

Procurve routing switches
Table of Contents

Advertisement

Configuring Virtual LANs (VLANs)
USING THE WEB MANAGEMENT INTERFACE
You cannot enable VLAN aggregation using the Web management interface. The other options you need for
configuring Aggregated VLANs are present in earlier software releases and are supported in the Web
management interface.
Configuring Aggregated VLANs on a Core Device
To configure aggregated VLANs on a core device, use one of the following methods.
USING THE CLI
To configure the aggregated VLANs on device C in Figure 7.17 on page 7-43, enter the following commands:
HP9300(config)# tag-type 9100
HP9300(config)# aggregated-vlan
HP9300(config)# vlan 101 by port
HP9300(config-vlan-101)# tagged ethernet 4/1
HP9300(config-vlan-101)# untagged ethernet 3/1
HP9300(config-vlan-101)# exit
HP9300(config)# vlan 102 by port
HP9300(config-vlan-102)# tagged ethernet 4/1
HP9300(config-vlan-102)# untagged ethernet 3/2
HP9300(config-vlan-102)# exit
HP9300(config)# write memory
Syntax: [no] tag-type <num>
Syntax: [no] aggregated-vlan
The <num> parameter specifies the tag type can be a hexadecimal value from 0 – ffff. The default is 8100.
USING THE WEB MANAGEMENT INTERFACE
You cannot enable VLAN aggregation using the Web management interface.
Verifying the Configuration
You can verify the VLAN, VLAN aggregation option, and tag configuration by viewing the running-config. To
display the running-config, enter the show running-config command from any CLI prompt. After you save the
configuration changes to the startup-config, you also can display the settings in that file by entering the show
configuration command from any CLI prompt.

Complete CLI Examples

The following sections show all the Aggregated VLAN configuration commands on the devices in Figure 7.17 on
page 7-43.
NOTE: In these examples, the configurations of the edge devices (A, B, E, and F) are identical. The
configurations of the core devices (C and D) also are identical. The aggregated VLAN configurations of the edge
and core devices on one side must be symmetrical (in fact, a mirror image) to the configurations of the devices on
the other side. For simplicity, the example in Figure 7.17 on page 7-43 is symmetrical in terms of the port
numbers. This allows the configurations for both sides of the link to be the same. If your configuration does not
use symmetrically arranged port numbers, the configurations should not be identical but must use the correct port
numbers.
Commands for Device A
HP9300A(config)# vlan 101 by port
HP9300A(config-vlan-101)# tagged ethernet 2/1
HP9300A(config-vlan-101)# untagged ethernet 1/1
HP9300A(config-vlan-101)# exit
HP9300A(config)# vlan 102 by port
HP9300A(config-vlan-102)# tagged ethernet 2/1
HP9300A(config-vlan-102)# untagged ethernet 1/2
7 - 45

Advertisement

Table of Contents
loading

This manual is also suitable for:

9315m

Table of Contents