Chip=BCM56870_A0
1.Initiation
Pica8> l3 intf add vlan=23 mac=0x10 intf=10 vrf=10
Pica8> l3 egress add mac=0x110 intf=10 port=0x8000001 MplsLabel=0x1111
New egress object index: 100006
Environment variable (egr_object_id) was set
Pica8> mpls tunnel init set EgrTunnelLabel=0x999 EgrLabelOptions=1 EgrTTL=44 intf=10
Pica8> d chg EGR_L3_NEXT_HOP
Pica8> d chg EGR_MAC_DA_PROFILE
Pica8> d chg EGR_MPLS_VC_AND_SWAP_LABEL_TABLE
Pica8> d chg EGR_L3_INTF
Pica8> d chg EGR_IP_TUNNEL_MPLS
2.switch
Pica8> l3 intf add vlan=100 mac=0x11 intf=8195 vrf=10
Pica8> l3 egress add mac=0x220 intf=8195 port=0x8000001 MplsLabel=0x2222
New egress object index: 100007
Environment variable (egr_object_id) was set
Pica8> mpls tunnel switch add action=1 IngLabel=0x200 EgrLabel=0x300 EgrObject=100007
Pica8>
L3IngressMode is set - Invalid ingress interface(IngIntf)
Pica8> mpls tunnel switch add action=1 IngLabel=0x200 EgrLabel=0x300 EgrObject=100007 IngIntf=8195
Pica8> d chg mpls_entry
Pica8> d chg EGR_L3_NEXT_HOP
Pica8> d chg EGR_MAC_DA_PROFILE
Pica8>d chg EGR_MPLS_VC_AND_SWAP_LABEL_TABLE
Pica8> d chg EGR_L3_INTF
Pica8> l3 intf add vlan=100 mac=0x33 intf=8200 vrf=11
Pica8> l3 egress add mac=0x330 intf=8200 port=0x8000001
New egress object index: 100008
Environment variable (egr_object_id) was set
Pica8> l3 egress show
Pica8> l3 intf show
Pica8> mpls tunnel switch add action=0 IngLabel=0x200 EgrLabel=0x300 EgrObject=100008
L3IngressMode is set - Invalid ingress interface(IngIntf)
Pica8>
Pica8> mpls tunnel switch add action=0 IngLabel=0x200 EgrLabel=0x300 EgrObject=100008 IngIntf=8200
Pica8> d chg mpls_entry
Pica8> d chg EGR_L3_NEXT_HOP
Pica8> d chg EGR_MAC_DA_PROFILE
Pica8>d chg EGR_MPLS_VC_AND_SWAP_LABEL_TABLE
Pica8> d chg EGR_L3_INTF
3.pop
Pica8> l3 intf add vlan=100 mac=0x44 intf=8300 vrf=12
Pica8> l3 egress add mac=0x440 intf=8300 port=0x8000001
New egress object index: 100009
Environment variable (egr_object_id) was set
Pica8> l3 egress show
Pica8> l3 intf show
Pica8> mpls tunnel switch add action=2 IngLabel=0x200 EgrObject=100009
L3IngressMode is set - Invalid ingress interface(IngIntf)
Pica8> mpls tunnel switch add action=2 IngLabel=0x200 EgrObject=100009 IngIntf=8300
Pica8>
MPLS_CLI: Error: bcm_mpls_tunnel_switch_add failed, Invalid parameter
Pica8> mpls tunnel switch add action=2 IngLabel=0x200 EgrObject=100009 IngIntf=8300 vpn=12
Pica8>
Pica8> d chg mpls_entry
Pica8> d chg EGR_L3_NEXT_HOP