Chapter 4: Commands for CLI configuration
evc
Command:
evc <EvcId : 1-4096> vid <evc_vid> ivid <ivid> interface ( * |
10GigabitEthernet | GigabitEthernet [ <port_list> ] ) learning
[ disable ] policer { <PolicerId : 1-2048> | none | discard }
<EvcId : 1-4096>
EVC identifier
vid
Setup EVC VLAN ID
<EvcVid : 1-4095>
EVC VLAN ID
ivid
Setup internal EVC VLAN ID
<Ivid : vlan_id>
Internal VLAN ID
interface
Setup NNI
learning
Setup learning
policer
Policer (ingress bandwidth profile)
<PolicerId : 1-2048>
Policer ID
<vlan_list>
List of VLANs
discard
Map to policer discarding all frames
none
Map to policer allowing all frames
Default:
0
Usage Guide:
To configure
Ethernet Virtual Circuits (EVC)
.
Example:
To configure
Ethernet Virtual Circuits (EVC identifier: 1, EVC VLAN ID: 2,
GigabitEthernet Port: 1/1, 1/2, Internal VLAN ID: 3, Disable learning, Policer
ID: 4)
.
Switch# configure terminal
Switch (config)#
evc 1 vid 2 interface GigabitEthernet 1/1-2 ivid
3 learning disable policer 4
evc ece
Command:
evc ece <EceId : 1-4096> direction {both | nni-to-uni | uni-to-
nni} evc {<EvcId : 1-4096> | none} frame-type {any | ipv4 |
ipv6} inner-tag { add {dei <AddDei : 0-1> | pcp <AddPcp : 0-7>
| preserve | type [c-tag | none | s-custom-tag | s-tag] | vid
<AddVid : vlan_id>}, match {dei [<MatchDei : 0-1> | any]| pcp
[<MatchPcp : pcp> | any] | type [any | c-tagged | s-tagged |
tagged | untagged] | vid [<Vid : 0-4095> | any]} } interface [* |
10GigabitEthernet | GigabitEthernet] <PORT_ID> next
[<EceId : 1-4096> | last] outer-tag { add {dei <AddDei : 0-1> |
pcp <AddPcp : 0-7> | preserve | type [c-tag | none | s-custom-
tag | s-tag] | vid <AddVid : vlan_id>}, match {dei [<MatchDei :
0-1> | any]| pcp [<MatchPcp : pcp> | any] | mode [disable |
enable] | vid [<Vid : 0-4095> | any] } policer {<PolicerId : 1-
2048> | discard | evc | none} policy <PolicyNo : 0-255> pop
<Pop : 0-2>
NS3500-24T-4C Managed Switch Command Guide
51