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

2013年9月19日星期四

What features are the HP ER3200 enterprise router

Now H3C is a wholly owned subsidiary of HP, HP MSR900 they are the original developer of many HP switches.Now introduce the features of the H3C ER3200 enterprise router .
ER3200 is H3C company launched a high performance router, it mainly located in Ethernet /fiber /ADSL access to the SMB market and the government, enterprises, Internet cafes and other network environment, such as need for speed Internet bandwidth Internet cafes,enterprises, schools and hotels etc..
ER3200 uses 64 bit network processor professional, and support software feature rich, such as IPSec VPN, a local area network, IP<->MAC address binding, ARP attack prevention, flowspeed, double WAN load balancing, policy routing, source routing and other functions. It is the ER series of H3C router in the end product, the ideal choice for small and mediumInternet users and enterprise users.
Dual port WAN load balancing
Load balancing can make the enterprise network users according to the actual network traffic line bandwidth allocation, to make full use of the bandwidth of the. China threecommunication using habits and characteristics of domestic Internet users, targeted to launch intelligent load balancing and manual load balancing two equilibrium model, theflexible application of double line access user demand for bandwidth. Intelligent loadbalancing network traffic according to the actual bandwidth than the actual distribution;manual load balancing is forwarded according to import the routing table; support for importing / policy routing table is derived function, simply import the appropriate routing tablecan realize "telecommunication walk Telecom, Unicom go Lian Tong" function.
IPSec VPN
ER3200 supports the standard IPSec VPN, users can realize the point-to-point connectionbetween security VPN through a simple WEB configuration, the maximum support 168 bit 3DES encryption; at the same time H3C combined with the characteristics of the domesticuser network through the domain configuration IPSec VPN connection and NAT-T through the NAT function support in ER3200.
Network flow speed
BT, thunder and other P2P software on the network bandwidth occupation will affect the normal operation of other users in the network, ER3200 through IP or NAT network rate limiting mechanism can effectively control the single PC up / downstream flow and the establishment of the NAT table item number based on P2P software, limiting the excessivethe occupation of the network bandwidth.

H3network.com is a world leading H3C (HP wholly owned subsidiary) networking products distributor, we wholesale original new H3C networking equipments, including H3C switches, H3C routers, H3C security products, H3C WLAN products, H3C SFP and other H3C networking products. H3C was established in 2003 by Huawei and 3Com, focusing on IP-based products, now they are the No. 1 in China enterprise networking market followed by No. 2 Cisco. H3C became a wholly owned subsidiary of HP in 2010, they are the original developer of most HP switches and almost all HP routers, included the most advanced router 8800 and most advanced switch 12500. These H3C based re-branded HP products are using same software Comware as H3C, so they have same configuration and command as H3C. Now H3C products are using their original brand H3C in China while been re-branded to HP in global market. Compare to HP products, same function H3C products may help you save up to 35% purchase cost. H3network.com keeps regular stock for all popular H3C products, so instead of wait for HP long delivery time, with us your JF812A products may reach your city in 3 to 5 business days, we can ship to worldwide.
More information about switch and router, please view : http://abing.over-blog.com/

2013年9月18日星期三

VLAN of H3C three switch

Ethernet frame of traditional adds 4 bytes HP JD377A of 802.1Q tags, as a VLAN tag afterframe
Vlan id=0 for the identification of priority, VLAN id=4095 as the reserved values
IEEE 802.1Q defines a new field, is used to identify the Ethernet framebelongs to VLAN, the field is added in the etheric
After the network frame of the MAC source, the TPID contains a fixed value:0x8100
Port of port VLAN known as the default VLAN, also known as the default all ports of the PVID default value is vlan1
Allow only the Ethernet frame by default VLAN port called access port, Access port after receiving the Ethernet frame type VLAN label, VLAN label forwardinga port is stripping. Allow multiple VLAN frame through a port called Trunk port
PVID is set in a fixed label port, for some VLAN on the switch does not play tagcan then
The Hybrid port can be used for the interconnection between the switches, can also be used to connect the terminal host or router equipment
Common VLAN division (order matching):
Based on the MAC address of the VLAN, based on IP network VLAN protocolbased on VLAN port based VLAN
Technology of dynamic VLAN configuration of general GVRP (GARP VLANGeneric Attribute Registration Protocol)
GVRP multicast destination MAC address: 01.80.C2.00.00.21
GVRP port registration modes: Normal mode, Fixed mode, Forbidden mode
GARP timer: timer Join timer, Hold, Leave, LeaveAll timer timer
Vlan basic configuration: VLAN XX (to create VLAN), port interface-list (port),
Port based on VLAN XX
Port Ethernet x/x
In view of port link-type trunk interface (port link type trunk)
Port trunk peimit VLAN XX (allows the VLAN through the current trunk port)
When implementing the undo VLAN command to delete the VLAN is the defaultVLAN port, Access port for the default VLAN back to VLAN 1, the Trunk and Tybrid ports, the port will not change the default vlan.
The VLAN function can only be MAC address configuration in port based onHybrid
Mac-vlan mac-address xxxx-xxxx-xxxx VLAN XX (VLAN and priority of the corresponding MAC address configured)
Interface port link-type hybrid views
Port hybrid VLAN XX XX untagged (allows you to specify the VLAN through theHybrid port)
Mac-vlan enable (open port MAC VLAN function)
The basic configuration of GVRP
[Switch]gvrp (open global GVRP function) [Switch-ethernet1/1] GVRP (portGVRP)
Must first open the global GVRP function, can open the port function of GVRP(must be trunk port)
Configure the GVRP timer
[Switch]grap timer leaveall (default 1000 seconds)

[Switch-ethernet1/1] GVRP timer {hold 10 |join HP JG241A  20 |leave per second persecond 60 seconds}
More information, please view: http://www.h3network.com

2013年9月17日星期二

Does the H3C S3600 - SI can realize port binding MAC address?

Does H3C S3600-SI can realize the port JG183A binding MAC address?
Yes. Here is the configuration:
2.1.1 am user-bind
[command]
System view:
Am user-bind mac-addr mac-address ip-addr IP-address [interface interface-type interface-number]
Undo am user-bind mac-addr mac-address ip-addr IP-address [interfaceinterface-type interface-number]
Ethernet port:
Am user-bind {mac-addr mac-address [ip-addr IP-address] | ip-addr IP-address}
Undo am user-bind {mac-addr mac-address [ip-addr IP-address] | ip-addr IP-address}
[view]
System view / Ethernet port view
[parameters]
Interface interface-type interface-number: Specifies the port binding. Theinterface-type interface-number port type and port number.
Ip-addr IP-address: Specifies the need to bind the IP address. Where IP-address denotes the binding IP address.
Mac-addr mac-address: Specifies the need to bind the MAC address. Where mac-address denotes the binding MAC address, the format for the H-H-H.
If only bound port and MAC, is JF814A arranged on the port.
Interface Ethernet1/0/1
Am user-bind mac-address 000f-e200-5101

2013年9月16日星期一

The difference between VRRP and HSRP

VRRP: Virtual Router Redundancy Protocol HP JC691A   (VRRP:Virtual Router Redundancy Protocol)
Virtual Router Redundancy Protocol (VRRP) is a kind of routing protocol, it can put theresponsibility of a dynamic virtual router assigned to the VRRP router in a lan. VRRP router control virtual router IP address called the main router, which is responsible for forwarding data packets to the virtual IP address. Once the master router is not available, the selection process provides dynamic failover mechanism, which allows the virtual router IP addresscan be used as the terminal host's default first hop router. The advantage of using VRRP is the availability of a default path of the higher without at each end host configuration dynamic routing or route discovery protocol. The VRRP package in the IP package to send.
Using VRRP, you can manually or DHCP as the default router is set with a virtual IP address.Virtual IP address sharing between routers, one designated as a router and the other is thebackup router. If the router is not available, the virtual IP address will be mapped to a backuprouter IP address (the backup router becomes the master router). VRRP can also be used for load balancing. VRRP is part of IPv4 and IPv6.
VRRP is neither UDP, nor TCP, VRRP packets encapsulated in the IP package to send, the agreement is 112, the VRRP control message only a notice (advertisement): VRRP. It uses IP packet is encapsulated multicast group address, 224.0.0.18, distribution scope limited to the same lan.
VRRP and ICMP, ARP of these protocols are similar, carrying on IP agreement, the agreement is 112, so to be between three layers of equipment to establish VRRP master-slave relationship must be in the same local area network, two layer exchange. So the twolayer three devices, if the switch port trunk, must be interconnected, and allow the establishment of master-slave relationship by VLAN. If the two router or firewall, among the general will be connected to a two layer switch, wherein the two layer switch and even the user access switch.
The work principle of VRRP protocol and the CISCO HSRP (Hot Standby Routing Protocol)has many similarities. But the main difference between the two is in the CISCO HSRP, need to separately configure a IP address as the virtual router external manifestation of address,this address is not interface address any member of a group.
The use of the VRRP protocol, without rebuilding the existing network structure, the maximum protection of the current investment, with minimal overhead, has greatly improved the network performance, has important application value
HSRP: Hot Standby Router Protocol (HSRP:Hot Standby Router Protocol)
Hot Standby Router Protocol (HSRP) is designed to support a specific instances of the IPflow failure cause confusion, and allows the host using a single router transfer will not, can still maintain the connectivity between routers and failure even in the first hop router underactual. In other words, when the source host can not dynamically know first hop router's IPaddress, the HSRP protocol can fault protection first hop router not. The agreement contains a variety of router, corresponding to a virtual router. The HSRP protocol supports only onerouter represents the virtual router packet forwarding process. The terminal host will eachdata packet is forwarded to the virtual router.
Responsible for forwarding router packet called active router (Active Router). Once the active router fails, HSRP will activate the backup router (Standby Routers) to replace the active router. The HSRP protocol provides a decision to use the active router or backup router mechanisms, and specify a virtual IP address as the default gateway address network system. If the active router fails, the backup router (StandbyRouters) all tasks to undertakeactive router, and will not lead to host communication interruption.
HSRP running on UDP, the port number 1985. The router forwards the source address of packet using the actual IP address, not the virtual address, is based on this point, the mutualrecognition of HSRP router.
The difference between VRRP and HSRP
1 the function of VRRP and HSRP are very similar, but in terms of security, a major advantage of VRRP on HSRP: it allows establishing authentication mechanism in group VRRP devices. And unlike the HSRP requirements of virtual router is not one of the IP address of the router, but VRRP allows for this to happen (if "with" virtual router addressrouter is up and running, you should always by the virtual router management - equivalent to HSRP in the active router), but in order to ensure that in the event of failure when the terminal host does not need to learn the MAC address, it specifies the use of the MAC address 00-00-5e-00-01-VRID, where VRID is the virtual router ID (equivalent to a HSRP group identifier).
2 another difference is that VRRP does not use HSRP in a coup or an equivalent message,the state machine of VRRP is simpler than HSRP, HSRP has 6 states (initial state learning(Initial), (Learn), listening (Listen) state, dialogue (Speak) state, backup (Standby) stateactivity (Active), state) and 8 events, VRRP only 3 states (initial state (Initialize), the main state (Master), backup state (Backup)) and 5 events.
3 HSRP three message, but there are three state can send a message to call (Hello)message / leave (Resign) message / mutation (Coup) message, VRRP has a message,broadcast message, by the master router timed out notice of its existence, the use of thesemessages can be of various parameters of virtual router detection, can also be used for the master router election.
4 HSRP message in the UDP message, and VRRP load in TCP message (HSRP uses UDP1985 port, 224.0.0.2 Hello message is sent to a multicast address. )
5 VRRP security: VRRP protocol includes three main authentication method: noauthentication; simple cleartext password; authentication using MD5HMACip authentication;
6 strong authentication method using IP authentication header (AH) protocol. AH is used in the IPSEC the same protocol, AH provides a method for authentication in a VRRP packetand packet header. The use of MD5HMAC that is used to generate hash values using a shared secret key. The router sends a VRRP packet generation MD5hash value, and put it into to send a notice, when receiving, the receiving party using the key and the same MD5 value, content of the packet and the packet header to calculate hash value, if the results are the same, this news is true from a trusted host, if not the same, it must be discarded, it canprevent attackers from accessing LAN can affect the choice of a notification messageprocess or some other method of interrupt network. In addition, VRRP includes a mechanism to protect VRRP packet will not be another remote network add content (TTLvalue =255, and in an examination), which limits most defects can be local attack. On the other hand, the HSRP used in its message of TTL value is 1. 6. The collapse of VRRPinterval: 3* advertisement interval + delay time (skew-time).

7 HSRP is private, VRRP does not support JC691A interface tracking mechanism.
More information about switch and router, please view : http://demoploo.tumblr.com