H3C SR8800-F Configuration Manual page 451

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

# Configure a gateway IP address for the host and enable route exporting. Route exporting
automatically adds the gateway IP address and related static IP address to the routing table
of vpn1.
[Device-dhcp-pool-pool1] gateway-list 3.3.3.1 export-route
# Configure an IP address for the DHCP sever
[Device-dhcp-pool-pool1] remote-server 4.4.4.3
e. Configure IPoE:
# Enable IPoE and configure Layer 2 access mode on GigabitEthernet 3/1/2.
[Device] interface gigabitethernet 3/1/2
[Device–GigabitEthernet3/1/2] ip subscriber l2-connected enable
# Enable the DHCP user.
[Device–GigabitEthernet3/1/2] ip subscriber initiator dhcp enable
# Specify dm1 as the ISP domain.
[Device–GigabitEthernet3/1/2] ip subscriber dhcp domain dm1
# Configure plaintext password radius for authentication.
[Device–GigabitEthernet3/1/2] ip subscriber password plaintext radius
f. Enable proxy ARP on GigabitEthernet 3/1/2.
[Device–GigabitEthernet3/1/2] proxy-arp enable
[Device–GigabitEthernet3/1/2] quit
g. Configure a static route to direct the DHCP request from vpn1 to the DHCP server.
[Device] ip route-static vpn-instance vpn1 4.4.4.0 24 4.4.4.3 public
h. Configure a policy-based route to direct the traffic from the DHCP server to vpn1:
# Configure a policy named to_vpn1 with a node number of 0 and match mode of permit,
and specify packets to be transmitted in vpn1.
[Device] policy-based-route to_vpn1 permit node 0
[Device-pbr-to_vpn1-0] apply access-vpn vpn-instance vpn1
[Device-pbr-to_vpn1-0] quit
# Apply to_vpn1 to GigabitEthernet 3/1/1.
[Device] interface gigabitethernet 3/1/1
[Device–GigabitEthernet3/1/1] ip policy-based-route to_vpn1
[Device–GigabitEthernet3/1/1] quit
Verifying the configuration
# Display IPoE session information to verify the configuration.
[Device] display ip subscriber session verbose
Basic:
Username
Domain
VPN instance
IP address
User address type
MAC address
Service-VLAN/Customer-VLAN : -/-
Access interface
User ID
VPI/VCI(for ATM)
VSI Index
VSI link ID
: 000c29a6b656
: dm1
: vpn1
: 3.3.3.2
: N/A
: 000c-29a6-b656
: GE3/1/2
: 0x380800b5
: -/-
: -
: -
435

Advertisement

Table of Contents
loading

Table of Contents