2013年9月23日星期一

HP Switch: virtual serial configuration VLAN Trunk

Abstract: Ethernet Serial port settings, HP MSR900 often encounter lots of trouble, whether it is to forget the set command, or forget operation process, is a very annoying thing, this article mainly describes the set of questions about virtual serial port Ethernet switch.
Switch serial port (Trunk) function:
In the Ethernet switch relay through serial port using the following two package types:
-          IEEE 802.1Q

ISL (Inter Switch Link, Cisco private)

The configuration steps
The first step: add VLAN on the switch.
Switch1#vlan database
Switch1 (VLAN) #vlan 2
Switch1 (VLAN) #vlan 3
Switch1 (VLAN) #exit
The second step: add the interface to the corresponding VLAN
Switch1#config terminal
Switch1 (config) #interface fastEthernet 0/1
Switch1 (config-if-range) #switchport access VLAN 2
Switch1 (config) #interface fastEthernet 0/2
Switch1 (config-if-range) #switchport access VLAN 3
The third step: Internet configuration switches between port serial port (Trunk)
Switch1 (config) #interface f0/15
Switch1 (config-if-range) #switchport mode trunk
Other related commands
Removal of VLAN:
Switch (config-if) #switchport trunk allowed VLAN removevlan-list
Add VLAN:
Switch (config-if) #switchport trunk allowed VLAN add vlan-list
View port state:
Switch#show interface f0/15switchport
List check relay port allows VLAN:
Switch#show interface interface-id switchport
To view the VLAN information:
Switch#show VLAN Brief
View configuration: HP MSR20

Switch#show running-config
More information, please view: http://www.h3network.com

没有评论:

发表评论