Cisco command's
HP command
Interface gig 3/0/2
port link-type trunk
port trunk permit vlan 100 101
port trunk PVID vlan 12 (Equals to Native vlan command in cisco)
Note:-
switchport trunk native vlan command for IOS switches to specify the native VLAN. Remember that the native VLAN must match on both sides of the trunk link for 802.1Q
switchport trunk allowed vlan remove/add 2-1001
switchport trunk allowed vlan add 2-3
HP command
Interface gig 3/0/2
port link-type trunk
port trunk permit vlan 100 101
port trunk PVID vlan 12 (Equals to Native vlan command in cisco)
Note:-
switchport trunk native vlan command for IOS switches to specify the native VLAN. Remember that the native VLAN must match on both sides of the trunk link for 802.1Q
By default, there is only a single VLAN for all ports. This VLAN is called default. You cannot rename or delete VLAN 1.
If you talk about a management VLAN is nothing more than a VLAN that is used for in-band management of your network switching devices. In order to configure this on a switch you need to create a Switch Virtual Interface (SVI) that is mapped to that VLAN and then assign that virtual interface an IP address. On a Cisco switch it would look like the following.
Interface Vlan99
ip address 192.16.10.1 255.255.255.0
exit
ip address 192.16.10.1 255.255.255.0
exit
I also want to make something very clear. Your management VLAN does not have to be the same as your Native VLAN. Matter of fact, it is good practice to make sure that they are different. Your management VLAN should only carry in-band management traffic and should not be the default VLAN. By in-band management traffic I am referring to SSH or telnet (although telnet is not recommended because it is not secure). Traffic such as BPDUs, PagP, CDP, use the native VLAN that is vlan 1.But if you change the native vlan then CDP/VTP/PagP will still use vlan 1 but the packets will be tagged.Only DTP uses the native vlan so if you changed the native vlan then DTP would use the new vlan to send frames.With PVST+ BPDUs obviously run on all vlans.
No comments:
Post a Comment