Showing posts with label Huawei AR151. Show all posts
Showing posts with label Huawei AR151. Show all posts

Tuesday, March 15, 2016

Configuring Routing Policies on a BGP Route Receiver

Destination-based QPPB differentiates the routes to different destinations and associates
differentiated QoS policies with them.
QPPB is applicable to both IBGP and EBGP and can be configured for one or more ASs.

Before configuring QPPB, complete the following tasks:
1 Configuring basic BGP functions
2 Configuring local network routes advertised by BGP
3 Configuring interfaces for setting up a BGP connection
How to Configure Routing Policies on a BGP Route Receiver on Huawei NE40 Router

Procedure
Step 1Run: system-view
The system view is displayed.

Step 2Run:
route-policy route-policy-name { permit | deny } node node-number
The node of a routing policy is created, and the view of the routing policy is displayed.

Step 3Run one of the following commands as needed to configure a matching rule for the routing policy on a BGP route receiver.
1 To match an AS_Path list, run the if-match as-path-filter as-path-acl-number &<1-16>
command.
2 To match a community attribute list, run the if-match community-filter { basic-comm-filternum [ whole-match ] | ext-comm-filter-num } &<1-16> command.
3 To match a route cost, run the if-match cost value command.

NOTE
The route attribute configured for a BGP route must be the same as that of the route advertised by the BGP route sender.

Step 4Perform the following steps as required:
When an LPUF-10, LPUF-50, LPUF-51, LPUI-41, LPUS-41, LPUI-100, LPUF-101, LPUF-100 is used:
1 Run the apply qos-local-id qos-local-id command to apply a QoS policy to the route that meets the matching rule in the routing policy.
When an LPUF-21, LPUF-40 is used:

2 Run the apply ip-precedence ip-precedence command to apply IP preference to the route that meets the matching rule in the routing policy.
When an LPUF-10 , LPUF-50, LPUF-51is used:

3 Run the apply behavior behavior-name command to apply traffic behavior to the route that meets the matching rule in the routing policy.
A routing policy consists of multiple nodes. Each node comprises multiple if-match and
apply clauses. The if-match clauses define matching rules of a node. The apply clauses define QoS behaviors that are to be implemented for the routes that match the matching rule.

You can configure multiple if-match clauses on a node. The relationship between these rules is "AND". This means that a route passes the filtering only when it meets all the matching rules.

The relationship between routing policy nodes is "OR". That is, if a route matches a node of a routing policy, it matches the routing policy. If none of the routing policy nodes is matched, the route does not match the routing policy.

Step 5 Run:
bgp as-number
BGP is enabled and the BGP view is displayed.

Step 6 Run:
peer ip-address route-policy route-policy-name import
The routing policy configured on the route receiver is applied to the routes sent from the peer (route sender).

NOTE
Ensure that BGP peer relationships have been set up before the routing policy is applied.
----End
This configuration also works for Huawei AR 18, AR207, AR206AR151...

Telephone: 852-30623083
           Supports@Thunder-link.com            

How to Delete Console Port and Telnet Passwords through BootROM

Huawei router configuration: how to delete console port and telnet passwords through BootROM:
Specifications
This example applies to all versions and Huawei AR routers.
Networking Requirements
The management interface of RouterA connects to the PC. The passwords for logging in through the console port and Telnet need to be deleted through the BootROM menu.
Figure 1 Changing the name of the configuration file for next startup
6-27 huawei 1
Procedure
1. Connect a PC to the device with a serial cable and log in to the device through the console port.
2. Restart the device. When the message “Press Ctrl+B to break auto startup …” is displayed, press Ctrl+B and enter the password to display the BootROM main menu.
BIOS Creation Date : Nov 10 2011, 14:41:12                                     
DDR DRAM init : OK                                                             
Start Memory Test ? (‘t’ or ‘T’ is test):skip                                  
Copying Data : Done                                                             
Uncompressing : Done                                                           
USB2 Host Stack Initialized.                                                   
USB Hub Driver Initialized                                                      
USBD  Wind River Systems, Inc. 562 Initialized                                 
Octeon Host Controller Initialize……Done.                                   
                                                                                
                                                                               
Press Ctrl+B to break auto startup … 2    
NOTE:
The default password in V200R003C01 and earlier versions is huawei, and the default password in V200R005C00 and later versions is Admin@huawei.
3. Select choice 4 to enter the Startup Select menu.
      Main Menu                                                              
                                                                                
    1. Default Startup                                                         
    2. Serial Menu                                                             
    3. Network Menu                                                             
    4. Startup Select                                                          
    5. File Manager                                                            
    6. Password Manager                                                         
    7. Reboot                                                                  
                                                                               
Enter your choice (1-6):4 

4. Select choice 1 to view the system configuration.
In V200R001C01SPC300 and later versions, you can use the following method to view the configuration file. In V200R001C01SPC300, the menu choice is Startup Information. In Startup Information and later versions, the menu choice is Display Startup.
Startup Select

    1. Display Startup
    2. Set Boot File
    3. Set Config File
    4. Startupfile Check Manage
    0. return
                                                                                
Enter your choice (0-4):1                                                       

************** Current Stratup info ****************
Valid Flag State       : Vaild
Boot File Name         : sd1:/software.cc
Config File Name       : sd1:/vrpcfg.cfg
Licence File Name      :
Patch State            : Deactivate
Patch File Name        :
Voice File Name        :
In V200R001C01SPC200 and earlier versions, the configuration file cannot be viewed. The system often uses the file vrpcfg.zip or iascfg.zip.
5. Rename the configuration file.
        Startup Select

    1. Display Startup
    2. Set Boot File
    3. Set Config File
    4. Startupfile Check Manage
    0. return

Enter your choice (0-4):0
        Main Menu

    1. Default Startup
    2. Serial Menu
    3. Network Menu
    4. Startup Select
    5. File Manager
    6. Password Manager
    7. Reboot

Enter your choice (1-7):5

        File Menu

    1. Flash file system
    2. SDCard file system
    0. Return

Enter your choice (0-2):2
        SDCard file system MENU

    1. List file in SDCard[1]
    2. Delete file in SDCard[1]
    3. Rename file in SDCard[1]
    4. Format SDCard[1]
    5. Check SDCard[1]
    0. Return

Enter your choice(0-5):3
Please input the file name: vrpcfg.cfg
Please input the new name: vrpcfg_cpy.cfg
Rename file[sd1:/vrpcfg.cfg] to [sd1:/vrpcfg_cpy.cfg], Yes or No(Y/N): y
Rename OK!

6. Restart RouterA.

       SDCard file system MENU

    1. List file in SDCard[1]
    2. Delete file in SDCard[1]
    3. Rename file in SDCard[1]
    4. Format SDCard[1]
    5. Check SDCard[1]
    0. Return

Enter your choice (0-5):0
        File Menu

    1. Flash file system
    2. SDCard file system
    0. Return

Enter your choice (0-2):0
        Main Menu

    1. Default Startup
    2. Serial Menu
    3. Network Menu
    4. Startup Select
    5. File Manager
    6. Password Manager
    7. Reboot

Enter your choice (1-7):1

7. Stop Auto-Config.
l         You do not need to set a password in V200R002C00 and earlier versions.
l         You are prompted to set a password in versions V200R002C01 to V200R003C01. The message is displayed as follows:
Please configure the login password (maximum length 16):Huawei@123   //  Set a password for the first console port login.
l         You are prompted to set a password in V200R005C00 and later versions. The message is displayed as follows:
Please configure the login password (<8-128>)    //  Set a password for the first console port login.
Enter Password:
Confirm Password:

<Huawei> Auto-Config is working. Before configuring the device, stop Auto-Config.
If you perform configurations when Auto-Config is running, the DHCP, routing, DNS, and VTY configurations will be lost. Do you want to stop Auto-Config? [y/n]:y
<Huawei>

8. Change the renamed configuration file to executable file. Select one file format.

<Huawei>rename vrpcfg_cpy.cfg vrpcfg_cpy.bat   //  When the file name extension is .cfg, decompress the file in .bat format.
Rename sd1:/vrpcfg_cpy.cfg to sd1:/vrpcfg_cpy.bat? (y/n)[n]:y
Info: Rename file sd1:/vrpcfg_cpy.cfg to sd1:/vrpcfg_cpy.bat ……Done
<Huawei>unzip vrpcfg_cpy.zip vrpcfg_cpy.bat   //  When the file name extension is .zip, decompress the file in .bat format.
Extract sd1:/vrpcfg_cpy.zip to sd1:/vrpcfg_cpy.bat? (y/n)[n]:y

100%  complete
%Decompressed file sd1:/vrpcfg_cpy.zip sd1:/vrpcfg_cpy.bat.

9. Restore the configuration.

[Huawei]board add 0/1 1E1-MFT                                      
                    ^                                                          
Error: Unrecognized command found at ‘^’ position.
[Huawei]execute vrpcfg_cpy.bat
Information: The script file has been executed completely.
NOTE:
If there is failure information about “board add”, it is a normal situation. No action is required.
10. Reset the passwords for logging in through the console port and Telnet, and run the save command to save the passwords. The password for logging in through the console port has been configured in V200R002C01B130 and later versions.
Configuration Notes
  • The management interfaces of different AR models are:
AR151: Ethernet0/0/3
AR160: GigabitEthernet0/0/0
AR207: Ethernet0/0/6
AR1200: GigabitEthernet0/0/0
AR2220: GigabitEthernet0/0/0
AR2240: GigabitEthernet0/0/2
AR3200: GigabitEthernet0/0/2
  • When performing the last two steps, ensure that users on the serial port are kept online.
  • The preceding method cannot be used on the AR1200 of V200R001C00SPC200 or an earlier version. You must delete the configuration file in the BootROM menu and reset the passwords after the system restarts.
 Contact information:
Telephone: 852-30623083
           Supports@Thunder-link.com            


Tuesday, March 8, 2016

The Difference Between Huawei Router AR151, AR151W and AR151VW

The Huawei AR150 series are fixed interface routers which employ embedded hardware encryption for security as well as a voice Digital Signal Processor (DSP) for voice services. The AR150 series are mature, stable and quiet routers that offer high performance functionality for small networks, enabling small businesses to greatly increase productivity at a lower cost. AR150s are easy to deploy, configure and customize, greatly reducing cost of deployment and maintenance, while offering maximum value to customers. These models allow network administrators to expand their networks easily and quickly, saving time and costs. Both models support firewalls, call processing, and application program functionalities.

Parameters
AR151VW
AR151V
Typical deployment
Small branch,managed CPE-Desktop
Intergrated Wi-Fi and Voice for Small branch or managed CPE-Desktop
Intergrated Wi-Fi for Small branch or managed CPE-Desktop
Fixed Ethernet ports
WAN ports:2 x FE (the interface LAN 0 of which can be used as one WAN interface) Switching ports:4xFE
WAN ports:1x FE (the interface LAN 0 of which can be used as one WAN interface) Switching ports:4xFE
WAN ports:1 x FE (the interface LAN 0 of which can be used as one WAN interface) Switching ports:4xFE
ADSL2+
-
1xADSL2+ Annex A/M
1xADSL2+ Annex A/M
Wi-Fi
-
2.4GHz 802.11b/g/n
2.4GHz 802.11b/g/n
Fixed Voice ports
-
4xFXS 1xFXO
-
PoE
-
4-port integrated PoE
4-port integrated PoE
Session Initiation Protocol (SIP)
No
Yes
No
Conference call
No
Yes
No
Branch Exchange for Survivable Telephony(BEST)
No
Yes
No
Session border controller(SBC)
No
Yes
No


Telephone: 852-30623083
           Supports@Thunder-link.com