Home | Mirror | Search

3. Interface

3.1. status

3548

console# show interfaces status
                                             Flow Link          Back   Mdix
Port     Type         Duplex  Speed Neg      ctrl State       Pressure Mode
-------- ------------ ------  ----- -------- ---- ----------- -------- -------
e1       100M-Copper    --      --     --     --  Down           --     --
e2       100M-Copper    --      --     --     --  Down           --     --
e3       100M-Copper    --      --     --     --  Down           --     --
e4       100M-Copper    --      --     --     --  Down           --     --
e5       100M-Copper    --      --     --     --  Down           --     --
e6       100M-Copper    --      --     --     --  Down           --     --
e7       100M-Copper    --      --     --     --  Down           --     --
e8       100M-Copper    --      --     --     --  Down           --     --
e9       100M-Copper    --      --     --     --  Down           --     --
e10      100M-Copper    --      --     --     --  Down           --     --
e11      100M-Copper    --      --     --     --  Down           --     --
e12      100M-Copper    --      --     --     --  Down           --     --
e13      100M-Copper    --      --     --     --  Down           --     --
e14      100M-Copper    --      --     --     --  Down           --     --
e15      100M-Copper    --      --     --     --  Down           --     --
e16      100M-Copper    --      --     --     --  Down           --     --
e17      100M-Copper    --      --     --     --  Down           --     --
e18      100M-Copper    --      --     --     --  Down           --     --
e19      100M-Copper    --      --     --     --  Down           --     --
e20      100M-Copper    --      --     --     --  Down           --     --
e21      100M-Copper    --      --     --     --  Down           --     --
e22      100M-Copper    --      --     --     --  Down           --     --
e23      100M-Copper    --      --     --     --  Down           --     --
e24      100M-Copper    --      --     --     --  Down           --     --
e25      100M-Copper    --      --     --     --  Down           --     --
e26      100M-Copper    --      --     --     --  Down           --     --
e27      100M-Copper    --      --     --     --  Down           --     --
e28      100M-Copper    --      --     --     --  Down           --     --
e29      100M-Copper    --      --     --     --  Down           --     --
e30      100M-Copper    --      --     --     --  Down           --     --
e31      100M-Copper    --      --     --     --  Down           --     --
e32      100M-Copper    --      --     --     --  Down           --     --
e33      100M-Copper    --      --     --     --  Down           --     --
e34      100M-Copper    --      --     --     --  Down           --     --
e35      100M-Copper    --      --     --     --  Down           --     --
e36      100M-Copper    --      --     --     --  Down           --     --
e37      100M-Copper  Full    100   Enabled  Off  Up          Disabled Off
e38      100M-Copper    --      --     --     --  Down           --     --
e39      100M-Copper    --      --     --     --  Down           --     --
e40      100M-Copper    --      --     --     --  Down           --     --
e41      100M-Copper    --      --     --     --  Down           --     --
e42      100M-Copper    --      --     --     --  Down           --     --
e43      100M-Copper    --      --     --     --  Down           --     --
e44      100M-Copper    --      --     --     --  Down           --     --
e45      100M-Copper    --      --     --     --  Down           --     --
e46      100M-Copper    --      --     --     --  Down           --     --
e47      100M-Copper    --      --     --     --  Down           --     --
e48      100M-Copper    --      --     --     --  Down           --     --
g1       1G-Fiber       --      --     --     --  Down           --     --
g2       1G-Fiber       --      --     --     --  Down           --     --
g3       1G-Copper      --      --     --     --  Down           --     --
g4       1G-Copper      --      --     --     --  Down           --     --

                                          Flow    Link
Ch       Type    Duplex  Speed  Neg      control  State
-------- ------- ------  -----  -------- -------  -----------
ch1         --     --      --      --       --    Not Present
ch2         --     --      --      --       --    Not Present
ch3         --     --      --      --       --    Not Present
ch4         --     --      --      --       --    Not Present
ch5         --     --      --      --       --    Not Present
ch6         --     --      --      --       --    Not Present
ch7         --     --      --      --       --    Not Present
ch8         --     --      --      --       --    Not Present
ch9         --     --      --      --       --    Not Present
ch10        --     --      --      --       --    Not Present
ch11        --     --      --      --       --    Not Present
ch12        --     --      --      --       --    Not Present
ch13        --     --      --      --       --    Not Present
ch14        --     --      --      --       --    Not Present
ch15        --     --      --      --       --    Not Present
		

6224

console#show interfaces status

Port   Type                            Duplex  Speed    Neg  Link  Flow Control
                                                             State Status
-----  ------------------------------  ------  -------  ---- ----- -----------
1/g1   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g2   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g3   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g4   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g5   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g6   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g7   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g8   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g9   Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g10  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g11  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g12  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g13  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g14  Gigabit - Level                 Full    100      Auto  Up    Inactive
1/g15  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g16  Gigabit - Level                 Full    1000     Auto  Up    Inactive
1/g17  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g18  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g19  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
--More-- or (q)uit
1/g20  Gigabit - Level                 Full    100      Auto  Up    Inactive
1/g21  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g22  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g23  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/g24  Gigabit - Level                 N/A     Unknown  Auto  Down  Inactive
1/xg1  10G - Level                     N/A     Unknown  Auto  Down  Inactive
1/xg2  10G - Level                     N/A     Unknown  Auto  Down  Inactive
1/xg3  10G - Level                     N/A     Unknown  Auto  Down  Inactive
1/xg4  10G - Level                     N/A     Unknown  Auto  Down  Inactive


Ch   Type                            Link
                                     State
---  ------------------------------  -----
ch1  Link Aggregate                  Down
ch2  Link Aggregate                  Down
ch3  Link Aggregate                  Down
ch4  Link Aggregate                  Down
ch5  Link Aggregate                  Down
ch6  Link Aggregate                  Down
ch7  Link Aggregate                  Down
ch8  Link Aggregate                  Down
ch9  Link Aggregate                  Down
--More-- or (q)uit
ch10 Link Aggregate                  Down
ch11 Link Aggregate                  Down
ch12 Link Aggregate                  Down
ch13 Link Aggregate                  Down
ch14 Link Aggregate                  Down
ch15 Link Aggregate                  Down
ch16 Link Aggregate                  Down
ch17 Link Aggregate                  Down
ch18 Link Aggregate                  Down
ch19 Link Aggregate                  Down
ch20 Link Aggregate                  Down
ch21 Link Aggregate                  Down
ch22 Link Aggregate                  Down
ch23 Link Aggregate                  Down
ch24 Link Aggregate                  Down

Flow Control:Disabled
		

3.2. ip address

分配動態 IP 地址:

console# configure

console(config)# interface ethernet 1/e1

console(config-if)# ip address dhcp hostname powerconnect

console(config-if)# exit

console(config)#
		

分配動態 IP 地址(在 VLAN 上):

console# configure

console(config)# interface ethernet vlan 1

console(config-if)# ip address dhcp hostname device

console(config-if)# exit

console(config)#

介面將自動獲取 IP 地址。
		

要驗證 IP 地址,請在系統提示符後輸入 show ip interface 命令,如以下示例所示。

console# show ip interface

IP Address I/F Type

------------- ------ -------

100.1.1.1/24 vlan 1 dynamic
		

3.3. speed

console#configure

console(config)#line console

console(config-line)#speed 38400
		

3.4. QOS

1000Kpbs

console# configure
console(config)# interface ethernet e36
console(config-if)# rate-limit 1000
console(config-if)#
		
comments powered by Disqus