H3C SR8800-F Configuration Manual page 446

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

Advertisement

Procedure
1.
Configure the RADIUS server: (This section uses the Linux Free RADIUS server as an
example.)
# Add the BRAS IP address 4.4.4.2 and the secret radius to the clients.conf file.
client 4.4.4.2/32 {
ipaddr = 4.4.4.2
netmask=32
secret=radius
}
# Add host username and password to the users user information file. The username is us1
and the password is pw1.
us1
Cleartext-Password :="pw1"
2.
Configure PE 2:
# Configure an LSR ID.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 2.2.2.9 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 2.2.2.9
# Enable L2VPN.
[PE2] l2vpn enable
# Enable LDP globally.
[PE2] mpls ldp
[PE2-ldp] quit
# Configure GigabitEthernet 3/1/2 (the interface connected to PE 1), and enable LDP on the
interface.
[PE2] interface gigabitethernet 3/1/2
[PE2–GigabitEthernet3/1/2] ip address 20.1.1.2 24
[PE2–GigabitEthernet3/1/2] mpls enable
[PE2–GigabitEthernet3/1/2] mpls ldp enable
[PE2–GigabitEthernet3/1/2] quit
# Configure OSPF for LDP to create LSPs.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Create a VSI and configure the peer PE.
[PE2] vsi svc
[PE2-vsi-svc] pwsignaling static
[PE2-vsi-svc-static] peer 1.1.1.9 pw-id 3 in-label 100 out-label 100
[PE2-vsi-svc-static-1.1.1.9-3] quit
[PE2-vsi-svc-static] quit
[PE2-vsi-svc] quit
# Bind GigabitEthernet 3/1/1 to the VSI. GigabitEthernet 3/1/1 does not require IP address
configuration.
[PE2] interface gigabitethernet 3/1/1
430

Advertisement

Table of Contents
loading

Table of Contents