Huawei S9300 Configuration Manual page 96

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
# Create a VPN instance.
[Switch] ip vpn-instance vpna
[Switch-vpn-instance-vpna] route-distinguisher 1:1
[Switch-vpn-instance-vpna] vpn-target 2:2 both
[Switch-vpn-instance-vpna] quit
# Bind the DHCP server group to the VPN instance.
[Switch] dhcp server group dhcpgroup1
[Switch-dhcp-server-group-dhcpgroup1] vpn-instance vpna
[Switch-dhcp-server-group-dhcpgroup1] quit
# Bind the VLANIF interface to the VPN instance.
[Switch] interface vlanif 100
[Switch-Vlanif100] ip binding vpn-instance vpna
Step 4 Bind the VLANIF interface to the specified DHCP server group.
# Set the IP address of the VLANIF interface.
[Switch] interface vlanif 100
[Switch-Vlanif100] ip address 20.20.20.1 24
# Specify a DHCP server for the VLANIF interface.
[Switch-Vlanif100] dhcp relay server-select dhcpgroup1
Step 5 Configure the DHCP server and PE.
# Configure an IP address pool 20.20.20.0/24 on the DHCP server and configure a static route
from the DHCP server to the Switch. Ensure that the route between the DHCP server and network
segment 20.20.20.0/24 is reachable.
<Quidway> system-view
[Quidway] sysname SERVER
[SERVER] ip pool 1
[SERVER-ip-pool-1] network 20.20.20.0 mask 255.255.255.0
[SERVER-ip-pool-1] gateway-list 20.20.20.1
[SERVER-ip-pool-1] quit
[SERVER] ip route-static 20.20.20.0 255.255.255.0 10.10.10.2
# Configure the PE connected to the DHCP server and the Switch in
same VPN instance and ensure that the VPN target of the DHCP server corresponds to the VPN
target of the Switch.
<Quidway> system-view
[Quidway] sysname PE
[PE] vlan 101
[PE-Vlan101] quit
[PE] interface gigabitethernet 1/0/0
[PE-GigabitEthernet1/0/0] port link-type trunk
[PE-GigabitEthernet1/0/0] port trunk allow-pass vlan 101
[PE-GigabitEthernet1/0/0] quit
[PE] ip vpn-instance vpna
[PE-vpn-instance-vpna] route-distinguisher 1:1
[PE-vpn-instance-vpna] vpn-target 2:2 both
[PE-vpn-instance-vpna] quit
[PE] interface vlanif 101
[PE-Vlanif101] ip binding vpn-instance vpna
Issue 01 (2012-03-15)
NOTE
The following lists how to create a VPN instance and bind the VPN instance on the Switch in
3-9. The configuration procedure is not mentioned here. For details, see the S9300&S9300E Terabit
Routing Switch Configuration Guide - VPN.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 DHCP Configuration
Figure
Figure 3-9
to be in the
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents