Warning: It's just Personal Note !!!
CIENA-5160>chassis reboot now
CIENA-5160>user create user <name> access-level <level> echoless-password max-session-limit <1-12> --> (create user and set admin privilege, password, maximum session limit)
CIENA-5160>system set host-name <name> -->
CIENA-5160>arp flush
CIENA-5160>interface local set ip <X.X.X.X/sm>
CIENA-5160>interface set gateway <X.X.X.X>
CIENA-5160>port set port <1-24> max-frame-size <512-12288>
CIENA-5160>port set port <1-24> description <description>
CIENA-5160>port set port <1-24> acceptable-frame-type <all/tagged-only/untagged-only>
CIENA-5160>port set port <1-24> speed <ten/hundred/gigabit/ten-gig/auto> duplex <half/full>
CIENA-5160>vlan create vlan <vlan ID>
CIENA-5160>vlan rename vlan <vlan ID> name <name>
CIENA-5160>vlan add vlan <vlan ID> port <1-24>
CIENA-5160>vlan remove vlan <vlan ID> port <1-24>
CIENA-5160>ospf instance create ospf-instance <ospfname>
CIENA-5160>ospf instance set ospf-instance <ospfname> router-id x.x.x.x
CIENA-5160>rsvp-te path create rsvp-path <pathname-pri >
CIENA-5160>rsvp-te path set rsvp-path <pathname-pri> index 1 ip <x.x.x.x>
CIENA-5160>rsvp-te path set rsvp-path <pathname-pri> index 2 ip <y.y.y.y>
CIENA-5160>rsvp-te path create rsvp-path <pathname-sec>
CIENA-5160>rsvp-te path set rsvp-path <pathname-sec> index 1 ip 3.3.3.3 hop-type loose
CIENA-5160>mpls tunnel create rsvp-ingress <tunname-pri> dest-ip <x.x.x.x> explicit-tunnel-path <pathname-pri>
CIENA-5160>mpls tunnel create rsvp-ingress <tunname-sec> dest-ip <x.x.x.x> explicit-tunnel-path <pathname-sec> backup-tunnel <pathname-pri>
CIENA-5160>mpls l2-vpn create dynamic-vc <vplsvcname> pw-id <vplsid> peer x.x.x.x te-tunnel <tunname-pri>
CIENA-5160>mpls l2-vpn create dynamic-vc <qnqvcname> pw-id <vplsid> peer x.x.x.x te-tunnel <tunname-pri> pw-mode spoke
CIENA-5160>virtual-switch show
CIENA-5160>virtual-switch ethernet create vs <vsname> mode vpls
CIENA-5160>virtual-switch ethernet attach mpls-vc <vplsvcname> vs <vsname>
CIENA-5160>virtual-switch ethernet add vs <vsname> port <1-24> vlan <vlan ID> ingress-l2-transform pop egress-l2-transform push-8100.<vlan ID>
CIENA-5160>virtual-switch ethernet create vs <qnqname> mode vpls
CIENA-5160>virtual-switch ethernet attach mpls-vc <qnqvcname> vs <qnqname>
CIENA-5160>virtual-switch ethernet add vs <qnqname> port 23
CIENA-5160>virtual-circuit ethernet set port <1-24> vlan-ethertype 9100