port Ethernet 1/0/2 是什么意思?
- 提问者网友:一抹荒凉废墟
- 2021-02-06 02:11
- 五星知识达人网友:山有枢
- 2021-02-06 02:56
- 1楼网友:孤老序
- 2021-02-06 04:16
基本是这样
进入配置模式
<switcha>sys
方法1
1.创建(进入)vlan10,将e1/0/1加入到vlan10 [switcha]vlan 10 [switcha-vlan10]port ethernet 1/0/1
2.创建(进入)vlan20,将e1/0/2加入到vlan20 [switcha]vlan 20 [switcha-vlan20]port ethernet 1/0/2
方法2
1.进入以太网端口e1/0/1的配置视图 [switcha]interface ethernet 1/0/1
2.配置端口e1/0/1的pvid为10 [switcha-ethernet1/0/1]port access vlan 10
3.进入以太网端口e1/0/1的配置视图 [switcha]interface ethernet 0/2
4.配置端口e1/0/2的pvid为20 [switcha-ethernet1/0/2]port access vlan 20
一下是一台我配置过的3600
# sysname main # radius scheme system # domain system # local-user admin password simple fsx522 service-type telnet level 3 # acl number 3002 rule 0 deny icmp destination 192.168.12.0 0.0.0.255 icmp-type echo rule 1 deny tcp established destination 192.168.12.0 0.0.0.255 rule 2 permit icmp source 192.168.12.0 0.0.0.255 icmp-type echo rule 3 permit tcp established source 192.168.12.0 0.0.0.255 # vlan 1 # vlan 10 # vlan 20 # vlan 30 # vlan 40 # vlan 888 # vlan 999 # interface vlan-interface1 ip address 192.168.1.1 255.255.255.0 # interface vlan-interface10 ip address 192.168.10.254 255.255.255.0 # interface vlan-interface20 ip address 192.168.11.254 255.255.255.0 # interface vlan-interface30 ip address 192.168.12.254 255.255.255.0 # interface vlan-interface40 ip address 192.168.13.254 255.255.255.0 # interface vlan-interface888 ip address 100.100.1.1 255.255.255.0 # interface vlan-interface999 ip address 200.200.1.1 255.255.255.0 # interface aux1/0/0 # interface ethernet1/0/1 duplex full speed 100 port link-type trunk port trunk permit vlan all # interface ethernet1/0/2 duplex full speed 100 port link-type trunk port trunk permit vlan all # interface ethernet1/0/3 port access vlan 20 # interface ethernet1/0/4 port access vlan 20 # interface ethernet1/0/5 port access vlan 20 # interface ethernet1/0/6 port access vlan 20 # interface ethernet1/0/7 port access vlan 20 # interface ethernet1/0/8 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/9 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/10 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/11 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/12 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/13 port access vlan 30 packet-filter outbound ip-group 3002 rule 0 packet-filter outbound ip-group 3002 rule 1 packet-filter outbound ip-group 3002 rule 2 packet-filter outbound ip-group 3002 rule 3 # interface ethernet1/0/14 port access vlan 40 # interface ethernet1/0/15 port access vlan 40 # interface ethernet1/0/16 port access vlan 40 # interface ethernet1/0/17 port access vlan 40 # interface ethernet1/0/18 port access vlan 40 # interface ethernet1/0/19 port access vlan 40 # interface ethernet1/0/20 port access vlan 10 # interface ethernet1/0/21 port access vlan 10 # interface ethernet1/0/22 port access vlan 10 # interface ethernet1/0/23 port access vlan 888 # interface ethernet1/0/24 port access vlan 999 # interface gigabitethernet1/1/1 # interface gigabitethernet1/1/2 # interface gigabitethernet1/1/3 port access vlan 888 # interface gigabitethernet1/1/4 port access vlan 999 # undo irf-fabric authentication-mode # interface null0 # voice vlan mac-address 0001-e300-0000 mask ffff-ff00-0000 # ip route-static 0.0.0.0 0.0.0.0 100.100.1.2 preference 60 # user-interface aux 0 7 user-interface vty 0 4 authentication-mode scheme # return