Configure Port Speed
This topic provides you with information about how to configure port speed in port level and PIC level at chassis and interface hierarchy.
Configure Port Speed - PIC Level
To configure the operating port speed in the PIC level at chassis heirarchy, follow these steps:
In the
[edit chassis] fpc fpc-slot pic pic-number
hierarchy level, configure the port speed using theset pic-mode pic-speed
command.[edit chassis fpc 0 pic 0] user@host# set pic-mode 100g
Configure the number of active physical ports that operate at the configured speed.
[edit chassis fpc 0 pic 0] user@host# set number-of-ports 4
Specify the number of logical interfaces you want to create on a physical port.
[edit chassis fpc 0 pic 1] user@host# set number-of-sub-ports 4
Specify the port number that you want to power off.
[edit chassis fpc 0 pic 1] user@host# set port 2 unused
Verify the configuration.
[edit chassis fpc 0 pic 0] user@host# show pic-mode 100G; number-of-ports 4;
Commit the configuration.
[edit chassis fpc 0 pic 0] user@host# commit
Configure Port Speed - Port Level
To configure the operating port speed in the port level at chassis hierarchy, follow these steps:
In the
[edit chassis] fpc fpc-slot pic pic-number
hierarchy level, configure the port speed using theset port port-number speed (10g | 40g | 100g)
command.[edit chassis fpc 0 pic 0] user@host# set port 0 speed 40g set port 0 speed 100g
Specify the number of logical interfaces you want to create on a physical port.
[edit chassis fpc 0 pic 1] user@host# set number-of-sub-ports 4
Specify the port number that you want to power off.
[edit chassis fpc 0 pic 1] user@host# set port 2 unused
Verify the configuration.
[edit chassis fpc 0 pic 0] user@host# show port 0 { speed 40g; } port 1 { speed 100g; } [edit chassis fpc 0 pic 1] user@host# show port 1 { number-of-sub-ports 4; }
Commit the configuration.
[edit chassis fpc 0 pic 0] user@host# commit
Configure Port Speed for Non-Channelized Interfaces
To configure the operating port speed for non-channelized interface at the interface hierarchy, follow these steps:
To specify the port speed, in the
[edit interface interface-name
hierarchy level, configure the speed value using theset speed (10g | 25g | 40g | 50g | 100g | 400g)
command.[edit interfaces et-1/0/3] user@host# set speed 100g
To configure the speed for a group of ports, in the
[edit wildcard range interface interface-name
hierarchy level, configure the speed value using theset speed (10g | 25g | 40g | 50g | 100g | 400g)
command.[edit wildcard range set interfaces et-1/0/[0-5] user@host# set speed 100g
To control the number of interfaces created on a physical port, use the
unused
statement.[edit interfaces et-2/0/3] user@host# set unused
Note:In this example, no interfaces (channelized or non-channelized) are created on port 3 of the line card installed in the FPC slot 2.
Verify the configuration.
[edit interfaces] user@host# et-x/y/z { speed 100g; unit 0 { ... } ... unit N { ... } } ... et-x/y/z { unused; }
Commit the configuration.
[edit interfaces et-1/0/3] user@host# commit
Configure Port Speed for Channelized Interfaces
To configure the operating port speed for channelized interface at the interface hierarchy, follow these steps:
To specify the port speed, in the
[edit interface interface-name
hierarchy level, configure the speed value using theset speed (10g | 25g | 40g | 50g | 100g | 400g)
command.[edit interfaces et-1/0/3] user@host# set speed 100g
To configure the speed for a group of ports, in the
[edit wildcard range interface interface-name
hierarchy level, configure the speed value using theset speed (10g | 25g | 40g | 50g | 100g | 400g)
command.[edit wildcard range set interfaces et-1/0/[7-12] user@host# set speed 100g
To specify the number of interfaces you want to configure per port.
[edit interfaces et-2/0/3] user@host# set number-of-sub-ports 4
Note:In this example, in Step 1 and Step 2, you configure 4x100GE channelized interfaces.
To control the number of interfaces created on a physical port, use the
unused
statement.[edit interfaces et-2/0/4] user@host# set unused
Verify the configuration.
[edit interfaces] user@host# et-x/y/z { speed 100g; number-of-sub-ports 4; et-x/y/z:0 { unit 0 { ... } } et-x/y/z:1 { unit 0 { ... } } et-x/y/z:2 { unit 0 { ... } } et-x/y/z:3 { unit 0 { ... } } ... et-x/y/z:6 { unused; }
Commit the configuration.
[edit interfaces et-1/0/3] user@host# commit