Chapter 8 Configuring Ethernet Virtual Connections

Configuring Other Features on EFPs

 

Command or Action

Purpose

Step 4

 

 

ip address dhcp

Specifies an IP address through DHCP.

 

Example:

 

 

Router(config-if)# ip address dhcp

 

Step 5

 

 

interface type-number

Specifies an interface type number.

 

Example:

 

 

Router(config-if)# interface GigabitEthernet0/7

 

Step 6

 

 

service instance instance-idethernet

Creates a service instance on an interface and defines the

 

encapsulation dotlq vlan-id

matching criteria to be used in order to map the ingress

 

 

dotlq frames to the appropriate service instance.

 

Example:

instance-id—Integer that uniquely identifies a service

 

Router(config-if)# service instance 10 ethernet

instance on an interface.

 

encapsulation dotlq 15

vlan-id—VLAN range is between 1 to 4094. You

 

 

 

 

cannot use the same VLAN ID for more than one

 

 

domain at the same level.

Step 7

 

 

rewrite ingress tag pop [12] symmetric

Specifies the encapsulation adjustment to be performed on

 

 

the frame ingress to the EFP. The symmetric keyword is

 

Example:

required to complete the rewrite configuration.

 

 

 

Router(config-if)# rewrite ingress tag pop 1

 

 

symmetric

 

Step 8

 

 

bridge-domain bridge-id

Binds the service instance to a bridge domain instance using

 

 

an identifier.

 

Example:

 

 

Router(config-if)# bridge-domain 15

 

 

 

 

Verifying DHCP Client on SVI

To verify the configuration of DHCP client on SVI, use the show command described below.

Router# show ip-address interface brief include vlan15

Interface

IP-Address

OK

Method

Status

Protocol

Vlan15

15.0.0.2

YES

DHCP

up

up

Configuration Example for DHCP Client on SVI

Router(config)# interface Vlan 15

Router(config-if)# ip address dhcp

Router(config-if)#interface GigabitEthernet0/7

Router(config-if)# negotiation auto

Router(config-if)#service instance 10 ethernet

Router(config-if-srv)# encapsulation dot1q 15

Router(config-if-srv)#rewrite ingress tag pop 1 symmetric

Router(config-if-srv)# bridge-domain 15

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

8-26

OL-23826-09

Page 150
Image 150
Cisco Systems A9014CFD manual Verifying Dhcp Client on SVI, Configuration Example for Dhcp Client on SVI