3Com Switch 8800 Family IPsec Module Configuration and Command reference Guide

GRE Configuration Example 139
# Divide VLANs.
<3Com_B> system-view
[3Com_B] vlan 20
[3Com_B-vlan20] quit
[3Com_B] vlan 40
[3Com_B-vlan40] quit
[3Com_B] vlan 60
[3Com_B-vlan60] quit
# Configure the IP addresses.
[3Com_B] interface vlan-interface 20
[3Com_B-Vlan-interface20] ip address 20.0.0.254 24
[3Com_B-Vlan-interface20] quit
[3Com_B] interface vlan-interface 40
[3Com_B-Vlan-interface40] ip address 40.0.0.1 24
[3Com_B-Vlan-interface40] quit
# Configure the static route.
[3Com_B] ip route-static 0.0.0.0 0 40.0.0.254
# Configure aggregation of IPsec module interfaces (the module resides in slot 2).
[3Com_B] secblade aggregation slot 2
# Create the SecBlade test.
[3Com_B] secblade test
# Specify the SecBlade interface VLAN.
[3Com_B-secblade-test] secblade-interface vlan-interface 40
# Set the protected VLAN.
[3Com_B-secblade-test] security-vlan 40
# Map the IPsec module to the IPsec module of the specified slot.
[3Com_B-secblade-test] map to slot 2
[3Com_B-secblade-test] quit
[3Com_B] quit
# Log into the IPsec module of the specified slot.
<3Com_B> secblade slot 2 (Both user name and password are SecBlade)
user: SecBlade
password: SecBlade
<secblade_B> system-view
# Create the sub-interface.
[secblade_B] interface g0/0.1
[secblade_B-GigabitEthernet0/0.1] vlan-type dot1q vid 40
[secblade_B-GigabitEthernet0/0.1] ip address 40.0.0.254 24
[secblade_B-GigabitEthernet0/0.1] quit