Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added logical router commands

...

Code Block
chassis:createSubInterface resourceType:resourceName fe-0/1/2.12 -d "FE interface description" --vlanId 12
chassis:createSubInterface resourceType:resourceName lt-0/0/1.12 -d "LT interface description" --peerUnit 11

chassis:deleteSubInterface resourceType:resourceName fe-0/1/2.12
chassis:deleteSubInterface resourceType:resourceName lt-0/0/1.12

 

  • setEncapsulation

 

Code Block
chassis:setEncapsulation resourceType:resourceName lt-0/0/1.12 [vlanId]

...

Logical routers

  • list logical routers
Code Block
chassis:listLogicalRouter resourceType:resourceName 

 

 

  • create/delete logical router
Code Block
chassis:createLogicalRouter resourceType:resourceName logicalRouterName
chassis:deleteLogicalRouter resourceType:resourceName logicalRouterName

 

 

  • Add/Remove interface to logical router
Code Block
chassis:addInterface resourceType:resourceName resourceType:logicalRouterName fe-0/0/1
chassis:aremoveInterface resourceType:resourceName resourceType:logicalRouterName fe-0/0/1