
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Public
Presentation_ID
67
CLI Comparison (3) – “L2 Switchport” Configuration
Interface gig 0/0/0/1.50 l2transport
encapsulation dot1q 50
rewrite ingress tag pop 1 Symmetric
Interface gig 0/0/0/1.51 l2transport
encapsulation dot1q 51
rewrite ingress tag pop 1 Symmetric
…
Interface gig 0/0/0/1.1000 l2transport
encapsulation dot1q 1000
rewrite ingress tag pop 1 Symmetric
l2vpn
bridge group cisco
bridge-domain domain50
Interface gig 0/0/0/1.50
Interface gig 0/0/0/2.50
<snip>
bridge-domain domain1000
Interface gig 0/0/0/1.1000
Interface gig 0/0/0/2.1000
interface gig 1/1
switchport
switchport mode trunk
switchport trunk allow vlan 50-1000
interface gig 1/2
switchport
switchport mode trunk
switchport trunk allow vlan 50-1000
ASR 9000 CLI example
Switchport trunk configuration
L2 sub-interface model is more attractive
due to the per service features. However,
traditional switchport trunk configuration is
easier
Comentários a estes Manuais