H3C Technologies H3C SecPath F1000-E User Manual
Page 579
554
[SecPath] ip local policy-based-route aaa
# Configure the IP addresses of the GigabitEthernet ports.
[SecPath] interface GigabitEthernet 0/1
[SecPath-GigabitEthernet 0/1] ip address 1.1.2.1 255.255.255.0
[SecPath-GigabitEthernet 0/1] quit
[SecPath] interface GigabitEthernet 0/2
[SecPath-GigabitEthernet 0/2] ip address 1.1.3.1 255.255.255.0
2.
Configure Router A:
# Configure the IP address of GigabitEthernet 0/1.
[RouterA] interface GigabitEthernet 0/1
[RouterA-GigabitEthernet0/1] ip address 1.1.2.2 255.255.255.0
[RouterA-GigabitEthernet0/1] quit
3.
Configure Router B:
# Configure the IP address of GigabitEthernet 0/1.
[RouterB] interface GigabitEthernet 0/1
[RouterB-GigabitEthernet0/1] ip address 1.1.3.2 255.255.255.0
[RouterB-GigabitEthernet0/1] quit
4.
Verify the configuration:
# Telnet to Router A (1.1.2.2/24) from SecPath. The operation succeeds.
Trying 1.1.2.2 ...
Press CTRL+K to abort
Connected to 1.1.2.2 ...
******************************************************************************
* Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved. *
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
# Telnet to Router B (1.1.3.2/24) from SecPath. The operation fails.
Trying 1.1.3.2 ...
Press CTRL+K to abort
Can't connect to the remote host!
# Ping Router B (1.1.3.2/24) from SecPath. The operation succeeds.
PING 1.1.3.2: 56 data bytes, press CTRL_C to break
Reply from 1.1.3.2: bytes=56 Sequence=1 ttl=255 time=2 ms
Reply from 1.1.3.2: bytes=56 Sequence=2 ttl=255 time=1 ms
Reply from 1.1.3.2: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 1.1.3.2: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 1.1.3.2: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 1.1.3.2 ping statistics ---
5 packet(s) transmitted
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer