3 ip configuration examples, 1 confi guration examples of ipv4, 3 ip configuration examples -38 – PLANET XGS3-24042 User Manual

Page 201: 1 configuration examples of ipv4

Advertising
background image

22-38

Tunnel Configuration Mode

tunnel destination {<ipv4-address> |

<ipv6-address>}

no tunnel destination

Configure tunnel destination end

IPv4/IPv6 address. The NO command

deletes the IPv4/IPv6 address of tunnel

destination end.

(5) Configure Tunnel Next-Hop

Command

Explanation

Tunnel Configuration Mode

tunnel nexthop <ipv4-address>

no tunnel nexthop

Configure tunnel next-hop IPv4 address.

The NO command deletes the IPv4

address of tunnel next-hop end.

(6) Configure Tunnel Mode

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.

22.2.3 IP Configuration Examples

22.2.3.1 Configuration Examples of IPv4

Figure 22-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

Switch2

Switch1

PC2

PC1

Advertising
This manual is related to the following products: