2014年2月20日星期四

Configuring the Sub-interface

Configure ME60 

# Configure link layer protocol as FR on POS 1/0/0 of ME60 A.

<HUAWEI> system-view

[HUAWEI] sysname ME60A

[ME60A] interface pos 1/0/0

[ME60A-Pos1/0/0] link-protocol fr

[ME60A-Pos1/0/0] undo shutdown

[ME60A-Pos1/0/0] quit

# Configure the sub-interface POS 1/0/0.1 on ME60 A, and assign VC for it.

[ME60A] intrface pos 1/0/0.1 p2p

[ME60A-Pos1/0/0.1] ip address 202.38.160.1 255.255.255.0

[ME60A-Pos1/0/0.1] undo shutdown

[ME60A-Pos1/0/0.1] fr dlci 50

[ME60A-fr-dlci-Pos1/0/0.1-50] quit

# Configure the sub-interface POS 1/0/0.2 on ME60 A, and assign VC for it.

[ME60A] interface pos 1/0/0.2 p2p

[ME60A-Pos1/0/0.2] ip address 202.38.161.1 255.255.255.0

[ME60A-Pos1/0/0.2] undo shutdown

[ME60A-Pos1/0/0.2] fr dlci 60

[ME60A-fr-dlci-Pos1/0/0.2-60] quit

# Configure the static routes from ME60 A to LAN2 and LAN3.

[ME60A] ip route-static 129.10.0.0 255.255.0.0 202.38.160.2

[ME60A] ip route-static 129.11.0.0 255.255.0.0 202.38.161.2

 NOTE:


This example mainly explains sub-interface configuration. ME60 B and ME60-X3     do not require sub-interfaces configuration.

2014年2月18日星期二

Configuration Example of the RADIUS Authentication

The MA5620    is interconnected with the RADIUS server through the RADIUS protocol to implement authentication.

Configure the authentication scheme.

Configure authentication scheme newscheme (users are authenticated through RADIUS).

huawei(config)#aaa

huawei(config-aaa)#authentication-scheme newscheme

huawei(config-aaa-authen-newscheme)#authentication-mode radius

huawei(config-aaa-authen-newscheme)#quit

huawei(config-aaa)#quit

Configure the RADIUS protocol.

Create RADIUS server template template1. RADIUS server 10.10.66.66 functions as the primary authentication server, and RADIUS server 10.10.66.67 functions as the secondary authentication.

huawei(config)#radius-server template template1

 Note: Create a new server template

huawei(config-radius-template1)#radius-server authentication 10.10.66.66 1812

huawei(config-radius-template1)#radius-server authentication 10.10.66.67 1812 secondary

huawei(config-radius-template1)#quit

Create a domain.

Create domain isp1.

huawei(config)#aaa

huawei(config-aaa)#domain isp1

  Info: Create a new domain 

Reference the authentication scheme.

You can reference an authentication scheme in a domain only after the authentication scheme is created.

huawei(config-aaa-domain-isp1)#authentication-scheme newscheme

Reference the RADIUS server template.

You can reference a RADIUS server template in a domain only after the RADIUS server template is created.

huawei(config-aaa-domain-isp1)#radius-server template1


huawei(config-aaa  MA5680T   -domain-isp1)#quit

2014年2月12日星期三

How to configuring Huawei MA5600

Configure MA5600    the IP address of the L3 interface.

huawei(config)#vlan 2 smart

huawei(config)#port vlan 2 0/7 0

huawei(config)#interface vlanif 2

huawei(config-if-vlanif2)#ip address 10.0.0.1 24

huawei(config-if-vlanif2)#quit

Enable OSPF and specify the area ID to which the interface belongs.

huawei(config)#ospf

huawei(config-ospf-1)#area 0

huawei(config-ospf-1-area-0.0.0.0)#network 10.0.0.0 0.0.0.255

huawei(config-ospf-1-area-0.0.0.0)#quit

huawei(config-ospf-1)#quit

Configure the OSPF router ID.

huawei(config)#router id 1.1.1.1

Configure three static routes.

huawei(config)#ip route-static 20.0.0.1 32 vlanif 2

huawei(config)#ip route-static 30.0.0.1 32 vlanif 2

huawei(config)#ip route-static 40.0.0.1 32 vlanif 2

Import static routes into the OSPF routing table to improve its capability of obtaining routes.

huawei(config)#ospf

hawei(config-ospf-1)#import-route static

hawei(config-ospf-1)#quit

Save the  MA5600T    data.


huawei(config)#save

2014年2月11日星期二

5680t 813e data do

MA5680T   813e, the data do, what is the business of the VLAN command?

8.1 EPON ONT template

EPON ONT template includes DBA template, template, template line business, this task introduce these template configuration.

8.2 create VLAN

Creating the VLAN VLAN base configuration and business, in the VLAN configuration before the need to ensure that VLAN has been created according to the actual planning.

8.3 uplink port configuration

Uplink docking port and the upper equipment, in order to make the data on the device can be forwarded to the network through the uplink port, and transmitting data upper network forwarding to the uplink port user side.

Configure EPON ONT 8.4

MA5680T/MA5683T provides services to end users through the ONT, MA5680T/MA5683T and ONT channel up, MA5680T/MA5683T to manage ONT, ONT to work properly.

Configure the EPON port 8.5

The Huawei GPON   port must be opened to work properly and bearing business, the task of open EPON port configuration port, and related properties.


8.6 to create EPON service flow

2014年2月10日星期一

Configuring Remote Port Mirroring

Remote mirroring is not applicable to the NE80E/NE40E-X3   in the LDP over TE and TE links switchover scenarios.

Run:

system-view

The system view is displayed.

Run:

interface interface-type interface-number

The interface view is displayed.

Run one of the following commands as required:

Run the port-mirroring instance-name inbound [cpu-packet ] command to observe the inbound traffic on the remote mirroring port.

Run the port-mirroring instance instance-name outbound command to observe the outbound traffic on the remote mirroring port.


Run the port-mirroring remote { inbound | outbound } command to configure NE40E-X8   remote port mirroring for inbound or outbound traffic.

2014年1月24日星期五

PPPoE current mirror

A few days ago to do with MA5620 , has no, today found a 9303 try, finally!!
Observe-port 1 interface GigabitEthernet1/0/0
Add the observation port
ACL number 5000
Rule 1 permit 0x00000050 0x0000ffff 42
Add user defined ACL, matching the target TCP 80 port, TCP protocol at the start of the two layer packets of thirty-fourth bytes, 2 bytes source port, destination port 2 bytes, 6 bytes plus PPPoE protocol, PPP protocol byte offset from the beginning of 2, forty-second bytes
Traffic classifier web operator or precedence 5
If-match ACL 5000
#
Traffic behavior Web
Mirroring to observe-port 1
#
Traffic policy Web
Classifier web behavior Web
Standard three piece suit
Interface GigabitEthernet1/0/6
Port link-type access
Port default VLAN 106
Traffic-policy web inbound
Business application port ACL, found ACL involves two layer data only in the direction of application, unable to make the direction

The final catch all monitoring equipment MA5626   is the destination port for the TCP 80 package

2014年1月22日星期三

How to configure FTP for Huawei S5700 ?

When I configure FTP for Huawei S5700 switch, I use the steps as following, but I can’t make it work:
Step 1 seting for the FTP server
Start the FTP service on Switch, and configure the FTP username ftpuser, password ftppwd.
<Quidway> System-View
[Quidway] FTP server enable
[Quidway] AAA
[Quidway-aaa] local-user ftpuser password simple ftppwd - appear the mistake: Error: Unrecognized command found at '^' position. but if input: local-user ftpuserpassword CI ftppwd is not this tip.
[Quidway-aaa] local-user ftpuser service-type FTP
[Quidway-aaa] local-user ftpuser ftp-directory flash:/
[Quidway-aaa] return

Step 2 configure device IP
The configuration of IP, recommend the use of the idle and configured as a default configuration interface, the Ethernet 0/0/1 as an example.
<Quidway> System-View
[Quidway]interface Ethernet 0/0/1 - enter the mistake this command: Error: Wrongparameter found at position. and then give '^' not the next step.
[Quidway-Ethernet0/0/1]port link-type access
[Quidway-Ethernet0/0/1]quit
[Quidway] VLAN 10
[Quidway-vlan10] port Ethernet 0/0/1
[Quidway-vlan10] quit
[Quidway] interface vlanif 10
[Quidway-Vlanif10] IP address 1.1.1.1 24
[Quidway-Vlanif10] quit
[Quidway]

Step 3 login to the FTP server (Switch)
The following example is the WindowsXP system are described.
Storage will upload the file to the specified directory (assumed to be the D:\> directory), in the "Start Menu" run ", type" CMD, and then press the "enter" key. Then type FTP 1.1.1.1,in "user" prompt, enter the user name, in the "password" prompt, enter the password, and then press the "enter" key. Display information as follows:
D:\>ftp 1.1.1.1
Connected to 1.1.1.1
220 FTP service ready
User (1.1.1.2: (none)): ftpuser
331 Password required for 1
Password
230 User logged in
Ftp>
Step 1 upload web software
In the FTP client (PC) to execute the put source-filename [destination-filename], from PC upload software. Upload finished, execute the bye command, disconnect FTP, return to the user view.
Ftp> put D:\S2300.web.zip
200 Port command okay
150 Opening ASCII mode data connection for LS-S2326TP-SI-AC .web.zip
226 Transfer complete
Ftp: send 4940436 bytes, when using 35.10Seconds 140.76Kbytes/sec
Ftp> bye
221 Server closing

D:\>