This example shows how the GRE tunnel feature could be configured.


unconfigure switch all configure default del port all create vlan inet configure vlan inet add port 24 configure vlan inet ipa 1.1.1.1/24 create vlan users configure vlan users add port 1 configure vlan users ipa 100.0.0.1/24 create tunnel mytunnel gre destination 1.1.1.2 source 1.1.1.1 configure tunnel "mytunnel" ipaddress 2.0.0.1/24 configure iproute add 200.0.0.0/24 2.0.0.2 enable ipforwarding
unconfigure switch all configure default del port all create vlan inet configure vlan inet add port 10:1 configure vlan inet ipa 1.1.1.2/24 create vlan users configure vlan users add port 10:2 configure vlan users ipa 200.0.0.1/24 create tunnel mytunnel gre destination 1.1.1.1 source 1.1.1.2 configure tunnel "mytunnel" ipaddress 2.0.0.2/24 configure iproute add 100.0.0.0/24 2.0.0.1 enable ipforwarding
 Print
                        this page
Print
                        this page Email this topic
Email this topic Feedback
Feedback View PDF
View PDF Download EPUB
Download EPUB