Verifying the configuration – H3C Technologies H3C SecPath F1000-E User Manual
Page 120
108
# Configure an IPv4 address for GigabitEthernet 0/1.
[RouterB] interface GigabitEthernet 0/1
[RouterB-GigabitEthernet0/1] ip address 30.1.3.1 255.255.255.0
[RouterB-GigabitEthernet0/1] quit
# Configure an IPv6 address for GigabitEthernet 0/2 (the physical interface of the tunnel).
[RouterB] interface GigabitEthernet 0/2
[RouterB-GigabitEthernet0/2] ipv6 address 2002::2:1 64
[RouterB-GigabitEthernet0/2] quit
# Create interface Tunnel 2.
[RouterB] interface tunnel 2
# Configure an IPv4 address for interface Tunnel 2.
[RouterB-Tunnel2] ip address 30.1.2.2 255.255.255.0
# Configure the tunnel encapsulation mode.
[RouterB-Tunnel2] tunnel-protocol ipv4-ipv6
# Configure the source address for interface Tunnel 2 (IP address of GigabitEthernet 0/2).
[RouterB-Tunnel2] source 2002::2:1
# Configure a destination address for interface Tunnel 2 (IP address of GigabitEthernet 0/2 of
Router A).
[RouterB-Tunnel2] destination 2002::1:1
[RouterB-Tunnel2] quit
# Configure a static route from Router B through interface Tunnel 2 to Group 1.
[RouterB] ip route-static 30.1.1.0 255.255.255.0 tunnel 2
Verifying the configuration
# Display the status of the tunnel interfaces on Router A and Router B.
[RouterA] display interface tunnel 1
Tunnel1 current state: UP
Line protocol current state: UP
Description: Tunnel1 Interface
The Maximum Transmit Unit is 64000
Internet Address is 30.1.2.1/24 Primary
Encapsulation is TUNNEL, service-loopback-group ID not set
Tunnel source 2002::0001:0001, destination 2002::0002:0001
Tunnel protocol/transport IP/IPv6
Output queue : (Urgent queuing : Size/Length/Discards) 0/100/0
Output queue : (Protocol queuing : Size/Length/Discards) 0/500/0
Output queue : (FIFO queuing : Size/Length/Discards) 0/75/0
Last 300 seconds input: 0 bytes/sec, 0 packets/sec
Last 300 seconds output: 0 bytes/sec, 0 packets/sec
152 packets input, 9728 bytes
0 input error
168 packets output, 10752 bytes
0 output error
[RouterB] display interface tunnel 2
Tunnel2 current state: UP
Line protocol current state: UP
- 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