H3C SR8800-F Configuration Manual page 447

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

Advertisement

[PE2–GigabitEthernet3/1/1] xconnect vsi svc
[PE2–GigabitEthernet3/1/1] quit
3.
Configure PE1:
# Configure an LSR ID.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 1.1.1.9
# Enable L2VPN.
[PE1] l2vpn enable
# Enable LDP globally.
[PE1] mpls ldp
[PE1-ldp] quit
# Configure GigabitEthernet 3/1/2 (the interface connected to PE 2), and enable LDP on the
interface.
[PE1] interface gigabitethernet 3/1/2
[PE1–GigabitEthernet3/1/2] ip address 20.1.1.1 24
[PE1–GigabitEthernet3/1/2] mpls enable
[PE1–GigabitEthernet3/1/2] mpls ldp enable
[PE1–GigabitEthernet3/1/2] quit
# Configure OSPF for LDP to create LSPs.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Create a VSI and configure the peer PE.
[PE1] vsi svc
[PE1-vsi-svc] pwsignaling static
[PE1-vsi-svc-static] peer 2.2.2.9 pw-id 3 in-label 100 out-label 100
[PE1-vsi-svc-static-2.2.2.9-3] quit
[PE1-vsi-svc-static] quit
[PE1-vsi-svc] quit
# Bind GigabitEthernet 3/1/1 to the VSI. GigabitEthernet 3/1/1 does not require IP address
configuration.
[PE1] interface gigabitethernet 3/1/1
[PE1–GigabitEthernet3/1/1] xconnect vsi svc
[PE1–GigabitEthernet3/1/1] quit
4.
Configure the BRAS:
a. Configure a RADIUS scheme:
# Create a RADIUS scheme named rs1 and enter its view.
<PE1> system-view
[PE1] radius scheme rs1
# Configure primary servers and keys for authentication and accounting.
[PE1-radius-rs1] primary authentication 4.4.4.1
[PE1-radius-rs1] primary accounting 4.4.4.1
431

Advertisement

Table of Contents
loading

Table of Contents