R2 (e0/4/1)----- SW1----- R3(e0/4/1)
<H3C>
%Dec 11 17:12:57:797 2010 H3C SHELL/4/LOGIN: Console login from con0
<H3C>
<H3C>sys
sys
System View: return to User View with Ctrl+Z.
[H3C]
[H3C]sy r3
sy r3
[r3]
[r3]vlan 23
vlan 23
[r3-vlan23]
[r3-vlan23]port e0/4/1
port e0/4/1
[r3-vlan23]
[r3-vlan23]int vlan 23
int vlan 23
[r3-Vlan-interface23]
[r3-Vlan-interface23]
%Dec 11 17:13:20:579 2010 r3 IFNET/4/LINK UPDOWN:
Vlan-interface23: link status is UP
[r3-Vlan-interface23]
[r3-Vlan-interface23]ip add 23.23.23.3 24
ip add 23.23.23.3 24
[r3-Vlan-interface23]
[r3-Vlan-interface23]
%Dec 11 17:13:30:266 2010 r3 IFNET/4/UPDOWN:
Line protocol on the interface Vlan-interface23 is UP
[r3-Vlan-interface23]
[r3-Vlan-interface23]dis brief int
dis brief int
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
Eth0/1/0 UP DOWN ETHERNET --
NULL0 UP UP(spoofing) NULL --
S0/2/0 UP UP PPP --
S0/2/1 UP UP PPP --
S0/2/2 DOWN DOWN PPP --
S0/2/3 DOWN DOWN PPP --
Vlan23 UP UP ETHERNET 23.23.23.3
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
Eth0/4/0 DOWN auto auto access 1
Eth0/4/1 UP 100M(a) full(a) access 23
Eth0/4/2 DOWN auto auto access 1
Eth0/4/3 DOWN auto auto access 1
Eth0/4/4 DOWN auto auto access 1
Eth0/4/5 DOWN auto auto access 1
Eth0/4/6 DOWN auto auto access 1
Eth0/4/7 DOWN auto auto access 1
[r3-Vlan-interface23]
[r3-Vlan-interface23]ping 23.23.23.3
ping 23.23.23.3
PING 23.23.23.3: 56 data bytes, press CTRL_C to break
Reply from 23.23.23.3: bytes=56 Sequence=1 ttl=255 time=10 ms
Reply from 23.23.23.3: bytes=56 Sequence=2 ttl=255 time=29 ms
Reply from 23.23.23.3: bytes=56 Sequence=3 ttl=255 time=1 ms
Reply from 23.23.23.3: bytes=56 Sequence=4 ttl=255 time=1 ms
Reply from 23.23.23.3: bytes=56 Sequence=5 ttl=255 time=1 ms
--- 23.23.23.3 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/8/29 ms
[r3-Vlan-interface23]ping 23.23.23.2
ping 23.23.23.2
PING 23.23.23.2: 56 data bytes, press CTRL_C to break
Reply from 23.23.23.2: bytes=56 Sequence=1 ttl=255 time=138 ms
Reply from 23.23.23.2: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 23.23.23.2: bytes=56 Sequence=3 ttl=255 time=70 ms
Reply from 23.23.23.2: bytes=56 Sequence=4 ttl=255 time=50 ms
Reply from 23.23.23.2: bytes=56 Sequence=5 ttl=255 time=50 ms
--- 23.23.23.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 30/67/138 ms
[r3-Vlan-interface23]
R2>dis brief int
dis brief int
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
GE0/1/0 DOWN DOWN ETHERNET --
NULL0 UP UP(spoofing) NULL --
S0/2/0 UP UP PPP --
S0/2/1 UP UP PPP --
S0/2/2 DOWN DOWN PPP --
Vlan23 UP UP ETHERNET 23.23.23.2
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
Eth0/4/0 DOWN auto auto access 1
Eth0/4/1 UP 100M(a) full(a) access 23
Eth0/4/2 DOWN auto auto access 1
Eth0/4/3 DOWN auto auto access 1
Eth0/4/4 DOWN auto auto access 1
Eth0/4/5 DOWN auto auto access 1
Eth0/4/6 DOWN auto auto access 1
Eth0/4/7 DOWN auto auto access 1
H3C]
%Dec 11 17:09:30:484 2010 H3C IFNET/4/LINK UPDOWN:
Ethernet0/4/1: link status is UP
[H3C]sy sw1
[sw1]dis brief int
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
Eth0/1/0 UP DOWN ETHERNET --
NULL0 UP UP(spoofing) NULL --
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
Eth0/4/0 UP 100M(a) full(a) access 1
Eth0/4/1 UP 100M(a) full(a) access 1
Eth0/4/2 DOWN auto auto access 1
Eth0/4/3 DOWN auto auto access 1
Eth0/4/4 DOWN auto auto access 1
Eth0/4/5 DOWN auto auto access 1
Eth0/4/6 DOWN auto auto access 1
Eth0/4/7 DOWN auto auto access 1
转载于:https://blog.51cto.com/chaohu/469982