Huawei S9300 Configuration Manual page 98

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
----End
Configuration Files
Configuration file of the Switch
#
sysname Switch
#
vlan 100
#
dhcp enable
#
ip vpn-instance vpna
route-distinguisher 1:1
vpn-target 2:2 export-extcommunity
vpn-target 2:2 import-extcommunity
#
dhcp server group dhcpgroup1
dhcp-server 10.10.10.1 0
vpn-instance vpna
#
interface Vlanif100
ip binding vpn-instance vpna
ip address 20.20.20.1 255.255.255.0
dhcp select relay
dhcp relay server-select dhcpgroup1
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 100
#
bgp 100
peer 2.2.2.2 as-number 100
peer 2.2.2.2 connect-interface loopback 1
ipv4-family vpnv4
peer 2.2.2.2 enable
#
return
Configuration file of the DHCP server
#
sysname SERVER
#
ip pool 1
network 20.20.20.0 mask 255.255.255.0
gateway-list 20.20.20.1
#
ip route-static 20.20.20.0 255.255.255.0 10.10.10.2
#
return
Configuration file of the PE
#
sysname PE
#
vlan 101
#
ip vpn-instance vpna
route-distinguisher 1:1
vpn-target 2:2 export-extcommunity
vpn-target 2:2 import-extcommunity
#
interface Vlanif101
ip binding vpn-instance vpna
Issue 01 (2012-03-15)
DHCP server IP [17] :255.255.255.255
DHCP server IP [18] :255.255.255.255
DHCP server IP [19] :255.255.255.255
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 DHCP Configuration
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents