Download Basic Operation Guide

Transcript
3500-5400-6200-6600-8200-BOG-Aug12-K.15.11.book Page 57 Friday, November 16, 2012 8:34 AM
Switch Memory and Configuration
Display Configuration of Selected Interface
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
VLAN 4 configuration information is displayed
together in the output.
Figure 5-50. Example of Running Config Output for a Range of VLANs
Figure 5-51 shows an example of the running config for a range of VLANs after
configuration changes have been made to selected VLANs.
HP
HP
HP
HP
HP
HP
HP
HP
HP
HP
Switch(config)# dhcp-snooping
Switch(config)# vlan 14
Switch(vlan-14)# exit
Switch(config)# vlan 15
Switch(vlan-15)# exit
Switch(config)# vlan 23
Switch(vlan-23)# exit
Switch(config)# dhcp-snooping vlan 14-15
Switch(config)# static-mac 00:11:22:33:44:55 vlan 23 interface A3
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
Figure 5-51. Example of Output for Running Config for a Range of VLANs
5-57