3 ip configuration examples, 1 configuration examples of ipv4 – PLANET XGS3-24040 User Manual

Page 180

Advertising
background image

Chapter 21 Layer 3 Forward Configuration

21-10

(6) Configure Tunnel Mode

Command

Explanation

Tunnel Configuration Mode

tunnel mode ipv6ip [6to4 | isatap]

no tunnel mode ipv6ip [6to4 |

isatap]

Configure tunnel mode. The NO command

clears tunnel mode.

(7) Configure Tunnel Routing

Command

Explanation

Global mode

ipv6 route

<ipv6-address/prefix-length>

{<interface-type interface-number>

| tunnel <tnl-id>}

no ipv6 route

<ipv6-address/prefix-length>

{<interface-type interface-number>

| tunnel <tnl-id>}

Configure tunnel routing. The NO command

clears tunnel routing.


21.2.3 IP Configuration Examples

21.2.3.1 Configuration Examples of IPv4

Figure 1-1 IPv4 configuration example

The user’s configuration requirements are: Configure IP address of different network segments on Switch1

and Switch2, configure static routing and validate accessibility using ping function.

Configuration Description:

1. Configure two VLANs on Switch1, namely, VLAN1 and VLAN2.

2. Configure IPv4 address 192.168.1.1 255.255.255.0 in VLAN1 of Switch1, and configure IPv4

address 192.168.2.1 255.255.255.0 in VLAN2.

Switch2

Switch1

PC2

PC1

Advertising