Huawei AR2200 Series Configuration Manual page 167

Enterprise routers
Hide thumbs Also See for AR2200 Series:
Table of Contents

Advertisement

Huawei AR2200 Series Enterprise Routers
Configuration Guide - Basic Configuration
43
44
45
46
47
48
+ 129
130
131
132
133
145
146
147
148
149
Step 3 Enable the redirection function on RouterA and associate the redirection function with the VPN
instance vpna.
[RouterA] user-interface tty 42
[RouterA-ui-tty42] undo shell
[RouterA-ui-tty42] redirect enable
[RouterA-ui-tty42] redirect binding vpn-instance vpna
[RouterA-ui-tty42] quit
[RouterA] quit
Step 4 Check the port number allocated to the TTY user interface.
<RouterA> display tcp status
TCPCB
19fde824 9
19fde6c0 9
19fde130 109/1
19fdef18 9
19fde55c 7
19fdf07c 9
19fdf344 9
Step 5 Verify the configuration.
Run the telnet 10.1.1.1 2042 command on the PC to log in to RouterB. In the command, 2042
is the default port number.
C:\Documents and Settings\Administrator> telnet 10.1.1.1 2042
Press CTRL_] to quit telnet mode
Trying 10.1.1.1...
Connected to 10.1.1.1...
[RouterB]
----End
Configuration Files
l
Issue 02 (2011-10-15)
TTY 43
9600
TTY 44
9600
TTY 45
9600
TTY 46
9600
TTY 47
9600
TTY 48
9600
VTY 0
VTY 1
VTY 2
VTY 3
VTY 4
VTY 16
VTY 17
VTY 18
VTY 19
VTY 20
NOTE
If the redirection function is not associated with the VPN instance to which the private users belong, all
users on public and private networks can log in to RouterB.
Tid/Soid Local Add:port
/2
0.0.0.0:22
/1
0.0.0.0:23
0.0.0.0:80
/4
0.0.0.0:2042
/1
0.0.0.0:7547
/9
10.137.217.211:23
/10
10.137.217.211:23
Configuration file of RouterA
#
sysname RouterA
#
ip vpn-instance
vpna
ipv4-
family
route-distinguisher 1:1
vpn-target 111:1 export-extcommunity
vpn-target 111:1 import-
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
-
0
-
-
0
-
-
0
-
-
0
-
-
0
-
-
0
-
-
15
4
-
15
-
-
15
-
-
15
-
-
15
-
-
0
-
-
0
-
-
0
-
-
0
-
-
0
-
Foreign Add:port
0.0.0.0:0
0.0.0.0:0
0.0.0.0:0
0.0.0.0:0
0.0.0.0:0
10.138.77.61:2567
10.138.77.69:2824
8 Accessing Another Device
N
5/0/2
N
5/0/3
N
5/0/4
N
5/0/5
N
5/0/6
N
5/0/7
N
-
N
-
N
-
N
-
N
-
P
-
P
-
P
-
P
-
P
-
VPNID
State
23553
Listening
23553
Listening
23553
Listening
23553
Listening
0
Listening
0
Established
0
Time_Wait
156

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents