Basic Operation Guide 2014/02

Example 66 Running config output for a range of VLANs
HP Switch(config)# show running-config vlan 3-4
Running configuration:
vlan 3
name "VLAN3"
ip helper-address 7.1.1.1
ip forward-protocol udp 7.1.1.1 snmp
ip forward-protocol udp 11.1.1.2 dns
no ip address
exit
vlan 4
name "VLAN4"
ip address 5.1.1.1 255.255.255.0
ip bootp-gateway 5.1.1.1
ip route 5.1.1.0 255.255.255.0 distance 3
exit
Below is an example of the running config for a range of VLANs after configuration changes have
been made to selected VLANs.
Example 67 Output for running config for a range of VLANs
HP Switch(config)# dhcp-snooping
HP Switch(config)# vlan 14
HP Switch(vlan-14)# exit
HP Switch(config)# vlan 15
HP Switch(vlan-15)# exit
HP Switch(config)# vlan 23
HP Switch(vlan-23)# exit
HP Switch(config)# dhcp-snooping vlan 14-15
HP Switch(config)# static-mac 00:11:22:33:44:55 vlan 23 interface A3
HP Switch(config)# spanning-tree instance 2 vlan 15
HP Switch(config)# show running-config vlan 14-15
Running configuration:
vlan 14
name "VLAN14"
no ip address
dhcp-snooping
exit
vlan 15
name "VLAN15"
no ip address
dhcp-snooping
spanning-tree instance 2
exit
Startup configuration output
You can display the startup configuration using this command. An example of the startup
configuration output is shown in the ‘Startup Configuration Output’ example below.
Syntax:
show config [interface <port-list | loopback <0-7> | vlan
<vlan-id-list> ]
Displays startup configuration information about the selected interface when one
is specified. The interfaces can be ports, VLANs, or SVLANs.
Display configuration of selected interface 87