Configuring subinterfaces from the CLI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Configuring subinterfaces from the CLI

L1 Bithead

Hi,

 

Is it possible to configure subinterfaces from the CLI? I've been trying different sequences of commands but so far I'm not having any luck. From the GUI I have no issue it is only from the CLI.

 

Thanks

1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@Modo2016,

It's a little odd.

set network interface ethernet ethernet1/3 layer2 units ethernet1/3.1 tag 404

Essentially I'm specifying that it's an ethernet interface, the interface in question is ethernet1/3, it's a layer2 interface, units is simply what PA actually calls a subinterface on the backend, the subinterface I'm creating is ethernet1/3.1, and I'm tagging it with 404. 

Hope that helps! 

View solution in original post

2 REPLIES 2

Cyber Elite
Cyber Elite

@Modo2016,

It's a little odd.

set network interface ethernet ethernet1/3 layer2 units ethernet1/3.1 tag 404

Essentially I'm specifying that it's an ethernet interface, the interface in question is ethernet1/3, it's a layer2 interface, units is simply what PA actually calls a subinterface on the backend, the subinterface I'm creating is ethernet1/3.1, and I'm tagging it with 404. 

Hope that helps! 

This worked perfectly. Thanks for your assistance. 

  • 1 accepted solution
  • 4074 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!