Step 1 |
configure
terminal
Example:
Switch# configure terminal
|
Enters global
configuration mode.
|
Step 2 | controller nid
1/NID_ID
Example:
Switch(config)# controller nid 1/1
|
Enters the
controller configuration mode.
|
Step 3 | ProvisionEVC
Example: Switch
(config-controller )# ProvisionEVC
| Enters the
ProvisionEVC mode.
|
Step 4 |
addECE-v3
eceConfiguration_v3
ece_id
ece_id
Example:
Switch(config-controller-ProvisionEVC)# addECE ece_configuration ece_id 2
| Adds ECE
configuration.
|
Step 5 | addECE_v3
eceConfiguration_v3
control
action {class {disabled |
specific specific_id} |
direction {bothnni_to_uni |uni_to_nni} |
drop_precedence {disabled |
one |
zero}
|
evc_id
{none |
specific
specific_eve_id} |
l2cp_dmac {
cisco
|
custom} |
l2cp_mode {
discard |
forward |
peer
|
tunnel } |policer_id {discard |
evc |
none |
specific
specific_id} |
policy_id
acl_policy_id |
rule_type {
both
|
rx |
tx}|
tag_pop_count {tag_pop_count} |
tx_lookup
{
isdx
|
vid_only |
vid_pcp}
Example:
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions evc_id specific 7
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions tag_pop_count 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions policer_id specific 1
Switch(config-controller-ProvisionEVC)# addECE ece_configuration control actions class specific 4
| Adds the ECE
control action configuration.
- class—Specifies the ECE class.
- direction—Specifies the direction of flow of
traffic.
- drop_precedence—Specifies the drop precedence
(higher value means more dropping).
- evc_id—Specifies the EVC ID. The valid
specific values are from 1 to 1024.
- policer_id—Specifies the policer ID. The valid
specific values are from 1 to 1022.
- policy_id—Specifies the ACL policy ID. The valid
values are from 0 to 63.
- tag_pop_count—Specifies the tagged VLAN count to
be removed (either one or two outermost tags).
- l2cp_dmac—Specifies the L2CP tunnel DMAC.
- cisco—Specifies Cisco Generic BPDU Tunneling
DMAC.
- custom—Specifies custom DMAC.
- l2cp_mode—Specifies the L2CP mode.
- discard—Discard L2CP frames.
- forward—Forward L2CP frames.
- peer—Peer L2CP frames.
- tunnel—Tunnel L2CP frames.
- rule_type—Specifies the rule type.
- both—Specifies both rule type.
- rx—Specifies rx rule type .
- tx—Specifies tx rule type .
- tx_lookup—Specifies tx-lookup.
- isdx—Specifies isdx lookup.
- vid_only—Specifies vid-only lookup .
- vid_pcp—Specifies vid-pcp lookup .
|
Step 6 | addECE_v3
eceConfiguration_v3
control
egress-inner-tag
{dei-mode {classified |
drop_prec |
fixed} |
dei_value
dei
|
pcp_mode {classified |
fixed |
mapped} |
pcp_value pcp_value |
type
type
|
vlan_id
vlan_id}
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control egress_inner_tag dei_mode classified
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control egress_inner_tag type none
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control egress_inner_tag vlan_id 3
| Adds the ECE
control egress inner tag rewrite configuration.
- dei_mode—Specifies the DEI mode—whether
classified,
drop
precedence, or
fixed.
- dei_value—Specifies the DEI value. The valid
values are 0 and 1.
- pcp_mode—Specifies the PCP mode—whether
classified,
fixed,
or
mapped.
- pcp_value—Specifies the PCP value. The valid
values are from 1 to 7.
- type—Specifies the type—whether
c-tagged,
none,
s-custom, or
s-tagged.
- vlan_id—Specifies the VLAN ID. The valid values
are from 1 to 4095.
|
Step 7 | addECE_v3
eceConfiguration_v3
control
egress-outer-tag
{dei_mode {classified |
drop_prec |
fixed} |
dei_value
dei_value |
mode
{enabled | disabled} |
pcp_mode
{classified |
fixed |
mapped} |
pcp_value
pcp_value |
vlan_id
vlan_id
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control egress_outer_tag pcp_mode fixed
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control egress_outer_tag pcp_value 4
| Adds the ECE
control egress outer tag rewrite configuration.
- dei_mode—Specifies the DEI mode—whether
classified,
drop
precedence, or
fixed.
- dei_value—Specifies the DEI value. The valid
values are 0 and 1.
- mode—Specifies the mode—whether
enabled or
disabled.
- pcp_mode—Specifies the PCP mode—whether
classified,
fixed,
or
mapped.
- pcp_value—Specifies the PCP value. The valid
values are from 1 to 7.
- vlan_id—Specifies the VLAN ID. The valid values
are from 1 to 4095.
|
Step 8 | addECE_v3
eceConfiguration_v3
control
ingress_match {frame_type {any |
ipv4
{dest_ip_filter
|
source_ip_filter} |
ipv6
{dest_ip_filter
|
source_ip_filter}} |
inner_tag_match {match_fields |
match_type} |
mac_params {dmac_filer |
smac_filter} |
outer_tag_match {match_fields |
match_type} |
uni_ports {GigabitEthernet_1_UNI |
GigabitEthernet_2_UNI |
GigabitEthernet_3_UNI |
GigabitEthernet_4_UNI |
GigabitEthernet_5_UNI |
GigabitEthernet_6_UNI}}
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control ingress_match uni_ports GigabitEthernet_2_UNI enable
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control ingress_match outer_tag_match match_type c_tagged
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control ingress_match outer_tag_match match_fields vlan_id_filter specific 100
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control ingress_match outer_tag_match match_fields inner_pcp val_4-7
| Adds the ECE
control ingress inner tag rewrite configuration.
- frame_type—Specifies the type of frame
relay.
- inner_tag_match—Specifies the inner tag match
value.
- mac_params—Specifies the DMAC and SMAC default
values.
- outer_tag_match—Specifies the outer tag match
value.
- uni_ports—Specifies the GigabitEthernet UNI ports.
|
Step 9 | addECE_v3
eceConfiguration_v3
control
l2cp_parameters {
cdp
|
cisco-cfm
|
cisco-stp |
cisco-vlan
|
dot1x
|
dtp
|
elmi |
gmrp
|
gvrp
|
lacp
|
lamp
|
lldp
|
loam
|
pagp |
pause
|
pb
|
pb_gvrp
|
pvst |
stp
|
uld
|
vtp}
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 ece_configuration control l2cp_parameters dot1x
| Adds the ECE
control ingress inner tag rewrite configuration.
- cdp—Specifies cdp frames.
- cisco-cfm
—Specifies Cisco CFM frames.
- cisco-stp—Specifies the Cisco STP Uplink Fast
frames.
- cisco-vlan
—Specifies Cisco VLAN bridge frames.
- dot1x
—Specifies the 802.1X frames.
- dtp—Specifies the DTP frames.
- elmi—Specifies the E-LMI frames.
- gmrp
—Specifies the GMRP frames.
- gvrp
—Specifies the GVRP frames.
- lacp
—Specifies the LACP frames.
- lamp
—Specifies the LAMP frames.
- lldp
—Specifies the LLDP frames.
- loam
—Specifies the Link OAM frames.
- pagp—Specifies the PAgP frames.
- pause
—Specifies the Pause frames.
- pb—Specifies the PB frames.
- pb_gvrp
—Specifies the PB GVRP frames.
- pvst—Specifies the PVST frames.
- stp
—Specifies the STP frames.
- uld
—Specifies the ULD frames.
- vtp
—Specifies the VTP frames.
|
Step 10 | addECE_v3 review
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 review
| Reviews the
addECE configuration.
|
Step 11 | addECE_v3 commit
Example:
Switch(config-controller-ProvisionEVC)# addECE_v3 commit
| Sends the
configuration to the NID.
|
Step 12 | exit
Example:
Switch(config-controller-ProvisionEVE)# exit
Switch(config-controller)#
| Exits to the
controller configuration mode.
|