2013年10月30日星期三

How to configure IP Address on Huawei S2300 switch and Cisco 3560 switch?

Huawei Quidway Switch S2300, S2326TP-EI Mainframe(24 10/100 BASE-T ports and 2 Combo GE(10/100/1000 BASE-T+100/1000 Base-X) ports and DC -48V

hq-sanjose(config)# interface loopback 0
Create loopback interface 0
hq-sanjose(config-if)# ip address 10.1.2.1 255.255.255.0
Assign an IP subnet and address to loopback 0. This subnet is used for the creation of your IP address pool1 .
hq-sanjose(config-if)# exit
Exit back to global configuration mode.
hq-sanjose(config)# ip local pool dialin_pool 10.1.2.2 10.1.2.97
Create a pool of IP addresses for assigning to the remote nodes2 .
hq-sanjose(config)# async-bootp dns-server 10.2.2.3 10.2.3.1
Specify the domain name servers on the network, which can be used for clients dialing in with PPP.
The system view is displayed.
ip route-static ip-address { mask | mask-length } { nexthop-address | interface-type interface-number [ nexthop-address ] } [ preference preference | tag tag ] * track bfd-session cfg-name [ description text ]
A public network static IPv4 route is bound to a BFD session.

NOTE:
Before binding a static route to a BFD session, ensure that the BFD session and the static route reside on the same link.
Only the S6700, S5710HI, S5700EI, S5710EI, and S5700HI support BFD for static routes.
Administrators commonly create a loopback interface and new subnet if their existing Ethernet subnet has all its IP addresses already consumed. Loopback interfaces are very stable and do not go up and down as LAN interfaces may.


For more Huawei S2326TP-EI-AC information please click here

2013年10月29日星期二

How to configure Packet Filtering on Huawei S2300 switch?

The LS-S2309TP-EI-DC is mainly deployed on the IP MAN and intranets, meeting requirements of carrying various Ethernet services and accessing the Ethernet. Based on the new generation high-performance hardware and Huawei Versatile Routing Platform (VRP)

Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
Step 3 Run:
permit
Packets matching traffic classification rules are forwarded based on the original policy.
Step 4 Run:
deny
Packets matching traffic classification rules are not forwarded.

NOTE:
In a traffic behavior, the action permit and other traffic actions take effect by sequence; when the action deny is configured, other actions except traffic statistics and flow mirroring can be configured but do not take effect.
When you specify a packet filtering action for packets matching an ACL, if the ACL rule defines permit, the device processes packets according to the action (deny or permit) in the traffic behavior. If the ACL rule defines deny, the device discards packets regardless of whether deny or permit is configured in the traffic behavior.



For more S2309TP-SI information please click here

2013年10月28日星期一

How to configure file of the Switch on Huawei S3328TP-PWR-EI switch?

ow to configure file of the Switch on Huawei S3328TP-PWR-EI switch?

Huanetwork.com offers Huawei Quidway S3300 series switches, which are new generation Ethernet intelligent access switches. Based on the new generation high-performance hardware and Huawei Versatile Routing Platform (VRP), the S3300 Quidway switch supports rich and flexible service features and thus improves the operability, manageability, and service expansibility, fully meeting the requirement of flexible networking.

#
sysname Switch
#
vlan batch 100 110 120
#
qos car car1 cir 9000 cbs 1692000      
#
traffic classifier c1 operator and
 if-match vlan-id 120
traffic classifier c2 operator and
 if-match vlan-id 110
traffic classifier c3 operator and
 if-match vlan-id 100
#
traffic behavior b1
 car cir 2000 pir 10000 cbs 250000 pbs 1250000 green pass yellow pass red discard
 car car1 share
 remark dscp ef
 statistic enable
traffic behavior b2
 car cir 4000 pir 10000 cbs 500000 pbs 1250000 green pass yellow pass red discard
 car car1 share
 remark dscp af33
 statistic enable
traffic behavior b3
 car cir 4000 pir 10000 cbs 500000 pbs 1250000 green pass yellow pass red discard
 car car1 share
 remark dscp af13
 statistic enable
#
traffic policy p1
 classifier c1 behavior b1
 classifier c2 behavior b2
 classifier c3 behavior b3
#
interface  GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 100 110 120
 traffic-policy p1 inbound
#
interface  GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 100 110 120
#
return

For more Huawei S3352P-PWR-EI information please visit: www.huawei.com

2013年10月25日星期五

How to Configure the User Authentication Mode on the Console User Interface on Huawei?

Questions:
How to configure the User Authentication Mode on the Console User Interface on Huawei ME60?

Answer:
Run:system-view,The system view is displayed.
Run:user-interface console interface-number,The console user interface view is displayed.
Run:authentication-mode aaa,The user authentication mode is set to AAA.
Run:quit,Exit from the console user interface view.
Run:aaa,The AAA view is displayed.
Run:local-user user-name password { cipher | irreversible-cipher } password,The local user name and password are configured.
Run:local-user user-name service-type terminal,The service type of the local user is set to terminal.
Run:quit,The user quit the AAA view.
Run:system-view,The system view is displayed.
Run:user-interface console interface-number,The console user interface view is displayed.
Run:authentication-mode password,The user authentication mode is set to password.
Run:set authentication password [ cipher password ],The authentication password is configured. You can enter a password in plain text or cipher text.
Run:system-view,The system view is displayed.
Run:user-interface console interface-number,The console user interface view is displayed.
Run:authentication-mode none,The authentication mode is set to non-authentication.

NOTE:
The password can be in plain text or cipher text. When the cipher password parameter is not specified, enter the plain text password in interactive mode. When the cipher password parameter is specified, enter either plain or cipher password. No matter which type of password you enter, the password is saved in the configuration file in cipher text.

For more Huawei news about Price ans Specification, you can click here.

2013年9月3日星期二

Huawei: Access, Hybrid and Trunk three modes of understanding


Tag, untag and various GICF  port mode switch is personnel network engineering debugging switch contact most concepts, however, I found the technology in practical work are often not fully understand these concepts, the author according to their own understanding and then with a case study, trying to clarify these concepts
Untag is the normal Ethernet message, the PC card can identify this message communication;
Changes in the tag message structure is in the source MAC address and a destination MAC address, plus the 4bytes VLAN information, namely VLAN tag head; in general message PC this card is not recognized
The figure below illustrates the 802.1Q package tag message frame structure
With the 802.1Q frame in a standard Ethernet frame into 4 byte identifier. Contains:
Protocol 2 identifier bytes (TPID), fixed value of the current 0x8100 set, show that the frame with the 802.1Q tag information.
Tag control information 2 bytes (TCI), contains three domains.
The Priority domain, 3bits, said the message priority, a value of 0 to 7, 7 is the highest priority, 0 is the lowest priority. The domain is adopted by 802.1p.
Canonical format indicator (CFI) domain, accounting for 1bit, 0 said that the specification format, used in Ethernet; 1 said that the non canonical format, used in Token Ring.
VLAN ID domain, 12bit, is used to mark the ownership of VLAN.
There are three kinds of link type Ethernet port: Access, Hybrid and Trunk.
Access type of port can only belong to 1 VLAN, typically used to connect the computer port;
Type Trunk port allows multiple VLAN, can message receiving and transmitting multiple VLAN, generally used for connecting ports between switches;
Type Hybrid port allows multiple VLAN, can message receiving and transmitting multiple VLAN connections, can be used to switch between, can also be used to connect the user's computer.
The Hybrid port and the Trunk port when receiving data, processing method is the same, the only difference is that the data is sent: send Hybrid port allows multiple VLAN message without a label, and the Trunk port is only allowed to send the default VLAN message without a label.
The concept of the default VLAN here to show port
The Access port belongs to only 1 of VLAN, so the default VLAN it is the VLAN, not set;
The Hybrid port and Trunk port belong to more than one VLAN, you need to set the default VLAN ID. By default, the default VLAN Hybrid port and Trunk port for VLAN 1
If you set the default VLAN port of ID, when the port receives the message without VLAN Tag, the message to belong to the default VLAN port; when the message send port with VLAN Tag, if the message VLAN ID and port the default VLAN ID, the system will go out the message of the VLAN Tag, and then send the message.
Note: for Huawei switch the default VLAN is called "Pvid Vlan", Cisco switches for the default VLAN is called "Native Vlan"
Switch interface and data processing procedure is as follows:
Acess port message:
Receive a message, to judge whether there is VLAN information: if not, a PVID port forwarding, and exchange, if there is discarded directly (default)
The Acess port to send message:
The VLAN information release message, sent directly.
Trunk port message:
Receive a message, to judge whether there is VLAN information: if not a port of the PVID, and exchange forwarding, if the trunk port whether to allow the VLAN data into: if the forwarding, or discarded
The trunk port to send message:
Comparison of PVID port and will be sending message VLAN information, if it is equal, stripping VLAN information, send, if not equal to directly transmit
Hybrid port message:
Receive a message, to judge whether there is VLAN information: if not a port of the PVID, and exchange forward, if it is determined that the hybrid port is to allow the VLAN data into: if the forwarding, or discarded (at ports on the untag configuration is not considered, only the untag configuration effect of packet transmission)
The hybrid port to send message:
1, whether the VLAN properties in the port (disp interface can see the port is untag, on which VLAN is what VLAN tag)
2, if untag is the stripping VLAN information, send, if tag is directly send
The hybrid port mode the following cases can help you understand the Huawei switch
[Switch-Ethernet0/1]int e0/1
[Switch-Ethernet0/1]port link-type hybrid
[Switch-Ethernet0/1]port hybrid PVID VLAN 10
[Switch-Ethernet0/1]port hybrid VLAN 1020 untagged
[Switch-Ethernet0/1] int e0/2
[Switch-Ethernet0/2]port link-type hybrid
[Switch-Ethernet0/2]port hybrid PVID VLAN 20
[Switch-Ethernet0/2]port hybrid VLAN 1020 untagged
The inter e0/1 and inter e0/2 of the PC is to communicate with each other, but the communication data go round VLAN is different.
The following inter e0/1 under the PC1 to access the inter e0/2 under the PC2 as an example
PC1 issued by the data, marked by PVID vlan10 package vlan10 inter0/1's post into the switch, switch inter e0/2 allows VLAN 10 through the data, so the data is forwarded to the inter e0/2, because inter e0/2 VLAN 10 is untagged, marked by the removal of vlan10 packet and switch at this time, to ordinary the package to PC2, then pc1->p2 is vlan10
Analysis of PC2 PC1 to back to pack again too


6. That Huawei router access-list rule configuration command parameters
That Huawei router access-list rule configuration command parameters
Huawei router configuration command access rules, access-list is used to create an access rule. The following article is a part of Huawei router configuration commands, to understand the other configuration command friends please pay attention to the following article.
Huawei router configuration command [default]
The system default does not allocate any access rules.
[Huawei router configuration command command mode]
◆ global configuration mode
Huawei router configuration command [guide]
◆ the same number of rules can be regarded as a kind of rules; rules defined not only can be used to filter the messages on the interface such as DDR, can also be used to determine whether a message is the message, interested at this time, permit and deny are interested or not interested.
◆ use protocol domain to represent all of the IP protocol for the IP extended access list.
Between the same number are arranged according to certain rules and principles, this sequence can be seen through the show access-list command.
◆ create standard access list access-list [normal special] listnumber1 permit | | {deny} source-addr [source-mask]
◆ create extended access list access-list [normal listnumber2 special] | {permit deny} protocol source-addr source-mask | [operator port1] dest-addr [port2] dest-mask [operator port1 [port2] | icmp-type [icmp-code]] [log]
◆ delete access list no access-list {normal special} {all | | listnumber [subitem]}
[note] Huawei router configuration command parameters
The normal specifies the rules into the common time.
The special specifies the rules to join the special time.
The listnumber1 is a value between 1 to 99, said the rules are standard access list rules.
The listnumber2 is a value between 100 to 199, said the rule is extended access list rules.
◆ permit that allow messages to meet the conditions of the.
◆ deny indicates that the message is prohibited to meet the conditions of the.
◆ protocol as the protocol type, support ICMP, TCP, UDP, other protocol support, no concept of port is at this time; IP has a special meaning, on behalf of all of the IP protocol.
◆ source-addr source address.
◆ source-mask as the source address through coordination, in the standard access list is optional, not input represents the ligand for 0.0.0.0.
◆ dest-addr as the destination address.
◆ dest-mask as the destination address through coordination.
◆ operator[optional] port operator, in agreement with type TCP or UDP port, support comparison operations are: equal to (EQ), (GT), less than (greater than LT), not equal to (NEQ) or between (range);
◆ if operators for the range, followed with two ports.
◆ port1 in protocol type is TCP or UDP, you can set the default keyword (such as telnet) to a value or 0~65535.
◆ port2 in protocol type is TCP or UDP and the operation type is range; can be preset values for keyword (such as telnet) to a value or 0~65535.
◆ icmp-type[optional] appear in the protocol for the ICMP, representing the ICMP message type; can be preset keyword set (such as echo-reply) or a value between 0~255.
The icmp-code protocol for ICMP and did not appear to preset values; on behalf of the ICMP code, is a numeric value between 0~255.
◆ log [optional] said that if the message is in line with the conditions, need to do log.
◆ listnumber for deletion rule number, is a numeric value between 1~199.
◆ subitem[optional] removes the specified number of rule listnumber access list number.
[for example] Huawei router configuration command
◆ allows access to the 10.10.1.0 network source address, destination address for the 10.1.2.0 network WWW, but does not allow the use of FTP.
The Quidway (config) #access-list 100 permit TCP 10.10.1.0 0.0.0.255 10.1.2.0 0.0.0.255 EQ www
The Quidway (config) #access-list 100 deny TCP 10.10.1.0 0.0.0.255 10.1.2.0 0.0.0.255 EQ FTP OPFA

2013年7月24日星期三

How to Configure a DNS Test Instance on Huawei S9300?

Questions:
How to configure GPBC a DNS Test Instance on Huawei Quidway S9300?

Answer:

Run:system-view,The system view is displayed.
Run:dns resolve,Dynamic DNS resolution is enabled.,By default, dynamic DNS resolution is disabled.
Run:nqa test-instance admin-name test-name,An NQA test instance is created, and the NQA view is displayed.
Run:test-type dns,The test type is set to DNS.
Run:destination-address url urlstring,The name of the destination host is configured.
Run:description string,A description is configured for the test instance.
Run:frequency interval,The test period is set for the NQA test instance.
Run:timeout time,The timeout period of a probe is set for the NQA test instance.,By default, the timeout period of a DNS probe is 3 seconds.
Run:records history number,The maximum number of historical records is set for the NQA test instance.
Run:records result number,The maximum number of result records is set for the NQA test instance.
Run:agetime hh:mm:ss,The aging time is set for the NQA test instance.
Run:dns-server ipv4 ip-address,The DNS server address is configured.

NOTE:
The NQA client also functions as the DHCP client. Perform the following steps on the NQA client.

For more Huawei Switch news about MA5603T  Price ans Specification, you can click here.

2013年7月19日星期五

How to Configure the Uplink and Downlink Interfaces in a Monitor Link Group on Huawei S5700?

Questions:

How to configure OPFA the Uplink and Downlink Interfaces in a Monitor Link Group on Huawei Quidway S5700?

Answer:

Run:system-view,The system view is displayed.
Run:monitor-link group group-id,The Monitor Link group view is displayed. The S5700 supports a maximum of 16 Monitor Link groups.
Run:port interface-type interface-number { downlink [ downlink-id ] | uplink },An interface is configured as the uplink interface or downlink interface of the Monitor Link group.
run:smart-link group group-id uplink,An interface cannot be added to a Monitor Link group in the following situations:
The interface is added to an Eth-Trunk.
The interface is added to a Smart Link group.
The interface is added to another Monitor Link group.
A Smart Link group is configured as the uplink interface of the Monitor Link group.

NOTE:
The status of the uplink interface determines the status of the Monitor Link group. Therefore, after the downlink interface is added to the Monitor Link group, the result of the shutdown or undo shutdown command can be retained before the status of the uplink interface changes. When the status of the uplink interface changes, the status of the downlink interfaces changes as follows:
When an uplink interface in Up state is added to the Monitor Link group or when an uplink interface in Down state becomes Up, all the downlink interfaces in the Monitor Link group become Up.
When an uplink interface is deleted from the Monitor Link group or when an uplink interface in Up state becomes Down, all the downlink interfaces in the Monitor Link group become Down.
To add a Smart Link group to a Monitor Link group, you need to delete the existing uplink interface of the Monitor Link group. The Smart Link group and common interfaces are incompatible when serving as the uplink interface for a Monitor Link group.


For more Huawei GICF Switch news about Price ans Specification, you can click here.