How to batch configure port

Created: Dec 9, 2012 22:02:49Latest reply: Sep 6, 2014 03:36:06 4423 2 0 0
How to batch configure port
  • x
  • convention:

user_1869547     Created Dec 9, 2012 22:03:00 Helpful(0) Helpful(0)

Use port group (port - group) function can realize configure multiple ports at once, in order to reduce repeated configuration work. [Quidway]port-group 1 //create port-group 1 [Quidway-port-group-1]group-member GigabitEthernet 1/0/1 to GigabitEthernet 1/0/2 // add the physical interface to the port-group [Quidway-port-group-1]port link-type trunk //in the port-group configure interface type, configure all the member ports to become effective.
  • x
  • convention:

tron     Created Sep 6, 2014 03:36:06 Helpful(0) Helpful(0)

[test]port-group test
[test-port-group-test]group-member GigabitEthernet 0/0/1 to
GigabitEthernet 0/0/5
[test-port-group-test]port link-type access
[test-port-group-test]port default vlan 100
[test]dis cur | beg port-group
port-group test
group-member GigabitEthernet0/0/1
group-member GigabitEthernet0/0/2
group-member GigabitEthernet0/0/3
group-member GigabitEthernet0/0/4
group-member GigabitEthernet0/0/5
[test-port-group-test]dis cur interface gig
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 100
#
interface GigabitEthernet0/0/5
port link-type access
port default vlan 100
...
[test]display port-group all
Portgroup: test
GigabitEthernet0/0/1
GigabitEthernet0/0/2
GigabitEthernet0/0/3
GigabitEthernet0/0/4
GigabitEthernet0/0/5
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top